LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dock issue- AWN/Compiz conflict, autohide problem (http://www.linuxquestions.org/questions/linux-newbie-8/dock-issue-awn-compiz-conflict-autohide-problem-876565/)

Hevithan 04-22-2011 04:34 PM

Dock issue- AWN/Compiz conflict, autohide problem
 
I am having a few issues with my dock.I am running dreamlinux (debian), Xfce desktop, it is my only OS (no windows or other distros), My account is user (with special privileges, but I am also root), machine is a laptop - Fujitsu Lifebook S-2640.

Now my problem is:

When I open windows my dock is staying below Maxed windows as I have told it to, but it is not auto hiding at the desktop.
When I enable compiz, it loads up the AWN bar, but has a second underneath so they overlap, and I have 2 non-hiding docks.
it's not causing any major problems but sometimes I click the wrong thing since they are overlapping, and for aesthetic reasons I would like it to hide. I have checked the setting for compiz and Awn, and don't see anything that would cause this ... Any ideas?

Thanks.

PhoenixAndThor 04-23-2011 01:53 AM

Ahh, the "two docks" problem. Some of the custom GUI utilities that ship with DreamLinux are buggy. Instead, the easiest way to fix the problem is to find out exactly what command is used to launch each dock and then write a few shell scripts. You can use gnome-system-monitor to find out what commands you need to put in your scripts. Below is an example:

#/bin/bash
killall [command for dock here]
killall Xfwm4 # or any other window manager
compiz
sleep 2 # This give the window manager a chance to completely start up
avant-window-navigator

Hevithan 04-23-2011 04:44 AM

Quote:

Originally Posted by PhoenixAndThor (Post 4333321)
Ahh, the "two docks" problem. Some of the custom GUI utilities that ship with DreamLinux are buggy. Instead, the easiest way to fix the problem is to find out exactly what command is used to launch each dock and then write a few shell scripts. You can use gnome-system-monitor to find out what commands you need to put in your scripts. Below is an example:

#/bin/bash
killall [command for dock here]
killall Xfwm4 # or any other window manager
compiz
sleep 2 # This give the window manager a chance to completely start up
avant-window-navigator

So I am guessing from the #, That I should do it from the root account or sudo? I'll try that in the morning, it's kinda late right now, but if it works, I will mark it as solved. Thank you

PhoenixAndThor 04-24-2011 08:55 AM

Oh I'm sorry, that's a typo. It's supposed to be #!/bin/bash. You fill in your own commands, stick it in a file (like myscript.sh), make it executable, and run it. Below is a working example I used to use to switch window managers:

#!/bin/bash
killall xfwm4
killall avant-window-navigator
compiz
cairo-dock


I had that bound to a key combo, and another script (and key combo) to switch it back. You shouldn't need to be root to do this.

Hevithan 04-25-2011 01:29 AM

My docks are now behaving as they should. killall was in fact the key. Took me a bit of digging to figure out what to kill, but it worked. Thanks for your help.

PhoenixAndThor 04-26-2011 02:42 AM

You're welcome


All times are GMT -5. The time now is 11:48 AM.