1. Disable device mount pop-ups
- thunar-volman-settings
- xfce4-notifyd-config
2. Fix /boot filling up
- Remove old configs in
/var/lib/initramfs-tools
- Remove old kernel image packages and files from /boot
#!/bin/bash
CURRENT=$(uname -r)
VERSIONS_TO_PURGE=$(ls /boot/initrd.img-* | grep -v $CURRENT | sed 's/.*initrd.img-// ; s/-generic//' | sort -V | head -n-1)
for v in $VERSIONS_TO_PURGE
do
rm -i /boot/initrd.img-$v*
done
for v in $VERSIONS_TO_PURGE
do
echo linux-image-$v-* linux-headers-$v linux-headers-$v-generic linux-modules*-$v-*
done | xargs apt-get --assume-yes purge
3. Gnome Win+P
Disable display switching on "Mod4+P" key combination:
/app/gnome_settings_daemon/plugins/xrandr/active
4. Disable Gnome root window
gconftool-2 --type bool --set /apps/nautilus/preferences/show_desktop False
5. Custom Desktop
~/.local/share/applications/custom.desktop
or /usr/share/xsessions/custom.desktop
[Desktop Entry]
Name=Xsession
Exec=/etc/X11/Xsession
6. Conky
.conkyrc
background no
out_to_console yes
#out_to_x no
update_interval 5.0
total_run_times 0
use_spacer none
TEXT
${color ff0000}CPU ${cpu}% MEM $memperc% | /. ${fs_used_perc /}% /home ${fs_used_perc /home}% | BAT ${battery BAT0} | Vol: ${exec amixer get Speaker | egrep -o "[0-9]+%" | head -1 | egrep -o "[0-9]*"}% | ${time %a %x %H:%M}
7. Switch shells without Root
Switching from csh
to bash
.
Must be done for interactive shells only otherwise it breaks stuff (like vim reading TMP files, etc)
.cshrc
# Exec bash only if using an interactive shell.
if ($?prompt) then
setenv SHELL /bin/bash
exec $SHELL
endif
8. Disable overlay toolbars
gsettings set com.canonical.desktop.interface scrollbar-mode normal
9. Resources
http://awesome.naquadah.org/wiki/Quickly_Setting_up_Awesome_with_Gnome