Jump to content

Changing screen size in script? [solved]


Recommended Posts

You know that little icon in the system tray on which one can right-click and get a speed menu of different screen resolutions? It's cool because it doesn't make me log in again to see the changes.

 

Is there a way to programmatically change the screen size like that? Like in a shell script?

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

I don't know if its quite what you're after, but i only discovered it today while trying to rotate my screen

xrandr -s <size>/<width>x<height>

should allow you to change the resolution manually from the terminal (or from within a script)

 

xrandr -q

shows supported resolutions and

xrandr --help

gives all the help you need

 

hope this helps

 

Owen Mc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...