Zwillingssterns Weltenwald
Published on Zwillingssterns Weltenwald (http://www.zwillingsstern.de)

Startseite > pyRad - a wheel type command interface for KDE

pyRad - a wheel type command interface for KDE

Arrrrrr! Ye be replacin' th' walk th' plank alt-tab wi' th' keelhaulin' pirate wheel, matey! — Lacrocivious

pyRad is a wheel type command interface for KDE [1]1, designed to appear below your mouse pointer at a gesture.

install | setup | usage and screenshots | download and sources

pyRad command wheel

Install

in any distro

  • Get Python [2].
  • call easy_install pyRadKDE in any shell.
  • Test it by calling pyrad.py.
  • This should automatically pull in pyKDE4 [3]. If it doesn’t, you need to install that seperately.
  • Visual icon selection requires the kdialog program (a standard part of KDE).

  • For a "live" version, just clone the pyrad Mercurial repo [4] and let KDE run "path/to/repo/pyrad.py" at startup. You can stop a running pyrad via pyrad.py --quit. pyrad.py --help gives usage instructions.

In Gentoo [5]

  • emerge -a kde-misc/pyrad

In unfree systems (like MacOSX and Windows)

  • I have no clue since I don’t use them. You’ll need to find out yourself or install a free system. Examples are Kubuntu [6] for beginners and Gentoo [5] for convenient tinkering. Both run GNU/Linux.

Setup

  • Run /usr/bin/pyrad.py. Then add it as script to your autostart (systemsettings→advanced→autostart). You can now use Alt-F6 and Meta-F6 to call it.

Mouse gesture (optional)

  • Add the mouse gesture in systemsettings (systemsettings→shortcuts) to call D-Bus: Program: org.kde.pyRad ; Object: /MainApplication ; Function: newInstance (you might have to enable gestures in the settings, too - in the shortcuts-window you should find a settings button).

  • Alternately set the gesture to call the command dbus-send --type=method_call --dest=org.kde.pyRad /MainApplication org.kde.KUniqueApplication.newInstance.

Customize the wheel

Customize the menu by editing the file "$HOME/.pyradrc" or middle-clicking (add) and right-clicking (edit) items.

Usage and screenshots

To call pyRad and see the command wheel, you simply use the gesture or key you assigned.

pyRad command wheel

Then you can activate an action with a single left click. Actions can be grouped into folders. To open a folder, you also simply left-click it.

Also you can click the keyboard key shown at the beginning of the tooltip to activate an action (hover the mouse over an icon to see the tooltip).

To make the wheel disappear or leave a folder, click the center or hit the key 0. To just make it disappear, hit escape.

For editing an action, just right click it, and you’ll see the edit dialog.

pyRad edit dialog

Each item has an icon (either an icon name from KDE or the path to an icon) and an action. The action is simply the command you would call in the shell (only simple commands, though, no real shell scripting or glob).

To add a new action, simply middle-click the action before it. The wheel goes clockwise, with the first item being at the bottom. To add a new first item, middle-click the center.

To add a new folder (or turn an item into a folder), simply click on the folder button, say OK and then click it to add actions in there.

See it in action:

pyRad in action (screenshot) [7]

download and sources

pyRad is available from

  • kde-apps [8],
  • PyPI [9] (file releases) and
  • bitbucket [4] (source repository for contributing)

PS: The name is a play on ‘python’, ‘Rad’ (german for wheel) and pirate :-)

PPS: KDE, K Desktop Environment and the KDE Logo are trademarks of KDE e.V.

PPPS: License is GPL+ [10] as with almost everything on this site.Arrrrrr! Ye be replacin' th' walk th' plank alt-tab wi' th' keelhaulin' pirate wheel, matey! Arrrrr! → http://draketo.de/light/english/pyrad


  1. powered by KDE [1] ↩

AnhangGröße
pyrad-0.4.3-screenshot.png [11]26.67 KB
pyrad-0.4.3-screenshot-edit-action.png [12]36.28 KB
pyrad-0.4.3-screenshot-edit-folder.png [13]39.18 KB
pyrad-0.4.3-screenshot2.png [14]29.03 KB
pyrad-0.4.3-screenshot3.png [15]27.59 KB
powered_by_kde_horizontal_190.png [16]11.96 KB
pyrad-0.4.3-fullscreen.png [7]913.3 KB
pyrad-0.4.3-fullscreen-400x320.png [17]143.69 KB
pyrad-0.4.4-screenshot-edit-action.png [18]40.94 KB

pyRad is now in Gentoo portage! *happy*

My wheel type command interface pyRad [19] just got included [20] in the official Gentoo [5] portage-tree [21]!

So now you can install it in Gentoo with a simple emerge kde-misc/pyrad.

pyRad command wheel [19]

Many thanks go to the maintainer Andreas K. Hüttel (dilfridge) and to jokey and Tommy[D] from the Gentoo sunrise [22] project (wiki [23]) for providing their user-overlay and helping users with creating ebuilds as well as Arfrever, neurogeek, floppym from the Gentoo Python-Herd [24] for helping me to clean up the ebuild and convert it to EAPI 3!

Werke von Arne Babenhauserheide. Lizensiert, wo nichts anderes steht, unter der GPLv3 or later und weiteren freien Lizenzen.

Diese Seite nutzt Cookies. Und Bilder. Manchmal auch Text. Eins davon muss ich wohl erwähnen — sagen die meisten anderen, und ich habe grade keine Zeit, Rechtstexte dazu zu lesen…


Source URL: http://www.zwillingsstern.de/light/english/pyrad

Links:
[1] http://kde.org
[2] http://python.org/download/
[3] http://www.riverbankcomputing.co.uk/software/pykde/intro
[4] http://bitbucket.org/ArneBab/pyrad
[5] http://gentoo.org
[6] http://kubuntu.org
[7] http://www.zwillingsstern.de/files/pyrad-0.4.3-fullscreen.png
[8] http://kde-apps.org/content/show.php/pyRad?content=117428
[9] http://pypi.python.org/pypi/pyRadKDE/
[10] http://www.zwillingsstern.de/licenses
[11] http://www.zwillingsstern.de/files/pyrad-0.4.3-screenshot.png
[12] http://www.zwillingsstern.de/files/pyrad-0.4.3-screenshot-edit-action.png
[13] http://www.zwillingsstern.de/files/pyrad-0.4.3-screenshot-edit-folder.png
[14] http://www.zwillingsstern.de/files/pyrad-0.4.3-screenshot2.png
[15] http://www.zwillingsstern.de/files/pyrad-0.4.3-screenshot3.png
[16] http://www.zwillingsstern.de/files/powered_by_kde_horizontal_190.png
[17] http://www.zwillingsstern.de/files/pyrad-0.4.3-fullscreen-400x320.png
[18] http://www.zwillingsstern.de/files/pyrad-0.4.4-screenshot-edit-action.png
[19] http://www.zwillingsstern.de/light/english/pyrad
[20] https://bugs.gentoo.org/298675
[21] http://packages.gentoo.org/package/kde-misc/pyrad
[22] http://www.gentoo.org/proj/en/sunrise/
[23] http://overlays.gentoo.org/proj/sunrise
[24] http://www.gentoo.org/proj/en/Python/