LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-07-2011, 03:31 PM   #1
Nabeel
Member
 
Registered: Nov 2009
Location: Pakistan
Distribution: Ubuntu
Posts: 294

Rep: Reputation: 17
Question 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.
 
Old 09-07-2011, 03:43 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
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/
 
Old 09-08-2011, 04:46 AM   #3
Nabeel
Member
 
Registered: Nov 2009
Location: Pakistan
Distribution: Ubuntu
Posts: 294

Original Poster
Rep: Reputation: 17
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.
 
Old 09-08-2011, 04:12 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
Quote:
Originally Posted by Nabeel View Post
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.
 
Old 09-09-2011, 12:38 AM   #5
Nabeel
Member
 
Registered: Nov 2009
Location: Pakistan
Distribution: Ubuntu
Posts: 294

Original Poster
Rep: Reputation: 17
Well I did that But they are still on the right side of the windows.
 
Old 09-09-2011, 12:57 AM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
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.
 
Old 09-10-2011, 12:10 AM   #7
Nabeel
Member
 
Registered: Nov 2009
Location: Pakistan
Distribution: Ubuntu
Posts: 294

Original Poster
Rep: Reputation: 17
Yes it is indeed Openbox.
 
Old 09-10-2011, 10:03 PM   #8
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
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
 
Old 04-23-2012, 01:46 PM   #9
eskemojoe007
LQ Newbie
 
Registered: Apr 2012
Posts: 1

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


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
min-max-x buttons to left? danbuter Bodhi 6 02-15-2011 08:06 AM
[SOLVED] Moving windows buttons to left side on KDE 4? Weasel War Dance Linux - Newbie 2 01-22-2011 09:42 AM
Using keyboard to emulate left and right mouse buttons Jolly Viking Linux - Newbie 3 10-16-2010 07:35 AM
Left and right buttons are same on touchpad theboomboomcars Linux - Hardware 1 07-28-2009 11:17 AM
move titlebar buttons to left side? neonide Linux - Software 3 10-02-2004 09:10 AM


All times are GMT -5. The time now is 05:09 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