[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:window_managers:dual_monitors [2016/01/12 03:30 (UTC)] – [Cool Switching Script] arfon | howtos:window_managers:dual_monitors [2016/02/03 23:03 (UTC)] (current) – Changed title - no change in info. arfon | ||
---|---|---|---|
Line 1: | Line 1: | ||
<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
- | ====== | + | ====== |
Known to work on Slackware 14.1 and XFCE | Known to work on Slackware 14.1 and XFCE | ||
Line 60: | Line 60: | ||
< | < | ||
#!/bin/bash | #!/bin/bash | ||
- | vPRIMARYMONITOR=" | + | vPRIMARYMONITOR=" |
vLOC=" | vLOC=" | ||
vEXT=$(xrandr -q | grep " connected" | vEXT=$(xrandr -q | grep " connected" | ||
Line 76: | Line 76: | ||
< | < | ||
#!/bin/bash | #!/bin/bash | ||
- | vPRIMARYMONITOR=" | + | vPRIMARYMONITOR=" |
vEXT=$(xrandr -q | grep " connected" | vEXT=$(xrandr -q | grep " connected" | ||
vOnOff=$(xrandr -q | grep $vEXT | sed ' | vOnOff=$(xrandr -q | grep $vEXT | sed ' |