Openbox: Resize Window According To Resolution

Is it possible to use to resize windows according to the resolution of your screen in OpenBox3? What I want to do is make windows half the screen width with a shortcut. I can do this like this in rc.xml:
<keybind key="S-Right">
<action name="UnmaximizeFull"/>
<action name="MaximizeVert"/>
<action name ="MoveResizeTo">
<x> 720 </x>
<y> 0 </y>
<width> 720 </width>
</action>
</keybind>
But I would like to make it more flexible and to set it to this without knowing how much half of my (1440x900) screen is (720).  Unfortunately resizing after setting MaximizeVert doesn't work which would be a step in the right direction.
Is there a way to resize a maximised window? Is there another way of doing this?

Seems there is no way to do this yet although it should be possible since openbox knows what size to "maximise" your windows to.
Another question: is it possible to perform an action after pressing PART of a keychain? I.E. keybind an action to C-r say and then followed by another key to complete a keychain to perform a different action:
<keybind key"C-r">
<action name="action 1"/> <!-- action when C-r is pressed -->
<keybind key="e">
<action name ="action 2"/> <!-- action when C-r then "e" is pressed -->
</keybind>
</keybind>

Similar Messages

  • RESIZE WINDOW ACCORDINGLY MONITOR SIZE

    Hi all,
    I am using Oracle8i & Forms6i & Windows2000.
    I wish to resize the Window accordingly to the
    Monitor screen size automatically at the runtime.
    Is there anyone who can help me?
    Thanks in advance.
    Dulal

    If you are asking how to rearrange all the objects on the screen when you detect a different window size, then I will say... you don't really want to do that.
    You would need to set the x and y position of EVERY object on the screen, and you cannot move graphic objects (lines, boxes and boilerplate text) on the canvas at run time.
    You should build your form for the smallest screen any user has. Users with bigger screens, or those running at a different screen resolution, will see a smaller form on their screen.

  • How do i drag icons and how do i resize windows

    this is my first laptop having been used to emacs before. I can't figure out how to drag items or resize windows when not using a mouse and can't find such simple instructions in the manual.
    thanks.

    In addition to the method described by Jim, you can set options in the Keyboard & Mouse preference panel (in System Preferences) that allow you to get mouse clicks and click lock using the trackpad. Check out those options, many people find they make the trackpad a lot more useful.
    Randall Schulz
    iMac 20" Core Duo; MacBook Pro   Mac OS X (10.4.6)  

  • Is there a way to open an image in a floating, resizable window?

    In previous versions of PDE I could open an image (or for that matter, multiple images) as floating, resizable windows.  Now, images seem anchored.  How can I detact them from the big editing screen, such that I can move them around the computer screen as I could in the past?
    Thanks,
    Haly2k1

      Open Editor and click Edit à Preferences à General
    Then check the box “Allow Floating Documents in Full Edit Mode”
     

  • Resizing Windows Partition - No Longer Booting

    Whenever I attempt to setup a Windows/Linux Dual boot I get hit with this same dilemma. I start off with a NTFS format partition with Windows XP on it. As soon as I resize the partition, it no longer boots. Even before installing linux/grub. I defragmented before attempting this, and I took every precaution. In the end, I'm never able to boot my Windows OS. I can boot Linux from the Grub menu, and I can still access my Windows files.
    As of now I've reformatted back to Windows. I would just like to know what went wrong because I want to attempt another install later on.

    Ward,
    windows is weird in that it notes somewhere the block numbers where the system is installed, and when that moves
    it does not boot anymore.
    Now you are making life more complicated then necessary: if you still have windows resized and installed (and not booting),
    you can use the windows install cd and go into repair mode. It will fix the resized windows.
    If you are starting from scratch, before installing windows, start a Linux live CD, do not install it, start the program
    "gparted" and partition your disk as you want it. Then install windows in one of the partitions.
    Instead of the Linux live CD you can also use a Gparted  stand alone CD:
    http://gparted.sourceforge.net/livecd.php
    Hope it helps.
    Mektub

  • Macbook Pro 15" Retina Windows 7 HDMI Resolution issue

    Hello,
    I have a late 2013 Macbook Pro 15" with Retina display running bootcamp with Windows 7.
    I have connected the Macbook to an external HP w2448hc display using HDMI interface.
    When booting to OS X 10.9.4, the resolution of the external display is set to 1920x1200 and it looks fine. See picture below:
    However, when booting to Windows 7 the resolution on the external display looks lower (although shows up as 1920x1200):
    I have another PC which I have connected to the same display with HDMI and the resolution also shows up as 1920x1200. However, in this case the resolution indeed looks as the correct one:
    Although not seen very well from the screen shots, both the PC and the Macbook Pro (with Windows 7) show the same resolution in the settings, but the desktop and icons under Macbook Pro (bootcamp) look bigger and with smaller resolution.
    Does anyone know how to solve this?

    Hi,
    I managed to fix this resolution issue by lowering the color depth to 16bit for the external display. Not exactly sure why was this necessary, maybe for some reason Windows cannot allocate enough video memory for both displays?

  • Slow performance when resizing windows

    Hi I have a macbook pro 2.2ghz with 2gb ram. Certainly capable of resizing windows, however when I resize windows I get very poor performance. I always have to wait for the window to redraw on screen. This is unacceptable. This powerful of a machine can't resize windows in real time? I'm running Tiger 10.4.11. Is this normal behavior? Anyone else experience this? I appreciate any help. Thanks.

    That's not right. What happens when you run your visualizer in iTunes? You should be able to get 60 FPS. Try running your hardware tester once and see if you may have a graphics problem.
    -Bmer
    Mac Owners Support Group - Join us @ MacOSG.com
      Mac611 Mobile Mac Support - about.Mac611.com
       iTunes:MacOSG Podcast | YouTube.MacOSG.com
                       An Apple User Group 
    Have an iPhone or iPod touch? Enter Mac611.com in Safari on it for 'mobile Mac support.'

  • Help resizing window using PS CS4 on PC

    I am trying to figure out a way to put 4 or 6 images on my screen and be able to move them around to compare them.
    Am using Photoshop CS4 on PC and XP Home. I open 4 or 6 files and float all in windows. I then zoom out and make 1 image smaller, so it is smaller than the window. Then match zoom and location to get the zoom ratios the same. Now I have 4 or 6 images that are in windows that are larger than the image.
    Is there any way I can make the windows smaller to be the same as the image other than do each one individually by dragging on the corner? Is there a shortcut to do this? Any way to adjust all the windows at once?
    I realize this is a bit confusing. Let me know if I can clarify the question better. Thanks.
    Matthew Kraus

    Go to Edit>Preferences>General and tick the Zoom Resizes Windows box.

  • Resizing window affects data aquisition

    Hi Guys, got a really annoying problem that I've been trying to solve for about 2 weeks now, I'm hoping someone will be able to help me.
    We communicate through a dll to our data aquisition box (custom). Our custom data aquisition box has an array which we read in a timed loop every 20ms (although the array is present for around 50ms), once read we send a command saying that we have read the data.
    Once we've read the data we put it into a queue. The logger then reads from this queue, all works fine on a normal run. However if we resize any window (not just a labview one) this seems to knock out our Timed loop. i.e. we miss 1-2 arrays worth of data (50-100ms). This is strange as we have it in a Highest priority VI running in the "Data aquisition" thread. We also do lots of other things i.e. read from a TDMS file and read/write to global variables and display data on a graph, this doesn't seems to have much of an affect on the timed loops, its just when we resize a window. Obviously we do not want to risk losing critical data, so we need a way of stopping this from happening?
    Its almost as though the VI is running in the User interface thread and is a lower priority than the resize window method.
    Does anyone have any ideas on how we can solve this issue?
    Thanks in advance
    Joe
    We are collecting data at 1Khz and our Dll is thread safe and is set to "run in any thread".
    Using Labview 2009f3

    Hi Guys,
    Thanks for all your replies. Sorry for late reply, I was out the office yesterday.
    Unfortunately i can not post my source code however i have made a small mock up of how the system generally works, to give you an idea.
    josbone: Our dll is classed as thread safe and we have it running as such - i thought this could be the case to start with. I presume because it is classed as "any thread" it could still be running in the UI thread though?
    Tinnitus: I have attached a mock up that shows the main points in the system. I think I got a little confused on my previous reply. The DAQ holds the data there for 50ms and that is our only chance to read the data(more data comes through and our buffer can only hold 50ms worth). Which if the Timed Loop executes at 20ms should be fine.
    DFGray: I got really excited reading your reply - it sounded like it was a great fix, however, unfortunately it did not work
    Hope the mock code helps
    Regards,
    Joe
    Attachments:
    Streaming example.zip ‏90 KB

  • HT3986 when starting up in windows the screen resolution is too large ,i then restart in windows and resolution goes back too normal

    When starting up windows from mac the resolution is too large, i then restart in windows and the resolution goes back too normal. How do i fix this?

    Having the same issue here....a quick fix is to just minimize the window, and immediately maximize it.  It will now fit the screen.  Trouble is, after you close it, you'll have to do it again when you re-start itunes.  The good news is it takes all of about 2 seconds.  Apple should fix this.  Should.

  • Resize windows and manage files in save/open dialogs?

    1. How to resize windows by dragging any border or corner?
    2. How to manage files via a Save/SaveAs or Open dialog (rename, delete, copy other files, etc...)?
    My search on these two things only comes up with comparisons and debates about Win vs Mac. Not relevant to the questions! I already run Win XP in Fusion when I have to for work. I don't want to run Windows; I just want to eliminate a couple Mac shortcomings since Apple hasn't. Yet. Maybe it has to do with patents...
    Anyway, does anybody know of a utility or other way to enable these functions in Mac OS 10? (I've tried Pathfinder; it doesn't quite do the trick.)

    I believe you will find a couple of third-party utilities that provide some enhancements for windows. As for file dialogs I can only recommend Default Folder X. You will find these at VersionTracker or MacUpdate.

  • SAP Script  - resize window / paragraph

    Hello Gurus,
    I have two problems related to sap script. ( ver 4.6c)
    I have copied the original order confirmation form from 000 client in diff.languages like FR/DE/EN ( these forms are used by diff. offices in diff. location ) now we have to create a form for our china office location so I copied an existing form ( FR language) to language ZH.
    a. I cannot resize or move the window of the form ZH, to do this I have to convert the original laguage to ZH ( original language of the form is FR) , to change the original language I have to edit the FR language form and use the utilities->convert org.lang option , my question is if I do this process what will happen to our FR language settings users? or is there anyother way to do this ( move or resize window ) without disturbing other forms.
    b. I am using two paragraph settings for printing the item line in the order form, ex. ZZ and IS , if I use IS the item line appears but for ZZ there is no item lines printed on the form. ( blank ) What could be the problem for using ZZ Par.format.
    Any help is appreciated.
    Thanks and best regards,
    A drop in an Ocean

    Try to identify the original language of the SAPscript.
    EX: GOTO SE71, give your form name and language ZH. select radio button Header and click change.
    under adminstrative data, identify the original language. EX: if original language is DE
    GO back to SE71, now give your form name and key in language as DE. Modify all windows here.. i.e. re-size etc., it will automatically gets changed in your ZH language. Also you can create new paragraph formats or change existing paragraph formats here using original language. you can see all changes in form ZH.
    If you want to re-size in "ZH" itself .. try to change original language to ZH.
    I guess, this info will help you to close the thread.
    Regards,
    SaiRam

  • Preview app auto-resize window

    Shift-command-R resizes the image to fit window. How do you resize window to fit an image at it's original size? What a glaring oversight by Apple.

    I don't need the image to be full screen, just the window. And the window is not technically full screen, because you can still see the window borders and the panels. I want the image window with the different image tabs to open as big as my screen. I want the edges to come right up next to my panels and the bottom to go down to the bottom of my screen. For example: I use Mac and when you close a finder window and open a new one, it will open at the same size that you closed it. If you resize it, lets say, to fill your entire screen, close it and then reopen it, it will open the same size as you closed it. I don't want photoshop to open new image windows to the same dimension as the image. I want a grey screen to cover my entire monitor just like in CS3 and before. I really like the tabs, but I want the window to open bigger with grey space arround the image.

  • Bridge CC when copying resizes window to both monitors and enlarges all images to maximum size

    Bridge CC when copying an image resizes window to both monitors and enlarges all images to maximum size.

    Details, please.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers: 
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Resize windows to fit greyed out in photoshop

    Hi - the 'resize windows to fit' is greyed out in photoshop
    Any ideas on how to solve this?

    Hello!
    I am going to move your question to the Photoshop Beginner forum, to receive more specialized help for that product...
    janelle

Maybe you are looking for

  • Calling transaction OAOH in webdynpro abap

    Hi, I am trying to call the transaction OAOH for uploading a document for archival. But the popup for document upload works only in SAP GUI. Can anyone help?

  • Error when processing Request

    Hi, I am trying to create Shopping Cart but I get following errors. *The following error text was processed in the system SRM : Attribute for user 192658 contains errors. Inform system admin. *The termination type was: ABORT_MESSAGE_STATE *The ABAP c

  • OPINION: site layout

    Hi guys! I would like to receive your comments about the layout on the page linked below. Some, if not most, of the link are not working, but I am concerned about the "first impression" it woud give the user. Any comments will be deeply welcomed!!! T

  • Cant type lower case letters

    I'm using Elements 8 and no font will type in lower case. All lower case letters are upper case only shorter. Any reason for this??

  • Come posso unire i miei account itunes?

    Salve a tutti! Ho 2 account itunes store e vorrei unirli in modo da averli tutti su un unico account. Grazie in anticipo