[Solved] Set Screen Resolution in Openbox

Is there a utility to set the screen resolution in Openbox?
Last edited by Wintervenom (2008-09-26 07:43:03)

You can make an Openbox submenu with various xrandr settings.
Like so:
<menu id="res-menu" label="Resolution">
<separator label="Resolution"/>
<item label="1280x1024">
<action name="Execute">
<execute>
xrandr -s 1280x1024
</execute>
</action>
</item>
<item label="1024x768">
<action name="Execute">
<execute>
xrandr -s 1024x768
</execute>
</action>
</item>
<item label="800x600">
<action name="Execute">
<execute>
xrandr -s 800x600
</execute>
</action>
</item>
Of course, you need to have those modes defined in xorg.conf.
Last edited by moljac024 (2008-09-26 00:06:37)

Similar Messages

  • Skippy-xd and cairo-dock ignore screen resolution in openbox

    Hey, this is the first time I'm posting since I usually solve my problem using this forum and google but I this time they failed me.
    I recently switched from gnome to openbox and in the process of making myself comfortable I installed first skippy-xd and then cairo-dock.
    I had to set the screen resolution (1920x1080), which was too low in the beginning, using xrandr and while trying to solve my problem I also created "/etc/X11/xorg.conf-d/10-monitor.conf". Unfortunately skippy-xd seems to ignore the new resolution when I enter the window picker and I end up having the window overview only covering a part of my screen. First I thought that was a skippy-xd specific problem but after installing cairo-dock I noticed, that the dock got displayed at the bottom of the same "window" that skippy occupied. So I guess there has to be some underlying problem that causes both of these programs to ignore my set screen resolution and instead go with the one openbox assigned to me in the beginning.
    The same configuration works flawless on my laptop. And I search google up and down in order to find a solution.
    Thanks in advance,
    meloxu

    I saw your post, and had found it incredulous that you have a 1920x1080 display.  A bit of research and I found I was wrong.
    So, it appears you are driving the panel at its native resolution.  Unfortunately, trying to determine what you mean by "Fuzzy" is probably going to be like trying to nail Jello to a tree.  But, let's give it a shot.  Is it fuzzy before you start X?  Are lines and shapes fuzzy? Or is it just text that is fuzzy?
    If it is just fonts, it could be a problem with hinting.  Hinting is where the edges of fonts are deliberately fuzzed and feathered to get the kerning correct when the physical pixels of the display don't quite line up.  This works well, unless the thing doing the hinting does not understand the geometry of the display.  In a color LCD, each pixel is actually made up of smaller sub pixels, generally three -- A red, a green, and a blue.  Green is usually in the middle.  Some displays have Two greens per pixel, arranged RGBG.  Some displays even have yellow subpixels.  Sometimes the subpixels are arranged left to right, sometimes they are arranged top to bottom.  Long story short, if you have hinting enabled, but the geometry is configured incorrectly, bad things happen.   Take a look at this wiki article

  • How to set screen resolution on Apple TV Gen2

    This is my first bad out of the box experience with an Apple product. I got my brand new Apple TV Gen 2 and hooked it up to our Sony Receiver/TV.
    Plugged everything in. Turned it on and I got the screen but am not able to change resolution. With the current resolution I can not see all the menus and the display does not fit on the 40" display.
    Tried unplugging.
    Tried doing a reset.
    Tried holding the Menu & Down arrow
    Tried looking through the menus, such as Settings, Video & Audio but can't find anything on setting screen resolution
    Tried searching this forum for instructions for changing resolution
    Much appreciation in advance for any tips or magic tricks on setting screen resolution.

    i also have this problem. i had a long discussion with apple support and the result was that apple tv 2 is not build for connecting it to a receiver but only to a up-to-date flat TV. i don´t know how i managed it to use the 720p resolution but as i had it i set the auto power to off and let it switched on all the time.
    after the update to 4.2.1 it had no chance to get it to 720p. it is locked to 1024x768 which is not the resolution i want to watch HD movies.
    but my setup is not a normal one. i have a onkyo AV receiver which is sending the HDMI signal over a HDMI splitter to an LCD screen and a HD beamer. the LCD screen is an old one which has no HDMI input, i use a HDMI to analog-component converter for this. the HDMI output of the onkyo is connected to a wireless HDMI system from marmitek.
    so its not so the ideal setting for apple tv. i hope that everything works fine if i have a new flat TV with a normal HDMI input.

  • Can't set screen resolution

    I have a Lenovo Yoga 2 Pro.  The native resolution is 3200x1800.  On archlinux (running latest Gnome3), I don't have the option to set the resolution to 1080p (1920x1080).  However, I do have this option on Ubuntu and it works perfectly.
    I have read https://wiki.archlinux.org/index.php/xr … esolutions and did what it says.  Here's my script to change the resolution:
    xrandr --newmode 1080p 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
    xrandr --addmode eDP1 1080p
    xrandr --output eDP1 --mode 1080p
    gsettings set org.gnome.desktop.interface text-scaling-factor 1.0
    It worked for a while, but a few months ago, it stopped working.  When I run this script, the screen would blink twice, and go back to 3200x1800.  I ran the script with `journalctl -f` on, and here's what's in my logs:
    Mar 21 11:45:42 sargas gdm-Xorg-:0[303]: (II) intel(0): resizing framebuffer to 1920x1080
    Mar 21 11:45:42 sargas gdm-Xorg-:0[303]: (II) intel(0): switch to mode [email protected] on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
    Mar 21 11:45:43 sargas gdm-Xorg-:0[303]: (II) intel(0): resizing framebuffer to 3200x1800
    Mar 21 11:45:43 sargas gdm-Xorg-:0[303]: (II) intel(0): switch to mode [email protected] on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
    You can see it switched right back to 3200x1800.  I don't see any information in other logs such as the X logs.  Any idea how I go about debugging it?  I know it's a supported resolution since I can change to it under Ubuntu and it used to work under Arch.
    Thanks in advance!

    My sysadmin skills are rusty. I'm not sure how to see how it was mounted. I selected it from the vm's Devices menu and it gets mounted under /media.
    -r-xr-xr-x 1 pnosko root 2825675 Jun 25 10:00 VBoxLinuxAdditions-x86.run
    [root@oracle11gr2 VBOXADDITIONS_3.2.6_63112]# head -5 V*86.run
    #!/bin/sh
    # This script was generated using Makeself 2.1.5
    CRCsum="323821212"
    MD5="27c56ae5150d4947b538ddc6e66a0b19"
    It is executable, and I believe a ./VBoxLinuxAdditions-x86.run runs it, and yes, by "points to" I meant the first line in the script. So I'm not sure why I have to invoke it as */bin/sh* ./VBoxLinuxAdditions-x86.run to get it to run successfully.
    I'm obviously beyond this, but if you have an answer it would satisfy a bit of curiosity.
    After installing the additions, I can still only run at 1600x1200. I can live with this. I suspect it's a VirtualBox limitation since I can only give 128mb to video memory. After the GUI oracle11g database install, ssh is all I need anyway.
    Thanks all.

  • How to set screen resolution in BDC

    hi pls give info regarding how to set resolution for screen
    thank you
    Ravi

    hi,
    For screen resolution use ctu_params, with default size
    Data : f_option type ctu_params,
    f_option-updmode = 'S'.
    f_option-defsize = 'X'.
    f_option-dismode = 'N'.
    call transaction 'VA01' using bdcdata options from f_option messages into bdcerror.
    CALL TRANSACTION tcode... OPTIONS FROM opt
    ... OPTIONS FROM opt
    Effect
    Allows you to control processing using the values of the componetns of the structure opt, which must have the ABAP Dictionary type CTU_PARAMS. The components have the following meanings:
    DISMODE
    Display mode (like the MODE addition)
    UPDMODE
    Update mode (like the UPDATE addition)
    CATTMODE
    CATT mode (controls a CATT)
    CATT mode can have the following values:
    ' ' No CATT active
    'N' CATT without single-screen control
    'A' CATT with single-screen control
    DEFSIZE
    Use default window size
    RACOMMIT
    Do not end transaction at COMMIT WORK
    NOBINPT
    No batch input mode (that is, SY-BINPT = SPACE)
    NOBIEND
    No batch input mode after the end of BDC data.
    The components DEFSIZE , RACOMMIT, NOBINPT, and NOBIEND always take the following values:
    'X' Yes
    ' ' No
    If you do not use the OPTIONS FROM addition, the following control parameter settings apply:
    DISMODE
    From addition MODE
    UPDMODE
    From addition UPDATE
    CATTMODE
    No CATT active
    DEFSIZE
    Do not use default window size
    RACOMMIT
    Successful end on COMMIT WORK
    NOBINPT
    Batch input mode active ( SY-BINPT = X
    NOBIEND
    Batch input mode remains active after the BDC data

  • Setting screen resolution in OpenBoot

    I just got a new LCD KVM switch just will not support the default Screen Resolution in Openboot(1152x900?)
    I entered this command
    ok setenv output-device screen:r1024x768x60
    output-device = screen:r1024x768x60
    ok reset-all
    But the setting just doesn't seem to register as the system stil boots up with the default resolution.
    I'm using a Sun clone from Donovan with an UltraSPARC-IIi with Openboot version 3.14.0.
    Am I doing anything wrong?

    Well I tried the command on an Ultra60 Creator3D workstation and it seem to work just fine. I guess its the onboard graphics of the Donovan workstation thats giving me the problem. So it's a different issue.

  • How can set screen resolution on firefox , i know zoom in and out but i want set my broswer to my favorie levelof zoom

    hi
    how can set my firefox screen resolution ( i know zom in and zom out but when i restart my firefox , it chanaged to perviose level of zoom )

    In case you are using "Clear history when Firefox closes":
    *do not clear the Site Preferences
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords and website specific setting like the page zoom.
    Clearing cookies will remove all specified (selected) cookies including cookies with an allow exception.

  • Setting screen resolution on a retina MacBook Pro

    If I need my screen resolution to be 1920x1080, how do I set that in System Preferences>Displays?
    Thanks very much.

    well I found SwitchResX wich seems to not only give me the resolution in numbers it also gives me alot more control of the screen settings.

  • WPB help setting screen resolution

    Hi,
    Just started using WPB and discovered we need to change the screen resolution in our 30 installs of Instant Producer.
    I've changed the resolution setting in Producer and would like to upload the settings to Manager so the Instant Producer users can access it and download it to there computers. I've searched through the Producer guide, but unable to locate any instructions on how to do this. Is anyone familiar with the steps involved to change the settings in the Instant Producer installs.
    Thanks,
    Dave

    Search the forum using the keywords "screen resolution" would be a good place to start.

  • [SOLVED] Changing screen resolution with xrandr.

    Been googling around after a way to change my screen resolution.
    I'm on a Acer Aspire Timeline 3810t with the resolution 1366x768.
    I wanted to change my resolution to something like 1900x1200 and found a guide explaining how to do this with xrandr.
    This is what I did:
    jorgen ~ $ xrandr
    Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
    LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 293mm x 165mm
       1366x768       60.0*+
       1024x768       60.0 
       800x600        60.3     56.2 
       640x480        59.9 
    VGA1 disconnected (normal left inverted right x axis y axis)
    HDMI1 disconnected (normal left inverted right x axis y axis)
    DP1 disconnected (normal left inverted right x axis y axis)
    DP2 disconnected (normal left inverted right x axis y axis)
    TV1 disconnected (normal left inverted right x axis y axis)
    jorgen ~ $ cvt 1900 1200
    # 1904x1200 59.93 Hz (CVT) hsync: 74.61 kHz; pclk: 191.00 MHz
    Modeline "1904x1200_60.00"  191.00  1904 2032 2232 2560  1200 1203 1213 1245 -hsync +vsync
    jorgen ~ $ xrandr --newmode "1904x1200_60.00"  191.00  1904 2032 2232 2560  1200 1203 1213 1245 -hsync +vsync
    jorgen ~ $ xrandr --addmode LVDS1 1904x1200_60.00
    X Error of failed request:  BadMatch (invalid parameter attributes)
      Major opcode of failed request:  150 (RANDR)
      Minor opcode of failed request:  18 (RRAddOutputMode)
      Serial number of failed request:  33
      Current serial number in output stream:  34
    Does anybody have an idea about what I am doing wrong, or why I get this error?
    Last edited by jorg1 (2011-03-12 04:20:39)

    jorg1 wrote:
    Ok, I found some good documentation - the wiki. (Been in ubuntu so long that I forgot to check the official documentation before going to the forums :S)
    Made myself a 10-monitor.conf file:
    Section "Monitor"
        Identifier    "Monitor0"
    EndSection
    Section "Device"
        Identifier    "Device0"
        Driver        "intel"
    EndSection
    Section "Screen"
        Identifier    "Screen0" 
        Device        "Device0"
        Monitor       "Monitor0"
        DefaultDepth  24
        SubSection "Display"
            Depth     16
            Modes     "1900x1200_60.00" #Choose the resolution
        EndSubSection
    EndSection
    But it still won't switch to any other resolution than 1366x768. Anybody see anything wrong with this?
    Good, you've learnt to use the wiki, please do that first from now on (google as well). Also, please use code-tags, makes it easier to read code/conf-files.
    It looks like you're trying to set your laptop screen to a resolution higher than it can go. Hint: not possible. If you had an external screen with a higher res then you could use that, but the resolution is limited both by the screen and the graphics card, and I haven't heard of any laptop screen with such a high resolution.

  • Dynamically set Screen Resolution...

    Hi All,
    Does anybody have an idea of whether its possible to set the screen resolution when starting an Java application and how you would go about doing it?

    Hi All,
    Does anybody have an idea of whether its possible to set the screen resolution when starting an Java application and how you would go about doing it?

  • 13" Cannot set screen resolution in Windows 7 to 1440 by 900

    Just finished installing BootCamp with Windows 7 Pro. For some reason the screen resolution in Windows display driver only goes up to 1200 not 1440 x 900. On MacOS it is obviously working fine. Any ideas?

    On my MacBook Air 11 with Windows 7 64 bit I experience an even worse situation: when ever trying to install a NVidia driver (also when following the mentioned instructions) the setup executable reports - after a check of system compatibility - that no compatible graphic hardware (=320m) could be found. Luckily at least MacOS X is aware of a NVidia 320m installed.
    Any Idea? Thanks

  • How do I set screen resolution?

    I need to check and reset screen resolution on my MacBook in order to connect it to a new TV.
    Thanks

    Use the Displays preferences in System Preferences.

  • [solved]Different Screen Resolution for different Users[/solved]

    hello
    i'm running kdemod
    i'd like to set up an account for my mum
    she prefers a resolution of 800X600
    whereas i like 1024X768
    my xorg.conf is set up like
    Section "Screen"
    Identifier "Screen0"
    Device "Videocard0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "0"
    Option "TwinViewXineramaInfoOrder" "CRT-0"
    Option "metamodes" "1024x768 +0+0"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    when i log into the newly created account and use nvidia-settings
    the resolution can be changed successfully
    but upon restarting
    it reverts back to 1024X768
    i'd like to know how i could set up different resolutions for both of us
    Last edited by nikbhardwaj (2009-10-03 12:23:21)

    arkham wrote:You could add a startup script for your user with "xrandr -s 1024x768", while adding another for your mother account with "xrandr -s 800x600"
    where do i add this
    .xinitrc in the home directory ??
    or .xsession in the home directory

  • [SOLVED] Virtual screen resolution in xorg.conf being ignored

    I'm trying to configure a dual monitor set up but xrandr is telling me the max screen size is 1600x1600. I have already enterd a virtual resolution in xorg.conf.
    Section "ServerLayout"
    Identifier "aticonfig Layout"
    Screen 0 "aticonfig-Screen[0]-0" 0 0
    EndSection
    Section "Files"
    EndSection
    Section "Module"
    EndSection
    Section "Monitor"
    Identifier "aticonfig-Monitor[0]-0"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    EndSection
    Section "Device"
    Identifier "aticonfig-Device[0]-0"
    Driver "fglrx"
    BusID "PCI:1:0:0"
    EndSection
    Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device "aticonfig-Device[0]-0"
    Monitor "aticonfig-Monitor[0]-0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Virtual 2832 1050
    EndSubSection
    EndSection
    When I first installed Arch I was using the radeon drivers. I had no problem configuring my monitors the way I wanted. Now I'm using catalyst and getting errors.
    Am I just doing something wrong?
    Last edited by thetoxikavenger (2010-06-06 15:58:18)

    I didn't really fix the issue with xrandr, but I did manage to get my dual monitors to work with Xinerama.

Maybe you are looking for

  • Can't boot after imaging hard drive

    Hi, I have two T60 laptops.  I reimaged both and one boots fine.  The other only goes to a blinking cursor.  Is this due to the security chip?  I went into the bios, but it already said disabled. It shows this message right before it goes to the blin

  • ALV to Excel Format problem

    Hello Freinds, I am trying to download the o/p of ALV report into an excel sheet.But the o/p in excel sheet is distorted to some extent.Some of the headers appear in the next line even if there is no limit of rows in office 2007 which is there on my

  • Item Codes-Automatic(urgent)

    Hi All, I want to define Item Code as Default i.e In SAP How we are getting the Default numbering for eg.1,2,3,4.........I want in the same way for the Item Code.IS IT POSSIBLE through Query based FMS or any other way?? Thanks in Advance. mona

  • EXCISE REGISTER NEW FORMAT

    Hi, All Excise register printout we getting as per old format. Most of the data are not appearing. is there any notes available to get the new format

  • Routing and Geocoding with Oracle Maps

    Hi, Has anyone displayed routes from the Routing Engine as a layer on Oracle Maps? Is this possible yet? I'm scratching my head trying to figure this one out. If anyone could help that would be great. Cheers Dave