forked from mirrored-repos/iso-profiles
[oem] fix optimus-manager
This commit is contained in:
parent
9927ba79bc
commit
e550c78b5a
3 changed files with 47 additions and 2 deletions
|
@ -0,0 +1,31 @@
|
||||||
|
[General]
|
||||||
|
ConfirmSwitching=true
|
||||||
|
HybridIcon=prime-hybrid
|
||||||
|
IntegratedIcon=prime-intel
|
||||||
|
NvidiaIcon=prime-nvidia
|
||||||
|
|
||||||
|
[intel]
|
||||||
|
DRI=3
|
||||||
|
accel=
|
||||||
|
driver=modesetting
|
||||||
|
modeset=yes
|
||||||
|
tearfree=
|
||||||
|
|
||||||
|
[nvidia]
|
||||||
|
DPI=96
|
||||||
|
PAT=yes
|
||||||
|
allow_external_gpus=no
|
||||||
|
dynamic_power_management=no
|
||||||
|
ignore_abi=no
|
||||||
|
modeset=yes
|
||||||
|
options=overclocking
|
||||||
|
|
||||||
|
[optimus]
|
||||||
|
auto_logout=yes
|
||||||
|
pci_power_control=no
|
||||||
|
pci_remove=no
|
||||||
|
pci_reset=no
|
||||||
|
startup_auto_battery_mode=integrated
|
||||||
|
startup_auto_extpower_mode=nvidia
|
||||||
|
startup_mode=hybrid
|
||||||
|
switching=acpi_call
|
|
@ -89,10 +89,10 @@ SessionLogFile=.local/share/sddm/wayland-session.log
|
||||||
|
|
||||||
[X11]
|
[X11]
|
||||||
# Path to a script to execute when starting the display server
|
# Path to a script to execute when starting the display server
|
||||||
DisplayCommand=/usr/share/sddm/scripts/Xsetup
|
# DisplayCommand=/usr/share/sddm/scripts/Xsetup
|
||||||
|
|
||||||
# Path to a script to execute when stopping the display server
|
# Path to a script to execute when stopping the display server
|
||||||
DisplayStopCommand=/usr/share/sddm/scripts/Xstop
|
# DisplayStopCommand=/usr/share/sddm/scripts/Xstop
|
||||||
|
|
||||||
# Enable Qt's automatic high-DPI scaling
|
# Enable Qt's automatic high-DPI scaling
|
||||||
EnableHiDPI=false
|
EnableHiDPI=false
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Optimus Manager
|
||||||
|
Name[zh_CN]=Optimus 管理器
|
||||||
|
Comment=A program to handle GPU switching on Optimus laptops
|
||||||
|
Comment[ru]=Программа для управления переключением графических процессоров на ноутбуках c Optimus
|
||||||
|
Comment[zh_CN]=处理双显卡笔记本电脑 GPU 切换的程序
|
||||||
|
Keywords=nvidia;optimus;settings;switch;GPU;
|
||||||
|
Keywords[ru]=nvidia;optimus;settings;switch;GPU;настройки;видеокарта;
|
||||||
|
Exec=optimus-manager-qt
|
||||||
|
Icon=optimus-manager-qt
|
||||||
|
Terminal=false
|
||||||
|
StartupNotify=false
|
||||||
|
Type=Application
|
||||||
|
Categories=System;Settings;Qt;
|
Loading…
Reference in a new issue