Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  | Правила  

Компьютерный форум OSzone.net » Linux и FreeBSD » Общий по Linux » Debian/Ubuntu - Сохранение текущей настройки xranrd с помощью autorandr

Ответить
Настройки темы
Debian/Ubuntu - Сохранение текущей настройки xranrd с помощью autorandr

Аватара для BoBaH 13

Ветеран


Сообщения: 1214
Благодарности: 221


Конфигурация

Профиль | Отправить PM | Цитировать


Изменения
Автор: BoBaH 13
Дата: 08-05-2024
ОС: Linux Mint Debian Edition LMDE-5 x64
Получилось найти рабочий алгоритм получения нужного разрешения в xrandr в линуксе, но до ближайшего ребута:
PHP код: Выделить весь код

xrandr --newmode "1366x768" 85,629 1366 1436 1579 1792 768 771 774 798 +hsync +vsync
xrandr 
--addmode DVI-0 1366x768
xrandr 
--output DVI---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---mode 1366x768 

Хочу сохранить этот профиль в autorandr, но ни как не соображу как это правильно сделать. Пытался через load, save, default, change. Но после перезагрузки опять стоковые 1024х768.
Вот Гитхаб авторов этого autorandr, здесь о нём с сайта Убунты и с его хелпа с терминала:
Скрытый текст
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.

Я не одинок в таком желании и здесь есть варианты попыток это сделать, но у меня желание это сделать в autorandr.

Почему линукс говорит что у меня 3,8 Гб оперативки? Вот инфа с соседней на скрине "Загрузить информацию о системе"
Скрытый текст

Отправлено: 22:31, 08-05-2024

 


Компьютерный форум OSzone.net » Linux и FreeBSD » Общий по Linux » Debian/Ubuntu - Сохранение текущей настройки xranrd с помощью autorandr

Участник сейчас на форуме Участник сейчас на форуме Участник вне форума Участник вне форума Автор темы Автор темы Шапка темы Сообщение прикреплено

Похожие темы
Название темы Автор Информация о форуме Ответов Последнее сообщение
Разное - [решено] Сохранение ярлыков в утилите "Удалении или сохранение программ" Алекс-01 Microsoft Windows 10 8 19-04-2022 18:07
OpenOffice 3.3: изменить настройки с помощью твика или скрипта old_nick Автоматическая установка приложений 0 06-04-2011 21:51
.NET - Обновление текущей строки DataGridView Delirium Программирование и базы данных 0 28-03-2011 04:55
CMD/BAT - [решено] Сохранение структуры папок и ее воссоздание с помощью командного файла Vadikan Скриптовые языки администрирования Windows 8 22-07-2009 01:56
Microsoft OUTLOOK 2003-сохранение с помощью Autolt TERMINAL AutoIt 1 21-02-2009 16:27




 
Переход