Welcome, Guest
Please Login or Register.    Lost Password?

Add Ubuntu Unity support, Panel Applet (Tray Icon)
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Add Ubuntu Unity support, Panel Applet (Tray Icon)
#19660
Add Ubuntu Unity support, Panel Applet (Tray Icon) 1 Year, 2 Months ago  
On Ubuntu 13.04 with Unity it would be very useful to add a tray icon (panel applet) like the icon in the window taskbar.
At the moment I can not find a way to do so in Ubuntu with Rainlendar Version 2.11.1 (b129) 64 bit (currently newest version).

Another way would be to add a Rainlendar icon to the launcher of Unity (default: on the left side). The icon should allow to show the desktop calendar, todo and event list on top of all other window until someone clicks outside of the Rainlendar windows (calendar, todo list...).


What is possible at the moment?

You can lock the Rainlendar icon to Unity's launcher, if you have opened Rainlendar's options in example. But every time you click on the icon, a message appears, which asks you:
"Do you want to start another instance? Rainlendar seems to be already running. You can start another instance by selecting 'Yes'. If this is not the case and this question pops up every time you start Rainlendar please remove this file: /tmp/Rainlendar2-...."

I hope you understand that it would very nice to have an app icon feature to quick access the calendar, event list etc. if you have got a lot of different windows opened.

Please let me know if something isn't clear to you or if I can help somehow.
ezkomomo
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2013/07/20 12:20 By ezkomomo.
The administrator has disabled public write access.
 
#19664
Re: Add Ubuntu Unity support, Panel Applet (Tray Icon) 1 Year, 2 Months ago  
Rainlendar already supports the app indicator icons that are used in Unity. Just make sure you have both Options->Advanced->"Show tray icon" and Options->Advanced->"Show app indicator icon" enabled.

You can bring Rainlendar's windows to top like this:
Code:

rainlendar2 -e "Hotkey_Show_Windows()"


I haven't used Unity much but I would imagine that there is some way to create a custom launcher icon for it that will run the above command.
Rainy
Moderator
Posts: 5971
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#19667
Re: Add Ubuntu Unity support, Panel Applet (Tray Icon) 1 Year, 2 Months ago  
Rainlendar already supports the app indicator icons that are used in Unity. Just make sure you have both Options->Advanced->"Show tray icon" and Options->Advanced->"Show app indicator icon" enabled.

Sry, I didn't mention this: I have got every icon enabled. Please have a look at the image attachment.

You can bring Rainlendar's windows to top like this:
Code:
rainlendar2 -e "Hotkey_Show_Windows()"


Thank you, the command works. But it has got a bad side effect for me. Actually the command brings all Rainlendar windows to top, also windows that should remain hidden (I disabled the event window).
Do you know any workaround?

Thanks.
ezkomomo
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#19669
Re: Add Ubuntu Unity support, Panel Applet (Tray Icon) 1 Year, 2 Months ago  
You could check if the debug log contains any errors related to the app indicator.

If you don't need the event list window at all you can just remove it from the active skin (Options->Skins, click the "Advanced >>>" button and remove the window from the list on right). Alternatively you can edit the lua script so that it will only change the position of certain windows. The scripts are in Rainlendar's installation folder.
Rainy
Moderator
Posts: 5971
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#19670
Re: Add Ubuntu Unity support, Panel Applet (Tray Icon) 1 Year, 2 Months ago  
Actually got one error and warning in the log file:

Code:


11:24:53: Error: /usr/lib/libappindicator.so: cannot open shared object file: No such file or directory
11:24:53: [0:00:00.702] WARNING: Unable to open the /usr/lib/libappindicator.so



-------------


If you don't need the event list window at all you can just remove it from the active skin (Options->Skins, click the "Advanced >>>" button and remove the window from the list on right).


Okay, after removing the windows from the skin options only the remaining windows pop up with
Code:

rainlendar2 -e "Hotkey_Show_Windows()"

So this works. Now I have to try to create a custom launcher icon with this command. Or maybe you are quicker with fixing the app indicator bug (if it is really a bug)
ezkomomo
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#19671
Re: Add Ubuntu Unity support, Panel Applet (Tray Icon) 1 Year, 2 Months ago  
Do you have the libappindicator.so library in /usr/lib?
Rainy
Moderator
Posts: 5971
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
get the latest posts directly to your desktop