Please note that many of these things are generic to multiple Linux distributions (especially Debian-based distros). Maybe I'll move them to another page someday.
vim-gnome- I'm used to typing
vim, and I also like
gvimfrom time to time
okteta- hex editors
devilspie- find windows and perform actions on them
/etcin version control (defaults to Bazaar in newer versions of Ubuntu)
hamster-applet- time tracker
ssh- this is the server package
sshfs- mount directories over SSH
sun-java6-jdk(no longer available in Ubuntu 10.04) or
dkms- not sure if VMware Tools actually makes use of this
The latest version of Gnome disabled icons in menus and on buttons. There is an option for menu icons on the Interface tab of the Appearance Preferences.
In the version of Gnome that comes with 10.04, the option is gone. You can still edit the setting in gconf. The setting is
/desktop/gnome/interface/buttons_have_icons if you like button icons, which I don't care about). Use
gconf-editor or these commands:
$ gconftool-2 -t boolean -s /desktop/gnome/interface/menus_have_icons true $ gconftool-2 -t boolean -s /desktop/gnome/interface/buttons_have_icons true
It might also be worth checking out Ubuntu-Tweak.
Add the following line to
System Settings, Appearance, Fonts, Force fonts DPI → 96 DPI
I noticed that some web pages, like Dokuwiki, looked pretty ugly. Installing the
msttcorefonts package (Microsoft TrueType core fonts) remedied this. I rebooted afterwards, but presumably a logout and login would do.
Note: in newer versions of Ubuntu, it's now called
To change the resolution of the login screen, it should be enough to put the following snippet in
/etc/X11/xorg.conf (create it, on Ubuntu 9.10 or later), or possibly in a file in
Section "Screen" Identifier "Screen0" SubSection "Display" # Increase resolution just enough to make the login screen # look correct. Virtual 1024 768 EndSubSection EndSection
It looks like something like this will probably work:
#!/bin/sh sudo -H -u sam /usr/bin/podget
I put this in a script called
/etc/cron.daily. If I had more jobs, I might make it call another script or directory of scripts in my home directory.
Alternatively, maybe look at something like
This article has some suggestions on packages to use for a minimalist graphical environment, particularly suited for low-memory environments.
On the green desktop computer at home, where I was playing around with Ubuntu, it didn't give all the right resolutions. The
nvidia-settings package worked well, providing something more like what I was used to in Windows.
It doesn't appear that the Firefox plugin will work. To get the Java viewer working (which is reasonably decent), it was enough to install
sun-java6-plugin and associated packages (i.e. the Sun Java JRE).
dpkg --get-selections > installed.log
dpkg --set-selections < installed.log dselect install
Probably stuff that I've installed on a whim after seeing in Synaptic. I figure that if I don't write them down, I'll forget about having installed them.
on them, such as resizing, moving to another workspace, or pinning them to all workspaces.
I tried it again in 10.10, and it seems to be better. Now I can switch to a virtual terminal (Ctrl-Alt-F1) and back without killing Compiz.
This time (2010-10) I turned it off because it was placing some Java Swing windows at the very top of the screen, so their title bars overlapped with the panel. Perhaps there's some way to fix this, but I didn't want to take the time to mess with it.
I still haven't figured things out. On 5-30-2008 I tried this sequence:
|Ctrl+Alt+Backspace to restart X||not working|
|Disable desktop affects in "Appearance" preferences||working|
|Switch to normal effects||seems to work|
|Switch to extra effects||seems to work|
|Switch on desktop cube||seems to work|
|Start Firefox, restore crashed session||not working|
|Close some of the Firefox windows||seems to work|
|Close everything else|
|Open blank Firefox windows||not working|
Conclusion: it works with 4 or less Firefox windows open, and doesn't work with 5 or more (other types of windows may or may not count; e.g. having synaptic open does not seem to make a difference).
I've been getting a "sometimes" issue on my work computer: corruption when scrolling or resizing in some programs, notably Firefox. It might be related to Launchpad bug #249099.
I installed the
nvidia-180-modaliases package as suggested, then installed the new driver version through Administration → Hardware Drivers (I had to restart before it showed the new one, presumably since I'd run it earlier). We'll see if that fixes the problem(s).
See https://help.ubuntu.com/community/VirtualBox for some instructions. http://tombuntu.com/index.php/2008/05/23/install-virtualbox-additions-for-an-ubuntu-804-guest/ has some tips for getting the guest additions working.
If there is not a module released for the kernel version you have installed, then you can compile it:
sudo apt-get install virtualbox-ose virtualbox-source-ose sudo m-a prepare sudo m-a auto-install virtualbox-ose
I tried the version in Hardy Heron, but ended up installing the binary for 1.6 (non-ose), which fixed resizing of a Linux guest.
For quick reference, the commands are listed here.
sudo fdisk -l
sudo mlabel -i <device> -s :: sudo mlabel -i <device> ::<label>
sudo ntfslabel <device> sudo ntfslabel <device> <label>
sudo e2label <device> sudo e2label <device> <label>
See Apache Notes.
You could edit the
fstab manually, or you could install
pysdm (PyGTK Storage Device Manager).
You may be able to specify "auto" for the filesystem type:
/dev/sda6 /media/foo auto defaults 0 0
Partitions can also be mounted by UUID:
# /dev/sda6 UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx /media/foo auto defaults 0 0
To list partitions:
sudo fdisk -l
To get volume information, including the UUID (
sudo vol_id /dev/sda6
or for just the UUID:
sudo vol_id -u /dev/sda6
or to list all devices with labels, UUIDs, and filesystem types:
/dev/sda6 /media/ntfs-h ntfs-3g defaults 0 0
samba, Windows was able to resolve my Ubuntu hostname to its IP.
The man pages for system and library calls are in the
To restart, just run
nautilus, e.g. from the deskbar applet.
Adding the option:
Option "NvAGP" "0"
to the "Screen" section of
xorg.conf might have fixed standby (it remains to be seen) on my work machine, a Dell Precision T3400 525w with an Nvidia Quadro PCIe graphics card running Ubuntu 64-bit. This option was mentioned on a couple of threads in the Ubuntu forums:
To make it work from the Internet (without using a connection to a local machine or router software like DD-WRT), forward UDP port 9.
When you lock the screen during a rest break, then unlock it, the screen stays black until the break is over. Using
xscreensaver seems to fix this, but I need to find how to activate the lock on demand (the Lock button on the rest break screen works).
Basically, look at the Remote tab of the Login Window settings under Administration.
hwinfo program (not installed by default) provides hardware information in the shell.
hwinfo --short | less
Doing a "quick search" in Synaptic for "chm" shows several CHM viewers:
Some things are common to
archmage converts CHM to a directory of HTML files, or a single file, or PDF.
To change the hostname on Ubuntu, edit the hostname in
/etc/hostname and the FQDN/hostname in
/etc/hosts (generally FQDN comes first, with the short hostname as an alias).
Certain programs seem to provide the foreground color for tooltips (black) but not the background, making them unreadable in the default Ubuntu themes since 10.04. To fix, go to appearance preferences, select "Customize" on the Theme tab (with the desired theme selected), then on the Colors tab swap the colors for Tooltips. Some programs (e.g. Firefox) may need to be restarted before it takes effect.
For editing filetypes,
assogiate seems to work.
Most common case: changed MAC, possibly as a result of copying a virtual machine.
/etc/udev/rules.d/70-persistent-net.rules to set the new MAC address to