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

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...