OpenBox/Awesome: Move floating windows without mod key?

Howdy-ha, all.  I've recently started using OpenBox regularly and have been playing around with Awesome.  I'm finally getting the hang of OpenBox, and Awesome's well-annotated config files are great.  Here's something I'm having trouble with:  is there a way, in both OpenBox and Awesome, to move windows lacking titlebars without holding the mod key (Alt in OB, WinKey in Awesome)?  Perhaps tying the left mouse button to the action?  I use the touchpad on my laptop with tap-to-click on, and would like to double-click-to-drag, while not using titlebars.  I used to use KDE, and the Bespin engine theme allowed for window dragging from any space not dedicated to a widget (statusbar, menubar, etc.).  Thanks for any help or advice.

ANOKNUSA wrote:@BurntSushi:  The first binding you offered works, but demonstrates why I wanted the double-click function
Ah, all right. I think I can almost say definitively that this cannot be achieved with Openbox without some effort (i.e., modifying its source). You could potentially do it without modifying Openbox's source, but that would probably require even more effort. (i.e., handling double click events on managed windows yourself, and sending any appropriate move/resize events off to Openbox via a client message.)
I'm quite curious how Bespin achieved this by allowing you to move windows on any space that isn't dedicated to a widget. Did this work with any window, or only windows built with the Qt toolkit?
On a side-note, if you disable decorations with something like Chrome, you can still move it by clicking-and-dragging on the blue bar at the top of the window.

