BoBaH 13
08-05-2024, 22:31
ОС: Linux Mint Debian Edition LMDE-5 x64
Получилось найти рабочий алгоритм получения нужного разрешения в xrandr в линуксе, но до ближайшего ребута:
xrandr --newmode "1366x768" 85,629 1366 1436 1579 1792 768 771 774 798 +hsync +vsync
xrandr --addmode DVI-0 1366x768
xrandr --output DVI-0 --mode 1366x768
// или залетает
xrandr --newmode "1366x768" 85,629 1366 1436 1579 1792 768 771 774 798 +hsync +vsync && xrandr --addmode DVI-0 1366x768 && xrandr --output DVI-0 --mode 1366x768
Хочу сохранить этот профиль в autorandr, но ни как не соображу как это правильно сделать. Пытался через load, save, default, change. Но после перезагрузки опять стоковые 1024х768.
Вот Гитхаб (https://github.com/phillipberndt/autorandr) авторов этого autorandr, здесь о нём с сайта Убунты (https://manpages.ubuntu.com/manpages/bionic/man1/autorandr.1.html) и с его хелпа с терминала:
Usage: autorandr [options]
-h, --help get this small help
-c, --change automatically load the first detected profile
-d, --default <profile> make profile <profile> the default profile
-l, --load <profile> load profile <profile>
-s, --save <profile> save your current setup to profile <profile>
-r, --remove <profile> remove profile <profile>
--batch run autorandr for all users with active X11 sessions
--current only list current (active) configuration(s)
--config dump your current xrandr setup
--debug enable verbose output
--detected only list detected (available) configuration(s)
--dry-run don't change anything, only print the xrandr commands
--fingerprint fingerprint your current hardware setup
--force force (re)loading of a profile / overwrite exiting files
--skip-options <option> comma separated list of xrandr arguments (e.g. "gamma") to skip both in detecting changes and applying a profile
--version show version information and exit
If no suitable profile can be identified, the current configuration is kept. To change this behaviour and switch to a fallback configuration, specify
--default <profile>.
autorandr supports a set of per-profile and global hooks. See the documentation for details.
The following virtual configurations are available:
off Disable all outputs
common Clone all connected outputs at the largest common resolution
clone-largest Clone all connected outputs with the largest resolution (scaled down if necessary)
horizontal Stack all connected outputs horizontally at their largest resolution
vertical Stack all connected outputs vertically at their largest resolution
Сейчас вероятно надо очистить autorandr от моих команд и попыток удаления внесённых изменений.
Подскажите пожалуйста как мне верно подчистить от предыдущих деяний и сохранить нужные настройки xrandr в autorandr.
Я не одинок в таком желании и здесь (https://askubuntu.com/questions/754231/how-do-i-save-my-new-resolution-setting-with-xrandr)есть варианты попыток это сделать, но у меня желание это сделать в autorandr.
Почему линукс говорит что у меня 3,8 Гб оперативки? Вот инфа (https://cloud.mail.ru/public/yPZd/1o4jdqD6o) с соседней на скрине "Загрузить информацию о системе"
https://i.postimg.cc/hGnn9gCB/device-info.png
Получилось найти рабочий алгоритм получения нужного разрешения в xrandr в линуксе, но до ближайшего ребута:
xrandr --newmode "1366x768" 85,629 1366 1436 1579 1792 768 771 774 798 +hsync +vsync
xrandr --addmode DVI-0 1366x768
xrandr --output DVI-0 --mode 1366x768
// или залетает
xrandr --newmode "1366x768" 85,629 1366 1436 1579 1792 768 771 774 798 +hsync +vsync && xrandr --addmode DVI-0 1366x768 && xrandr --output DVI-0 --mode 1366x768
Хочу сохранить этот профиль в autorandr, но ни как не соображу как это правильно сделать. Пытался через load, save, default, change. Но после перезагрузки опять стоковые 1024х768.
Вот Гитхаб (https://github.com/phillipberndt/autorandr) авторов этого autorandr, здесь о нём с сайта Убунты (https://manpages.ubuntu.com/manpages/bionic/man1/autorandr.1.html) и с его хелпа с терминала:
Usage: autorandr [options]
-h, --help get this small help
-c, --change automatically load the first detected profile
-d, --default <profile> make profile <profile> the default profile
-l, --load <profile> load profile <profile>
-s, --save <profile> save your current setup to profile <profile>
-r, --remove <profile> remove profile <profile>
--batch run autorandr for all users with active X11 sessions
--current only list current (active) configuration(s)
--config dump your current xrandr setup
--debug enable verbose output
--detected only list detected (available) configuration(s)
--dry-run don't change anything, only print the xrandr commands
--fingerprint fingerprint your current hardware setup
--force force (re)loading of a profile / overwrite exiting files
--skip-options <option> comma separated list of xrandr arguments (e.g. "gamma") to skip both in detecting changes and applying a profile
--version show version information and exit
If no suitable profile can be identified, the current configuration is kept. To change this behaviour and switch to a fallback configuration, specify
--default <profile>.
autorandr supports a set of per-profile and global hooks. See the documentation for details.
The following virtual configurations are available:
off Disable all outputs
common Clone all connected outputs at the largest common resolution
clone-largest Clone all connected outputs with the largest resolution (scaled down if necessary)
horizontal Stack all connected outputs horizontally at their largest resolution
vertical Stack all connected outputs vertically at their largest resolution
Сейчас вероятно надо очистить autorandr от моих команд и попыток удаления внесённых изменений.
Подскажите пожалуйста как мне верно подчистить от предыдущих деяний и сохранить нужные настройки xrandr в autorandr.
Я не одинок в таком желании и здесь (https://askubuntu.com/questions/754231/how-do-i-save-my-new-resolution-setting-with-xrandr)есть варианты попыток это сделать, но у меня желание это сделать в autorandr.
Почему линукс говорит что у меня 3,8 Гб оперативки? Вот инфа (https://cloud.mail.ru/public/yPZd/1o4jdqD6o) с соседней на скрине "Загрузить информацию о системе"
https://i.postimg.cc/hGnn9gCB/device-info.png