O
O
Orkhan Hasanli2018-12-14 03:54:30
linux
Orkhan Hasanli, 2018-12-14 03:54:30

LMDE how to add new screen resolution and how to upload it?

Hello!
There is a need to add custom screen resolution for LMDE 3 Cinnamon.
I can add a new permission, but I can't add it to startup.
I created a sh script and threw it along the way

/home/user/.config/autostart/user.sh

File contents:
#!/bin/bash
sudo xrandr  --newmode "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 9$
sudo xrandr --addmode eDP-1 1600x900_60.00
sudo xrandr --output eDP-1 --mode 1600x900_60.00

Then I added a new launch to the "Startup" section, specifying the path to the script:
/home/user/.config/autostart/user.sh

After a reboot, the new screen resolution is not applied.
I note that in addition to my script, autorun also contains:
- cinnamon settings daemon - xrandr
- ctrl + alt + backspace (for restart xorg)
and other scripts ...
I would be grateful if you could tell me what exactly needs to be updated.
I note that the above script is working and when added through the terminal in the "Display" section, the required resolution appears and when applied it is displayed correctly

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SOTVM, 2018-12-14
@azerphoenix

in my ~/.config/autostart folder,
in addition to the executable display.sh script that adds the required permission,
there is a button to launch this script display.sh.desktop

[Desktop Entry]
Type=Application
Exec=/home/svm/.config/autostart/display.sh
Hidden=false
X-MATE-Autostart-enabled=true
Name=display.sh

line X-MATE-Autostart-enabled=true
change under cinnamon https://forum.ubuntu.ru/index.php?topic=272217.0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question