[.profile]: xrandr
Hello,
In the .profile file, I added: Code:
xrandr --output DVI-I-0 --auto --primary --output DVI-I-1 --auto --right-of DVI-I-0 |
I think the .profile is for configuring the shell environment more than X11.
Perhaps you could save your command as a script, make it executable, and add your script to your Window Manager's startup apps. Use emacs, vi, kate, or whatever text editor you use, to save a file, say ~/.xrandrconfig.sh, with the following contents: Code:
#!/bin/sh Code:
chmod +x ~/.xrandrconfig.sh Another option: If you are the only user, you can also create, in /etc/X11/xorg.conf.d a configuration file, ending in .conf, just for configuring these screens, but I think you will have to use the syntax of xorg.conf and not xrandr. |
In Debian Buster I put my xrandr script in /etc/X11/Xsession.d/.
|
The xrandr command was executed only when a terminal was launched... The System > Preferences > Startup Applications trick works. Many thanks for your help
|
Quote:
In my case, I chose 80custom_xrandrconfig with executable content: Code:
#!/bin/bash |
Does it work if you run it from that location after X is started?
Right-of is the default position of a second display when automagic is used. Where is it located if you don't run xrandr to move it? IME the name of the script doesn't matter, but executability does. https://manpages.debian.org/buster/x...sion.5.en.html times out when I try to open it. |
Quote:
Quote:
Quote:
|
There is no automagic command. Automagic means automatic X configuration on the fly at each X startup using neither xrandr nor xorg.con* files. What is output of
Code:
ls -l /etc/X11/Xsession.d/ |
Quote:
Code:
-rw-r--r-- 1 root root 1062 nov. 15 2017 20dbus_xdg-runtime |
Quote:
|
Quote:
Code:
[ -x /usr/bin/im-switch ] || return 0 |
Have you tried any other names for 80custom_xrandrconfig, such as 10custom_xrandrconfig?
|
Quote:
Anyhow, from the Startup Application window, the command works |
Quote:
|
Another possible solution
Quote:
Code:
[Desktop Entry] |
All times are GMT -5. The time now is 08:15 AM. |