Jump to content

X server startup


Guest mahiles
 Share

Recommended Posts

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

Guest mahiles

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 :? :oops:

Link to comment
Share on other sites

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

Guest mahiles

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

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:

 

:oops: 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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...