Results 1 to 2 of 2

Thread: change resolution on the fly via a command-line

Hybrid View

  1. #1
    Join Date
    May 2008
    Beans
    12

    Change resolution on the fly via a command-line [SOLVED]

    Hello,
    I can change my screen resolution on the fly via the preference menu. I would like to be able to do the same from command line. The problem is my hardware can't play movies in full resolution. I would like to create a script to change the resolution to 1280x720 when I open VLC and set it back to 1920x1080 when it closes. How can I do that ?

    Thank you
    Last edited by mboisson; May 13th, 2008 at 03:38 PM. Reason: problem solved

  2. #2
    Join Date
    May 2008
    Beans
    12

    Re: change resolution on the fly via a command-line

    I found the solution, with the xrandr command :

    xrandr --output default --mode 1280x720

    xrandr --output default --mode 1920x1080

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •