Add a script to restart fixes during the package upgrade #2
No reviewers
Labels
No labels
bug
duplicate
enhancement
experimental
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
TROMjaro/fixes-package!2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/2/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -12,3 +2,1 @@find /usr/lib/systemd/user/ -name "fix-*.service" -type f -printf "%f\0" | xargs -0 systemctl --global disableecho "Warning: A restart is required to take effect"}killall -r 'fix-(flatpaks-theming|theming|tweaked-desktop-files)'Here it might be better to use this command instead:
@ -15,0 +2,4 @@killall -r 'fix-(flatpaks-theming|theming|tweaked-desktop-files)'sudo -u "$SUDO_USER" setsid -f fix-tweaked-desktop-filessudo -u "$SUDO_USER" setsid -f fix-themingsudo -u "$SUDO_USER" setsid -f fix-flatpaks-themingIf the scripts don't work running as root then try running it like this:
Maybe it creates a sub-process under pacman and that causes some issues, so in that case its good to try this one too:
I'm still learning how these git features work, lol 😄
You're doing very good 😄
Does it work now? Or it still doesn't restart the scripts?
Yeah, unfortunately, it doesn't 😞 We got some
sudousage issues while testing, @tio shared an output in the TROMjaro chat.Unfortunately, this approach most probably won't work 😞 The reason is it's hard to control the scripts running on the user level from the root user or on the system level. I couldn't find any info about that so far, but we can return to this later. Closing for now.
Pull request closed