Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-25-2003, 12:06 AM   #1
Registered: Dec 2002
Location: California
Distribution: Slackware & FreeBSD
Posts: 169

Rep: Reputation: 30
running commands when KDE opens

I created a text file from scratch and placed two commands in it:

xmodmap -e "pointer = 1 2 3 6 7 4 5"
imwheel -k -b "67"

The filename is 'sidebuttons' and made it executable with chmod. I'm using KDE so I placed the file in ~/.kde/Autostart but KDE opens the file for editing with KWrite. How can I execute the commands instead? Thanks.
Old 03-25-2003, 03:49 AM   #2
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
i'll try
#!/usr/bin/bash in the first line
Old 03-25-2003, 11:36 PM   #3
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Is what you want on the first line.


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
making a script that opens terminal and enter commands into that terminal Cinematography Linux - General 8 12-16-2008 10:34 AM
Why wont my KDE 3.2 FC2 setup run make commands w/KDE 1.x packages? rusty_slacker Linux - Newbie 1 09-19-2004 05:40 PM
KDE opens an infinite number of views of my Home folder skr Linux - Newbie 4 07-13-2004 12:51 PM
KDE opens apps slow h1tman Linux - Software 6 08-12-2003 03:54 PM
Running commands linuxnewbie001 Linux - Newbie 6 08-01-2003 04:28 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:40 PM.

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