Skip to content

Instantly share code, notes, and snippets.

@bxt
Created July 18, 2011 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save bxt/1090081 to your computer and use it in GitHub Desktop.
Save bxt/1090081 to your computer and use it in GitHub Desktop.
IceWM Dual Screen expanding howto (very basic)

Step 1: Make sure xrandr works fine

Check your screen's names by typing:

xrandr -q

Step 2: Expand your screen

Then disable one of them: (notice VGA-1 is the name of the screen, will differ, e.g. HDMI-1 if the screen is connected via HDMI)

xrandr --output VGA-1 --off

And then expand it:

xrandr --output VGA-1 --auto --left-of DVI-I-1

Depending on which screen turned black after the first command, you can choose left/right here.

Step 3: Restart IceWM

At this point it should pretty much look like the final result, except you can't move windows to the other screen. Just right-click on the background and choose Logout... > Restart Icewm, be sure to click the arrow symbol for opening the log out menu.

And that did it for me.

Sources

I found a thinkwiki.org entry on xrandr which explains everything with nice examples, so you don't need to read manpages and figrue options.

Everything else is from a question in IceWM mailing list about dual screen.

@pjtait
Copy link

pjtait commented Jan 17, 2018

Nice succinct accurate instructions, thanks!

@T-3B
Copy link

T-3B commented Jan 6, 2023

Worked like a charm, thanks!

Did not even need to restart icewm.

It's just a shame that the taskbar is only on one of the 2 screens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment