I have been trying to get bbkeys and imwheel to start automatically.  When I used kde, 
I just put a link to imwheel in the startup folder.

But now that I use bb things are diff.  Most howto's will tell you to add bbkey to 
your ~.xsession file.  This works great if you don't use gdm.  But gdm passes an 
arguement to the x startup script /etc/X11/Xsession.  If no arguement is passed to 
Xsession it starts x and whatever else is specified in your ~/.xsession file.  The way 
it is supposed to work is that people who run blackbox would have a .xsession:
"blackbox
bbkeys" 

a kde user would have :
"startkde"

etc.

The Xsession script is setup so that if no arguement is passed to Xsession, and a 
~/.xsession file does not exist, kde is automatically started.

Because gdm always passes an arguement (which wm you want to use), .xsession is never 
executed.  So I edited the file /etc/X11/Xsession so that if you use gdm to start your 
wm, it will check ~/.xsession anyways, and run it and the arguement gdm passes.  So if 
you use gdm to start your wm (anyone who has storm's graphical login) you should not 
specify a wm in you .xsession file.  Here are the contents of my .xsession file:
"imwheel
bbkeys"

If you would like to look at the /etc/X11/Xsession file I created it is here:
*note: for some reason netscape adds some javascript to the bottom of it.  The last 
line should be a 'fi'
http://playstation.webhostme.com/Xsession.txt

if you do use bbkeys, or would just plain like to map your window keys, it is a 
different procedure from the howto's out there. Create a file ~/.Xmodmap with the 
mappings. Here is mine:
"keycode 115 = F30
 keycode 116 = F31
 keycode 117 = F32"
The /etc/X11/Xsession script will automatically add the mappings everytime you log in. 
 If you would like all of your users to get this, add it to /etc/X11/Xmodmap.

Please correct me on any errors I may have made.  I got all of my information from my 
own testing, and analyzing.  If you replace your /etc/X11/Xsession witht he one at 
http://playstation.webhostme.com/Xsession.txt, use it at your own risk, although I 
have used it for 2 days now and no probs.  If you do use this script and don't have an 
~/.xsession file, nothing will happen, this will act like they currently do.

-- 
...elbows out,
stick on the ice!

_______________________________________________
Stormlinux-users-list mailing list
[EMAIL PROTECTED]
http://www.stormix.com/community/lists/listinfo/stormlinux-users-list

Reply via email to