LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 12-24-2012, 04:54 AM   #1
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 443

Rep: Reputation: Disabled
openbox rc.xml syntax "tiling"


I'm kinda new to xml, I was trying to write a script to tile the first four windows. Obviously it would be better if it could tile all of them but I couldn't find a way to count windows.

This is what I have so far. It doesn't work. It seems to only follow through with the first two commands and stop. What am I doing wrong.

PHP Code:
 <keybind key="A-t">
    <
action name="MoveResizeTo">
      <
x>0</x>
      <
y>0</y>
      <
width>683</width>
      <
height>384</height>
    </
action>
    <
action name="NextWindow">
      <
dialog>none</dialog>
    </
action>
    <
action name="MoveResizeTo">
      <
x>684</x>
      <
y>0</y>
      <
width>683</width>
      <
height>384</height>
    </
action
    <
action name="NextWindow">
      <
dialog>none</dialog>
    </
action>
    <
action name="MoveResizeTo">
      <
x>0</x>
      <
y>385</y>
      <
width>683</width>
      <
height>384</height>
    </
action>
    <
action name="NextWindow">
      <
dialog>none</dialog>
    </
action>  
    <
action name="MoveResizeTo">
      <
x>684</x>
      <
y>385</y>
      <
width>683</width>
      <
height>384</height>
    </
action>     
   </
keybind
BTW. I know there would be an issue with maximized windows, I'm pretty sure I know how to fix that. I just want to get it working first.
 
  


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
[SOLVED] "Permission denied" when Openbox tries to execute autostart.sh in ~/.config/openbox alarazr Linux - Software 4 10-04-2012 03:50 PM
Tiling "WM" inside a desktop WM Akdor 1154 Linux - Desktop 8 07-12-2012 09:32 AM
[SOLVED] openbox - menu.xml - syntax error quexxon-12 Linux - Software 3 06-04-2011 01:03 AM
Installed Openbox but I don't have "obconf" Riddick Linux - Software 2 05-15-2006 02:21 PM
Does anybody use "ghetto GNOME" under openbox? Erik_the_Red Linux - Software 1 08-01-2005 12:42 PM


All times are GMT -5. The time now is 04:58 PM.

Main Menu
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