LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-15-2010, 02:22 PM   #1
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Rep: Reputation: 34
Can I tweak LXDE/Openbox to do this?


I'm running LXDE on my netbook and find the title bar to be a waste of vertical space, but I do like the minimise, maximise and close buttons.

I've searched box-look.org for a theme that has a very, very thin title bar but I've come up empty handed. I wonder if there's a way to put at least a close button somewhere else; in lxpanel next to each item in the window list?

I could do without the maximise button if I can find something like maximus to maximise all windows, but it has GNOME dependencies that I don't really want.

Last edited by jsteel; 12-15-2010 at 02:28 PM.
 
Old 12-15-2010, 03:05 PM   #2
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
I don't think you can put a close button on apps in the panel, though it would be a function of the panel if you could most likely. What about using keybindings? I have it set so the "windows key"+m toggles a window to maximize and W+q closes the window.

To do so, put in rc.xml (or I think lxde-rc.xml with LXDE) under the keybindings section.
Code:
<keybind key="W-m">
    <action name="ToggleMaximizeFull"/>
</keybind>
<keybind key="W-q">
    <action name="Close"/>
</keybind>
You could probably set up a mousebinding along similar lines as well. I don't use the mouse much so I haven't messed with the bindings.
 
Old 12-15-2010, 03:39 PM   #3
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Original Poster
Rep: Reputation: 34
OK yes that looks great thanks. Is there a way to hide the title bar and maximise windows automatically?
 
Old 12-15-2010, 04:27 PM   #4
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Yup. Same file, at the end in the <applications> section.

Code:
  <application class="*">
    <decor>no</decor>
  </application>

  <application class="*">
    <maximized>yes</maximized>
  </application>

http://openbox.org/wiki/Help:FAQ#How..._my_windows.3F
 
1 members found this post helpful.
Old 12-16-2010, 02:37 AM   #5
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Original Poster
Rep: Reputation: 34
Perfect! Thank you.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
obconf always segmentation faults! Any other utility for openbox-lxde? Holering Slackware 8 10-20-2010 04:47 PM
Do you think LXDE/OpenBox should replace ........ Wm/Desktop in Slackware? samac Slackware 7 03-14-2010 05:24 AM
How to Tweak LXDE Suspend? DonnieP Slackware 1 01-01-2010 10:08 AM
KDE/OpenBox/LXDE samac Slackware 4 11-21-2009 08:10 AM
lxde/openbox restarts computer keratos Linux - Desktop 0 11-09-2008 04:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:40 PM.

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
Open Source Consulting | Domain Registration