Friday, January 18, 2008
Aspell in spanish
aspell -d spanish -c myfile.tex
To check an English document:
aspell -c myfile.tex
Friday, January 11, 2008
Quota command
quota -v
Other options (on NFS)
/sbin/quotacheck -avug
Tuesday, January 01, 2008
Mod4 key in FluxBox
If the Mod4 key doesn't work, it means that when you set up X you probably picked a 101 or 102 key rather than 104 key keyboard. This is easily fixed. You'll need to be root or use sudo. Open up your favorite text editor and open /etc/X11/XF86Config or xorg.conf. (Sometimes, this will be /etc/X11/XF86Config-4). In there you will find the line
Option "XkbModel" "pc101" |
Change it to read
Option "XkbModel" "pc104" |
If you don't have that pc101 line in there, then you have some other problem. Some distributions, for some reason, don't automagically bind Mod4 to Super_L. You can check this with
xmodmap |
You should see something like
xmodmap: up to 3 keys per modifier, (keycodes in parentheses): |
If you don't, you can create a $HOME/.xmodmaprc file. In that file put
keycode 115 = Super_L |
The last line enables you to use the Windows menu key as well.
Save this file in your home directory and then add the following to your .xinitrc (above the exec startfluxbox line)
xmodmap .xmodmaprc |
Sometimes, this doesn't work for me. In that case, I have to add
add Mod4 = Super_L |
to my .xmodmaprc file There's other nice things you can do with the key bindings. For example, you can open up the root menu, move windows with keystrokes, etc. I have for example, in my fluxbox keys file