- Make a user account named steam, give it a home directory for games and probably don't put it in the sudoers file
- Add it to the groups
input video seat gamemode. seat is for seatd and gamemode will be installed later.
- Add it to the groups
- Install and enable greetd as the login manager and set up the provided config in
/etc/greetd/config.toml(this launches plasma which then autoruns gamescope steam)- This config sets it to auto login to the steam user with no password prompt and call the script which boots straight to steam (which can have lock screen optionally built in to steam)
- Install and enable
gamescope seatd(two separate services to enable)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yay -Pnews | |
| yay -Sy | |
| $HOME/bin/update-linux | |
| yay -Su --cleanmenu=true --answerclean=All --diffmenu=true --answerdiff=All --editmenu=false --answerupgrade=none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # You probably want to change the killall and running ./vaultwarden & | |
| # commands to run the service in this script. Most people prefer systemd. | |
| # I run this with cron as the vaultwarden user so I get unix mail with the | |
| # prints (e.g. if it crashed from broken dependencies or something). | |
| # | |
| # before you run this you need to: | |
| # | |
| # git clone https://github.com/dani-garcia/bw_web_builds | |
| # git clone https://github.com/dani-garcia/vaultwarden vaultwarden.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Copyright 2024 Andy Kallmeyer <ask@ask.systems> | |
| // Model provided under the CC BY-SA 4.0 License | |
| // https://creativecommons.org/licenses/by-sa/4.0/ | |
| // | |
| // If you would like to re-use parts of this code instead of creating a | |
| // variation of the whole model, I am providing the code snippets under the | |
| // MIT License https://mit-license.org | |
| // | |
| // If you make a pill filler from this please use the CC BY-SA 4.0 License. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <sys/procctl.h> | |
| #include <stdio.h> | |
| #include <err.h> | |
| #include <unistd.h> | |
| #include <stdlib.h> | |
| #include <signal.h> | |
| #include <pthread.h> | |
| void child_handler(int signal) { | |
| printf("Child got signal: %d\n", signal); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*?sr/bin/env go run "$0" "$@"; exit $? #*/ | |
| // This is actually not a shebang, the first line is both valid shell script and valid go code | |
| // Just run: chmod +x pass.go; ./pass.go | |
| package main | |
| import ( | |
| "bufio" | |
| "crypto/sha256" | |
| "encoding/base64" | |
| "fmt" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git src/mumble/DirectSound.cpp src/mumble/DirectSound.cpp | |
| index fb2b1d10..238fd853 100644 | |
| --- src/mumble/DirectSound.cpp | |
| +++ src/mumble/DirectSound.cpp | |
| @@ -115,7 +115,7 @@ static BOOL CALLBACK DSEnumProc(LPGUID lpGUID, const WCHAR* lpszDesc, | |
| const QList<audioDevice> DXAudioOutputRegistrar::getDeviceChoices() { | |
| QList<dsDevice> qlOutput; | |
| - qlOutput << dsDevice(DXAudioOutput::tr("Default DirectSound Voice Output"), DSDEVID_DefaultVoicePlayback); | |
| + qlOutput << dsDevice(DXAudioOutput::tr("Default DirectSound Voice Output"), DSDEVID_DefaultPlayback); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Optional plugin manager see: https://github.com/junegunn/vim-plug | |
| " Do this first so we can overwrite anything it does after | |
| "call plug#begin('~/.vim/plugged') | |
| " Automatically source .local.vimrc files in directories you open | |
| "Plug 'thinca/vim-localrc' | |
| "call plug#end() | |
| set title " Set terminal title | |
| set mouse=a " Turn on mouse support | |
| set undolevels=1000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Desktop Entry] | |
| Name=vim | |
| Comment=Edit text files | |
| Exec=vim %U | |
| Terminal=true | |
| Type=Application | |
| MimeType=text/plain; | |
| Actions=new-window;new-document; | |
| Keywords=Text;Editor;Plaintext;Write; | |
| Icon=gvim |
NewerOlder