gbano
Member
Posts: 19
Likes: 10
|
Post by gbano on Jun 12, 2021 15:41:20 GMT
Hello,
I‘m using a dual screen: Laptop + attached external monitor. Coming from a Mint experience, I might have expected the system recognises the additional screen and switches automatically to settings stored before. But no.
I like to have the external screen to the left of the main one, so went into AR&R and adjusted the settings. But it won’t remember. So saved them as a .sh file, so ok, I now have a shell script with the settings.
But every time I activate the second screen, I need to open this shell file and apply it. Run ing the shell file automatically would also not work as I don’t always have the 2nd screen attached.
I‘m wondering what the trick is to automate this…🤔
|
|
|
Post by Hippytaff on Jun 12, 2021 16:37:04 GMT
You could add the script to startup applications maybe.
|
|
milfer
Member
Posts: 8
Likes: 9
|
Post by milfer on Jun 12, 2021 17:58:30 GMT
Hello, I‘m using a dual screen: Laptop + attached external monitor. Coming from a Mint experience, I might have expected the system recognises the additional screen and switches automatically to settings stored before. But no. I like to have the external screen to the left of the main one, so went into AR&R and adjusted the settings. But it won’t remember. So saved them as a .sh file, so ok, I now have a shell script with the settings. But every time I activate the second screen, I need to open this shell file and apply it. Run ing the shell file automatically would also not work as I don’t always have the 2nd screen attached. I‘m wondering what the trick is to automate this…🤔 Hi gbano, I use dual monitor too, but in 99 per cent laptop lid is closed. Try this. Go settings, add ACPI event (settings > input > ACPI bindings). You can add lid opened, and lid closed event. And then append your shell script. Right side panel "Launch section" > command and type path to your script. I did not try this. I use my script in "Moksha autostart".
|
|
enigma9o7
Crew Member
 
Posts: 1,054
Likes: 1,108
|
Post by enigma9o7 on Jun 13, 2021 1:55:40 GMT
To save the settings using the included AR&R, there is an option "save to moksha". There is an icon for it, or its available on the drop down menu.
This will add an xrandr command to ~/.e/e/applications/startup/startupcommands with your current settings, so apply any desired changes before saving.
But if that second monitor is HDMI, you will get an error if its not turned on when you boot, and you will have to activate it later when you do turn it on. I dont know any way to automate it either. (I do know how to hide the error msg popup tho...)
|
|
gbano
Member
Posts: 19
Likes: 10
|
Post by gbano on Jun 14, 2021 19:55:59 GMT
To save the settings using the included AR&R, there is an option "save to moksha". There is an icon for it, or its available on the drop down menu.
This will add an xrandr command to ~/.e/e/applications/startup/startupcommands with your current settings, so apply any desired changes before saving.
But if that second monitor is HDMI, you will get an error if its not turned on when you boot, and you will have to activate it later when you do turn it on. I dont know any way to automate it either. (I do know how to hide the error msg popup tho...)
Right… I tried this and it worked. It goes straight into dual screen mode with the external monitor to the left when I start it. Hiwever, when I pull the external monitor cable, it remains in dual screen mode and the mouse indicator just vanished of the screen when I move it beyond the left border. It‘s good enough for now although I am still wondering how to make Moksha adjust to the available hardware like Mind does. That‘s for next time…
|
|