LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 04-22-2011, 04:34 PM   #1
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Rep: Reputation: 39
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.

Last edited by Hevithan; 04-22-2011 at 04:35 PM. Reason: spelling error
 
Old 04-23-2011, 01:53 AM   #2
PhoenixAndThor
Member
 
Registered: Sep 2009
Location: Geogia, USA
Distribution: Ubuntu, Debian, Live CDs
Posts: 213

Rep: Reputation: 38
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
 
Old 04-23-2011, 04:44 AM   #3
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Original Poster
Rep: Reputation: 39
Quote:
Originally Posted by PhoenixAndThor View Post
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
 
Old 04-24-2011, 08:55 AM   #4
PhoenixAndThor
Member
 
Registered: Sep 2009
Location: Geogia, USA
Distribution: Ubuntu, Debian, Live CDs
Posts: 213

Rep: Reputation: 38
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.
 
Old 04-25-2011, 01:29 AM   #5
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Original Poster
Rep: Reputation: 39
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.
 
Old 04-26-2011, 02:42 AM   #6
PhoenixAndThor
Member
 
Registered: Sep 2009
Location: Geogia, USA
Distribution: Ubuntu, Debian, Live CDs
Posts: 213

Rep: Reputation: 38
You're welcome
 
  


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
Desktop/AWN/COMPIZ Settings keep disapearing fkasmani Linux - Software 1 02-14-2011 07:01 AM
LXer: AWN Lucido is an Absolute Delight to Use, Install AWN in Ubuntu Maverick, Lucid via PPA LXer Syndicated Linux News 0 09-25-2010 11:10 PM
LXer: Avant Window Navigator (AWN) Mac OS like Dock in openSUSE LXer Syndicated Linux News 0 08-03-2008 07:00 PM
LXer: AWN Issue 4 released! LXer Syndicated Linux News 0 12-31-2006 05:33 PM
Installing Compiz Dock plugin psychobyte Ubuntu 1 09-11-2006 02:59 PM


All times are GMT -5. The time now is 08:50 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration