I am trying to install and run SelekTOR according to this article. Installation is fine, but when I am trying to run it, nothing happens. Here is console output:

Gtk-Message: Failed to load module "pantheon-filechooser-module"

(java:31665): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(java:31665): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(java:31665): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(java:31665): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(java:31665): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
Gtk-Message: Failed to load module "canberra-gtk-module"
Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedOperationException
    at java.awt.TrayIcon.<init>(TrayIcon.java:144)
    at java.awt.TrayIcon.<init>(TrayIcon.java:168)
    at java.awt.TrayIcon.<init>(TrayIcon.java:197)
    at java.awt.TrayIcon.<init>(TrayIcon.java:227)
    at lib.SwingTrayIcon.<init>(SwingTrayIcon.java:65)
    at client.SelekTOR.<init>(SelekTOR.java:213)
    at SelekTOR$1.run(SelekTOR.java:42)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

On KDE everything was working fine, but not on Elementary OS.

Is there any way to fix it?

  • Do you know if this application is using a compiled-in version of Java, or does it pull in something like OpenJDK?
    – Lewis Goddard
    Aug 17, 2015 at 20:51
  • @LewisGoddard I really don't know. The command for this process in ps aux is java -Xms32m -Xmx64m -jar SelekTOR.jar, maybe this will help Aug 18, 2015 at 8:26
  • Hm, that looks like it's relying on whatever is supplying the java command on your machine. Maybe try using this WebUpd8 Article to install the latest version.
    – Lewis Goddard
    Aug 18, 2015 at 8:56
  • @LewisGoddard I installed my Java version from this repo Aug 18, 2015 at 9:00
  • Ah, it appears that java.awt.TrayIcon may actually require an older version of Java. Try version 7, if not version 6.
    – Lewis Goddard
    Aug 18, 2015 at 9:04

3 Answers 3


The SelekTOR developer here, you should pretty much always use the SelekTOR download from the official website http://www.dazzleships.net.

As noted by LewisGoddard trayicon support is disabled on Gnome based systems it does use a hardcoded desktop detection list but if this list fails it falls back to actually trying to load the trayicon and if that fails it disables the trayicon support automatically so it should start up fine.

I just checked the latest release 3.13.38 against the latest ElementaryOS and it works fine with Chromium and Firefox. Do not use Midori as it does not have the required PAC proxying support.

My recommendation for SelekTOR on Elementary would be to pin it to the dock and in SelekTOR preferences ensure "Minimise instead of Exit on close" is checked. You can also set "Minimise on startup" if you intend to use auto startup.


Alistair Neil

SelekTOR Maintainer


Updating SelekTOR to the latest version solved the problem. P.S. That's strange that .deb from site is version 3.13-38, though it installs SelekTOR version 3.13.18


A lot of graphical Java applications are based on Swing, which relies on the pixbuf rendering engine.

Unfortunately pixbuf is not installed in elementary OS by default. Install pixbuf and your errors should be gone:

sudo apt-get install gtk2-engines-pixbuf 
  • nope, they didn't Aug 18, 2015 at 8:25
  • 1
    Gtk2 engines aren't going to help much in a Gtk3 environment. PixBuf warning can be safely ignored, and are even present in some default apps.
    – Lewis Goddard
    Aug 18, 2015 at 8:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.