Openbox :: linking an application to a desktop [SOLVED]

I'm trying to get Openbox to open certain applications in certain desktops, like Firefox in desktop 3 and Quanta in desktop 1 etc.
I've followed the instructions in the Openbox web site and created the following in ~/.config/openbox/rc.xml
<openbox_config>
<applications>
<application name="firefox">
<desktop>3</desktop>
<maximized>yes</maximized>
<layer>normal</layer>
</application>
<application name="quanta">
<desktop>1</desktop>
<maximized>yes</maximized>
<layer>normal</layer>
</application>
</applications>
</openbox_config>
Now, if I understand correctly, when I open firefox (regardless of the desk I'm in at the time) it should open in desktop 3 ... but it does not
Instead it opens in whatever desktop I'm in at the time.
I've run the Reconfigure Openbox command after my changes and I've also tried using the desktop names (eg: desktop 1 is 'Apps', desktop 3 is 'Web') in the configuration file but not joy.
I'm I doing something wrong? Can anyone tell me if I'm missing something?
Thanks in advance.
R.
Last edited by ralvez (2008-11-25 04:29:14)

Hey guys,  all of the sudden the  <application class="Firefox*"> kicked in and now it is working just fine!!
I'm a happy camper Thanks moljac024!!
and using B's tip to get an application's class (xprop |grep WM_CLASS) I got the class of Thunderbird (which is 'Thunderbird-bin') and got both of them working.
Just for reference, in case it may help someone else, here is the code:
<application class="Firefox*">
<desktop>3</desktop>
<layer>normal</layer>
</application>
<application class="Thunderbird-bin*">
<desktop>4</desktop>
<maximized>yes</maximized>
<layer>normal</layer>
</application>
Thank you both !!
R.

Similar Messages

  • Download Webdynpro ABAP application(component) on desktop

    Hi All,
    How do I download Webdynpro ABAP application(component) on desktop(hard drive) from SAP system? I couldn't find a feature in SAP that I could use to achieve this functionality. Also after downloading the  Webdynpro ABAP application(component), I would like to upload it back into the SAP system. Any ideas?
    Regards,
    Tom

    Hello Tom,
    you can use SAP link to download or upload ABAP objects. check out this link
    http://code.google.com/p/saplink/wiki/pluginList
    BR, Saravanan

  • I want to build android application using existing desktop dimension fla files. so for this I am resizing existing desktop dimension fla files to mobile dimension files but during resizing some files are resizing properly but most of the files the content

    problem definition:
    To build android application using existing desktop dimension fla fies , I am resizing that files to mobile dimension and publishing with air fo android 16  . In this process some fla's are not resizing properly I mean the content is not matching with stage
                      In one post I saw that by copying frames in movie clip we can adjust with stage . I did this and made an application but the swf's which are following the movieclip resized swf are going out of stage
    development tool : adobe flash professsional cc
    extension : air for android 16
    original file dimension: 800 * 600 px
    new dimension required is : 2650 * 1600 px ( to get full screen view)
                                           anyone please suggest me to solve this problem
    when I resized using copy frames in movie clip the output swf is coming with white screen . If I played with package it coming properly but the files which are following this are going out of stage
    Thanks&regards
    K.Niranjan

    problem definition:
    To build android application using existing desktop dimension fla fies , I am resizing that files to mobile dimension and publishing with air fo android 16  . In this process some fla's are not resizing properly I mean the content is not matching with stage
                      In one post I saw that by copying frames in movie clip we can adjust with stage . I did this and made an application but the swf's which are following the movieclip resized swf are going out of stage
    development tool : adobe flash professsional cc
    extension : air for android 16
    original file dimension: 800 * 600 px
    new dimension required is : 2650 * 1600 px ( to get full screen view)
                                           anyone please suggest me to solve this problem
    when I resized using copy frames in movie clip the output swf is coming with white screen . If I played with package it coming properly but the files which are following this are going out of stage
    Thanks&regards
    K.Niranjan

  • Email link will not open on desktop computer

    Hello. I am wanting to know why I can open email links from Shopify on my tablet and cell phone but not on my Desktop computer.  Thank you in advance for your help with this.

    Hello @flowerjg24,
    I have read your post on how you are not able to open links from Shopify on your desktop computer. Have you tried using a different Internet browser to open the link, such as Google Chrome or Firefox? If so, what were the results? I would be happy to help you, but first I would encourage you to post your product number for your computer. Below is a is an HP Support document that will demonstrate how to find your computer's product number. 
    How Do I Find My Model Number or Product Number?
    Please re-post with the necessary information, this way I will be able to research this further for you. I look forward to your reply!
    Cheers!
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • "Open links from applications" in Safari 5

    Preferences > General > "Open links from applications"
    This has been removed in Safari 5, so when I open, say, 10 weblocs I keep in a folder in the Finder, I now get 10 separate windows.
    1) ***, Apple?!?
    2) Any suggestions for a hack to fix this stupid oversight?
    I could probably change Preferences > Tabs > Open pages in tabs instead of windows (which I currently have set to "Never" because it overrides keystroke+click for telling Safari how to open a link) and see what that does, but I like that preference the way it is.

    Hi,
         Is there any workaround for this issue. Because when multiple window gets spanned we are getting confused. Or let us know if there is any way to open the download prompt alone instead of opening up with the new window. One more thing to note is once the download is complete the new window also doesn't closes automatically which needs to be closed manually. This makes very annoying. Kindly let us know how to prevent the new empty window from opening.
    Vijay.

  • Unable to open desktop file /usr/share/applications/redhat-email.desktop for panel launcher: No such file or directory

    Dear Experts,
    Please note that I am facing a chllenge while confiuguring the VNCServer on the local test Server. The Local Test Sver OS Version is Redhat Enterprise Linux Server 
    Release 5.5 32-bit. Please review the following error message and advise me on how to fix the vncserver issue.
    [root@test .vnc]#  cat xstartup
    #!/bin/sh
    # Uncomment the following two lines for normal desktop:
    unset SESSION_MANAGER
    exec /etc/X11/xinit/xinitrc
    gnome-session &
    [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
    [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
    xsetroot -solid grey
    vncconfig -iconic &
    #xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    twm &
    [root@test .vnc]#  cat /etc/sysconfig/vncservers
    # The VNCSERVERS variable is a list of display:user pairs.
    # Uncomment the lines below to start a VNC server on display :2
    # as my 'myusername' (adjust this to your own).  You will also
    # need to set a VNC password; run 'man vncpasswd' to see how
    # to do that.
    # DO NOT RUN THIS SERVICE if your local area network is
    # untrusted!  For a secure way of using VNC, see
    # <URL:http://www.uk.research.att.com/archive/vnc/sshvnc.html>.
    # Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.
    # Use "-nohttpd" to prevent web-based VNC clients connecting.
    # Use "-localhost" to prevent remote VNC clients connecting except when
    # doing so through a secure tunnel.  See the "-via" option in the
    # `man vncviewer' manual page.
    # VNCSERVERS="2:myusername"
    # VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost"
    VNCSERVERS="1:oracle"
    [root@test .vnc]# ls
    passwd test.oracle.co.zm:1.pid  test.oracle.co.zm:3.log  test.oracle.co.zm:5.pid  test.oracle.co.zm:6.pid
    test.oracle.co.zm:1.log test.oracle.co.zm:2.log  test.oracle.co.zm:5.log  test.oracle.co.zm:6.log  xstartup
    [root@test .vnc]# more test.oracle.co.zm:1.log
    Xvnc Free Edition 4.1.2
    Copyright (C) 2002-2005 RealVNC Ltd.
    See http://www.realvnc.com for information on VNC.
    Underlying X server release 70101000, The X.Org Foundation
    Tue Mar 11 11:18:37 2014
    vncext:      VNC extension running!
    vncext:      Listening for VNC connections on port 5901
    vncext:      Listening for HTTP connections on port 5801
    vncext:      created VNC server for screen 0
    Could not init font path element unix/:7100, removing from list!
    localuser:root being added to access control list
    No profile for user 'root' found
    SESSION_MANAGER=local/test.oracle.co.zm:/tmp/.ICE-unix/13603
    Window manager warning: Log level 32: could not find XKB extension.
    ** (eggcups:13671): WARNING **: IPP request failed with status 1030
    ** (eggcups:13671): WARNING **: IPP request failed with status 1030
    ** (nm-applet:13697): WARNING **: No connections defined
    Initializing nautilus-open-terminal extension
    Unable to open desktop file /usr/share/applications/redhat-email.desktop for panel launcher: No such file or directory
    Unable to open desktop file /usr/share/applications/openoffice.org-1.9-writer.desktop for panel launcher: No such file or directory
    Unable to open desktop file /usr/share/applications/openoffice.org-1.9-impress.desktop for panel launcher: No such file or directory
    Unable to open desktop file /usr/share/applications/openoffice.org-1.9-calc.desktop for panel launcher: No such file or directory
    [root@test .vnc]#
    Regards
    Mohammed Abdul Muqeet

    Hi,
    Try these 3 solutions
    1. Did you start vncserver services as:
    service vncserver start
    2.Check that port 5901 has not been blocked by a firewall:
    # nc -vz localhost 5901
    You should get a connection and a termination. If you get an error, fix the firewall.
    3. service iptables stop
    Hope This Helps
    Regards,
    -DK

  • Since upgrade to Windows 8, cannot save .rdp files under the Remote Desktop Connection application on the Desktop

    Since I upgraded to Windows 8, I am no longer able to save individual Remote Desktop Connection files as .rdp files. I am talking about the traditional Remote Desktop Connection application on the Desktop that was in previous Windows versions, not the
    Remote Desktop App from the Windows 8 store.
    When I try to click on the Save button I get "An error occurred while saving to file"
    When I try to click on the Save As button I get "Unable to open connection file" with the file address being where I tried to save it with the file name at the end.
    Also when I upgraded to Windows 8, my .rdp files disappeared from my Documents folder.
     I need to create different .rdp files for different programs that my employees get into on my server. Now I have to hand type all the info each time into the Programs tap on the Remote Desktop Connection window, because I can't save to an
    .rdp file.
     I like the Remote Desktop App from the Windows store but it won't let me designate specific programs to use using standard dos notation (ie c:\program files\ etc..). It just goes to my server desktop.
     I want to promote Windows 8 to my employees but I need either .rdp files for the traditional Remote Desktop Connection or the ability to open specific programs using dos notation in the Windows Store Remote Desktop App.

    I know this is an old post but others might still be having the problem. Here's what I did.
    Create a new text file and open it in notepad. Copy the below into it and edit for your environment. (IP, screen size).
    screen mode id:i:2
    desktopwidth:i:1920
    desktopheight:i:1080
    session bpp:i:24
    auto connect:i:0
    full address:s:192.168.x.x
    compression:i:0
    keyboardhook:i:2
    audiomode:i:2
    redirectdrives:i:1
    redirectprinters:i:1
    redirectcomports:i:1
    redirectsmartcards:i:1
    displayconnectionbar:i:1
    username:s:USERNAME
    domain:s:DOMAIN
    alternate shell:s:
    shell working directory:s:
    disable wallpaper:i:1
    disable full window drag:i:1
    disable menu anims:i:1
    disable themes:i:1
    bitmapcachepersistenable:i:1
    use multimon:i:0
    winposstr:s:0,3,0,0,800,600
    audiocapturemode:i:1
    videoplaybackmode:i:1
    connection type:i:7
    networkautodetect:i:1
    bandwidthautodetect:i:1
    enableworkspacereconnect:i:0
    allow font smoothing:i:0
    allow desktop com:0
    disable cursor setting:i:0
    redirectclipboard:i:1
    redirectposdevices:i:0
    drivestoredirect:s:*
    autoreconnection enabled:i:1
    authentication level:i:2
    prompt for credentials:i:0
    negotiate security layer:i:1
    remoteapplicationmode:i:0
    gatewayhostname:s:
    gatewayusagemethod:i:4
    gatewaycredentialssource:i:4
    gatewayprofileusagemethod:i:0
    promptcredentialonce:i:0
    gatewaybrokeringtype:i:0
    use redirection server name:i:0
    rdgiskdcproxy:i:0
    kdcproxyname:s:
    You don't need to worry too much about what's in here. Save the text file as
    filename.rdp then rightclick on the file and select edit. The familiar GUI rdp session editor will open. You can make changes in the GUI and
    save or save as a different session.
     Hope this helps.

  • Just installed CC on my PC, Windows 7, 64 bit system. Not seeing any applications on the desktop or installation folder. However, all the resource files are present in the installation folder. What am I doing wrong?

    Just installed CC on my PC, Windows 7, 64 bit system. Not seeing any applications on the desktop or installation folder. However, all the resource files are present in the installation folder. What am I doing wrong?
    I've installed three times with no luck. I downloaded the Creative Cloud Packager off the licensing site: https://licensing.adobe.com. I unpacked and choose my applications. The install seemed to be successful, but I don't so any of the applications anywhere.

    Hi,
    Creating package doesn't mean it will install the product,
    You will need to install the package now. Please follow the instructions mentioned in the below articles
    Creative Cloud Help | Creating or editing packages
    Creative Cloud Help | Deploying packages
    Please let me know if it doesn't help.
    Regards,
    Devendra

  • How to recognize if application is installed using "Install Application on Remote Desktop" option on Windows Server 2008 R2

    How to recognize if application is installed using "Install application on remote desktop..." option in Control Panel in Windows Server 2008 R2?
    Basically, as administrator, I can't say if the user installed application using "Install application on remote desktop..." in Control Panel or he just installed it by clicking the .msi executable. I can't find anything that makes any difference.
    I could not find anything in the registry. I am quite confused.
    Thanks,
    Aleksandar9

    Hi,
    Thank you for your posting in Windows Server Forum.
    Please make sure that you are using category view of control panel-programs to check the application. And in addition to “install application on Remote Desktop server” user can also use command line also.
    change user /install
    change user /execute
    change user /query
    “The first time you run the application, it searches the home directory for its .ini files. If the .ini files are not found in the home directory, but are found in the system directory, Terminal Services copies the .ini files to the home directory, ensuring
    that each user has a unique copy of the application .ini files. Each user should have a unique copy of the .ini files for an application. This prevents instances where different users might have incompatible application configurations.” (Quoted formthis
    article).
    Hope it helps!
    Thanks,
    Dharmesh

  • Every time I click to update an application I get a window "Download Error" it gives me the option to "Contact customer support" and a link "Reload Applications"

    Every time I click to update an application I get a window "Download Error" it gives me the option to "Contact customer support" and a link "Reload Applications"

    Sal Sabaj, Would ask you to follow the suggestions mentioned under the below article and check if that helps.
    http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html
    Let us know in case you still get that issue.
    Regards
    ~ Arpit Kapoor

  • Help! - Tracks linked to application files, not my music !!

    Something very weird is going on here....
    I've got about 500 tracks that somehow are linked to application files. For example if I select "Show in Finder" it takes me to:
    Applications:iWeb.app:Contents:Frameworks:SFApplication.framework:Versions:A:Res ources:pt_PT.lproj:SFAppWarningsInspector.nib:keyedobjects.nib
    If it were just one or two tracks I'd clean it up manually, but I've got hundreds like this...
    Any ideas how to automatically relink these to the original files which still exist in my iTunes Music folder?
    Any idea how this happened in the first place? My only thought is that the library file may have been corrupted, but if so, how did the tracks wind up pointing to files inside an applications package?

    Should this be on the Flash forum?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "allprnt" <[email protected]> wrote in
    message
    news:frs2p2$gbl$[email protected]..
    > Hey,
    > I'm creating a website for a client that has a component
    scroll on the
    > main
    > stage linked to a dynamic text box with some buttons
    that when clicked
    > will
    > load an external file on Layer 1 of the main timeline in
    Flash. When I
    > tested
    > it in Flash it worked, when I previewed it in
    Dreamweaver it worked but
    > when I
    > uploaded it to the server. The main swf loads but the
    files that are
    > linked to
    > the main .swf don't
    >
    > On the first frame of the main time line I have the code
    below
    > loadMovieNum("movies/Thumbnail1_mc.swf",1);
    >
    >
    >
    > On each of th buttons I have the code below
    > on (release) {
    > loadMovieNum("Movies/Thumbnail1_mc.swf", 1);
    > }
    >
    > I have read some of the posts here but my main .swf file
    plays so its not
    > the
    > "scripts" folder in the wrong place.
    > and I'm pretty sure that it can't find the files due to
    my path to the
    > file,
    > but I'm not sure how to get the main .swf file to look
    for the Thumbnail
    > .swf
    > files on the server. Please help.
    >
    > Thank you
    >
    >
    >

  • Moved Photoshop Application to my Desktop for easy access and now recieving an error message, help?

    Installed CS6 Design and Web Premium, then moved Photoshop Application to my Desktop from Program Files for easy access and now recieving an error message, saying application is unable to start correctly. Can anyone help me troubleshoot this please?

    Move the application back where it belongs, with all it's support files.
    You can make a SHORTCUT to the application, and place it on the desktop if you wish.

  • How to copy links for applications

    How do I copy links for applications? I do this and nothing happens. Where does it go❓      

    What you want to do is already possible to do. If you find an app while surfing the web that you are considering downloading, and you tap on the link for that app, it should open in the App Store. You can then add it to your Wish List in the App Store and download it later if you so desire. You can build a whole list of apps for downloading later.
    When the app description window is open in the App Store, tap the action icon - the upward pointing arrow inside the square - and select Add to Wish List.  You can come backs later to the wish list, select the app and download it when you are ready. To access the Wish List, tap the 3 horizontal lines next to the search field in the upper right corner of the App Store.
    Just keep keep adding apps to the wish list as you find ones that you like.

  • Applications opening behind desktop.

    When I open a new application it is opening behind the already open application on the desktop. i,e, if I have Safari open and open System Preferences it open behind Safari. Any ideas please?

    Hi, Jon.
    I've seen a couple of cases of this and in each case it turned out that the person was using a third-party mouse whose batteries needed replacement. I know it sounds strange, but those were the circumstances.
    PS: What you describe in your post is that the new application opens behind the current or frontmost application, i.e. the application with focus, not "behind the desktop."
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Macbook air suddenly running slow. Closed all applications, rebooted, doesn't solve the problem.  Any ideas?

    macbook air suddenly running slow. Closed all applications, rebooted, doesn't solve the problem.  Any ideas?

    It's very likely that your boot drive is failing. Back up all data immediately and schedule a "Genius" appointment at an Apple Store.

Maybe you are looking for

  • Do we need to create ODBC connection on sql server-cube for OLAP connection?

    need to create olap connection sql server cube .....?

  • How to set Content-Type of attachment?

    Does anyone know how I can set the Content-Type of an attachment of an outgoing mail? I use Apple Mail, and with one correspondent I have this annoying problem that he never receives any excel or word attachments that I send (and possibly other ones,

  • SOLMAN 7.1 Assigning Hana database Technical system to product system

    Hi All, I am trying to assign a HANA database technical system to Product system. I am trying to do it in conventional way (i.e in LMDB TCODE--> Selected Product system-->Assign Technical system--> ). But I am getting below error. No local proposals;

  • Logic + motu 828 + analog mixer

    So I have a Motu 828 MK1 and wanna buy a small mixer (behringer EURORACK UB802 or Tapco Mix 100 ). But I little confused about audio routing in Logic Express 7.2 So signal from motu outs 1,2,3,4,5,6,7,8 will be connected to inputs 1, 2, 3/4, 5/6, 7/8

  • Parallel Query died unexpectedly.

    Hi, I encountered an error giving me: "ORA-12805: parallel query server died unexpectedly" When I was trying to rebuild indexes by paralled n-degree. Now I know in 8.0.4/5 and 8.1.5/6 there was some bug or other, which required a patch. But there was