Openbox and maximized windows

Hi everyone... Im running Arch with openbox as my main DE. I really like it, but there is just one thing that make me angry. When i open an application (such as firefox or dolphin) its window appears covering almost the size of my screen. I have to maximize the window for just cover 2 or 3 pixels more.
I know that in rc.xml, i can define rules to make windows matching the some name, behave as i like (start maximized in this case). But is annoying (and innapropriate) to make one of these rules (matching name) for each application i'd like to start maximized.
I tried defining a rule, matching the tipe of window. I tought was fine, till a dialog box appeared. Its had the size of my entire screen (ugly for a dialog box).
If anybody can tell me which rule could match common applications, i'll be thankfull.
Best Regards Archers!
See this: http://openbox.org/wiki/Help:Applications
Last edited by sironitomas (2010-03-29 02:06:11)

<application class="*">
<maximized>yes</maximized>
</application>
This will make all windows maximized by default, which I think is what you want.
EDIT:  Actually, if you don't want dialogs to be maximized, try that, and this, I think:
<application type="dialog">
<maximized>no</maximized>
</application>
Last edited by kmason (2010-03-29 02:20:56)

Similar Messages

  • Tint and maximizing windows ?

    I m using openbox and tint panel.But every time I maximize window he goes under tint.Is there way to modify tintrc so window to go only to the top of tint

    Thanks that is what I wanted!!!!

  • Minizing and Maximizing Windows in rapid succession

    I didn't have this problem until I upgraded from Windows 7 to Windows 8.1. How do I go back to windows 7. I can't even use my laptop at this point. Thanks.

    I didn't have this problem
    Didn't have what problem?  Are you moving your mouse and seeing the Taskbar preview?
    One significant difference between W7 and W8 is how the functionality that laptop
    manufacturers have tried to apply to their machines Touchpads.  The best alternative is to get a real mouse and use it instead, reserving the use of the Touchpad to times when you want to experiment with some
    Touch emulation features.  Otherwise, see if your Touchpad is at least recognized as a "Precision Touchpad"
    http://windows.microsoft.com/en-us/windows-8/touchpad
    Then you may be able to make your Touchpad behave more like a normal mouse.
    FYI
    Robert Aldwinckle

  • Openbox maximized window decoration

    I have just installed openbox and there's just this one tiny detail that drives me crazy. Maximized windows have no window decoration on the sides. It's a pain, because I always use themes with a white outline around the windows. Is there anyway I could change this? Checked rc.xml and haven't found anything useful, themerc's also don't have anything on this.
    If there's no way I'll probably go back to emerald

    Maximised windows have no border, you don't need borders on maximised windows, but I know what you mean.
    I wanted a separator between tint2 and a maximised window, but you can't give tint2 conditional borders so you can't just add one to the side you want, it will be around the whole tint2 instance.
    Hence I used BMPanel2 from AUR instead, that way you can create a border one one side only.

  • Openbox and window focusing

    I'm having some problem with Openbox not focusing the windows as it should, if someone post a link on IRC and I click it in XChat then Firefox will load the url and will be moved to front just like it should. However the focus isn't shifted from XChat to Firefox, so any keyboard input will still be sent to XChat which is quite annoying if I want to close the tab (CTRL+W) as it will close the currently active tab in XChat instead of Firefox. Anyone have any idea what the problem could be?
    In ObConf I have the option "Focus new windows when they appear" checked, however, my Firefox is always running so it's not a new window and thus this one should be irreleveant.
    Versions (in case it should matter):
    $ pacman -Q firefox xchat openbox
    firefox 2.0.0.7-1
    xchat 2.8.4-1
    openbox 3.4.4-1

    fivre wrote:Is anyone familiar enough with whatever changes Openbox and Fluxbox have made to the *box theme spec to explain me the major differences?
    http://icculus.org/openbox/index.php/Help:Themes
    thayer wrote:The next major version of Openbox is also said to be doing away entirely with the X resource style themes.  Themes will be written in pure XML.
    afaik there is a small script which "translates" existing themes automatically to xml.
    ps: but i´m not finding it right now...
    Last edited by DonVla (2008-08-08 23:57:23)

  • Adobe 9 always opens in a Maximized window

    Hi
    When opening a link in Internet Explorer 6 that opens a pdf, the pdf file opens in a maximized window.  When clicking on a pdf file on the computer it will always open in a maximized window.
    I have gone into the properties for Adobe and made sure that it is run in a Normal Window.
    I have gone into edit > preferences and have not found any options where you can select whether to open in maximized window.
    Is there a way to specifiy whether to open the files in a maximized window or, as in this case, to open the window in normal/restore down view.
    Thank you
    Charlotte

    Charlotte,
    I'm having the same problem using IE 8.
    Did you ever get a resolution for this?  I see no one ever responded to your post.
    Thanks!
    Bill

  • Open web page from URL iview in maximized window

    Hi,
    I would like to open a web page in a <b>maximized</b> browser window, using an URL iView.
    I know how to open a window in a separate window, I just can't get it maximized.
    N.B. I do <b>NOT</b> want to open in <b>fullscreen</b> mode, i.e. I want a title bar and menus.
    Does anyone know how to do it?
    I tried to play around with the "window function" property of the iView, but no luck so far. I can't specify a fixed width and height of the target window at design time, as these values may vary at runtime.
    regards
    Lothar

    Hi Lothar,
    Yes, That will require Java Coding, Its true. Basically what the problem here is that to maximize we are trying to fetch the Screen resolution dynamically through Portal that Portal is not allowing us. Thats why I feel that we should go for Java Programing, Create a Par, Deploy it in the server and then create iView for that.
    For Creating the Abstract Portal Component for Opening a Maximized Window You should do following steps.
    1. Open Your NWDS
    2. Create a project ie Portal Application
    3. Create Portal Object ie Abstract Portal Component.
    Now here is the piece of code that may help you
              response.write("<SCRIPT language=javascript>");
              response.write("function onOpenWindow()");
              response.write("{");
              response.write("window.open('http://abc.com','windowName','width=screen.availWidth,height=screen.availHeight,resizable=yes')");
              response.write("}");
              response.write("</SCRIPT>");
              response.write("<a href = \"javascript:onOpenWindow()\">abc.com</a>");
    Paste this code in doContent...
    I think it may help you
    Thanx & Regards
    Anish

  • Compiled executable does not open in maximized window

    I have attached a JPG showing the VI Properties that pertain to Window size.  Despite the fact that I have indicated in Run-Time Position - Position:  Maximized.  The compiled executable does not open in a maximized window.
    Even stranger, if I take the shortcut for the program and change it's properties (on the target machine) to Open Maximized, it still doesn't open maximized.
    I have had this behavior with every compiled executable for a couple of years using versions of LabVIEW 8, 2010, 2011 and currently 2011 SP1.  Both the compiling machine and the target machine are Windows XP.
    Is there any explanation for this behavior?  Any way to correct it?
    Solved!
    Go to Solution.
    Attachments:
    VI Properties.JPG ‏81 KB

    I think Ravens Fan is correct. The aspect ratio appears to take precedence over the window position.
    You can set a property manually in your code to maximize the window.
    http://zone.ni.com/reference/en-XX/help/371361H-01/lvprop/vi_fp_winstate/
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • Compton, Openbox and Catalyst 14

    Hi.
    I'm new with Arch Linux, Openbox and Compton, so...
    I install compton and after that ATI driver... when I do that...the screen freeze and I can't see what I type/click, but if I kill the process (CTRL+ATL+F2, ps aux, kill -9...), everything is back again.
    I use the Vi0L0's catalyst, and the compton.conf you can see below.
    How can I fix that, for enable transparency, shadow and of course: Steam.
    # Backend
    # Backend to use: "xrender" or "glx".
    # GLX backend is typically much faster but depends on a sane driver.
    backend = "glx";
    # GLX backend
    glx-no-stencil = true;
    # GLX backend: Copy unmodified regions from front buffer instead of redrawing them all.
    # My tests with nvidia-drivers show a 10% decrease in performance when the whole screen is modified,
    # but a 20% increase when only 1/4 is.
    # My tests on nouveau show terrible slowdown.
    # Useful with --glx-swap-method, as well.
    glx-copy-from-front = false;
    # GLX backend: Use MESA_copy_sub_buffer to do partial screen update.
    # My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated.
    # May break VSync and is not available on some drivers.
    # Overrides --glx-copy-from-front.
    # glx-use-copysubbuffermesa = true;
    # GLX backend: Avoid rebinding pixmap on window damage.
    # Probably could improve performance on rapid window content changes, but is known to break things on some drivers (LLVMpipe).
    # Recommended if it works.
    # glx-no-rebind-pixmap = true;
    # GLX backend: GLX buffer swap method we assume.
    # Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1).
    # undefined is the slowest and the safest, and the default value.
    # copy is fastest, but may fail on some drivers,
    # 2-6 are gradually slower but safer (6 is still faster than 0).
    # Usually, double buffer means 2, triple buffer means 3.
    # buffer-age means auto-detect using GLX_EXT_buffer_age, supported by some drivers.
    # Useless with --glx-use-copysubbuffermesa.
    # Partially breaks --resize-damage.
    # Defaults to undefined.
    glx-swap-method = "undefined";
    # Shadows
    # Enabled client-side shadows on windows.
    shadow = true;
    # Don't draw shadows on DND windows.
    no-dnd-shadow = true;
    # Avoid drawing shadows on dock/panel windows.
    no-dock-shadow = true;
    # Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows.
    clear-shadow = true;
    # The blur radius for shadows. (default 12)
    shadow-radius = 5;
    # The left offset for shadows. (default -15)
    shadow-offset-x = -5;
    # The top offset for shadows. (default -15)
    shadow-offset-y = -5;
    # The translucency for shadows. (default .75)
    shadow-opacity = 0.5;
    # Set if you want different colour shadows
    # shadow-red = 0.0;
    # shadow-green = 0.0;
    # shadow-blue = 0.0;
    # The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches
    # (most applications are fine, only apps that do weird things with xshapes or argb are affected).
    # This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
    shadow-exclude = [
    "! name~=''",
    "name = 'Notification'",
    "name = 'Plank'",
    "name = 'Docky'",
    "name = 'Kupfer'",
    "name = 'xfce4-notifyd'",
    "name *= 'VLC'",
    "name *= 'compton'",
    "name *= 'Chromium'",
    "name *= 'Chrome'",
    "name *= 'Firefox'",
    "class_g = 'Conky'",
    "class_g = 'Kupfer'",
    "class_g = 'Synapse'",
    "class_g ?= 'Notify-osd'",
    "class_g ?= 'Cairo-dock'",
    "class_g ?= 'Xfce4-notifyd'",
    "class_g ?= 'Xfce4-power-manager'"
    # Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
    shadow-ignore-shaped = false;
    # Opacity
    menu-opacity = 1;
    inactive-opacity = 1;
    active-opacity = 1;
    frame-opacity = 1;
    inactive-opacity-override = false;
    alpha-step = 0.06;
    # Dim inactive windows. (0.0 - 1.0)
    # inactive-dim = 0.2;
    # Do not let dimness adjust based on window opacity.
    # inactive-dim-fixed = true;
    # Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
    # blur-background = true;
    # Blur background of opaque windows with transparent frames as well.
    # blur-background-frame = true;
    # Do not let blur radius adjust based on window opacity.
    blur-background-fixed = false;
    blur-background-exclude = [
    "window_type = 'dock'",
    "window_type = 'desktop'"
    # Fading
    # Fade windows during opacity changes.
    fading = true;
    # The time between steps in a fade in milliseconds. (default 10).
    fade-delta = 4;
    # Opacity change between steps while fading in. (default 0.028).
    fade-in-step = 0.03;
    # Opacity change between steps while fading out. (default 0.03).
    fade-out-step = 0.03;
    # Fade windows in/out when opening/closing
    # no-fading-openclose = true;
    # Specify a list of conditions of windows that should not be faded.
    fade-exclude = [ ];
    # Other
    # Try to detect WM windows and mark them as active.
    mark-wmwin-focused = true;
    # Mark all non-WM but override-redirect windows active (e.g. menus).
    mark-ovredir-focused = true;
    # Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events.
    # Usually more reliable but depends on a EWMH-compliant WM.
    use-ewmh-active-win = true;
    # Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.
    detect-rounded-corners = true;
    # Detect _NET_WM_OPACITY on client windows, useful for window managers not passing _NET_WM_OPACITY of client windows to frame windows.
    # This prevents opacity being ignored for some apps.
    # For example without this enabled my xfce4-notifyd is 100% opacity no matter what.
    detect-client-opacity = true;
    # Specify refresh rate of the screen.
    # If not specified or 0, compton will try detecting this with X RandR extension.
    refresh-rate = 0;
    # Set VSync method. VSync methods currently available:
    # none: No VSync
    # drm: VSync with DRM_IOCTL_WAIT_VBLANK. May only work on some drivers.
    # opengl: Try to VSync with SGI_video_sync OpenGL extension. Only work on some drivers.
    # opengl-oml: Try to VSync with OML_sync_control OpenGL extension. Only work on some drivers.
    # opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesn’t have the effect of --sw-opti unlike other methods. Experimental.
    # opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use.
    # (Note some VSync methods may not be enabled at compile time.)
    vsync = "opengl-swc";
    # Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
    # Reported to have no effect, though.
    dbe = false;
    # Painting on X Composite overlay window. Recommended.
    paint-on-overlay = true;
    # Limit compton to repaint at most once every 1 / refresh_rate second to boost performance.
    # This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already,
    # unless you wish to specify a lower refresh rate than the actual value.
    sw-opti = false;
    # Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
    # Known to cause flickering when redirecting/unredirecting windows.
    # paint-on-overlay may make the flickering less obvious.
    unredir-if-possible = true;
    # Specify a list of conditions of windows that should always be considered focused.
    focus-exclude = [ ];
    # Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.
    detect-transient = true;
    # Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused at the same time.
    # WM_TRANSIENT_FOR has higher priority if --detect-transient is enabled, too.
    detect-client-leader = true;
    # Window type settings
    wintypes:
    tooltip =
    # fade: Fade the particular type of windows.
    fade = true;
    # shadow: Give those windows shadow
    shadow = false;
    # opacity: Default opacity for the type of windows.
    opacity = 0.85;
    # focus: Whether to always consider windows of this type focused.
    focus = true;
    Last edited by patrickmaciel (2014-07-26 22:07:58)

    emeres wrote:Just wanted to make sure. It is also the regular one, not catalyst legacy, right?
    I install that (from the arch wiki):
    Once you have added some Catalyst repository, update pacman's database and install these packages (see #Tools for more information):
    - catalyst-hook
    - catalyst-utils
    - catalyst-libgl
    - opencl-catalyst - optional, needed for OpenCL support
    - lib32-catalyst-utils - optional, needed for 32-bit OpenGL support on 64-bit systems
    - lib32-catalyst-libgl - optional, needed for 32-bit OpenGL support on 64-bit systems
    - lib32-opencl-catalyst - optional, needed for 32-bit OpenCL support on 64-bit systems
    So... after that I get:
    - Videos in browser (firefox/chrome/chromium) freeze in fullscreen
    - Resize windows is slowly
    - Teamviewer stop working
    - Record screen stop working
    - Sometimes I can't see what I'm typing... but after kill compton, everything appears
    I try using default compton.conf and "no" compton.conf... same problem.
    Sorry for my english
    Last edited by patrickmaciel (2014-07-27 01:56:54)

  • XI Pro, Excel 2013, Win 8.1: Opening a pdf embedeed in Excel starts Acrobat in Maximized Window

    I am embedding (Insert/Object/Adobe Acrobat Document) pdf's in an Excel spreadsheet.
    I'm using the option to show the pdf as an icon.
    That all works fine.
    When I double click the icon Acrobat is starting in a maximized Windows window.
    It is filling up my entire monitor with Acrobat.
    Normally when I start Acrobat it takes the window shape from the last time I closed it.
    Is there any way to control the Window size when opening a pdf from inside Excel?
    Thanks.

    Click to Run according to Microsoft: 
    https://technet.microsoft.com/en-us/library/jj219427.aspx
    "Click-to-Run is a Microsoft streaming and virtualization technology that reduces the time that is required to install Office and helps you run multiple versions of Office on the same computer. The streaming technology enables you to download and begin to use an Office product before the whole product is installed on your computer. The virtualization technology provides an isolated environment for Office to run on your computer. This isolated environment allows you to run the latest version of Office side-by-side with an earlier version of Office that is already installed on your computer."

  • In Firefox 29 center clicking at the top of a tab in a maximized window will open a previously closed tab instead of closing the tab you clicked

    In Firefox 29 center clicking at the top of a tab in a maximized window will open a previously closed tab instead of closing the tab you clicked.
    Is this this the intended behavior? And if so is there any way to disable it?
    Thanks

    Middle-clicking a tab closes it, while middle-clicking an empty area of the tab bar opens a new tab.
    Different behavior is probably caused by a tab-related add-on like Tab Mix Plus. If you're not sure if you have such an add-on, restart Firefox with add-ons disabled and check if the problem still occurs.
    * [[Troubleshoot Firefox issues using Safe Mode]]

  • Open pdf in maximized windows

    In Adobe Reader XI how I can always open the PDF files by default in maximized window?

    Guys,
    There is a simple workaround for this. Just DON'T "Display PDF in a Browser". At first I was going to have all the users in my company Right-Mouse Click and Save PDF to their Desktop. But then realized it's just simpler to have the PDF open in the Reader and it gets around the problem fine. This is a great workaround until the whole Windows 7/IE8/Adobe PDF situation mature a bit.
    In case you forgot the instructions from John, here's how:
    Open Adobe Reader or Adobe Acrobat (Pro):
    -> select the menu "Edit"
    -> select "Preferences"
    -> select the Category "Internet"
    -> UNCHECK the "Display PDF in browser"
    This worked for our company. Hope it works for you.
    - Greg H.

  • Powerpoint in maximized window, when de machine is starting up from batch

    Hello,
    I want to start a .pps presentation with Powerpoint Viewer in a maximized window, after the machine is powered-up.
    The slide show is saved with kiosk settings as a .pps (slideshow).
    I put a shortcut with screen maximized on in the STARTUP directory of the automatic start-up user.
    Powerpoint Viewer is starting the slide show in a default screen which is not maximized and a task-bar, where you manualy can set maximized continuously presentation.
    How can I fix this ?
    I don't want to do anything, after I power-up this PC, so does anyone has a good, simple and working solution ?

    Hi Fred,
    This forum is for developers disscussing question about VBA, VSTO and apps for Office. Since the issue is more relate to the product, I suggest you repost it to
    Microsoft Commnutity to get more effective response.
    Best regards
    Fei

  • Maximizing windows looks strange in Gnome 3.2

    Since I upgraded to Gnome 3.2, maximizing windows looks really strange (the left and top border of the window is cut off).
    I have set everything to default in the gnome tweak tool. What do you think causes this?
    Last edited by mindglowba7fb830d2cbbed73 (2011-10-10 22:50:56)

    Please use thumbs when posting images: https://wiki.archlinux.org/index.php/Fo … s_and_Code

  • Opening maximized window from embedded flash movie

    Hi!
    I need your help!
    I have a html file with a flash movie-menu embedded into it. I'd like one of the buttons to open an external html page strictly in a new maximized window. It does not matter if the new window has toolbar or not. I want it to open a new maximized window (not the full screen thing) onclick.
    How can I achieve this?
    thank you!

    use the javascript window.open method to open your popup and set the page dimensions.
    you can use getURL or navigateToURL() to execute a javascript function or better use the externalinterface class to call a javascript function in your embedding html file.

Maybe you are looking for

  • MacBook Air Ambient Light and Screen Brightness

    I've installed windows 7 on my macbook air and everything is working great for over a year now. The only thing that's not working is the auto adjustment of the screen brightness. I It is working on MacOS but not on Windows 7. Thank you, Christos Poly

  • Usage of insert button in Std ALV toobar (OOPs)

    Hi Experts, I have developed an ALV(oops) with cl_gui_alv_grid. I have the std toolbar and do NOT want to disable it. what i need is when i click on insert button in std toolbar, i need to make a field editable. The func code for insert is &LOCAL&INS

  • LiveCycle Form Distribution Fail - OAuth1

    I created a form for distribution using LiveCycle Designer ES4 trial version and cannot send the form, I get an error that it cannot verify the email address. After researching this issue I need to use OAuth2 for Client Side Applications instead of O

  • Wsdl import and message in XI

    HI all, After creating a web service in SAP WAS J2EE. i am importing the wsdl file of the web service using Integration Repository in the external definations. but i am not able to see any message in the list. but i can see messsage tag in the WSDL (

  • RSS Feed Question

    Hi, I'm thinking of writing a code to notify me of new posts, etc and I am planning to use RSS as source. I want to know is there any limitation on how many times we can refresh RSS. Does it block IP if I refresh every 10seconds? Also, how latest are