Thread: HOWTO use Workrave inside Unity
this howto use programs workrave require system tray work in unity. annoyed unity's lack of system tray found different solution.
note: workrave 1.10 include unity indicator, wasn't able compile version. see it's news file.
see attached screenshot become.
1. install packages
you might need install additional packagescode:sudo apt-get install xfce4-panel wmctrl
2. set panel
- start xfce4-panel inside console (or via alt+f2).
- select 'one empty panel' (or that) in popup.
- set panel in location, example, @ top.
- set height (in panel preferences) 24 pixels.
- set background solid color , alpha 0 (fully transparent).
- add panel applet 'notification area' panel.
warning: don't use dash: overlay panel. fixed later.
3. make panel start @ system start
create file somewhere in home directory contents:
the line starting 'wmctrl' bit of magic: finds window id of applet , makes topmost window. way won't disappear when use dash (windows/super-key). remember replace hostname in egrep command. runcode:#!/bin/bash xfce4-panel & sleep 3; wmctrl -l -g | /bin/egrep "your-hostname xfce4-panel$" | cut -d " " -f 1 | xargs -n 1 wmctrl -b add,above -i -r workrave &see have grep for.code:wmctrl -l -g
make executable:
and add list of startup applications.code:sudo chmod +x your-panel-applet-script-filename.sh
4. bonus: hide letters under (firefox page titles etc.)
set background attached 'top bar.png' file. screenshot of part of top bar. hides long page titles of web pages etc.
5. bonus: add analog xfce clock
can use other panel applets, analog xfce panel applet won't work (the clock black dark-grey background). use this solution make visible again. makes clock white.
seeing there's no reply yet, wanted thank post! makes workrave usable on ubuntu 12.04
small issue me, can't script run startup application, following error on login:
the notification area lost selection
widget took on function of notification area. area unused.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [ubuntu] HOWTO use Workrave inside Unity
Ubuntu
Comments
Post a Comment