RE: Добавление .sh скрипта в автозагрузку

Всем привет, поменял разрешение с помощью xrandr команд, создал скрипт, но не знаю как добавить его в автозагрузку. Может кто подскажет?

P.S Без xrandr’a разрешение поменять нереально

Я сейчас юзаю deepin , первый моник 1920*1080 по dvi (vga) , второй телик 32 » hd, все норм работает. Видео nvidia 560. Правда пришлось поплясать с xorg.conf .

Пример моих настроек. Без

HorizSync 30.0 — 82.0
VertRefresh 56.0 — 76.0

не ставилось нормально разрешение. может кому поможет.


# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 361.42 (buildd@lgw01-18) Tue Apr 5 14:33:28 UTC 2016

 

Section «ServerLayout»
Identifier «Layout0»
Screen 0 «Screen0» 0 0
InputDevice «Keyboard0» «CoreKeyboard»
InputDevice «Mouse0» «CorePointer»
Option «Xinerama» «0»
EndSection

Section «Files»
EndSection

Section «Module»
Load «dbe»
Load «extmod»
Load «type1»
Load «freetype»
Load «glx»
EndSection

Section «InputDevice»

# generated from default
Identifier «Mouse0»
Driver «mouse»
Option «Protocol» «auto»
Option «Device» «/dev/psaux»
Option «Emulate3Buttons» «no»
Option «ZAxisMapping» «4 5»
EndSection

Section «InputDevice»

# generated from default
Identifier «Keyboard0»
Driver «kbd»
EndSection

Section «Monitor»

# HorizSync source: builtin, VertRefresh source: builtin
Identifier «Monitor0»
VendorName «Unknown»
ModelName «CRT-1»
HorizSync 30.0 — 82.0
VertRefresh 56.0 — 76.0
Option «DPMS»
EndSection

Section «Device»
Identifier «Device0»
Driver «nvidia»
VendorName «NVIDIA Corporation»
BoardName «GeForce GTX 560»
EndSection

Section «Screen»

# Removed Option «metamodes» «nvidia-auto-select +0+0»
Identifier «Screen0»
Device «Device0»
Monitor «Monitor0»
DefaultDepth 24
Option «Stereo» «0»
Option «nvidiaXineramaInfoOrder» «CRT-1»
Option «metamodes» «1920×1080 +0+0; nvidia-auto-select +0+0»
Option «SLI» «Off»
Option «MultiGPU» «Off»
Option «BaseMosaic» «off»
SubSection «Display»
Depth 24
EndSubSection
EndSection


    
Новичок Отвечено 17.08.2017.

Ваш ответ