Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-02-2004, 10:07 AM   #1
LQ Newbie
Registered: Mar 2004
Posts: 24

Rep: Reputation: 15
Mouse script on KDE startup??

I have the logitech wireless mouse but the wheel doesn't work. After KDE starts up I open a Konsole and type

xmodmap -e "pointer = 1 2 3 6 7 4 5"

and it works fine. So I thought I would make something to do this automagicaly for me, so using vi i made a file called and put it in /home/bobby/.kde/Autostart the file looks like this:

xmodmap -e "pointer = 1 2 3 6 7 4 5"
exit (0)

I cannot get this this to run when KDE starts up......what am I missing??

Last edited by Atomsmasher; 04-02-2004 at 10:08 AM.
Old 04-02-2004, 10:13 AM   #2
Registered: Mar 2004
Location: Germany
Distribution: Slackware 14
Posts: 87

Rep: Reputation: 15

a file called and put it in /home/bobby/.kde/Autostart
well, did you set the executable bit on the file, e.g. with "chmod"?


Old 04-02-2004, 11:03 AM   #3
LQ Newbie
Registered: Mar 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Thats a big no sir... how do I do that?? the chmod -h didn't say much about an executible switch... i'll keep lookin'

other than that... do I have it in the correct folder and the script written correctly ?

Old 04-02-2004, 11:11 AM   #4
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
'chmod a+x [file]' gives everybody execute permissions on a file. Or you can browse to the file in KDE and change the permissions. Don't think you need that 'exit'.
Also, look at 'man chmod'.
Old 04-02-2004, 11:33 AM   #5
LQ Newbie
Registered: Mar 2004
Posts: 24

Original Poster
Rep: Reputation: 15
That was it.... once I hit it with the cdmod a+x and restarted kde it all worked perfectly.

Thanks for your help...

now if i could only get speech working in ut2004.......



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
'cannot stat' script in /etc/rc.d/, try to run script at startup quintan Linux - Software 1 11-21-2005 03:53 AM
How to call a script from a system startup script? jonatito Linux - Newbie 7 11-11-2005 10:40 PM
kde startup script LucidParody SUSE / openSUSE 1 03-01-2005 03:58 AM
couple of qs, gnome ftp, removing kde or improving speed of kde, startup modprobe darkleaf Linux - Software 2 07-20-2004 10:54 AM
How to auto load a script on KDE startup kam_kenneth Linux - Newbie 2 05-03-2004 05:55 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration