Skip to main content

Posts

Showing posts with the label linux

Replacing xscreensaver with gnome-screensaver in Xfce

By default, xfce screensaver requires xscreensaver. You have the _option_ to remove xscreensaver using the following command (as privileged): apt-get remove xscreensaver To install the gnome-screensaver use the following command (as privileged): apt-get install gnome-screensaver To auto-start the gnome-screensaver, add it as an Autostarted Application: Xfce menu > Settings > Autostarted Applications The command for starting the gnome-screensaver daemon is: gnome-screensaver To be able to use the action button "Lock screen" to start gnome-screensaver immediately and lock your screen, modify the file /usr/bin/xflock4: #xscreensaver-command -lock || xlock $* gnome-screensaver-command --lock exit 0 Note that the original xscreensaver command is now commented. Backup the original copy of xflock4 (as privileged): cp /usr/bin/xflock4 /usr/bin/xflock4.orig Hope that helps. If you have questions, post them at: http://www.linuxquestions.org/questions/showthread.php?t=458516 and l...

Ubuntu network install with Intel Boot Agent

I have an IBM Thinkpad Transnote that does not have any CD drive. I am left with the network install option. This was an easy task when I was still using Mandriva (formerly Mandrake) because the installer includes the images for bootable floppy drives. With Ubuntu, you are left with an option of using your motherboard / Ethernet card's booting capability. My options are: etherboot and the on-board Intel Boot Agent that supports PXE to boot. The following steps will guide you in booting the Ubuntu installer using the Intel Boot Agent. Note that the Ubuntu installer is just a bootstrap, you will have to download the rest of the packages on the Internet. Alternatively, I think you can hack the installer to get the packages from a local host (but this is out of the scope). Terms * The client is the laptop that has to be installed with Ubuntu. * The server serves the client (duh!). I am running Ubuntu Dapper (6.06). DHCP server We need a DHCP server to serve the client with the...

Linux on a Compaq Presario V2000

GNU/Linux (Ubuntu 5.10) on a Compaq Presario V2000 How to make the volume keys work Objective: Map the volume keys (Volume up/down/mute) to amixer (command-line mixer for ALSA soundcard driver). Find the keycode of the three keys using xev . After executing xev as an ordinary user in the terminal, it creates a window and then asks the X server to send it events whenever anything happens to the window (such as it being moved, resized, typed in, clicked in, etc.). Example: after pressing the keyboard key m , you will be see the following report: KeyPress event, serial 27, synthetic NO, window 0x2800001, root 0x48, subw 0x0, time 10163530, (97,69), root:(929,430), state 0x0, ''keycode 58 (keysym 0x6d, m)'', same_screen YES, XLookupString gives 1 bytes: (6d) "m" KeyRelease event, serial 27, synthetic NO, window 0x2800001, root 0x48, subw 0x0, time 10163645, (97,69), root:(929,430), state 0x0, ''keycode 58 (keysym 0x6d, m)'', s...