Skip to main content

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
code:
sudo apt-get install xfce4-panel wmctrl
you might need install additional packages

2. set panel
  1. start xfce4-panel inside console (or via alt+f2).
  2. select 'one empty panel' (or that) in popup.
  3. set panel in location, example, @ top.
  4. set height (in panel preferences) 24 pixels.
  5. set background solid color , alpha 0 (fully transparent).
  6. 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:
code:
#!/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 &
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. run
code:
wmctrl -l -g
see have grep for.

make executable:
code:
sudo chmod +x your-panel-applet-script-filename.sh
and add list of startup applications.

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.
attached images attached images

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

Popular posts from this blog

Thread: gpg: Conflicting Commands

Adobe Acrobat Pro , Terminal Server Use

when i try using AE CC 3d camera tracker after the first step it says "Analysis solve failed." help?