Similar Messages

  • Close, Hide, Move borderless window without passing Window instance MVVM Light

    Hi everyone,
    I'm now working with an app which is on MVVM Model, and I'm using MVVM Light to make that app . I wonder if I can close the current window and open another one without passing Window instance or not . I've seen a way which helps me to close the current window
    without passing the instance through MVVM Command :
    return new RelayCommand(() => Application.Current.Windows.Cast<Window>().Single(w => w.DataContext == this).Close());
    But what if I handle the MouseDown event, I have to use LinQ so many times.
    Can anyone help me please ?

    If you want to do something with a window without having a reference to it, you could send a message from a class using the Messenger and then subscribe to this message in the window class itself and close it or do whatever from there.
    public class CloseWindowMessage
    ViewModel:
    return new RelayCommand(() => { GalaSoft.MvvmLight.Messaging.Messenger.Default.Send<CloseWindowMessage>(new CloseWindowMessage()); } );
    Window:
    GalaSoft.MvvmLight.Messaging.Messenger.Default.Register<CloseWindowMessage>
    this,
    (action) => this.Close()
    Please refer to the following links for more information about how to use the Messenger in MVVM Light:
    http://stackoverflow.com/questions/16993918/mvvm-light-messenger-sending-and-registering-objects
    https://msdn.microsoft.com/en-us/magazine/dn745866.aspx
    Please remember to close your threads by marking helpful posts as answer.

  • Screen mode with floating windows missing in Photoshop cs6?

    Hi,
    How can I show two images open in Photoshop CS6  - next to each other?
    Going through the screen modes by pressing F like in Photoshop CS5 doesn't get me there. That screen mode with the floating windows seems to be missing.
    I need it for comparisions and for dragging layers between the two images.
    Is the floating window screen mode achievable in CS6 or how else can I put two opened images next to each other on Photoshop's workspace?
    Thanks!

    Thanks!
    It's so amusing: you get a new version of Photoshop and one of your well-known features is not where it used to be. Immediately an ancient fear takes over that the feature might have gone away.
    Which is, of course, never happening. There's even "sharpen" and "sharpen more" available in Photoshop.
    Bottom line: the new way of doing things are actually even better. You just need to pull the images off their tabs.

  • What is the keyboard shortcut to close a floating window?

    Hiya, just upgraded to Logic 9 from 7 and I can't close floating windows with option-w.
    Is there a way I can close floating windows without using my mouse?
    Thanks
    Alistair

    r0cker2 wrote:
    Thanks for the quick reply
    I am trying to close floating windows (effects and instruments) using ALT-W not CMD-W.
    Ah, okay, never used that one. Have you checked your *Key Commands* that this shortcut actually still is assigned? Even if it is, it might just help to reassign it (to the same keycombo).
    (much later:)
    Mm, I did a search of Logic key commands, but I cannot find any command that closes floating windows, alt-W is not a default shortcut for anything... to what command exactly did you assign alt-W?

  • Move terminal window with simple mouseclick+drag in openbox

    Hej,
    as i don't need the mouse in terminals i am wondering if there was a way to drag an undecorated urxvt window without the need of pressing the ALT-key. i am using openbox as a wm. does anyone know of an elegant way to achieve that?
    thank you

    there should be an option under the file menu to move the current window. but then again u'd still have to press alt+f to open the file menu.

  • Play audio in background without background mode key as audio in info-plist

    My application requires background audio in some conditions but not always, say when a particular screen is active in that case, i want to play audio in background and for that i have specified background key for Audio in info-plist. But my app is not getting approved having following reason:
    While your app has declared support for audio in the UIBackgroundModes key in your Info.plist, no audio is played when users switch to another application. The audio background mode is meant for applications with audio streams, like radio applications. You'll need to provide audible content to the user while the app is in the background or remove the "audio" setting from the UIBackgroundModes key.
    so , is there a way for playing audio in background without specifying background mode key ? or app getting approved with this key mentioned ?
    thanks in advance

    Joe,
    Check out this tutorial written by Michael Wong on this very topic. I think you will find his step by step explanations quite easy to follow...
    http://www.rowan-cottage.co.uk/Site/Autoplay%20Music.html
    Hope this helps!

  • Key Sequence To Return To Login Window Without User Logging Out

    Anyone know the key sequence to return to the login window without requiring the user to log out?
    I know this is possible from the menu bar when you have fast-user switching enabled, but I'm trying to get rid of that menu bar icon but I'm looking for an alternative.

    Create a script in Script Editor with the following:
    do shell script "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend"

  • Is there a Shortcut key to move a window with the cursor?

    After Yosemite it seems that the area at the top of windows shrunk and I have to look for a vacant spot to grab the window and move it around the desktop.  Is there a short cut key that you can enter and move a window using the cursor from wherever the cursor is on a window?

    Sorry, no. Only way to move the window is to place the cursor between the address box and icons on the left or right of the address box and grab.
    Best.

  • Can I reposition windows without using mouse?

    I'm using a third-party application which, when opening a new window, insists on putting the title bar at the top of the window underneath the menu bar at the top of the screen. This occudes the title bar and makes it impossible to click on it to move the window elsewhere on the screen. I also can't minimize or maximize the window because those buttons are also on the title bar.
    Is there a method in OS X that will let me select a window and reposition it on the screen without using the mouse to click-and-drag? (Perhaps using the arrow keys somehow?) Or alternatively, is there a way to automatically reposition all the open windows so that the title bar would become visible (like the tile function I remember from some past Mac version of Word)?
    FYI: I've tried Exposé, but that only brings up a "ghost image" of the window. When I click on it, it immediately heads back to its "occluded" position. I've also tried resizing and rotating the screen in System Preferences. That doesn't work either.
    Thanks for any help you can provide. This is driving me crazy!

    What about enabling Spaces and assigning the window to a different Space - does that have an effect on how the application is positioned?
    What about pressing cmdshift/ to open the help menu. Then type in "Zoom" (assuming that command exists within the application's menus) and press enter. This should have the same effect as pressing the green plus sign in the application top left corner.
    Note that the menus of your application may have several zoom functions. For instance Firefox 3 has Zoom In and Zoom Out under the View menu (for zooming the webpage) and Zoom (the green plus function) for maximising the application window. This means I have to use arrow keys to find the right one in the help menu. However, unless your application is too far "up" or beyond the top of the screen, you should see the menus when you use the arrow keys - a floating blue arrow appears next to the command.
    I found a commercial application that allows moving windows with the keyboard, MercuryMover:
    http://www.macupdate.com/info.php/id/26411/mercurymover
    (see also here http://www.macosxhints.com/article.php?story=20080428064742892)
    I haven't tried it myself but perhaps it will help.
    /p
    Message was edited by: pullman

  • Setting Floating Windows for Apps Such As Safari or DVD Player.

    Is there a way to have a window in Safari, DVD Player or any other application be floating above other app windows? By this I mean I wish to have a window of Youtube, Netflix or a DVD Player movie float above all other windows while I work in other applications such as Word, Logic or Ableton Live.
    It would be great if I could watch a movie or youtube video without the window going behind my other windows whilst I work. Right now I have to just resize multiple windows to view the media but that eliminates valuable screen real estate in my work applications.
    Is there a hot key/shortcut to a window to make it float? A System Preference? Help me out friends.

    I believe afloat does just what you want
    http://www.macupdate.com/info.php/id/22237/afloat

  • Combining tiling and floating windows

    hi all,
    I am thinking about buying an external wide-screen monitor for my laptop. I want to use this monitor as a split-screen, but what I want is not entirely a tiling window manager. For example, I want the left side contain an editor and the right side contain the shell, web browser, etc. floating. So in a sense I want a combination of a tiling window manager and a floating window manager (the tiling is only for the split-screen).
    I have done a bit of searching and it seems it can be done. The following programs should make it possible:
    Tile-windows
    http://aur.archlinux.org/packages.php?ID=16168
    Whaw
    http://repetae.net/computer/whaw/
    Wumwum
    http://wumwum.sourceforge.net/
    Stiler
    http://aur.archlinux.org/packages.php?ID=25038
    And threads about this topic:
    http://bbs.archlinux.org/viewtopic.php?id=48048&p=1
    http://bbs.archlinux.org/viewtopic.php?id=64100
    I am thinking about using it with LXDE (i.e. Openbox window manager). My question is: does anybody have experience with any of the above programs (or a similar program not listed above)? I'm interested in how well these programs work and how easy it is to use them.
    Last edited by Bart(t (2009-08-27 20:49:57)

    I tested Whaw, Wumwum, and Pytyler:
    Whaw:
    Very intuitive to use for split screen (both vertical and horizontal split). Simply move the mouse to the top-left screen and click the two windows you want to view as split-screen. The only downside is that there aren't any keyboard shortcuts. Something like ctrl+l and ctrl+r for placing and resizing a window to the left or right side of the screen would be nice.
    Wumwum:
    I found wumwum a bit cumbersome to use. I have to cycle through various modes to accomplish the vertical split screen. Secondly, the split doesn't seem split perfectly. The left window is somewhat moved to the right. A bit annoying if the left window has a scroll bar, because only half of the scroll bar is visible then. I also couldn't find an easy way to maximize the window back (there is a full-screen option, but full-screen is not equivalent to maximized)
    Pytyler:
    Pytyler seems to brings a complete tiling window manger. It immediately places the main window in the left side of the screen and the other windows are vertically stacked in the right side. You can probably accomplish the vertical split screen if you use its workspace feauture, but then it requires more work to manage everything.
    Whaw is probaly the best option for simple vertical and horizontal splitting.
    Everything was tested on KDE 4.2.3.
    Note: The Grid plugin for Compiz also seems to do quite a nice job. There a video of it in action on youtube:
    http://www.youtube.com/watch?v=Z9hZb7blbVg

  • AwesomeWM floating window/client z-level?

    Sometimes my floating windows are behind tiled windows even when they have focus, and the only way to bring them to the front is to hit Mod-t to set them to always-on-top mode. Other times the floating windows show up in front of tiled windows when focused. There seems to be a z-level for windows, but I haven't been able to find any way to bring a floating window to the front without making it always-on-top. I checked the awful Lua reference (http://awesome.naquadah.org/doc/api/) under awful.client, but nothing there works.
    Is this just something that is not supported, or is it supported but not well documented? Or, I am just not properly RTFM-ing?

    thelastknowngod wrote:URxvt.urgentonbell: true
    This should be camelcased (urgentOnBell).
    thelastknowngod wrote:
    when irssi is starting up i can see that there is an error loading the notify.pl script. it says:
    Error in script notify:
    syntax error at ~/.irssi/scripts/autorun/notify.pl line 34, next token ???
    line 34:
    system("notify-send -t 7500 \"<span color='#ffffff'>".$title."</span>\""." \"".$text."\"");
    any ideas?
    I don't know what the error means exactly, but did you install libnotify?
    Last edited by tdy (2009-06-15 17:40:28)

  • How do I change position of video floating window in IDCS5 PDF export?

    I have created an interactive document in InDesign CS5 (for Mac) that includes some movies. The page size is 1280 x 800 and the H264.mov files are 960 x 540 and 800x600. I place the movie in the center of the page at 100% size (without resizing either the movie object or the frame). The poster is set to None to keep it blank. In the PDF options, the Play Video in Floating Window box is checked, with the size set to 1x and the Position is set to Center by default but it is grayed out, with no option to change it.
    When I export the document to PDF (Interactive) with both View and Layout set to Default and Buttons and Media set to Include All, the resulting PDF file opens the movie window in the upper right corner of the PDF document window. It does this whether viewing in Acrobat X Pro (10.1.2) or Acrobat Reader (9.5.0). I've tried opening the file on other computers and have the same issue. I've also created the same document in IDCS5.5 with the same outcome.
    I'd like the movie to open in the center of the PDF document window. I've made other documents where it does this, but for the life of me can't figure out what I'm doing differently to cause the floating movie window to open in the upper right corner of the PDF document.
    Any insight you could provide would be very helpful.
    Thanks,
    John

    Thanks for your reply, Steve. I, too, believe there is a bug, but it's not in InDesign CS5, as I mentioned in my post, I was able to replicate the problem by opening the file in CS5.5 and exporting it to an interactive PDF. The movie again opens in the upper right corner.
    However, if I create a NEW page in the document and place the same movie. it opens in the PDF reader centered in the page. I guess I could recreate the document if this is the only fix, but I thought that I may be doing something wrong, which apparently is not the case.
    "Computers often do what you want them to, but they ALWAYS do what you tell them to."   —anonymous
    "If you have placed the video in InDesign in it's own frame, should you not leave this box unchecked?"
    Rik, I didn't actually place the movie into a new frame. What I meant to say was that once the movie was placed into the document, I did not resize it. I found that if I don't have the PDF viewer open the movie in a flaoting window, the movie quality suffers if the PDF viewer opens in a larger size than the original InDesign page size (which can happen depending on how the user's PDF viewer is configured). However, the movie plays and views perfectly if it is in a floating window.
    jh

  • How to move existing windows service to cloud?

    Hello team,
    We have one windows service.
    We call it as Monitor Service. This service is running at customer premise and continuously monitor the door controllers fixed at client location. it also update the database in case of any update observed at door control panel. My question is, This Window
    Service is separately running for each customer within their premise to monitor the devices fixed at customer location. How can I move this windows service to cloud (as without VM) such that it will monitor the multiple devices of more than one customers across
    the globe.  if it is not feasible then let us know any other alternate solution. Actually, this is a very grey area for us.
    Thanks,
    Bhavin Modi

    Hi,
    Here are a few key things which you might want to consider while planning your migration to Azure
    https://msdn.microsoft.com/en-us/library/azure/jj156157.aspx?f=255&MSPPError=-2147217396
    Azure provides different hosting models for running applications. Each one provides a different set of services, and so which one you choose depends on exactly what you're trying to do. You may choose any of the below offerings
    Cloud Service (PaaS)
    Virtual Machine (IaaS)
    Websites
    I suggest you to refer to the below article to find the best hosting model per your requirement
    http://azure.microsoft.com/en-us/documentation/articles/fundamentals-application-models/
    Hope this helps !
    Regards,
    Sowmya

  • General Protection Fault in module WIN87EM.DLL while Running Windows XP Mode

    I am attempting to run a legacy, 16-bit program, P3, on a Windows XP Mode Virtual Machine, hosted by a Windows 7 x64 box. When performing various activities in the program, I receive "P3 caused a General Protection Fault in module WIN87EM.DLL
    at 0001:02C6." This occurs on multiple platforms (Core i5, Core 2 Duo).
    Based on my research, I have found "The Windows 80x87 emulator library,
    WIN87EM.DLL, works at the 16-bit-Windows level
    to virtualize the coprocessor among multiple Windows-based applications that run inside the system VM."
    It appears to me that, with the Virtual Machine using a Virtualized Processor (not related to the above reference to "virtualized coprocessor") as opposed to an emulated processor, the Virtual Math Coprocessor Device (VMCPD) and/or WIN87EM.DLL
    generate an error from the virtualized processor (perhaps they do no recognize it?)
    In addition "When the kernel loads an application, it checks to see if floating-point hardware is present. If a coprocessor is not present, the kernel uses the
    fixup records to replace the actual floating-point instructions with
    Interrupt 3x calls to emulation code in WIN87EM.DLL."
    I have found some information that points to "hiding" the math coprocessor from the Virtual Machine, so it doesn't go to the processor. This apparently can be achieved by using a program called WinFloat which includes a tool called HIDE87, which is suppose
    to hide the math coprocessor from the kernal.
    The issue I'm running into is, to properly achieve this, HIDE87 must be loaded before Windows. I have tried a couple techniques, but I think I'm doing it wrong. I have tried adding the HIDE87 program to the System32 directory and then adding
    HIDE87 (just before autocheck autochk *) to BootExecute under the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
    key.
    For a little more info, when you run HIDE87 from the command prompt it reads "HIDE87: Int 11h hook installed (must reboot to remove)." The documentation says this is what needs to occur before Windows loads. You can find WinFloat here:
    http://support.microsoft.com/kb/97265.
    Any help or insight would be greatly appreciated.

    This link helped point me to winfloat to solve the very same issue with WIN87EM.dll crashing under Windows XP on VMware 5 for an old legacy Windows 3.1.  I thought I would mention that the original approach taken by tstock_sjc should work fine.   First
    off, winfloat is a self extracting executable and we really don't want to run winfloat, but rather hide87.com which is a tiny TSR that is inside the winfloat archive.  When you run any DOS or Windows 3.1 executable, Windows XP first boots up (if one isn't
    already running) a mini-MSDOS 5 environment called NTVDM.exe.   Just as with the original MSDOS, when the shell loads, it loads files similar to config.sys and autoexec.bat.   Of course, there are more restrictions on drivers and not everything
    under MSDOS is emulated but nevertheless, it is a fairly good approximation of an MSDOS 5 environment.  The issue that tstock_sjc had was NTVDM.exe looks for %WINDIR%\system32\autoexec.nt and %WINDIR%\system32\config.nt instead of autoexec.bat
    and config.sys.  If you extract hide87.com out of winfloat.exe and place it into the %WINDIR%\system32 directory and add a line like %SystemRoot%\system32\hide87.com to the end of autoexec.nt , NTVDM will indeed load this TSR before launching its emulated
    copy of of Windows 3.1 (wowexec.exe).  When the 16 bit application is finally launched after wowexec.exe, the coprocessor is then masked.  It worked fine for me anyway (after applying changes and rebooting).  Under process monitor I could clearly
    see NTVDM.exe reading autoexec.nt and hide87.com and the WIN87EM.dll GP fault went away. 

Maybe you are looking for

  • MM related document

    Kindly provide some MM related document regarding 1. configuration 2. implementation 3. Customized Thanks in advance,

  • Memory stick

    I used to be able to put a memory stick in (USB), it wouldj show up on my desktop and then I could drag pictures onto it and save them.  Now....when I put a stick in, it just shows up in finder as a device and I can't drag anything to it.  What have

  • PSE 8 - Startup - Organize - Unwanted number of imported images

    Forgive me if this discussion thread has been raised elsewhere. If it has, I have been unable to locate it, and I apologise in advance. I am a newcomer to PSE. I have followed the tutorials and everything seems to do what it says on the tin. At the m

  • Heap compaction on W2K/XP, JDK 1.4.2

    Hello all, we have a large client-side application written in Java. Some operations of this application require a large amount of memory, but only for a short-time. Our experience has been that the VM will increase the heap-size as this memory is nee

  • Having trouble installing from package??

    This is what I get when I try to install. Any ideas whats wriong Here is the computer I trying to install on: