[Solved] OpenBox - Changing Desktop

Hey guys, i would like to know how to change active desktop via command line!
Last edited by Guilherme David (2012-07-05 22:28:35)

As far as I know you'll need something like wmctrl.

Similar Messages

  • [solved] Openbox - remove Desktop-folder?

    Hi there.
    I use Openbox as DE/window manager without desktop icons or the ability to create folders on the desktop - which is what I want. But whenever I upload an item with Firefox (other browsers untested) a folder 'Desktop' is created. How can I stop this behaviour?
    I know there is a config file which is not related to Firefox but I forgot which one it is. So any hint is appreciated.
    Thanks in advance
    Last edited by ichi-no-eda (2013-02-17 14:41:08)

    https://wiki.archlinux.org/index.php/Xd … irectories

  • Openbox - switch desktop like in Xfce [SOLVED]

    Hey all
    I've been using Xfce for a while now and I'm trying out Openbox, everything is great exept one feature that I miss.
    In Xfce I can move the mouse outside the screen to switch virtual desktops, which I've really gotten used to do, but I haven't found a way to do this in Openbox.
    Only way to switch seems to be with the keyboard (alt+ctrl+arrows) and mouse scroller over the desktop.
    Any ideas?
    (Great job on Archlinux Been an Archer for almost a year now and I love it!)
    Last edited by Shodan (2008-08-28 15:50:59)

    Shodan wrote:
    Hey all
    I've been using Xfce for a while now and I'm trying out Openbox, everything is great exept one feature that I miss.
    In Xfce I can move the mouse outside the screen to switch virtual desktops, which I've really gotten used to do, but I haven't found a way to do this in Openbox.
    Only way to switch seems to be with the keyboard (alt+ctrl+arrows) and mouse scroller over the desktop.
    Any ideas?
    (Great job on Archlinux Been an Archer for almost a year now and I love it!)
    not possible. you can drag windows to other desktops, but not change desktops by moving mouse outside screen.
    btw: you can use brightside under openbox. it's quite light-weight. and it seems to do what you want:
    http://www.linux.com/feature/124478
    vlad
    Last edited by DonVla (2008-08-28 14:14:32)

  • [SOLVED] Openbox/tint2 (or trayer) -- nothing in system tray

    Hi,
    Just decided to try Openbox and see what all the fuss was about. I really like it and am fairly confident I'll be ditching Xfce quite soon. I've had some oddities come up, though...
    - tint2 (and trayer, for that matter) show nothing at all (no icons, no nothing) in the system tray. I've started tint2 with this (stolen from elsewhere) just to try the tray:
    # SYSTRAYBAR
    systray_padding = 0 0 0
    systray_background_id = 0
    and trayer with this:
    trayer --expand true --widthtype request --edge top --align right --SetDockType false
    and nothing shows up. Is there some set of icons or package or communication that needs to be going on that isn't happening?
    Thanks for any suggestions. It's mostly usable, but it'd be nice to get these issues resolved.
    - Now solved (see update below): I really like the Still Dark II theme by Tawan but when I C-A-Left/Right to change desktops, none of the rectangle desktop icons in the pop-up pager thingy change colors. I just see four black rectangles with blue borders the color of the theme blue, but they don't show one solid one to indicate where you are. With other themes, this hasn't been a problem and I get one solid rectangle to indicate my current desktop position. For what it's worth, the same thing happens with xfzen-blue, too. What's might be the issue?
    ---( Update )---
    Tawan responded to an earlier message I sent and helped sort everything out. For those interested, if you have no solid color when switching desktops, find the ../theme-name/openbox-3/themerc and correct/add these lines:
    osd.hilight.bg: flat solid
    osd.hilight.bg.color: #1994d1
    This was exactly what I needed. Just replace the html hex color with what you want.
    ---( End Update )---
    Last edited by jwhendy (2011-01-26 03:07:18)

    Wow -- I shouldn't be allowed near a computer. Apparently you actually have to start something that shows up in the panel for... something to show up in the panel. I'm used to xfce where a battery monitor and wicd-client were always running from startup. Starting vlc was what did it for me. Seeing that darn cone show up was what made me commence slapping myself.

  • [Solved] Openbox's rc.xml error "Extra content at the end of document"

    I have a rather silly problem with Openbox.
    I'm not a programming genius so, for me, dealing with XML is a pain but I usually manage to get OB's menus and other docs to work. Ive been banging my head into a wall of xml trying to add my own entry to OpenBox's rc.xml file.  All I want to add is an Xfce terminal centred on my Twinview desktop.  I've done it in the past but right now I can't get the rc.xml file to work.  Whenever I re-configure OpenBox I get the following message spit out at me:
    Extra content at the end of document on line ###
    So far, this is what I've attempted to get this to work:
    - I have tried recopying a new rc.xml from /etc/xdg/openbox to my home directory's ~/.config/openbox.  I was assuming I'd botched it entirely and started over from the beginning.
    - I have cut/copy/pasted the commented paragraph, above my entry, with the same co-ordinates and with the "force position" set to "yes."
    -I've googled this error but I only found one or two semi-relevant hits (from this forum no less!)  Unfortunately I did not find a fix to the issue or a reason as to why this error crops up
    I know that it's probably something that is easily missed but I honestly can't see it.  I'm hoping someone on the forum will have run across this issue before and had it fixed.  Below is a copy of my current rc.xml.
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Do not edit this file, it will be overwritten on install.
    Copy the file to $HOME/.config/openbox/ instead. -->
    <openbox_config xmlns="http://openbox.org/3.4/rc">
    <resistance>
    <strength>10</strength>
    <screen_edge_strength>20</screen_edge_strength>
    </resistance>
    <focus>
    <focusNew>yes</focusNew>
    <!-- always try to focus new windows when they appear. other rules do
    apply -->
    <followMouse>no</followMouse>
    <!-- move focus to a window when you move the mouse into it -->
    <focusLast>yes</focusLast>
    <!-- focus the last used window when changing desktops, instead of the one
    under the mouse pointer. when followMouse is enabled -->
    <underMouse>no</underMouse>
    <!-- move focus under the mouse, even when the mouse is not moving -->
    <focusDelay>200</focusDelay>
    <!-- when followMouse is enabled, the mouse must be inside the window for
    this many milliseconds (1000 = 1 sec) before moving focus to it -->
    <raiseOnFocus>no</raiseOnFocus>
    <!-- when followMouse is enabled, and a window is given focus by moving the
    mouse into it, also raise the window -->
    </focus>
    <placement>
    <policy>Smart</policy>
    <!-- 'Smart' or 'UnderMouse' -->
    <center>yes</center>
    <!-- whether to place windows in the center of the free area found or
    the top left corner -->
    <monitor>Active</monitor>
    <!-- with Smart placement on a multi-monitor system, try to place new windows
    on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
    the active window is -->
    <primaryMonitor>1</primaryMonitor>
    <!-- The monitor where Openbox should place popup dialogs such as the
    focus cycling popup, or the desktop switch popup. It can be an index
    from 1, specifying a particular monitor. Or it can be one of the
    following: 'Mouse' - where the mouse is, or
    'Active' - where the active window is -->
    </placement>
    <theme>
    <name>Clearlooks</name>
    <titleLayout>NLIMC</titleLayout>
    <!--
    available characters are NDSLIMC, each can occur at most once.
    N: window icon
    L: window label (AKA title).
    I: iconify
    M: maximize
    C: close
    S: shade (roll up/down)
    D: omnipresent (on all desktops).
    -->
    <keepBorder>yes</keepBorder>
    <animateIconify>yes</animateIconify>
    <font place="ActiveWindow">
    <name>sans</name>
    <size>8</size>
    <!-- font size in points -->
    <weight>bold</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
    </font>
    <font place="InactiveWindow">
    <name>sans</name>
    <size>8</size>
    <!-- font size in points -->
    <weight>bold</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
    </font>
    <font place="MenuHeader">
    <name>sans</name>
    <size>9</size>
    <!-- font size in points -->
    <weight>normal</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
    </font>
    <font place="MenuItem">
    <name>sans</name>
    <size>9</size>
    <!-- font size in points -->
    <weight>normal</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
    </font>
    <font place="OnScreenDisplay">
    <name>sans</name>
    <size>9</size>
    <!-- font size in points -->
    <weight>bold</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
    </font>
    </theme>
    <desktops>
    <!-- this stuff is only used at startup, pagers allow you to change them
    during a session
    these are default values to use when other ones are not already set
    by other applications, or saved in your session
    use obconf if you want to change these without having to log out
    and back in -->
    <number>4</number>
    <firstdesk>1</firstdesk>
    <names>
    <!-- set names up here if you want to, like this:
    <name>desktop 1</name>
    <name>desktop 2</name>
    -->
    </names>
    <popupTime>875</popupTime>
    <!-- The number of milliseconds to show the popup for when switching
    desktops. Set this to 0 to disable the popup. -->
    </desktops>
    <resize>
    <drawContents>yes</drawContents>
    <popupShow>Nonpixel</popupShow>
    <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
    <popupPosition>Center</popupPosition>
    <!-- 'Center', 'Top', or 'Fixed' -->
    <popupFixedPosition>
    <!-- these are used if popupPosition is set to 'Fixed' -->
    <x>10</x>
    <!-- positive number for distance from left edge, negative number for
    distance from right edge, or 'Center' -->
    <y>10</y>
    <!-- positive number for distance from top edge, negative number for
    distance from bottom edge, or 'Center' -->
    </popupFixedPosition>
    </resize>
    <!-- You can reserve a portion of your screen where windows will not cover when
    they are maximized, or when they are initially placed.
    Many programs reserve space automatically, but you can use this in other
    cases. -->
    <margins>
    <top>0</top>
    <bottom>0</bottom>
    <left>0</left>
    <right>0</right>
    </margins>
    <dock>
    <position>TopLeft</position>
    <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
    <floatingX>0</floatingX>
    <floatingY>0</floatingY>
    <noStrut>no</noStrut>
    <stacking>Above</stacking>
    <!-- 'Above', 'Normal', or 'Below' -->
    <direction>Vertical</direction>
    <!-- 'Vertical' or 'Horizontal' -->
    <autoHide>no</autoHide>
    <hideDelay>300</hideDelay>
    <!-- in milliseconds (1000 = 1 second) -->
    <showDelay>300</showDelay>
    <!-- in milliseconds (1000 = 1 second) -->
    <moveButton>Middle</moveButton>
    <!-- 'Left', 'Middle', 'Right' -->
    </dock>
    <keyboard>
    <chainQuitKey>C-g</chainQuitKey>
    <!-- Keybindings for desktop switching -->
    <keybind key="C-A-Left">
    <action name="DesktopLeft">
    <dialog>no</dialog>
    <wrap>no</wrap>
    </action>
    </keybind>
    <keybind key="C-A-Right">
    <action name="DesktopRight">
    <dialog>no</dialog>
    <wrap>no</wrap>
    </action>
    </keybind>
    <keybind key="C-A-Up">
    <action name="DesktopUp">
    <dialog>no</dialog>
    <wrap>no</wrap>
    </action>
    </keybind>
    <keybind key="C-A-Down">
    <action name="DesktopDown">
    <dialog>no</dialog>
    <wrap>no</wrap>
    </action>
    </keybind>
    <keybind key="S-A-Left">
    <action name="SendToDesktopLeft">
    <dialog>no</dialog>
    <wrap>no</wrap>
    </action>
    </keybind>
    <keybind key="S-A-Right">
    <action name="SendToDesktopRight">
    <dialog>no</dialog>
    <wrap>no</wrap>
    </action>
    </keybind>
    <keybind key="S-A-Up">
    <action name="SendToDesktopUp">
    <dialog>no</dialog>
    <wrap>no</wrap>
    </action>
    </keybind>
    <keybind key="S-A-Down">
    <action name="SendToDesktopDown">
    <dialog>no</dialog>
    <wrap>no</wrap>
    </action>
    </keybind>
    <keybind key="W-F1">
    <action name="Desktop">
    <desktop>1</desktop>
    </action>
    </keybind>
    <keybind key="W-F2">
    <action name="Desktop">
    <desktop>2</desktop>
    </action>
    </keybind>
    <keybind key="W-F3">
    <action name="Desktop">
    <desktop>3</desktop>
    </action>
    </keybind>
    <keybind key="W-F4">
    <action name="Desktop">
    <desktop>4</desktop>
    </action>
    </keybind>
    <keybind key="W-d">
    <action name="ToggleShowDesktop"/>
    </keybind>
    <!-- Keybindings for windows -->
    <keybind key="A-F4">
    <action name="Close"/>
    </keybind>
    <keybind key="A-Escape">
    <action name="Lower"/>
    <action name="FocusToBottom"/>
    <action name="Unfocus"/>
    </keybind>
    <keybind key="A-space">
    <action name="ShowMenu">
    <menu>client-menu</menu>
    </action>
    </keybind>
    <!-- Keybindings for window switching -->
    <keybind key="A-Tab">
    <action name="NextWindow"/>
    </keybind>
    <keybind key="A-S-Tab">
    <action name="PreviousWindow"/>
    </keybind>
    <keybind key="C-A-Tab">
    <action name="NextWindow">
    <panels>yes</panels>
    <desktop>yes</desktop>
    </action>
    </keybind>
    <!-- Keybindings for running applications -->
    <keybind key="W-e">
    <action name="Execute">
    <startupnotify>
    <enabled>true</enabled>
    <name>Konqueror</name>
    </startupnotify>
    <command>kfmclient openProfile filemanagement</command>
    </action>
    </keybind>
    </keyboard>
    <mouse>
    <dragThreshold>8</dragThreshold>
    <!-- number of pixels the mouse must move before a drag begins -->
    <doubleClickTime>200</doubleClickTime>
    <!-- in milliseconds (1000 = 1 second) -->
    <screenEdgeWarpTime>400</screenEdgeWarpTime>
    <!-- Time before changing desktops when the pointer touches the edge of the
    screen while moving a window, in milliseconds (1000 = 1 second).
    Set this to 0 to disable warping -->
    <context name="Frame">
    <mousebind button="A-Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="A-Left" action="Click">
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="A-Left" action="Drag">
    <action name="Move"/>
    </mousebind>
    <mousebind button="A-Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="A-Right" action="Drag">
    <action name="Resize"/>
    </mousebind>
    <mousebind button="A-Middle" action="Press">
    <action name="Lower"/>
    <action name="FocusToBottom"/>
    <action name="Unfocus"/>
    </mousebind>
    <mousebind button="A-Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="A-Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    <mousebind button="C-A-Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="C-A-Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    <mousebind button="A-S-Up" action="Click">
    <action name="SendToDesktopPrevious"/>
    </mousebind>
    <mousebind button="A-S-Down" action="Click">
    <action name="SendToDesktopNext"/>
    </mousebind>
    </context>
    <context name="Titlebar">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Move"/>
    </mousebind>
    <mousebind button="Left" action="DoubleClick">
    <action name="ToggleMaximizeFull"/>
    </mousebind>
    <mousebind button="Middle" action="Press">
    <action name="Lower"/>
    <action name="FocusToBottom"/>
    <action name="Unfocus"/>
    </mousebind>
    <mousebind button="Up" action="Click">
    <action name="Shade"/>
    <action name="FocusToBottom"/>
    <action name="Unfocus"/>
    <action name="Lower"/>
    </mousebind>
    <mousebind button="Down" action="Click">
    <action name="Unshade"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="ShowMenu">
    <menu>client-menu</menu>
    </action>
    </mousebind>
    </context>
    <context name="Top">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize">
    <edge>top</edge>
    </action>
    </mousebind>
    </context>
    <context name="Left">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize">
    <edge>left</edge>
    </action>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="ShowMenu">
    <menu>client-menu</menu>
    </action>
    </mousebind>
    </context>
    <context name="Right">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize">
    <edge>right</edge>
    </action>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="ShowMenu">
    <menu>client-menu</menu>
    </action>
    </mousebind>
    </context>
    <context name="Bottom">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize">
    <edge>bottom</edge>
    </action>
    </mousebind>
    <mousebind button="Middle" action="Press">
    <action name="Lower"/>
    <action name="FocusToBottom"/>
    <action name="Unfocus"/>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="ShowMenu">
    <menu>client-menu</menu>
    </action>
    </mousebind>
    </context>
    <context name="BLCorner">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize"/>
    </mousebind>
    </context>
    <context name="BRCorner">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize"/>
    </mousebind>
    </context>
    <context name="TLCorner">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize"/>
    </mousebind>
    </context>
    <context name="TRCorner">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Left" action="Drag">
    <action name="Resize"/>
    </mousebind>
    </context>
    <context name="Client">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Middle" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    </context>
    <context name="Icon">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    <action name="ShowMenu">
    <menu>client-menu</menu>
    </action>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="ShowMenu">
    <menu>client-menu</menu>
    </action>
    </mousebind>
    </context>
    <context name="AllDesktops">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Left" action="Click">
    <action name="ToggleOmnipresent"/>
    </mousebind>
    </context>
    <context name="Shade">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Click">
    <action name="ToggleShade"/>
    </mousebind>
    </context>
    <context name="Iconify">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Left" action="Click">
    <action name="Iconify"/>
    </mousebind>
    </context>
    <context name="Maximize">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Middle" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Left" action="Click">
    <action name="ToggleMaximizeFull"/>
    </mousebind>
    <mousebind button="Middle" action="Click">
    <action name="ToggleMaximizeVert"/>
    </mousebind>
    <mousebind button="Right" action="Click">
    <action name="ToggleMaximizeHorz"/>
    </mousebind>
    </context>
    <context name="Close">
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    <action name="Unshade"/>
    </mousebind>
    <mousebind button="Left" action="Click">
    <action name="Close"/>
    </mousebind>
    </context>
    <context name="Desktop">
    <mousebind button="Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    <mousebind button="A-Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="A-Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    <mousebind button="C-A-Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="C-A-Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    <mousebind button="Left" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="Focus"/>
    <action name="Raise"/>
    </mousebind>
    </context>
    <context name="Root">
    <!-- Menus -->
    <mousebind button="Middle" action="Press">
    <action name="ShowMenu">
    <menu>client-list-combined-menu</menu>
    </action>
    </mousebind>
    <mousebind button="Right" action="Press">
    <action name="ShowMenu">
    <menu>root-menu</menu>
    </action>
    </mousebind>
    </context>
    <context name="MoveResize">
    <mousebind button="Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    <mousebind button="A-Up" action="Click">
    <action name="DesktopPrevious"/>
    </mousebind>
    <mousebind button="A-Down" action="Click">
    <action name="DesktopNext"/>
    </mousebind>
    </context>
    </mouse>
    <menu><!-- You can specify more than one menu file in here and they are all loaded,
    just don't make menu ids clash or, well, it'll be kind of pointless --><!-- default menu file (or custom one in $HOME/.config/openbox/) --><file>menu.xml</file><hideDelay>200</hideDelay><!-- if a press-release lasts longer than this setting (in milliseconds), the
    menu is hidden again --><middle>no</middle><!-- center submenus vertically about the parent entry --><submenuShowDelay>100</submenuShowDelay><!-- time to delay before showing a submenu after hovering over the parent
    entry.
    if this is a negative value, then the delay is infinite and the
    submenu will not be shown until it is clicked on --><submenuHideDelay>400</submenuHideDelay><!-- time to delay before hiding a submenu when selecting another
    entry in parent menu -->
    if this is a negative value, then the delay is infinite and the
    submenu will not be hidden until a different submenu is opened --&gt;
    <applicationIcons>yes</applicationIcons>
    <!-- controls if icons appear in the client-list-(combined-)menu -->
    <manageDesktops>yes</manageDesktops>
    <!-- show the manage desktops section in the client-list-(combined-)menu -->
    </menu>
    <applications><!--
    # this is an example with comments through out. use these to make your
    # own rules, but without the comments of course.
    <application name="the window's _OB_APP_NAME property (see obxprop)"
    class="the window's _OB_APP_CLASS property (see obxprop)"
    role="the window's _OB_APP_ROLE property (see obxprop)"
    type="the window's _OB_APP_TYPE property (see obxprob)..
    (if unspecified, then it is 'dialog' for child windows)">
    # you may set only one of name/class/role/type, or you may use more than one
    # together to restrict your matches.
    # the name, class, and role use simple wildcard matching such as those
    # used by a shell. you can use * to match any characters and ? to match
    # any single character.
    # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
    # or desktop
    # when multiple rules match a window, they will all be applied, in the
    # order that they appear in this list
    # each rule element can be left out or set to 'default' to specify to not
    # change that attribute of the window
    <decor>yes</decor>
    # enable or disable window decorations
    <shade>no</shade>
    # make the window shaded when it appears, or not
    <position force="no">
    # the position is only used if both an x and y coordinate are provided
    # (and not set to 'default')
    # when force is "yes", then the window will be placed here even if it
    # says you want it placed elsewhere. this is to override buggy
    # applications who refuse to behave
    <x>center</x>
    # a number like 50, or 'center' to center on screen. use a negative number
    # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
    # right edge (or bottom).
    <y>200</y>
    <monitor>1</monitor>
    # specifies the monitor in a xinerama setup.
    # 1 is the first head, or 'mouse' for wherever the mouse is
    </position>
    <focus>yes</focus>
    # if the window should try be given focus when it appears. if this is set
    # to yes it doesn't guarantee the window will be given focus. some
    # restrictions may apply, but Openbox will try to
    <desktop>1</desktop>
    # 1 is the first desktop, 'all' for all desktops
    <layer>normal</layer>
    # 'above', 'normal', or 'below'
    <iconic>no</iconic>
    # make the window iconified when it appears, or not
    <skip_pager>no</skip_pager>
    # asks to not be shown in pagers
    <skip_taskbar>no</skip_taskbar>
    # asks to not be shown in taskbars. window cycling actions will also
    # skip past such windows
    <fullscreen>yes</fullscreen>
    # make the window in fullscreen mode when it appears
    <maximized>true</maximized>
    # 'Horizontal', 'Vertical' or boolean (yes/no)
    </application>
    # end of the example
    -->
    <!-- begin custom entries -->
    <Terminal="Terminal">
    <position force="yes">
    <x>center</x>
    <y>200</y>
    </position>
    <decor>no</decor>
    <focus>no</focus>
    <desktop>all</desktop>
    <layer>below</layer>
    <skip_pager>yes</skip_pager>
    <skip_taskbar>yes</skip_taskbar>
    </Terminal>
    </applications>
    </openbox_config>
    Thanks in advance to anyone who responds.
    Last edited by MoonSwan (2011-07-26 06:22:37)

    MoonSwan wrote:I've never heard of a validating editor but I was recently wondering what exists that could help me.  Aside from emacs, what should I search for to find one of these validating editors?
    You can use whatever tool you prefer - for someone already using emacs, emacs is a natural choice. Simple, easy to use online tools exist e.g. http://schneegans.de/sv/
    Just upload the file in question ('Validate by file upload' option) and click 'Validate':
    The '=' character cannot be included in a name. (723:10)
    <Terminal="Terminal">
    ^
    Googling 'xml validation' should give you some more tools / services if this one is not good enough.

  • "Change desktop background" instantly hides when opened

    I have a rather strange issue that's a nuisance. When I right click on the desktop and select "Change Desktop Background," the system preferences pane opens, but automatically is hidden (similar to if you press cmd+H). I have to click the icon to restore the window.
    This does NOT occur if I first open System Preferences and then select "Desktop & Screen Saver," or if I open "DesktopScreenEffectsPref.prefpane" from quicksilver.
    I have tried deleting com.apple.desktop.plist and restarting, but this did not solve my problem. I think I may have experienced this problem in Lion as well, but I currently experience it on Mountain Lion.
    Any help is greatly appreciated.

    This same thing happens to me, and while not the end of the world, it is defintely annoying.  Have you figured it out?  Thanks!

  • Changing desktop background issue12

    hi, I have an issue with my macbook pro retina display 13" running mountaion lion os.
    I was trying to change my desktop background, so I right-clicked my mouse and choose 'change desktop background option'. The first time I did this, nothing happened (however i noticed that the 'system preferences' icon on my dock was bouncing after I did that). When I tried to do the same thing again, it worked.  I did this several times and I noticed it will only work on the second time. fyi I was not having this issue till today. Anyone else facing the same issue? Do I need to format my laptop or re-install my ios to remove this bug?
    sorry for my bad English. Thanks!

    hi! thanks for the reply.
    I tried to follow the instructions, but I don't understand with the last instruction which says "Restart the computer and open System Preferences (or problem program) and reset all your preferences again"
    I went to restart my computer (after deleting the com.apple.system...), and it doesnt solve the issue. However, I noticed that deleting the com.apple.system the "change desktop background" will work once. but if i close and do it the again, it wont work (same thing if i restart my laptop). I know i am just being anal about this small issue lol, but i noticed some other users experience the same thing as well as me.
    https://discussions.apple.com/message/22567888#22567888
    or
    https://discussions.apple.com/thread/4146106
    thanks for the reply =) I will try to ask my friend whether he is having the same issue as me.

  • Using mouse pad to change desktop

    Hi, I would like to use horizontale two finger scroll to change desktops on my T61, I read the synoptics wiki and all I've been able to do is verify that my mouse pad supports it. I added the option in the 50-synaptics.conf.pacnew file but I just don't know how to set it so it changes desktop..
    PS: I run openbox.
    thank you for your suggestions

    Trixrabbit, do you really think that adding something to a *.pacnew file is going to have an effect?  Do you merge *.pacnew files?
    In any case, you are going to have to enable HorizTwoFingerScroll, then once that is done, you are going to have to configure that action to change desktops withon your openbox configuration.  From my time with openbox, I think this is the rc.xml.  Start reading the docs.  Openbox is very well documented.

  • HT2478 how do you make the setting to change desktop background every time you shut down your mac

    how to make setting to change desktop background every time you close your mac
    because i want to make it if anybody tries to change my dekstop picture i want it to go backto set desktop picture

    Don't let other people access your Mac in admin mode - they might change something a lot more important than the Desktop picture.
    However you can use Automator: create an Application in it, and select 'Set the Desktop Picture' from the Library. Choose the picture you want. Save the application, then go to System Preferences>Accounts>Login Items and select the Automator application you just created. This will then run at startup and set your chosen picture.

  • Wallpaper not showing up in "Change Desktop Background" window

    I just noticed an odd issue today on my Mac Pro. When browsing the built-in wallpaper folders (Nature, Plants, etc) in the Change Desktop Background window they are empty. My "Pictures Folder" one shows all the images correctly as well as browsing the ones from iPhoto. (I also have Aperture 2.1.2 installed but no projects yet so that part is empty.)
    I performed a permissions repair, checked that the actual files were there in /Library and removed the com.apple.desktop.plist pref's file. After doing that all the pictures showed up again UNTIL I browsed around the picture folders in the Change Desktop Background window then they stopped showing again.
    Could something in my Pictures Folder be causing the issue? Any ideas?
    Thanks,
    -Jim

    Thanks for clarifying. I don't do right or left click, but occasionally do CONTROL-click and doing that brings up the contextual menu item "change desktop background" which leads to the Desktop prefPane. Now, why you're having issues, I have no idea. However, I suggest creating a new admin user account, logging into it, and seeing if changing the desktop picture works there.

  • Changing desktop picture every 1 second instead of 5

    Hi All,
    I'm opening a retail store and we're using 30 inch cinema displays for our menu boards. I'd like to use OS X's built-in "change desktop picture" to display our image, but would like it to change images every 1 second instead of 5.
    Is there a way to modify the OS to do this?
    Thanks,
    - Mike

    Install either the Developer Tools or download the Server Admin Tools onto your computer; in either case, find and open the Property List Editor, and open the file named com.apple.desktop.plist in your home folder with it. Inside this file, there will be two or more instances of ChangeTime; change the number associated with all instances of this key to 1.
    (19112)

  • Change Desktop Background Broken 10.8

    When I "2 finger (right click)" click on the desktop and select "Change Desktop Background", System Preferences comes up and I can change my background.   I then close System Preferences and try it again and System Prefrences doesnt open.  It will work the 1st time after a reboot, but not work anytime after.
    Is anyone else having this issue?
    Is there anyway to see what that command is doing on the context menu?  "Change Desktop Background"

    I'm having a similar problem after installing Mountain Lion on a new MBP Retina. Sorry I didn't see your post before I duplicated it (https://discussions.apple.com/thread/4217330?tstart=30).

  • Change Desktop Background - Stretch Picture

    I noted a strange thing when i right click and select Change Desktop Background, i once noted the option of whether to Stretch the picture. But now it is gone.
    Does anyone know how do i enable it?

    The option is only offered when it is actually needed, most likely your images don't need stretching.
    Mario

  • Issue with desktop Opt/Click (right click) & 'Change Desktop Background'

    I have an issue with the opt/click in the desktop in ML 10.8.2. The 'Change Desktop Background' using opt/click (right click) works after reboot, but fails to open (work correctly) thereafter. The 'System Preferences' icon bounces in the dock but nothing else happens, I have either click on the SP icon or re-opt/click (R click) again to get it working. All else seems to be in order but not this. I have tried this with 2 complete full installs & still doesn't work correctly (same issue. I have reported it to Apple, but I was wondering if anyone else experiencing this problem?

    So, here's what I've learned so far.
    Fresh reboot.  Works fine.  Close and try again, doesn't work.  This you already know.
    Here's what I tried to see if it makes a difference:
    I removed:
    ~/Library/Caches
    ~/Library/Preferences/com.apple.finder.*, com.apple.systempreferences.* and com.apple.desktop.*
    That didn't help.
    I tried it in safe mode.  Same issue.
    Here's something interesting I noticed.  If you open terminal and killall Finder, that refreshes it and makes it work again... for 1 try.
    This does, in fact, seem like a bug.
    For reference, I'm currently on a mid 2012 macbook pro.  Running fully updated on mt lion.

  • Cannot Change Desktop Picture Anymore

    Hi -
    Problem is described in the Header. And goes for ALL accounts incl. ROOT Account.
    Scenario: I open Sys Pref. Go to Desktop/ScreenSaver - it opens fine and I can click the images. They will even show in the little preview window in the top. The only thing NOT changing is the Actual Desktop. It remains Solid Blue.
    Tried deleting Finder, desktop, .globalpref( in both pref folders) - Preferences
    Any Ideas ?

    SASLR wrote:
    I just started to have the same problem... Can no longer change desktop images... I've tried to do it from within iPhoto, right clicking on desktop, and going in through system preferences... My "padlock" is "open", I am the system administrator, but still cannot change the image...
    HELP!
    Have you done your homework?
    Run DU, check/repair HD and permissions.
    If that does not work, move following .plists to desktop; let system create new plists
    try this one first:
    com.apple.desktop.plist
    reboot and see if this fixes it.
    if not then move this one to desktop and repeat
    com.apple.desktopscreensaver.rsspictures.plist
    report back here with results.

Maybe you are looking for

  • HT201343 Airplay Mirroring from my Mac to Apple TV.

    My Mac is not finding the Apple TV device even though they are on the same wireless network. What can I do?

  • ITunes does not sync all my songs

    I recently decided that it would be nice to have all my songs on my Android device as well as on my iPad & iPod, and to do that I needed to have all my songs synced with iTunes on my computer. I completed the update to version 11.3.0.54 but my librar

  • Help Regarding a Project

    http://www.youtube.com/watch?v=P-y_rV6OSpw This is MenuPad....I want to make this app in Flash but i want to ask that how would i send selected order list to Server computer.....Please guide me

  • ESW: No. of web services in the SAP ERP????

    Dear Experts, My small mind has a small question. I somewhere heard that there are 1500 webservices in the SAP ERP. I searched in the workplace to find out the details about the webservices. But to my surprise I found near about 300 enterprise servic

  • Embedding a photo slideshow to web page

    Hello my name is tom. Im looking for any and all help that can be given. I recently took on a project of putting up a website for a friend. I will be the first to admit I am NOT a programmer or coder. and some stuff is very confusing. Anyway I want t