Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named gnomeapplet due to gnome3 #6

Open
chx opened this issue Nov 16, 2011 · 4 comments
Open

ImportError: No module named gnomeapplet due to gnome3 #6

chx opened this issue Nov 16, 2011 · 4 comments

Comments

@chx
Copy link

chx commented Nov 16, 2011

I have installed this -- but this is the error I am getting and Arch Linux have dropped gnomeapplet as it's not compatible with gnome3 or so i am told.

@teleshoes
Copy link
Owner

tpbattstat-applet has 3 modes. gtk window, gnome-panel applet, and dzen.
gtk window is a just a standalone gtk app that SHOULD work in gnome3.

gnome-panel is completely gone in gnome3, and is replaced by a shitty gui-laden nothing. gnome3 at least used to have support for gnome2-ish things, but this may not be the case. for instance, i can run gnome-panel, unity, and gnome shell on the gnome3-ish ubuntu natty narwhal.

dzen mode is just text output {actually dzen-flavored markup} that you can pipe into dzen2, a status bar program that people typically use with tiling window managers like xmonad and bluetile, although you can use it to supplement more gui-driven window managers. this should definitely work in gnome3.

that being said, the problem is probably simply that i dont conditionally import gnome-ish things as they come up. oooorr it might be that gnome3 has wildly breaking apis, i havent looked into it yet.

it would help me to know how you plan to use tpbattstat-applet, and also how would you LIKE to use it.
{e.g.: a text-only output mode running in a terminal emulator, as a tiny floating transparent window you can drag that will hover over all your other windows, as a desktop widget-y thing like conky, etc.} i personally use dzen+xmonad and havent touched gnome-shell or unity or gnome-panel in many months, although i do have gnome installed for certain applications like gdm and nautilus.

@chx
Copy link
Author

chx commented Nov 16, 2011

I am running KDE4 actually but found many GTK apps happily sit in the systray nonetheless so I tried. I wanted it to sit in the systray too.

@teleshoes
Copy link
Owner

ah. i know nothing at all about kde. this should be pretty easy to do tho, since other gtk apps can do it and tpbattstat doesnt do anything important with gtk.

@teleshoes
Copy link
Owner

ugh, kde is terrible {though nowhere near as bad as gnome3!}. unless theres some wrapper available in pykde for writing plasma applets with GTK widgets, it will be quite difficult for me to port it and keep it maintainable. ill look into it some more when i get time. {you do use plasma, right?}

you can always just run it as a standalone gtk app that hovers over your systray. i did that for awhile when transitioning away from gnome. i used xdotool to manipulate the window after i started it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants