![]() Registered Member ![]()
|
I am trying to get extra buttons on my mouse to do something rather than just sit there and look stupid.
I can not use mouse buttons for shortcuts in my version of KDE (i dont think newest version lets me either). I am looking for a command line argument to send the active window to a desktop of my choosing. Using dcop, the following command on the terminal will switch me to another desktop. I can then use xbindkeys to set my mouse button to execute that command. dcop kwin KWinInterface setCurrentDesktop 4 However I can not find a command to send the current window to another desktop. Any ideas? |
![]() Registered Member ![]()
|
If you knew how to control other programs via DCOP, you'll find your way easily using qdbus. Sintax is pretty similar.
Human knowledge belongs to the world
|
![]() KDE Developer ![]()
|
You don't need DCOP nor D-Bus to interact with the window manager -- use the command line application "wmctrl".
Pino Toscano
|
![]() Registered Member ![]()
|
Thanks for the help pointing me to qdbus, however my version of KDE is 3.5 (I am using RHEL 5.5). It seems like qdbus is not available until 4.x of KDE. I was hoping there was a way to get dcop to do what I want.
I tried wmctrl before I posted as it seems like a great little utility. I cant install wmctrl, it errors out on my about my glib not being configured properly. I am in a little over my head here, any ideas? |
![]() KDE Developer ![]()
|
Actually, the qdbus tool is part of Qt 4.x, not KDE.
Yes: ask to your distro about this installation issue.
Pino Toscano
|
![]() Registered Member ![]()
|
Well, I installed qt4 and have dbus working. However I am in way over my head. I will try to get wmctrl working, that seems more my speed.
I just wish I could be using a newer OS. I am stuck using RHEL 5.5 because that is the version the industry standard multi million dollar suite of CAD tools supports. Its kind of frustrating. Thanks for the help. |
![]() Registered Member ![]()
|
Sorry for the spam, but I did get wmctrl installed and it is working perfectly. I just needed to try a little harder to get it installed. It solves my problem, thanks for the nudge
Clint |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]