Skip to navigation

Archive for the 'Linux' Category

How to make permanent changes to Slax on a usb drive

Monday, November 19th, 2007

There are several ways to do this, see the Slax documentation. Here is an example; I wanted to make the symlink mentioned in the last post permanent (linking a directory slax_webfiles from the larger data partition to the webroot directory). Don’t boot off the USB drive, just mount it on a running system. Navigate to […]

How to run a web server off a usb flash drive

Monday, November 19th, 2007

Actually, turns out to be really easy: Install Slax on the USB flash drive. Here’s how I did it. Download the Xampp module for Slax. I got version 1.6.2 from here. Copy the Xampp_1_* file that you downloaded to the modules folder on your USB flash drive. Boot off the USB flash drive. Open a […]

java: command not found

Saturday, November 3rd, 2007

/usr/bin/java was gone after I did something Java-related (updated it? removed and installed a new version?), so I got: java: command not found The solution was doing what it says in /usr/share/doc/sun-java6-bin/README.alternatives Seriously, this is one of these things why Linux is not ready for people who don’t like fiddling with computers. Why can’t the […]

Setting up the compose key to type accented characters

Thursday, October 4th, 2007

In /etc/X11/xorg.conf, in the keyboard section, I added the line: Option “XkbOptions” “compose:ralt” Now, I can type most accented characters and umlauts by first hitting the right ALT key. A few examples (key combinations below all preceded by right ALT key): ` e: è (backtick followed by e) ” u: ü , c: ç s […]

Keyboard modification with ~/.Xmodmap

Thursday, October 4th, 2007

In ~/.Xmodmap keycode 233 = F20 keycode 234 = F19 After changes, say: xmodmap ~/.Xmodmap This activates the keys that I have on the IBM X40 next to the up arrow key on the bottom right of the keyboard. Now, I can bind them to commands Xfce. Then, I found a nice article on using […]