Guest mahiles Posted July 29, 2003 Share Posted July 29, 2003 How do I start xbindkeys when the x server starts? Thanks. Link to comment Share on other sites More sharing options...
static Posted July 29, 2003 Share Posted July 29, 2003 ummm... are you trying to configure your multimedia keys on your k/b? I was under the impression xbindkeys runs anyway! Well, if it doesn't, you would add "xbindkeys" to the end of your ~/.xinitrc (where ~ is /home/mahiles, you can just type ~) $ echo xbindkeys >> ~/.xinitrc Link to comment Share on other sites More sharing options...
bvc Posted July 29, 2003 Share Posted July 29, 2003 What wm/DE do you use? Link to comment Share on other sites More sharing options...
Guest mahiles Posted July 29, 2003 Share Posted July 29, 2003 It doesn't run on its own and sorry but I didn't understand that last post :s newbie here.. Link to comment Share on other sites More sharing options...
scoopy Posted July 29, 2003 Share Posted July 29, 2003 bvc is asking "Are you running KDE, Gnome, or something else?" Window Manager Desktop Environment Link to comment Share on other sites More sharing options...
Guest mahiles Posted July 29, 2003 Share Posted July 29, 2003 lol thx.. I'm running kde.. Link to comment Share on other sites More sharing options...
bvc Posted July 30, 2003 Share Posted July 30, 2003 If you use startx from init 3 then static's suggestion if perfect, though I've never used 'echo' b4, I'm sure that's fine. Otherwise, kde uses an Autostart dir in /home/user_name/.kde http://www.mandrakeusers.org/viewtopic.php...ghlight=numlock Link to comment Share on other sites More sharing options...
Guest mahiles Posted July 30, 2003 Share Posted July 30, 2003 I tried what static said and then the x server wouldn't start at all.. As for that other post I don't understand what to do there either :? Link to comment Share on other sites More sharing options...
tyme Posted July 30, 2003 Share Posted July 30, 2003 echo just prints out whatever follows it (type echo bob and it'll print out bob) tho static's suggestion is slightly off, i believe he meant: echo xbindkeys > ~/.xinitrc (one > not two) as bvc mentioned, this will only help if you are starting x from a text login with the command "startx" otherwise, you want to open up a file /home/yourusername/.kde called Autostart and put xbindkeys in there. or, to use statics example, do: echo xbindkeys > ~/.kde/Autostart Link to comment Share on other sites More sharing options...
Guest mahiles Posted July 30, 2003 Share Posted July 30, 2003 If I do the 1st one of those 2 suggestions then the x server won't start and I can't find an Autostart file just a directory. Link to comment Share on other sites More sharing options...
bvc Posted July 30, 2003 Share Posted July 30, 2003 Acually Autostart is a dir, not a file. A script/file like, or for that matter .xinitrc itself can be put in the Autostart dir. Anything in the Autostart dir *cough* autostarts :wink: I was in such a hurry I didn't comprehend what static was echoing :lol: Also keep in mind that if you already have (example) an ~/.xinitrc that has; #!/bin/bash exec startkde in it, and you do echo xbindkeys > ~/.xinitrc .xinitrc will now only have xbindkeys in it. But echo is good for a new file, or if you know everything that's in a file. Link to comment Share on other sites More sharing options...
tyme Posted July 30, 2003 Share Posted July 30, 2003 ok, so if Autostart is a dir, we can do: ln -s /usr/bin/xbindkeys ~/.kde/Autostart/xbindkeys assuming xbindkeys is in /usr/bin (I don't use KDE so I didn't know it was a dir ;-) ) Link to comment Share on other sites More sharing options...
bvc Posted July 30, 2003 Share Posted July 30, 2003 I'd also bet that you can symlink to it 8) think? maybe? try it (as user) ln -s /usr/bin/xbindkeys ~/.kde/Autostart/xbindkeys (if /usr/bin is the correct path to xbindkeys) Link to comment Share on other sites More sharing options...
tyme Posted July 30, 2003 Share Posted July 30, 2003 great minds think alike. as for the echo command, static was right. i wasn't thinking straight :) Link to comment Share on other sites More sharing options...
bvc Posted July 30, 2003 Share Posted July 30, 2003 8) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now