View previous topic :: View next topic |
Author |
Message |
tehmou n00b

Joined: 20 Apr 2005 Posts: 9
|
Posted: Wed Apr 20, 2005 8:00 pm Post subject: Problems starting xbindkeys at kde's boot |
|
|
I have gentoo-sources kernel version 2.6.11-r5, and I'm using KDE 3.3.
Ok, this may seem like a silly question, but I'm lost since I've tried everything I've found on the web. The problem is, I don't know how to load xbindkeys at start up; I've tried putting "xbindkeys" and "xbindkeys &" (to run it in background, don't know if it's required) into several files, including ~/.xinitrc, ~/.xsession, ~/.Xsession (not sure if it's capitalized or not), /etc/X11/xinit/xinitrc, and /etc/X11/xdm/xsession one at a time, and I even make a script called "xbindkeys" that only has the line "xbindkeys" into the ~/.kde/Autostart directory (and tried chmod 755, in addition to chmod 700 and chmod +x that I found on the web, on it in case there was something wrong with permissions.) Nevertheless, my xbindkeys still doesn't load at startup: writing xbindkeys in the console, on the other hand, makes everything works perfect, and also executing the script I made in the Autostart directory. I'm just getting a feeling that kde keeps ignoring all the supposed init files there are... or am I doing something awfully wrong here? |
|
Back to top |
|
 |
BitJam Advocate

Joined: 12 Aug 2003 Posts: 2513 Location: Silver City, NM
|
Posted: Wed Apr 20, 2005 8:57 pm Post subject: |
|
|
I have the following script in my ~/.kde/Autostart/ directory: Code: | #!/bin/bash
xbindkeys |
and that seems to work for me just fine. |
|
Back to top |
|
 |
tehmou n00b

Joined: 20 Apr 2005 Posts: 9
|
Posted: Wed Apr 20, 2005 9:08 pm Post subject: |
|
|
BitJam wrote: | I have the following script in my ~/.kde/Autostart/ directory: Code: | #!/bin/bash
xbindkeys |
and that seems to work for me just fine. |
Thanks a bunch! Though I have no idea what that first line "#!/bin/bash" does, it seemed to help... I had just skipped it since it was commented in all the samples, I guess. Anyway, thanks again, you don't know how relieved I am to finally get this to work! |
|
Back to top |
|
 |
BitJam Advocate

Joined: 12 Aug 2003 Posts: 2513 Location: Silver City, NM
|
|
Back to top |
|
 |
Headrush Watchman


Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Thu Aug 11, 2005 10:51 am Post subject: |
|
|
When kdm starts it sources the file .xprofile in each users directory.
This file is sourced once, not with every konsole, xterm, etc session.
So place xbindkeys, xmodmap etc commands in ~/.xprofile
Example ~/.xprofile Code: | /usr/bin/xmodmap -e "pointer = 1 2 3 9 10 6 7 8 4 5"
/usr/bin/xmodmap ~/.Xmodmap
/usr/bin/logitech_applet --disable-cc
/usr/bin/xbindkeys & |
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|