Question Wayland vs Xorg auto start file for gpu control ?

DREDKNOT_2077

Reputable
Nov 5, 2017
115
3
4,595
1
big question and sorry if i sound the noob but her goes

my next two pop builds are going to use wayland compositor over Xorg,
  • one will run on a nvidia gpu
  • the other an AMD i need gpu
fans control for both
im currently using xorg and for when GWE doesn't work i use a custom .desktop file in the autorun folder to control the fans at an during boot and login and when ever GWE fails

[Desktop Entry]
Type=Application
Exec=nvidia-settings -a "[gpu:0]/GPUFanControlState=1" -a
"[fan:0]/GPUTargetFanSpeed=75"
X-GNOME-Autostart-enabled=true
Name=nvidia-fan-speed

what i want to know and need help with is this
  1. can this be edited to cover variable temps an speeds ie 50% speed at 30c an so on rather then one fixed speed an for the AMD gpu
  2. can i make a similar .desktop file to control auto start , fans an temps , an clock speeds
i need to know if it can be made exaclty how to write and formate the file.

the nvidia build will run on my gigabyte 1660 super oc

2nd on my powercolor 6700xt fighter

[mod edit: formatting, spacing and spelling corrected]
 
Last edited by a moderator:

ex_bubblehead

Champion
Moderator
.desktop files do not do anything except launch applications. You can pass fixed parameters on the command line but nothing else. You can use a .desktop launcher to launch a script that handles any additional logic before it then launches the app if you wish.

https://www.baeldung.com/linux/desktop-entry-files
 
Reactions: Dark Lord of Tech

ASK THE COMMUNITY

TRENDING THREADS