This page (revision-80) was last changed on 23-Apr-2022 17:06 by 84.55.164.213

This page was created on 23-Apr-2022 17:05 by Harry Metske

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
80 23-Apr-2022 17:06 10 KB 84.55.164.213 to previous
79 23-Apr-2022 17:05 11 KB Harry Metske to previous | to last
78 23-Apr-2022 17:05 11 KB Harry Metske to previous | to last
77 23-Apr-2022 17:05 10 KB Harry Metske to previous | to last
76 23-Apr-2022 17:05 10 KB Harry Metske to previous | to last
75 23-Apr-2022 17:05 10 KB 10.0.0.138 to previous | to last
74 23-Apr-2022 17:05 11 KB 10.0.0.138 to previous | to last
73 23-Apr-2022 17:05 11 KB Harry Metske to previous | to last
72 23-Apr-2022 17:05 11 KB Harry Metske to previous | to last Intellij keep in dock
71 23-Apr-2022 17:05 11 KB Harry Metske to previous | to last
70 23-Apr-2022 17:05 11 KB Harry Metske to previous | to last
69 23-Apr-2022 17:05 11 KB Harry Metske to previous | to last no more kernel compile required
68 23-Apr-2022 17:05 10 KB Harry Metske to previous | to last
67 23-Apr-2022 17:05 10 KB Harry Metske to previous | to last
66 23-Apr-2022 17:05 10 KB Harry Metske to previous | to last nonobis
65 23-Apr-2022 17:05 10 KB Harry Metske to previous | to last
64 23-Apr-2022 17:05 10 KB HarryMetske to previous | to last
63 23-Apr-2022 17:05 10 KB HarryMetske to previous | to last
62 23-Apr-2022 17:05 9 KB HarryMetske to previous | to last
61 23-Apr-2022 17:05 9 KB HarryMetske to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 added one line
At line 5 changed one line
\\(also used for Maverick Meerkat)
(also used for Maverick Meerkat, Natty Narwhal and Oneiric Oncelot)
At line 12 changed 3 lines
** htop
** sensors-applet
** flashplugin-installer
** gimp
** vim
** gmpc
** git
At line 16 changed 6 lines
** sun-java6-jdk sun-java6-source sun-java6-plugin (first synaptic => repos => other repos => enable lucid partner)
** checkgmail
** download and install eclipse
** play an mp3, and you get prompted to install the required codecs....
** vlc and few more "ugly" and "bad" gstreamer packages
** subversion
** sun-java7-jdk (and add it to the PATH in /etc/profile)
At line 23 removed 3 lines
** libdvdcss2 from [http://download.videolan.org/pub/libdvdcss/1.2.8/deb]
** nethogs %%small (show per process bandwith usage ) %%
** iftop
At line 27 changed 2 lines
** libnss3-tools (certutil)
** chmsee (viewing windows help files , .chm)
** gparted
** imagemagick
** subversion from separate .deb (see below)
** ant
** puddletag (id3 mp3 tag editor)
** keepass2
** dropbox
** btsync
** lib32z1 lib32ncurses5 lib32stdc++6
** dconf-editor (elementary os) (lid close action should not suspend laptop setting)
!! Natty Narwhal tweaks
{{{sudo add-apt-repository ppa:alexeftimie/ppa
sudo apt-get update
sudo apt-get install indicator-sysmonitor
sudo apt-get install openjdk-6-jdk
}}}
* keyboard preferences: edit /etc/kbd/config : KEYBOARD_RATE and KEYBOARD_DELAY
* powermanagement settings can be found by searching for "preferences" in the application.
* replace checkgmail with gm-notify
 
At line 30 changed 3 lines
he
Because my HP 6830s laptop has a buggy DSDT, I have to change that. Since Linus decided that kernels no longer accept custom DSDT's I have to recompile the kernel to get this done.\\
I found a useful link here : [http://ubuntuforums.org/showthread.php?t=1341580]\\
%%warning With my latest 13.10 install I noticed that kernel compile is not required, you can do it [with grub2|Patching dsdt with grub2] /%
Because my HP 6830s laptop has a buggy DSDT, I have to change that. Since Linus decided that kernels no longer accept custom DSDT's I have to recompile the kernel to get this done. \\
I found a useful link here : [http://ubuntuforums.org/showthread.php?t=1341580] \\
At line 35 changed 3 lines
So, what I did is downloade the kernel source from [http://archive.ubuntu.com/ubuntu/pool/main/l/linux/], and :
{{{
dpkg -i /home/metskem/Downloads/linux-source-2.6.35_2.6.35-22.34_all.deb
So, what I did is download the kernel source from [http://archive.ubuntu.com/ubuntu/pool/main/l/linux/], and :
{{{dpkg -i /home/metskem/Downloads/linux-source-2.6.35_2.6.35-22.34_all.deb
At line 49 changed one line
click in left pane on ACPI, and then double click in right pane on custom DSDT and fill in the fullname of your custom dsdt (for example {{/home/metskem/dsdt/dsdt.hex}}.\\
click in left pane on ACPI, and then double click in right pane on custom DSDT and fill in the fullname of your custom dsdt (for example {{/home/metskem/dsdt/dsdt.hex}}. \\
At line 51 changed 2 lines
{{{
export CONCURRENCY_LEVEL=3 # put both intel cores to work :-)
{{{export CONCURRENCY_LEVEL=3 # put both intel cores to work :-)
At line 57 changed 2 lines
{{{
.......
{{{.......
At line 65 changed 8 lines
{{{metskem@gneisenau:~/src$ sudo dpkg -i linux-image-2.6.32.11+drm33.2dh_2.6.32.11+drm33.2dh-10.00.Custom_i386.deb
(Reading database ... 151079 files and directories currently installed.)
Preparing to replace linux-image-2.6.32.11+drm33.2dh 2.6.32.11+drm33.2dh-10.00.Custom (using linux-image-2.6.32.11+drm33.2dh_2.6.32.11+drm33.2dh-10.00.Custom_i386.deb) ...
Ok, aborting, since modules for this image already exist.
dpkg: error processing linux-image-2.6.32.11+drm33.2dh_2.6.32.11+drm33.2dh-10.00.Custom_i386.deb (--install):
subprocess new pre-installation script returned error exit status 1
Examining /etc/kernel/postrm.d .
Running postrm hook script /usr/sbin/update-grub.
{{{metskem@gneisenau:~/src$ sudo dpkg -i linux-image-3.0.6dh_3.0.6dh-10.00.Custom_i386.deb
[sudo] password for metskem:
Selecting previously deselected package linux-image-3.0.6dh.
(Reading database ... 109763 files and directories currently installed.)
Unpacking linux-image-3.0.6dh (from linux-image-3.0.6dh_3.0.6dh-10.00.Custom_i386.deb) ...
Done.
Setting up linux-image-3.0.6dh (3.0.6dh-10.00.Custom) ...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.6dh /boot/vmlinuz-3.0.6dh
update-initramfs: Generating /boot/initrd.img-3.0.6dh
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.0.6dh /boot/vmlinuz-3.0.6dh
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.0.6dh /boot/vmlinuz-3.0.6dh
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.0.6dh /boot/vmlinuz-3.0.6dh
At line 74 changed 4 lines
Found linux image: /boot/vmlinuz-2.6.32.11+drm33.2dirtyharrykernel
Found linux image: /boot/vmlinuz-2.6.32.11+drm33.2dh
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
Found linux image: /boot/vmlinuz-3.0.6dh
Found initrd image: /boot/initrd.img-3.0.6dh
Found linux image: /boot/vmlinuz-3.0.0-12-generic
Found initrd image: /boot/initrd.img-3.0.0-12-generic
At line 79 changed one line
Found Windows Recovery Environment (loader) on /dev/sda1
Found Windows Vista (loader) on /dev/sda1
At line 81 changed one line
Found Linux Mint 7 Gloria - Main Edition (7) on /dev/sda6
Found Ubuntu 11.10 (11.10) on /dev/sda6
At line 83 changed 7 lines
Errors were encountered while processing:
linux-image-2.6.32.11+drm33.2dh_2.6.32.11+drm33.2dh-10.00.Custom_i386.deb
metskem@gneisenau:~/src$ sudo dpkg -i linux-headers-2.6.32.11+drm33.2dh_2.6.32.11+drm33.2dh-10.00.Custom_i386.deb
Selecting previously deselected package linux-headers-2.6.32.11+drm33.2dh.
(Reading database ... 151079 files and directories currently installed.)
Unpacking linux-headers-2.6.32.11+drm33.2dh (from linux-headers-2.6.32.11+drm33.2dh_2.6.32.11+drm33.2dh-10.00.Custom_i386.deb) ...
Setting up linux-headers-2.6.32.11+drm33.2dh (2.6.32.11+drm33.2dh-10.00.Custom) ...
metskem@gneisenau:~/src$ sudo dpkg -i linux-headers-3.0.6dh_3.0.6dh-10.00.Custom_i386.deb
Selecting previously deselected package linux-headers-3.0.6dh.
(Reading database ... 114020 files and directories currently installed.)
Unpacking linux-headers-3.0.6dh (from linux-headers-3.0.6dh_3.0.6dh-10.00.Custom_i386.deb) ...
Setting up linux-headers-3.0.6dh (3.0.6dh-10.00.Custom) ...
At line 91 removed one line
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common 2.6.32.11+drm33.2dh /boot/vmlinuz-2.6.32.11+drm33.2dh
At line 94 changed 5 lines
And finally :
{{{
update-initramfs -c -k 2.6.32.11+drm33.2dh
update-grub
}}}
 
At line 119 added one line
!! Miscellaneous
At line 101 changed one line
For the last part (that takes over an hour) I created a small shell [script|kernelcompile.sh]
! Eclipse
At line 123 added one line
%%strike Eclipse fails with /%
At line 104 changed 5 lines
!! Miscellaneous
Eclipse fails with
{{{
java.lang.IllegalArgumentException: invalid qualifier: 11+drm33
{{{java.lang.IllegalArgumentException: invalid qualifier: 11+drm33
At line 110 changed one line
at org.osgi.framework.Version.<init>(Version.java:92)
at org.osgi.framework.Version.(Version.java:92)
At line 113 changed 2 lines
Solved by adding ''-vmargs -Dorg.osgi.framework.os.version=2.6.32.11+drm33.2dh01'' to /usr/local/eclipse/eclipse.ini.\\
Also added ''-Djava.library.path=/usr/lib/jni'' to eclipse.ini to get subversion working.
Solved by adding
''-vmargs -Dorg.osgi.framework.os.version=2.6.32.11+drm33.2dh01'' to /usr/local/eclipse/eclipse.ini. \\
Also added ''-Djava.library.path=/usr/lib/jni'' to eclipse.ini to get subversion working.
__Eclipse juno__
The tab font is very large by default, you can change it by tweaking the css :''/usr/local/eclipse/plugins/org.eclipse.platform_4.2.0.v201206081400/css/e4_default_gtk.css''
Subversion : Install Subversive with the SVNKit 1.7.x .
__ Create icon in taskbar __Create file {{.local/share/applications/opt_eclipse.desktop}} with the following contents:
{{{[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
Icon=/usr/local/eclipse/icon.xpm
Exec=/usr/local/eclipse/eclipse
Terminal=false
Categories=Development;IDE;Java;
}}}
! Intellij Idea
I got some tips from Sridhar and ended up creating this file [intellij-idea.desktop] in mij intellije ./bin directory, and run the command:
{{{xdg-desktop-menu install --novendor intellij-idea.desktop
}}}
That gave me an icon in the applications list, and after starting it, you can right-click and "Keep in dock" it.
To identify the value for {{StartupWMClass}} you issue the command {{xprop WM_CLASS}} and click the IntelliJ window.
I also attached a similar [desktop file|sublime.desktop] for Sublime Text Editor
! Subversion
 
Unfortunately 12.04 comes with an old 1.6 subversion, so I upgraded that to 1.7.1 with the two debs at [http://svn-ref.assembla.com/download-clients.html#Ubuntu] (also locally available in the Downloads dir now)
! Citrix
Install the Citrix receiver .deb file from the Citrix download site.Additionally I had to download a "Verisign Class 3 Public Primary CA - G5" from [http://www.verisign.com/repository/roots/root-certificates/PCA-3G5.pem] and download it to ''/opt/Citrix/ICAClient/keystore/cacerts/PCA-3G5.pem''
(in Ubuntu 12.10, this last thing is not necessary anymore)
! Wireless driver
 
I added a file named ´´intel-5300-iwlagn-disable11n.conf´´ to /etc/modprobe.d containing the following to get my wireless working properly (I had lots of SYN_SENT TCP sessions) :
{{{options iwlagn 11n_disable=1
}}}
! Memory usage Eclipse
Running Eclipse with the OpenJDK, it requires excessive amounts of storage (I don't mean heap storage), run top command, and it will have "VIRT 1.8G" and "RES 1.1G", leaving hardly any memory left for anything else (I only have 2G in my laptop)I removed openjdk and downloaded the sun6 jdk, now I get "VIRT 911M" and "RES 310M".
! Suspend resume fix
For my wife's ASUS X54L I had to tweak some for the suspend/resume to work.Thanks to the guy who posted: [http://thecodecentral.com/2011/01/18/fix-ubuntu-10-10-suspendhibernate-not-working-bug/comment-page-8]
Added script {{/etc/pm/sleep.d/./20_custom-ehci_hcd}} :
%%prettify
{{{#!/bin/sh
#inspired by http://art.ubuntuforums.org/showpost.php?p=9744970&postcount=19
#...and http://thecodecentral.com/2011/01/18/fix-ubuntu-10-10-suspendhibernate-not-working-bug
# tidied by tqzzaa :)VERSION=1.1
DEV_LIST=/tmp/usb-dev-list
DRIVERS_DIR=/sys/bus/pci/drivers
DRIVERS="ehci xhci" # ehci_hcd, xhci_hcd
HEX="[[:xdigit:]]"
MAX_BIND_ATTEMPTS=2
BIND_WAIT=0.1unbindDev() {
echo -n > $DEV_LIST 2>/dev/null
for driver in $DRIVERS; do
DDIR=$DRIVERS_DIR/${driver}_hcd
for dev in `ls $DDIR 2>/dev/null | egrep "^$HEX+:$HEX+:$HEX"`; do
echo -n "$dev" > $DDIR/unbind
echo "$driver $dev" >> $DEV_LIST
done
done
}bindDev() {
if [ -s $DEV_LIST ]; then
while read driver dev; do
DDIR=$DRIVERS_DIR/${driver}_hcd
while [ $((MAX_BIND_ATTEMPTS)) -gt 0 ]; do
echo -n "$dev" > $DDIR/bind
if [ ! -L "$DDIR/$dev" ]; then
sleep $BIND_WAIT
else
break
fi
MAX_BIND_ATTEMPTS=$((MAX_BIND_ATTEMPTS-1))
done
done < $DEV_LIST
fi
rm $DEV_LIST 2>/dev/null
}case "$1" in
hibernate|suspend) unbindDev;;
resume|thaw) bindDev;;
esac
}}}
/%
! Samsung NP900X3C tweaks
Everything works out of the box, except:
* keyboard backlight, the Fn keys (F9 F10) do not work, a workaround can issuing these commands :
{{echo 0 > /sys/devices/platform/samsung/leds/samsung::kbd_backlight/brightness}}
to turn it off. echo a higher number to turn it on (higher = more light) * suspend with on/off button, if you press the power button when the laptop is on, you get a nice prompt: \\
[samsung-poweroff.png] \\
, clicking the suspend option does nothing. What does work is clicking the right most button and selecting suspend. This link to [nonobis|http://blog.nonobis.nl/?p=11/] describes an excellent update to udev to make the backlit fn-keys work perfectly.
__eclipse__
Eclipse tweaks again, both added the .gtkrc-2.0 (see [Installatie Ubuntu Jaunty Jackalope#GTKRC]), and changed the {{e4_default_gtk.css}}, see [http://blog.nanthrax.net/2012/07/change-tab-font-in-eclipse-juno/]
__Keyboard backlight__
The keys do not work, so the following workaround. \\
First a sudo rule, so anyone can execute the required cmd:
{{{User_Alias ALLEN = gast,metskemCmnd_Alias NETBOOK_CMDS = /usr/local/sbin/kbdlight *ALLEN ALL=(ALL) NOPASSWD: NETBOOK_CMDS
}}}
If you press the Fn keys (F9 and F10), the following pops up in the kern.log:
%%small
{{{Oct 15 20:01:22 gneisenau kernel: [22026.303943] atkbd serio0: >Unknown key pressed (translated set 2, code 0x97 on isa0060/serio0).
Oct 15 20:01:22 gneisenau kernel: [22026.303954] atkbd serio0: >Use 'setkeycodes e017 ' to make it known.
Oct 15 20:43:15 gneisenau kernel: [24030.623358] atkbd serio0: > Unknown key pressed (translated set 2, code 0x96 on isa0060/serio0).
Oct 15 20:43:15 gneisenau kernel: [24030.623370] atkbd serio0: >Use 'setkeycodes e016 ' to make it known.
^}}}
/%
You can use the {{setkeycodes}} to map a scancode to a keycode.
You first should find what keycodes are still free, the {{xmodmap -pk}} command will show you that, in my case, I used the following codes:
{{{root@gneisenau:/var/log# setkeycodes e016 93
root@gneisenau:/var/log# setkeycodes e017 97
}}}
--- did not finish this tweak ----
But found this [http://blog.nonobis.nl/?p=11/] an excellent description of how to fix the backlight issue by correcting udev.
 
! keepass2
{{{$ sudo add-apt-repository ppa:dlech/keepass2-plugins
$ sudo apt-get update
$ sudo apt-get install keepass2-plugin-application-indicator
}}}