some plugins and questions
- From: Jeroen Budts <jeroen lightyear be>
- To: kupfer-list gnome org
- Subject: some plugins and questions
- Date: Sat, 05 Jan 2013 17:58:50 +0100
Hi all,
A few weeks ago I discovered Kupfer, after using Gnome DO and later
Synapse for a few years.
I also started learning Python a few weeks ago, so writing some plugins
for Kupfer is an excellent learning experience.
I'd like to present the two first plugins I have written so far, as they
might be interesting for other people as well (I hope):
* Hotot: with this plugin you can create tweets directly from Kupfer
when Hotot (a Twitter client) is running, similar to the Gwibber plugin.
It also lets you show and hide Hotot. (When Hotot is hidden, Kupfer
doesn't detect it as 'running' and does offer to launch it again).
* Media Players: This plugin can be used to command any media player
which has an MPRIS2 interface (on DBus). I tested it with VLC, Banshee,
Spotify, gmusicbrowser. It offers Play, Play/Pause, Stop, Next,
Previous, Show Playing and so on. Most actions are available as Leafs in
the left pane and let you select one of the running players in the right
pane. It is also possible to first select a running player in the left
pane and then select the action in the right pane.
I'm still adding extra functionality to this plugin, for example I still
plan to add a 'Seek' action (which will use an indirect object to select
the amount of seconds to seek)
Both plugins can be found in my kupfer-plugins repository:
https://github.com/teranex/kupfer-plugins
I'm still very unexperienced with Python, the Kupfer API, D-Bus and so
on, so feedback is much appreciated :)
I'm also wondering what is the best way to propose patches (for new
plugins and fixes to existing plugins)? Make a patch file and attach
them to a launchpad-issue? Fork the repo on github and send a pull request?
And a last question: What is the best way to start kupfer from the git
repository? Just running `./kupfer-run --debug`? And is it possible to
easily use different settings during development?
Thanks for this wonderful application!
Jeroen
--
website: http://budts.be/ - twitter: @teranex
___________________________________
Registered Linux User #482240 - GetFirefox.com - ubuntu.com
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]