Autostart programs in Ubuntu

Ubuntu newbies sometimes ask how to add certain program into startup or autostart. Actually it usually happens with ex-Windows users 😉 Answer: To make program start just after user logins Gnome, go to “System” menu, then choose “Preferences” and select “Sessions”: Then press button “Add”, type application name, command to start it (it’s location like /usr/sbin/local/liferea), and press “Ok” and then “Close”. After next login to Gnome application will start. It works with any Linux distro running Gnome as Desktop manager. Update: Recent versions of … Read more

How to create custom linux ISO image?

It’s rather trivial task to make some changes into already burned installation or live CD. It may be performed to add some files to this CD or edit files on it. In any case it’s impossible to loop mount .iso file and then save it as iso9660 filesystem is read-only. So, just mount your CD or iso image to some directory by commands: sudo mkdir /mnt/image sudo mount /dev/cdrom /mnt/image or sudo mount /path/to/your.iso /mnt/image -o loop then copy it’s contents to some directory: mkdir … Read more

Moving Linux to remote server (over ssh via third server)

Source: server running rather obsolete Fedora Core 1 with Apache, sendmail, ftp and other stuff. Target: any Linux server with at least one hard drive of appropriate disk space installed (in this case target server was running Knoppix). Third server: any ssh running system. First of all it’s necessary to get all servers to be accessible to each other via ssh. Read your distribution’s manual to find out how to achieve it. There are several possible ways to move Linux to another server by means … Read more