Guest mahiles Posted July 29, 2003 Report Share Posted July 29, 2003 How do I start xbindkeys when the x server starts? Thanks. Quote Link to comment Share on other sites More sharing options...
static Posted July 29, 2003 Report 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 Quote Link to comment Share on other sites More sharing options...
bvc Posted July 29, 2003 Report Share Posted July 29, 2003 What wm/DE do you use? Quote Link to comment Share on other sites More sharing options...
Guest mahiles Posted July 29, 2003 Report 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.. Quote Link to comment Share on other sites More sharing options...
scoopy Posted July 29, 2003 Report Share Posted July 29, 2003 bvc is asking "Are you running KDE, Gnome, or something else?" Window Manager Desktop Environment Quote Link to comment Share on other sites More sharing options...
Guest mahiles Posted July 29, 2003 Report Share Posted July 29, 2003 lol thx.. I'm running kde.. Quote Link to comment Share on other sites More sharing options...
bvc Posted July 30, 2003 Report 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 Quote Link to comment Share on other sites More sharing options...
Guest mahiles Posted July 30, 2003 Report 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 :? Quote Link to comment Share on other sites More sharing options...
tyme Posted July 30, 2003 Report 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 Quote Link to comment Share on other sites More sharing options...
Guest mahiles Posted July 30, 2003 Report 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. Quote Link to comment Share on other sites More sharing options...
bvc Posted July 30, 2003 Report 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. Quote Link to comment Share on other sites More sharing options...
tyme Posted July 30, 2003 Report 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 ;-) ) Quote Link to comment Share on other sites More sharing options...
bvc Posted July 30, 2003 Report 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) Quote Link to comment Share on other sites More sharing options...
tyme Posted July 30, 2003 Report Share Posted July 30, 2003 great minds think alike. as for the echo command, static was right. i wasn't thinking straight :) Quote Link to comment Share on other sites More sharing options...
bvc Posted July 30, 2003 Report Share Posted July 30, 2003 8) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.