PekWM window placement / moving

I just started using PekWM and really like it, but I'm having trouble with two points.
1) Is there a way to set window placement to be random? By default it's set to "CenteredOnParent Smart MouseNotUnder", and it doesn't seem to center on anything, and it certainly doesn't seem very smart.
2) When I drag a window to another workspace, I go FLYING all the way to the last workspace in the column or row. Is there a way to make dragging windows between workspaces a little less hyperactive?
Thank you!

Sure, let's see...
config
Files {
Keys = "~/.pekwm/keys"
Mouse = "~/.pekwm/mouse"
Menu = "~/.pekwm/menu"
Start = "~/.pekwm/start"
AutoProps = "~/.pekwm/autoproperties"
Theme = "/usr/share/pekwm/themes/default"
Icons = "~/.pekwm/icons/"
MoveResize {
EdgeAttract = "0"
EdgeResist = "0"
WindowAttract = "0"
WindowResist = "0"
OpaqueMove = "True"
OpaqueResize = "False"
Screen {
Workspaces = "9"
WorkspacesPerRow = "3"
WorkspaceNames = "one;two;three;four;five;six;seven;eight;nine"
ShowFrameList = "True"
ShowStatusWindow = "True"
ShowStatusWindowCenteredOnRoot = "False"
ShowClientID = "False"
ShowWorkspaceIndicator = "500"
PlaceNew = "True"
FocusNew = "True"
TrimTitle = "..."
FullscreenAbove = "True"
FullscreenDetect = "True"
HonourRandr = "True"
HonourAspectRatio = "True"
EdgeSize = "1 1 1 1"
EdgeIndent = "False"
PixmapCacheSize = "20"
DoubleClickTime = "250"
Placement {
Model = "CenteredOnParent Smart MouseNotUnder"
Smart {
Row = "True"
TopToBottom = "True"
LeftToRight = "True"
OffsetX = "0"
OffsetY = "0"
UniqueNames {
SetUnique = "False"
Pre = " #"
Post = ""
Menu {
DisplayIcons = "False"
Icons = "DEFAULT" {
Minimum = "16x16"
Maximum = "16x16"
# To enable make separate window have other icon size restrictions,
# for example wallpaper menu found in pekwm_menu_tools, set the following
# for each menu you want to "free".
# Icons = "Wallpaper" {
# Minimum = "64x64"
# Maximum = "64x64"
# Defines how menus act on mouse input.
# Possible values are: "ButtonPress ButtonRelease DoubleClick Motion"
# To make submenus open on mouse over, comment the default Enter,
# uncomment the alternative, and reload pekwm.
Select = "Motion MotionPressed"
Enter = "MotionPressed ButtonPress"
# Enter = "Motion"
Exec = "ButtonRelease"
CmdDialog {
HistoryUnique = "True"
HistorySize = "1024"
HistoryFile = "~/.pekwm/history"
HistorySaveInterval = "16"
Harbour {
OnTop = "True"
MaximizeOver = "False"
Placement = "Right"
Orientation = "TopToBottom"
Head = "0"
DockApp {
SideMin = "64"
SideMax = "0"
mouse
FrameTitle {
ButtonRelease = "1" { Actions = "Raise; Focus; ActivateClient" }
ButtonRelease = "Mod1 1" { Actions = "Focus; Raise" }
ButtonRelease = "Mod4 1" { Actions = "Focus; Raise" }
ButtonRelease = "2" { Actions = "Lower" }
ButtonRelease = "Mod4 3" { Actions = "Close" }
ButtonRelease = "3" { Actions = "ShowMenu Window" }
ButtonRelease = "4" { Actions = "ActivateClientRel 1" }
ButtonRelease = "5" { Actions = "ActivateClientRel -1" }
ButtonRelease = "Mod1 4" { Actions = "SendToWorkspace Next; GotoWorkspace Next" }
ButtonRelease = "Mod1 5" { Actions = "SendToWorkspace Prev; GotoWorkspace Prev" }
ButtonRelease = "Mod1 Shift 4" { Actions = "SendToWorkspace PrevV; GotoWorkspace PrevV" }
ButtonRelease = "Mod1 Shift 5" { Actions = "SendToWorkspace NextV; GotoWorkspace NextV" }
ButtonRelease = "Ctrl 4" { Actions = "MoveClientRel 1" }
ButtonRelease = "Ctrl 5" { Actions = "MoveClientRel -1" }
ButtonRelease = "Ctrl Mod1 1" { Actions = "Focus; Raise True" }
DoubleClick = "1" { Actions = "Toggle Shaded" }
DoubleClick = "Mod1 1" { Actions = "Toggle Shaded" }
DoubleClick = "2" { Actions = "MaxFill True True" }
DoubleClick = "Mod1 2" { Actions = "Toggle Maximized True True" }
Motion = "1" { Threshold = "4"; Actions = "Raise; Move" }
Motion = "Mod1 1" { Threshold = "4"; Actions = "Raise; Move" }
Motion = "Mod4 1" { Threshold = "4"; Actions = "Raise; Move" }
Motion = "2" { Threshold = "4"; Actions = "GroupingDrag True" }
Motion = "Mod1 3" { Actions = "Resize" }
# Remove the following line if you want to use click to focus.
#Enter = "Any Any" { Actions = "Focus" }
OtherTitle {
ButtonRelease = "1" { Actions = "Raise; Focus" }
ButtonRelease = "2" { Actions = "Focus" }
ButtonRelease = "3" { Actions = "Close" }
ButtonRelease = "Mod4 3" { Actions = "ShowMenu Window" }
ButtonRelease = "Mod1 4" { Actions = "SendToWorkspace Next; GotoWorkspace Next" }
ButtonRelease = "Mod1 5" { Actions = "SendToWorkspace Prev; GotoWorkspace Prev" }
ButtonRelease = "Mod1 Shift 4" { Actions = "SendToWorkspace PrevV; GotoWorkspace PrevV" }
ButtonRelease = "Mod1 Shift 5" { Actions = "SendToWorkspace NextV; GotoWorkspace NextV" }
Motion = "1" { Threshold = "4"; Actions = "Raise; Move" }
Motion = "Mod1 1" { Threshold = "4"; Actions = "Raise; Move" }
Motion = "Mod4 1" { Threshold = "4"; Actions = "Raise; Move" }
# Remove the following line if you want to use click to focus.
#Enter = "Any Any" { Actions = "Focus" }
Border {
TopLeft {
# Remove the following line if you want to use click to focus.
#Enter = "Any Any" { Actions = "Focus" }
ButtonPress = "1" { Actions = "Focus; Raise; Resize TopLeft" } }
Top {
# Remove the following line if you want to use click to focus.
#Enter = "Any Any" { Actions = "Focus" }
ButtonPress = "1" { Actions = "Focus; Raise; Resize Top" } }
TopRight {
# Remove the following line if you want to use click to focus.
#Enter = "Any Any" { Actions = "Focus" }
ButtonPress = "1" { Actions = "Focus; Raise; Resize TopRight" } }
Left {
# Remove the following line if you want to use click to focus.
#Enter = "Any Any" { Actions = "Focus" }
ButtonPress = "1" { Actions = "Focus; Raise; Resize Left" } }
Right {
# Remove the following line if you want to use click to focus.
#Enter = "Any Any" { Actions = "Focus" }
ButtonPress = "1" { Actions = "Focus; Raise; Resize Right" } }
BottomLeft {
# Remove the following line if you want to use click to focus.
#Enter = "Any Any" { Actions = "Focus" }
ButtonPress = "1" { Actions = "Focus; Raise; Resize BottomLeft" } }
Bottom {
# Remove the following line if you want to use click to focus.
#Enter = "Any Any" { Actions = "Focus" }
ButtonPress = "1" { Actions = "Focus; Raise; Resize Bottom" } }
BottomRight {
# Remove the following line if you want to use click to focus.
#Enter = "Any Any" { Actions = "Focus" }
ButtonPress = "1" { Actions = "Focus; Raise; Resize BottomRight" } }
ScreenEdge {
Down {
Enter = "Mod1 Any" { Actions = "GoToWorkspace Down" }
ButtonRelease = "3" { Actions = "ShowMenu Root" }
ButtonRelease = "2" { Actions = "ShowMenu Goto" }
ButtonRelease = "1" { Actions = "GoToWorkspace Down" }
ButtonRelease = "Mod4 2" { Actions = "ShowMenu GotoClient" }
ButtonRelease = "4" { Actions = "GoToWorkspace Up" }
ButtonRelease = "5" { Actions = "GoToWorkspace Down" }
ButtonRelease = "Mod1 4" { Actions = "GoToWorkspace PrevV" }
ButtonRelease = "Mod1 5" { Actions = "GoToWorkspace NextV" }
EnterMoving = "Any Any" { Actions = "WarpToWorkspace Down" }
Up {
Enter = "Mod1 Any" { Actions = "GoToWorkspace Up" }
ButtonRelease = "3" { Actions = "ShowMenu Root" }
ButtonRelease = "2" { Actions = "ShowMenu Goto" }
ButtonRelease = "1" { Actions = "GoToWorkspace Up" }
ButtonRelease = "Mod4 2" { Actions = "ShowMenu GotoClient" }
ButtonRelease = "4" { Actions = "GoToWorkspace Up" }
ButtonRelease = "5" { Actions = "GoToWorkspace Down" }
ButtonRelease = "Mod1 4" { Actions = "GoToWorkspace PrevV" }
ButtonRelease = "Mod1 5" { Actions = "GoToWorkspace NextV" }
EnterMoving = "Any Any" { Actions = "WarpToWorkspace Up" }
Left {
Enter = "Mod1 Any" { Actions = "GoToWorkspace Left" }
ButtonRelease = "3" { Actions = "ShowMenu Root" }
ButtonRelease = "1" { Actions = "GoToWorkspace Left" }
DoubleClick = "1" { Actions = "GoToWorkspace Left" }
ButtonRelease = "2" { Actions = "ShowMenu Goto" }
ButtonRelease = "Mod4 2" { Actions = "ShowMenu GotoClient" }
ButtonRelease = "4" { Actions = "GoToWorkspace Right" }
ButtonRelease = "5" { Actions = "GoToWorkspace Left" }
ButtonRelease = "Mod1 4" { Actions = "GoToWorkspace Next" }
ButtonRelease = "Mod1 5" { Actions = "GoToWorkspace Prev" }
EnterMoving = "Any Any" { Actions = "WarpToWorkspace Left" }
Right {
Enter = "Mod1 Any" { Actions = "GoToWorkspace Right" }
ButtonRelease = "3" { Actions = "ShowMenu Root" }
ButtonRelease = "1" { Actions = "GoToWorkspace Right" }
DoubleClick = "1" { Actions = "GoToWorkspace Right" }
ButtonRelease = "2" { Actions = "ShowMenu Goto" }
ButtonRelease = "Mod4 2" { Actions = "ShowMenu GotoClient" }
ButtonRelease = "4" { Actions = "GoToWorkspace Right" }
ButtonRelease = "5" { Actions = "GoToWorkspace Left" }
ButtonRelease = "Mod1 4" { Actions = "GoToWorkspace Next" }
ButtonRelease = "Mod1 5" { Actions = "GoToWorkspace Prev" }
EnterMoving = "Any Any" { Actions = "WarpToWorkspace Right" }
Client {
# Remove the following line and uncomment the alternative if windows should raise when clicked.
ButtonPress = "1" { Actions = "Focus" }
# Uncomment the following line if windows should raise when clicked.
# ButtonPress = "1" { Actions = "Focus; Raise" }
ButtonRelease = "Mod1 1" { Actions = "Focus; Raise" }
ButtonRelease = "Mod4 1" { Actions = "Lower" }
ButtonRelease = "Mod1 4" { Actions = "SendToWorkspace Next; GotoWorkspace Next" }
ButtonRelease = "Mod1 5" { Actions = "SendToWorkspace Prev; GotoWorkspace Prev" }
ButtonRelease = "Mod1 Shift 4" { Actions = "SendToWorkspace PrevV; GotoWorkspace PrevV" }
ButtonRelease = "Mod1 Shift 5" { Actions = "SendToWorkspace NextV; GotoWorkspace NextV" }
ButtonRelease = "Ctrl Mod1 1" { Actions = "Focus; Raise True" }
Motion = "Mod1 1" { Threshold = "4"; Actions = "Focus; Raise; Move" }
Motion = "Mod4 1" { Threshold = "4"; Actions = "Focus; Raise; Move" }
Motion = "Mod1 2" { Threshold = "4"; Actions = "GroupingDrag True" }
Motion = "Mod1 3" { Actions = "Resize" }
# Remove the following line if you want to use click to focus.
#Enter = "Any Any" { Actions = "Focus" }
Root {
ButtonRelease = "3" { Actions = "ShowMenu Root" }
ButtonRelease = "2" { Actions = "ShowMenu Goto" }
ButtonRelease = "Mod4 2" { Actions = "ShowMenu GotoClient" }
# Horizontal movement
ButtonRelease = "4" { Actions = "GoToWorkspace Right" }
ButtonRelease = "5" { Actions = "GoToWorkspace Left" }
ButtonRelease = "Mod1 4" { Actions = "GoToWorkspace Next" }
ButtonRelease = "Mod1 5" { Actions = "GoToWorkspace Prev" }
# Vertical movement
ButtonRelease = "Shift 4" { Actions = "GoToWorkspace Up" }
ButtonRelease = "Shift 5" { Actions = "GoToWorkspace Down" }
ButtonRelease = "Mod1 Shift 4" { Actions = "GoToWorkspace NextV" }
ButtonRelease = "Mod1 Shift 5" { Actions = "GoToWorkspace PrevV" }
ButtonRelease = "1" { Actions = "HideAllMenus" }
Menu {
Enter = "Any Any" { Actions = "Focus" }
Motion = "Mod1 1" { Threshold = "4"; Actions = "Focus; Raise; Move" }
Other {
Enter = "Any Any" { Actions = "Focus" }
ButtonRelease = "3" { Actions = "Close" }
Motion = "1" { Actions = "Focus; Raise; Move" }
Motion = "Mod1 1" { Threshold = "4"; Actions = "Focus; Raise; Move" }
I appreciate you looking them over.

Similar Messages

  • How can one resize a inDesign Document Window without moving Document's position?

    I've searched high and low for an answer to this habit that inDesign has. Am I the only one that finds this annoying?
    You go to adjust the size of your document window to move it out of the way to get to something else on your desktop, and instead of keeping the document in place and just resizing the window, it moves the document with the resize. Not sure if I'm putting this in a way that people can understand me. Say I have two inDesign files open side by side and I zoom in on an area and adjust my view of the page. Then I go to the other inDesign document and adjust the view by grabbing the bottom right hand corner of the window and moving it to where I want it. The whole document then moves with it! I desire it not to, so now I have to waste time by using the hand tool to move it back into place. Illustrator doesn't act like this. Photoshop doesn't act like this. Only inDesign. Does this harken back to the PageMaker days? Am I missing a preference somewhere I need to change? Or is it just the way of things and I'm stuck with it?
    Currently using inDesign CS5 and CS6 on a Mac in OS 10.6.8

    Hi,
    The simplest would be to set the application preferences in the script.
    Like this :
    -- *** set prefs ****
    tell application "AppleWorks 6"
          activate
          set oldPrefs to its preferences
          copy oldPrefs to tPrefs
          tell tPrefs
                set old version warning to false --doesn't show the old version warning alert  
                set converted file suffix to true -- append “[v6.0]” to documents converted from older formats
                set locked file warning to false
                set paint reduction warning to false
          end tell
          set preferences to tPrefs
    end tell
    -- *** end set prefs ****
    --**** your script, example ***
    set tfiles to choose file with multiple selections allowed
    tell application "AppleWorks 6"
          repeat with i in tfiles
                open i
                tell front document
                      -- do something
                end tell
          end repeat
    end tell
    --**** end  your script ***
    -- *** reset prefs ****
    tell application "AppleWorks 6" to set preferences to oldPrefs

  • Re: Pre-positioned finder windows get moved automatically!    Mac OS » Ma

    Re: Pre-positioned finder windows get moved automatically! (Mac OS » Mac OS X v10.6 Snow Leopard » Finder and Dock, Sep 19, 2009 11:23 PM)
       I could not find my original post to add this to.
       I have discovered that CONTROL-Command-O will open a pre-positioned window in place while closing its parent. (I think it was Option-Command-O previously.) If you are working in folders within folders, you will need to move the topmost window slightly to the side to allow the first level to open in pre-positioned place.
       Has anyone discovered the procedure to go back up to the top level -- with key strokes or without -- while keeping the original position of the higher up window?
       Is there a way to open an enclosed folder in place without having to close the parent?

    Is there a way to open an enclosed folder in place without having to close the parent?
    Not sure you can get there from here
    Double-clicking will open an enclosed Folder in place, in step fashion....all you need to do to move back is to either click 'Back' in the menu bar of that window.
    Double-click on the parent folder in the icon row along the bottom of that window to move back to it or any higher level folder to the left.
    If you hold the command key and click once on the icon in the top center of that window's upper margin, you will see a vertical list of any parent folders in order (top most at the bottom)...click on one to move to it.
    As you can see, 'back' here is thus defined at least three ways: back, left & down. While it can be distracting to some people who may prefer what at least appears to be a more structured environment, the goal is to provide choices so that the OS appears to provide flexibility rather than being hardwired/inflexible. Don't let the number of choices confuse you - find a style that suits your flow and be happy.
    If you want to peer into some of the thinking behind Apple software, you would do well to invest time (and I don't mean just a quick glance) in reading the 'Apple Human Interface Guidelines' at this link...

  • After enabling iCloud, the calendar on my MacBook shows a window stating "moving calendar to server account. Then a box appears saying "server responded with an error message 403. Then another box shows "couldn't move calendar to iCloud, an error occurrre

    After enabling iCloud, the calendar on my MacBook shows a window stating "moving calendar to server account. Then a box appears saying "server responded with an error message 403. Then another box shows "couldn't move calendar to iCloud, an error occurrre

    iCloud's Calendar is full of errors and problems for me.  The "Couldn't move your calendars to iCloud because an error occurred" is now gone (by itself) but nothing syncs between my Mac's Calendar to iCloud or my iPhone to iCloud.
    I tried creating a new event directly on iCloud.com to see whether it pushes to any of my device and  got this "This event couldn't be created because of a server error; please try again." error.
    Apple, please fix this!!

  • When I connect my canon Hd vixia to upload media. My windows start moving around franticly and I hear this ticking sound. What am I doing wrong?

    Loging & Transfering
    When I connect my canon Hd vixia to upload media. My windows start moving around franticly and I hear this ticking sound. What am I doing wrong?

    Hard to tell from here. This would be a first.
    How is the camera connected and is it or anything else touching your keyboard?
    x

  • Formating the Mobile Me gallery window place holder

    Is there a way to format the Mobile Me gallery window place holders? Specifically, remove the white title bar at the bottom of the window when they appear in the published site?
    I would like to ad these galleries but I don't want the title at the bottom to show up. I don't want to use the album style picture placeholders because I want to be able to email the pics.

    Is it the tell a friend email link that you're referring to? Can you click on the gallery link in iPhoto and get to it online? The link will contain numbers as the folder for the gallery is identified by a 6 digit number.
    If it's the link in the email that gets created by the tell a friend that you're referring to you might post in the Mail forum also.
    All I can think to do is go to iPhoto/Gallery preference pane and stop publishing. Then republish and see if you can get the email link to work.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • Window placement

    I wonder if I am missing something. Pages always opens documents based on templates 1/3 inch from the left edge of the screen. It never remembers the window placement on templates. Is there a method for changing this? I want my default documents to open in a specific position. If not, will this be fixed in the future? Nisus, Mellel, Mariner Write all do this well. I would prefer not to have to take an extra step before working on a new document in pages.

    Matthew,
    Welcome to Apple Discussions. The phenominon you describe is a bug, and you should use the feedback link at the top of the page to tell Apple that fixing it is important to you. You ask if it'll be fixed in the future: we can't possibly know that since Apple is particularly tight-lipped about updates. But if enough people bring it to their attention, they will likely make fixing the problem you cite a priority.

  • Using FF 6.0.2 on Windows 7 64bit has anyone else noticed slow FF windows updates unless pointer was over a FF window and moving?

    I've noticed FF 6.0.2 windows update faster and downloads stay active when the mouse pointer is over a FF window and moving. I've "played" with the download window. When I allow the pointer to just sit, the download usually stops. When I move the pointer, the download resumes. This is verified by the lights on the cable modem showing changes in internet activity.
    The same appears true in cases like the FF help search. Type a question and hit return and screen stalls. Move the mouse and the screen refreshes.

    Hello,
    I am not very familiar wth Microsoft Security Essentials, but believe that it just makes use of the existing Windows Firewall which is present with the operating system.
    To me it is odd that the guest OS reports 192.168.1.254 as the IP address for its gateway and DHCP server yet it cannot access them when pinged.  Let's try pinging from host to guest (and vice-versa)  and see what happens:
    From the host OS at 192.168.1.78, try pinging the guest OS at 192.168.1.75. 
    Then, from the guest OS at 192.168.1.75, trying ping the host OS at 192.168.1.78.
    Is each operating system able to ping each other?
    Regards,
    Aryeh Goretsky
    I am a volunteer and neither a Lenovo nor a Microsoft employee. • Dexter is a good dog • Dexter je dobrý pes
    S230u (3347-4HU) • X220 (4286-CTO) • W510 (4318-CTO) • W530 (2441-4R3) • X100e (3508-CTO) • X120e (0596-CTO) • T61p (6459-CTO) • T43p (2678-H7U) • T42 (2378-R4U) • T23 (2648-LU7)
      Deutsche Community   Comunidad en Español Русскоязычное Сообщество

  • Change "Test Window" placement in Flash CC?

    Hi.
    I have a problem with the placement of the Test/preview/export windows placement in Flash CC on my dual-screen setup.
    When pressing CMD+Enter, the test window pops up at the edge between my laptop screen and my external display. Every time i have to drag the window into my external display in order to preview it properly. In Flash CS6, i would move the test window once and the next time i exported out the test window would wind up in the same position as it did earlier.
    Please fix this ASAP, its very annoying

    Hi Dharmendra.
    Thank you for taking your time to reply this thread.
    I havent even considdered the possibility of this being affected by the flash project itself, i thought it was some kind of error in the UI. But when you asked about my settings and classes, i started looking around for clues.
    And i - sort of - found a solution. At least a half one, but that is more than okay for now.
    The bug seems to revolve around the use of traces. We use quite a number of trace calls in our projects, and it seems that when i ignore these by enabling the "omit trace statements" option in the Publish settings, the issue goes away and the flash test windows position is being correctly saved again. Disabling "omit trace statements" will force the test window back to its original default position.
    I hope this info is enough for you to go on working on this bug, but if it isnt, i will be happy to assist you with a test-project for you to troubleshoot on.
    Kind regards
    //aloC

  • Compiz and weird window placement

    I just installed Arch and KDE.  It all works fine except for compiz, which works, but any window opened goes to the top left hand corner and the title bar is hidden so I can't even move it.

    Start the CompizConfigSettingsManager (ccsm) and check if the window decorator plugin is enabled if you have no window boarders.
    There is another plugin for windows placement (don't know how its called because my settings manager is in german).
    Maybe you have to active a lot of other plugins before compiz works how you like it.

  • Projector window placement

    Can I make the projector window place on the top of the desktop screen and make all the other desktop items and windows go underneeth the projector window, like a toolbar is created on the desktop (on the top, left or right side of the screen) ?

    It takes a while for images to go through the virus checker queue when you attach them, and yours hasn't passed, yet. Images posted via the camera icon appear right away.
    If you're on Windows, you can use Buddy API's baSetWindowState to make the window "Stay On Top"
    http://www.mods.com.au
    http://www.mods.com.au/budapi_docs/baSetWindowState.htm
    DirectOS has a similar function (also Windows only), dosSetWindowState()
    http://www.directxtras.com/
    http://www.directxtras.com/DOSDocs/dosSetWindowState.asp?UUID=2398917
    There may be other Xtras that do this, too, though I haven't looked for a Mac version.
    The Director Mile High Table O' Products - Xtras, tools, utilities
    http://www.deansdirectortutorials.com/MileHighTable/
    There are possible work-arounds, combining Lingo and one of the Xtras if you need this for a Mac.
    Mark A. Boyd
    Keep-On-Learnin' :-)

  • [SOLVED] XFCE - Incorrect windows placement

    Hi,
    I'm currently having a issue with XFCE's window placement. In the settings panel, under Window Manager Tweaks > Placement, window placement is set to Center for all windows, but this option has no effect. I tried changing it to place windows under the mouse, but it also has no effect on the windows placement. Windows keep opening on the screen corners.
    I checked the forums for similar problems, and found some results, but none of the solutions worked for me. Also, those are quite old topics.
    [Solved] XFCE - Having Trouble Centering Windows
    [solved] Xfce4, new windows position
    Xfce 4.8 xfwm4 window placement settings no longer have any effect.
    This is not a big problem, but I'm kind of picky, so if anyone knows a solution to this problem, please share it.
    Best Regards,
    Agkel0s
    Last edited by Agkel0s (2014-07-14 21:37:54)

    Agkel0s wrote:Currently the slider is on the minimum value, and windows of all sizes should open centered on screen.
    Shouldn't you actually have it on the maximum value?
    I believe the way this works is that the size (or ratio, the option is actually called placement_ratio IIRC and is a ratio of window size vs screen size) you specify here is the minimum to trigger "smart placement." If the window isn't (at least) of that size, then the default (i.e. center or under mouse pointer, as defined below) will be used. So if you want every window to use the default placement, you should set the minimum size for smart placement to be as large as possible. (In fact, I believe with a ratio set to 100 (i.e. slider to the max) it should always use the default placement, regardless of window size, which is want you're after if I'm not wrong.)
    If even with the slider to the max you get new windows placed using smart placement, then it sounds like a bug I'd say.
    (Also, just as FYI and though you might simply want all windows to be centered, I wasn't happy with xfwm's smart placement myself, you can see this topic for a (IMO) better alternative.)

  • In admin, why do the windows keep moving around?

    When I'm logged in as admin, the windows keep moving around and it's often impossible to do anything.  Sometimes the windows turn blue.

    Safe boot, holding Shift key at bootup, log into the admin account, does it srill happen?

  • [Solved] Openbox Window Placement not in Center

    In obconf, under Windows, I have:
    √ Focus new windows when they appear
    √ Center new windows when they are placed
    Prefer to place new windows on: The monitor with the mouse
    Primary monitor: Monitor With Mouse Pointer
    But in the corresponding rc.xml, I have
    <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>Mouse</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, 'Primary' - only on the primary monitor -->
    <primaryMonitor>Mouse</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>
    And the behaviour is this:
    Windows try to get as close to the top left corner as possible without overlapping any other windows. This does sound like what "Smart" policy would refer to, but it is not listening to the <center>yes</center> tag.
    Last edited by jameh0 (2014-03-22 17:59:40)

    drcouzelis wrote:
    drcouzelis wrote:it's not hard to patch, so no problem.
    I just finished patching Openbox to restore the former random window placement behavior. You can find it here: openbox-git-random-placement
    It works but I didn't fully test all scenarios (multi-monitors, different window states, and so on...) so if you find any bugs in my patch or random window placement code please let me know!
    Im having trouble discerning what exactly you mean. I could build your version to find out, but the current openbox-git seems to work exactly this way?
    I have smart placement and center set. When I open a new window on a blank workspace, its placed centered. If I open another, it will be placed in empty space. It will keep placing in empty space until the desktop is completely hidden, and then it will start randomly placing the window.
    I have considered talking to the Openbox devs about possibly implementing the placement algorithm of Fluxbox- Flux will evenly distribute the windows even after the entire screen is filled/covered.
    **EDIT** Do you mean your version starts to random place the moment it cant fit the window in empty space without even partially obscuring an existing window?
    Last edited by GSF1200S (2014-03-27 04:18:56)

  • How do I transfer the iTunes library from my Mac to Windows without moving files?

    I have my Media on a Windows file share and currenty my Mac's iTunes library is pointed there. I just installed iTunes on my Windows box and now I want to transfer the iTunes database( music, playcounts, playlist, etc ) to the Windows iTunes while keeping the files in place as they don't need to be moved.
    Both systems are authorized on my acount and have home sharing turned on. They are both pointed to the same Media folder in their library settings.
    How can I make the transfer without uncessary file copying?

    The key file is the library.itl file.  This is the file iTunes uses to store all the information it presents to you when you open the program.  Well, there's also a few other library files as well as the artwork folder, but the .itl file is the center of it.  You don't say whether or not the PC has its own library with unique content, or if you are trying to duplicate the library for both.  If the PC library is empty try copying the whole iTunes folder (which contains no media according to you) to the PC, then start iTunes with the shift key held down and guide iTunes to the new library file set (or copy it over the one currently on your PC and just start normally).
    What are the iTunes library files? - http://support.apple.com/kb/HT1660
    More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
    Where are my iTunes files located? - http://support.apple.com/kb/ht1391
    iTunes: How to move [or copy] your music [library] to a new computer [or another drive] - http://support.apple.com/kb/HT4527 - a somewhat bewildering and not always easily understandable set of options.
    Windows users see tip at: https://discussions.apple.com/message/18879381

Maybe you are looking for