Xfce Forum

Sub domains
 

You are not logged in.

#1 2013-10-08 07:04:00

king-ghidorah
Member
Registered: 2013-04-19
Posts: 9

Where to put randr command to have it executed at startup?

Hi,


I have a randr line that I would like to be executed every time I log in to arrange the screens the way I like them to be.

#!/bin/bash
xrandr --output VGA1 --mode 1280x1024 --pos 0x0 --rotate left --output DP1 --mode 1680x1050 --pos 1024x0 --rotate normal

I put the above to the Session and Startup > Application Autostart but I does not work. When I run it by hand it works fine.

Where shall I put it? This is XFCE4 on Fedora release 18 (Spherical Cow).

Offline

#2 2013-10-09 08:37:02

warrickguy
Member
Registered: 2013-02-08
Posts: 5

Re: Where to put randr command to have it executed at startup?

Name the script something like 10xrandr and put it in /etc/X11/Xsession.d.   chown  root:root    chmod 744
It won't take effect until after login.

Last edited by warrickguy (2013-10-09 08:42:13)

Offline

Board footer

Powered by FluxBB