Add kwriteconfig6 and XCURSOR environment args from SteamOS#2
Open
Add kwriteconfig6 and XCURSOR environment args from SteamOS#2
Conversation
pastaq
requested changes
Feb 1, 2026
pastaq
approved these changes
Feb 1, 2026
tulilirockz
reviewed
Feb 1, 2026
|
|
||
| if command -v kwriteconfig6 >/dev/null; then | ||
| # Chromium (and therefore Steam) ignore XCursor and use only the GTK config | ||
| kwriteconfig6 --file gtk-3.0/settings.ini --group Settings --key gtk-cursor-theme-name steam |
Member
There was a problem hiding this comment.
Could we check this with grep then write only if the key isn't what we expect? Writing stuff every time we open up the session seems odd
Member
Author
There was a problem hiding this comment.
Seems like a good idea, probably need to handle this differently when kwrite isn't present too.
Member
There was a problem hiding this comment.
Seems like a good idea, probably need to handle this differently when kwrite isn't present too.
Good point. We will need to sanitize for DE specifics.
Member
There was a problem hiding this comment.
Could desktop-file-utils or a similar utility be used here? I tihnk it also parses ini files............??
Member
There was a problem hiding this comment.
awk and sed are fairly ubiquitous if you're cool with regex
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes issues with the cursor while using Steam under gamescope, especially on systems shipping KDE.