Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

kavishgr/steamdeck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

22 Commits

Repository files navigation

Steam Deck

Collection of scripts for my Steam Deck

Decky Loader Plugins

Polkit Rules

Reasons using polkit:

  • (削除) Custom sudoers file is not being validated (削除ここまで). Have to try this.
  • sudo doesn't work with Bash Shortcuts.

Add rules in /etc/polkit-1/rules.d/

Start and stop sshd without password

49-sshd-nopassword.rules - Able to run systemctl start/stop sshd without a password.

Aliases in .bashrc and .zshrc:

alias start-ssh='systemctl start sshd ; wp-on'
alias stop-ssh='systemctl stop sshd ; wp-off'

Shortcuts in Bash Shortcuts:

start-ssh -> systemctl start sshd
stop-ssh -> systemctl stop sshd

Turn on/off wifi power save

50-wifi-power-management.rules - Add wifi-set-power-save.sh in $HOME/.tools. Run the script with pkexec:

pkexec $HOME/.tools/wifi-set-power-save.sh on/off

Aliases in .bashrc and .zshrc:

alias wp-on='pkexec $HOME/.tools/wifi-set-power-save.sh on'
alias wp-off='pkexec $HOME/.tools/wifi-set-power-save.sh off'

Shortcuts in Bash Shortcuts:

wp-on -> pkexec $HOME/.tools/wifi-set-power-save.sh on
wp-off -> pkexec $HOME/.tools/wifi-set-power-save.sh off

Grub

About

Collection of scripts for my Steam Deck

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /