LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-25-2012, 01:57 PM   #1
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Rep: Reputation: Disabled
desktops, how it all comes togather (getting wbar working with openbox)


Currently I use a very simple setup which is very fast and simple.
I use slim with loads openbox. I have tint2 for a taskbar. I don't use anything to set a background, so the background is the same as the slim background. I kinda like it this way and it's fast.

However I decided I wanted to try to get wbar working instead of tint2 just to make it a little prettier.

The problem I am concerned with at the moment is that I can't get wbar to be above the desktop. (yes I checked the box in config)
Another thread I was looking at suggested xcompmgr. however this doesn't seem to have any effect.

Here is my question. I don't totally understand how this all comes together. In order for a taskbar to work right it must have to reside in a different layer. What creates that layer?
 
Old 12-27-2012, 08:47 AM   #2
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Original Poster
Rep: Reputation: Disabled
Well, since obviously nobody has any useful input I might as well just keep blabbing about my progress.

I was able to set wbar perminantly on top with the following lines in the application section of rc.xml
Code:
<application name="wbar">
    <desktop>all</desktop>
    <layer>above</layer>
  </application>
The problem now is that wbar takes a screen shot of the background in the vicinity of the wbar windows every time it is reloaded, so if a window is sitting under the bar when it is reloaded that window is captured. It will look fine until something is moved. I'm not sure if there is a good way to fix it, but I'm trying an experiment.
Using rc.xml. I am trying to force a reload every time
1. the desktop is switched
2. applications are switched "alt tab"
3. on any dragging action

I made a really simple script called /usr/bin/wreload which is just
Code:
#!/bin/bash
killall wbar
wbar
I have been able to implement this for desktop switching, that is C-A-Left,Right as well as C-A-F1,F2,F3,F4
but I haven't managed to get it working with the other two circumstances.
For the second circumstance. when I try to insert a section in to the keybindings for "alt tab" like

Code:
<application name="wbar">
<command>wreload</command>
</application>
It doesn't seem to work. Strangely enough it works in other sections.
Let me know if anyone has any suggestions.
I'll keep everyone posted.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble getting Compiz working on Debian netinst w/ Openbox alarazr Linux - Newbie 1 09-23-2012 03:00 AM
Hybrid Desktops: Xfce4+E16, Gnome2+Openbox, etc? Wierd and wacky? nclinuxredneck Linux - Desktop 5 01-20-2012 11:41 AM
two linux togather seighalani Linux - General 13 09-21-2007 04:28 PM
Starting Openbox with Kicker stick to all desktops? frenchn00b Linux - Desktop 1 07-08-2007 01:08 PM
Openbox menus not working lancelott Linux - Software 1 11-27-2004 03:59 AM


All times are GMT -5. The time now is 03:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration