Conky Always on Top Fix in Openbox

openbox and conky

I hit a snag recently when installing Openbox on the newest Alpha2 for Unity Linux.  I initiated Conky in my autostart.sh and it was always on top…of everything on my desktop.  That’s not a good thing when you’re trying to browse the web with your Conky layout on top of your browser.  After thinking about some of the settings, I thought maybe that own_window setting might be good to play around with in conky settings…however, after a few tries, that didn’t pan out and fix this problem.

I recalled something similar with wbar in Openbox…it would draw itself on top only and have a large black box around it.  No matter what I tried, I couldn’t get it to not display the bar nor get it to stop displaying on top.  I eventually would have to kill the PID and restart the program; then I tried something…on accident actually…pypanel, my previous panel, displayed so fast I had to make it sleep to avoid problems.  So I just replaced pypanel with wbar and let it go.  Wouldn’t you know it, Wbar displayed fine and in all it’s glory after that.

I tried the same with Conky and I am happy to report it works just fine to solve the “always on top” issue.  To make a task sleep before running in your autostart.sh, alter it as follows:

(sleep 6 && program) &

Where 6 is the number of seconds you want things to sleep and program is the program you wish to run.  Hopefully this helps a few people out…it threw me for a loop for a while before I was able to solve it.  Gratuitous and obligatory screenshot is below:

openbox and conky

openbox, conky & tint2

This content is published under the Attribution-Noncommercial-Share Alike 3.0 Unported license.

About

devnet has been a project manager for a Fortune 500 company, a Unix administrator, a Technical Writer, and a System Analyst during his 10 years working with Technology.

  • alva.ranga

    Unity Linux is tha bomb! Thanks for posting! http://linuxoxox.com

  • Monika Selon

    t-shirt torino is great for fshion, I used Linux server for this site

  • Andriansah

    Hi
    find xxxrc file, its your conky configuration. Find line own_window_type and change the value to normal

    own_window_type=normal

    Hope it works for you