Çözüldü i3 Config'de sudo izniyle exec kullanmak

Bu konu çözüldü olarak işaretlenmiştir. Çözülmediğini düşünüyorsanız konuyu rapor edebilirsiniz.
Çözüm
Bir bash dosyasını çalıştıracağım.

Kod:
sudo echo "performance" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
sudo cpupower frequency-set -g performance.
sudo preload

Bilmiyorum şu anda arcolinux kullanıyorum.
Bu dosyayı /lib/systemd/system/scaling_governor.servicee koy.

Kod:
[Unit]
Description=Modifies CPU governor.

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=echo "performance" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
ExecStart=cpupower frequency-set -g performance.
ExecStart=preload

[Install]
WantedBy=graphical.target
Koyduktan sonra bu komutu yaz ve yeniden başlat.
systemctl enable scaling_governor.service
CPU'yu açılışta performance governer ile çalıştırmak için aşağıdaki değişken ya da TLP kullanılabilir.

Kod:
cpufreq.default_governor=performance

Preload'ın böyle bir betiğe eklenmesinin, kullanım amacına bir artı katacağını sanmıyorum.
Direkt böyle eklesem olur mu ?
 

Technopat Haberler

Yeni konular

Geri
Yukarı