Thread: Transparent Tray Icons in Linux

Results 1 to 5 of 5
  1. #1 Transparent Tray Icons in Linux 
    Renown Programmer

    Nikki's Avatar
    Join Date
    Aug 2008
    Posts
    3,992
    Thanks given
    553
    Thanks received
    1,078
    Rep Power
    5000
    This is a quick and dirty library meant to replace Java's TrayIcon on Linux systems which have access to Gtk, allowing transparent backgrounds rather than the ugly gray one. It's far from perfect, may be extremely buggy when used with other native X11/Gtk libraries, and may cause unexpected jvm crashes. The API is far from perfect, and a lot of it was written over a year ago for the original Sleeksnap, only being updated a little bit to fix naming and conventions.

    However, I believe it's somewhat stable, and if there's an issue let's try to fix it.

    https://github.com/nikkiii/nativetray

    How it works:
    First, it'll try to load Gtk, if it fails, then it'll fall back to Java's TrayIcon. If it succeeds, it'll use JNA to access Gtk and wrap a Gtk StatusIcon and Menu (basic menu only, no sub menus), giving you the system L&F and the lovely transparent icon.

    Why:
    There has been an *ehem* "enhancement" since 2006 - http://bugs.java.com/bugdatabase/vie...bug_id=6453521, which needs to be fixed somehow, but until then there's no good way to do it.
    Please don't add/pm me asking for RSPS help!

    Links:
    - Pastebin
    - Sleeksnap

    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Registered Member
    Invision's Avatar
    Join Date
    Nov 2013
    Posts
    287
    Thanks given
    54
    Thanks received
    303
    Rep Power
    655
    Works perfect thanks
    Reply With Quote  
     

  4. #3  
    fumant viriditas quotidiana

    saifix's Avatar
    Join Date
    Feb 2009
    Age
    30
    Posts
    1,237
    Thanks given
    275
    Thanks received
    957
    Rep Power
    3304
    My name is Nikki and I don't provide you with a decent way to include my package as a dependency in your project because I'm an asshole
    "Im so bluezd out of my box.
    Im so fkd i canr even sens makeas Smoke blunt 420hash e tizday" - A legendary guy (1993 - 2015)
    Quote Originally Posted by nmopal View Post
    I will be creating a grimy dubstep song using these lyrics and vocaloid please prepare your bodies
    Reply With Quote  
     

  5. Thankful user:


  6. #4  
    Renown Programmer

    Nikki's Avatar
    Join Date
    Aug 2008
    Posts
    3,992
    Thanks given
    553
    Thanks received
    1,078
    Rep Power
    5000
    Quote Originally Posted by saifix View Post
    My name is Nikki and I don't provide you with a decent way to include my package as a dependency in your project because I'm an asshole
    Index of /maven2/us/nikkii/nativetray/1.0/

    And added installation instructions using my personal repository for now.
    Please don't add/pm me asking for RSPS help!

    Links:
    - Pastebin
    - Sleeksnap

    Reply With Quote  
     

  7. Thankful user:


  8. #5  
    The internet's reject
    Andy's Avatar
    Join Date
    Jun 2007
    Age
    33
    Posts
    4,371
    Thanks given
    148
    Thanks received
    1,522
    Rep Power
    3133
    Thank you for this, needed it for Aurous. Will include you on the open source library list.
    What am I watching now?

    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Playing a client in Linux.H
    By Demetri in forum Help
    Replies: 8
    Last Post: 04-23-2009, 03:39 AM
  2. how do I run .class files in linux
    By Iain in forum Help
    Replies: 3
    Last Post: 01-15-2009, 07:29 PM
  3. Running in Linux
    By WillT in forum Help
    Replies: 4
    Last Post: 01-13-2009, 12:48 AM
  4. icons in messages/text
    By mige5 in forum Projects
    Replies: 0
    Last Post: 11-26-2008, 11:31 PM
  5. Packet 61 - Icons in bottom corner
    By Blazefire in forum Tutorials
    Replies: 6
    Last Post: 08-15-2007, 05:09 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •