Thread
:
[KDE] Heres how to right click in KDE
View Single Post
r0yalz
2008-03-31 , 21:48
Posts: 7 | Thanked: 0 times | Joined on Mar 2008
#
39
export CHANGE=`/usr/bin/xmodmap -pp | awk '{print $2}' | tail -n 33 | head -n 1`
if test 3 = $CHANGE
then
/usr/bin/xmodmap -e "pointer = 1 2 3"
else
/usr/bin/xmodmap -e "pointer = 3 2 1"
fi
I used the script above, yes the file ends in .sh and I saved the file in Kwrite (>save as> swmb.sh). I have no idea what i did wrong but it always opens up Kwrite instead of toggling. I set up the toggle by following your instructions (Input Actions>Command/URL) and set it to /home/user/swmb.sh where the file is.
Quote & Reply
|
r0yalz
View Public Profile
Send a private message to r0yalz
Find all posts by r0yalz