You are not logged in.
Maybe we could look at this a different way. What I need to try to find out is how to run this xrandr.sh script at startup. Creating a .desktop and having xfce's Startup Programs run it doesn't work. Neither does adding the lines in the .sh to .xinitrc.
The only way I've gotten it to work is to have conky start at startup, and have conky run the script.
Offline
Anyone have any ideas on how to get this script to run at startup? Conky's not a solution, since it reruns the script every time it updates itself.
Offline
i cannot help you with the script, however you may try to configure xorg.conf as suggested.
Offline
I don't understand why the xinitrc solution doesn't work in your case.
My setup:
Asus laptop N61JQ
Graphics: VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Madison [Mobility Radeon HD 5730 / 6570M]
Desktop Manager: none
Window manager: jwm
$HOME/.xinitrc:
#!/bin/sh
#
# Executed by startx (run your window manager from here)
xrandr --output LVDS --off --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate normal
exec dbus-launch jwmThis works perfectly.
When I had the xrandr command in the jwm startup file, xrandr started to late in the sequence and it sort of worked but there were several glitches.
just my 2 cents,
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
Dear Folks,
I know this one. The startup script is probably called from OP Somnus' home directory, and it's probably called this way:
sh ~/.screenlayout/myscript.sh
Whereas it should be called this way:
sh /home/somnus/.screenlayout/myscript.sh
I believe the "~" variable doesn't refer to the user's home directory from session/startup commands.
This works for me!
Yours,
Glenn
Offline