LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   moving windows buttons to left in lxde (https://www.linuxquestions.org/questions/linux-newbie-8/moving-windows-buttons-to-left-in-lxde-901649/)

Nabeel 09-07-2011 02:31 PM

moving windows buttons to left in lxde
 
I have Installed lxde environment on my system, and I want to move the window buttons to the right sode of the title bar.

{BBI}Nexus{BBI} 09-07-2011 02:43 PM

You don't say what distro you are using. If it's a *buntu derivative I should think the procedure is much the same as here: http://www.howtogeek.com/howto/13535...-ubuntu-10.04/

Nabeel 09-08-2011 03:46 AM

Well I have installed it as a separate Environment on Maverick beside gnome. I also tried what you have said above but the buttons are already on the right hand side. I want them on the Left hand side like in the gnome environment.

{BBI}Nexus{BBI} 09-08-2011 03:12 PM

Quote:

Originally Posted by Nabeel (Post 4465366)
Well I have installed it as a separate Environment on Maverick beside gnome. I also tried what you have said above but the buttons are already on the right hand side. I want them on the Left hand side like in the gnome environment.

You posted that you wanted instructions on placeing the buttons to the right. However, at the very start of that walk through the buttons are on the left to begin with. Therefore all you need to do is change the option to say maximize,minimize,close:menu.

Nabeel 09-08-2011 11:38 PM

Well I did that But they are still on the right side of the windows.

evo2 09-08-2011 11:57 PM

Hi,

this is a setting (or perhaps is hardcoded) of your window manager. The link posted by Nexus
seems to give instructions for the metacity window manager which is the default for gnome 2.
I think that openbox is the default for lxde. Do you know what window manager you are using?
Can you confirm it is openbox?

Evo2.

Nabeel 09-09-2011 11:10 PM

Yes it is indeed Openbox.

evo2 09-10-2011 09:03 PM

Ok, in openbox this is configured with the rc.xml file. Right now you are probably just using the default config which should be in /etc/xdg/openbox/rc.xml. Copy that file to ~/.config/openbox/
Ie.
Code:

mkdir -p ~/.config/openbox
cp  /etc/xdg/openbox/rc.xml /.config/openbox/

Now open that file in your favourite text editor. Eg
Code:

nano ~/.config/openbox/rx.xml
Look for a line that has:
Code:

<titleLayout>NLIMC</titleLayout>
Each of the letters N, L, I, M, and C represent the different items in the title bar of your windows.
The meanings are:
Code:


      N: window icon
      L: window label (AKA title).
      I: iconify
      M: maximize
      C: close
      S: shade (roll up/down)
      D: omnipresent (on all desktops).

Simply edit that line to represent the layout you want.
Eg
Code:

  <titleLayout>IMCLN</titleLayout>
I guess you'll have to restart openbox to see the changes

HTH.

Evo2

eskemojoe007 04-23-2012 12:46 PM

Note for the internet searcher that at least in Lubuntu 11.10 already has a copy of this file in ~/.config/openbox/lubuntu-rc.xml. Do the above changes in this file.


All times are GMT -5. The time now is 01:02 PM.