I’ve broken Gamescope/Gaming Mode (I think)
I have the HTC ISO installed and wanted to try it without my PC booting directly to Big Picture Mode, so I used:
sudo rm -r /etc/sddm.conf.d/
It worked perfectly however it has removed the shortcut to return to gaming mode. I know I can log into BPM at the login screen in the bottom left, but I would like to completely reverse what I’ve done.
I rebased but it didn’t resolve. Help please and thanks!
I rebased but it didn’t resolve. Help please and thanks!
32 Replies
Unless someone can provide the config files the only way to restore this is to reinstall.
Be careful making changes in /etc
Next time instead of
rm
rename the file
sudo mv /etc/sddm.conf.d /etc/sddm.conf.d.bak
so you can reverse the process
works even for foldersThanks, it’s a pretty fresh install so no problem reinstalling.
wait
there might be another way you can try first
which is rebasing to non-gaming mode and then back
and hope it merges itself into /etc/ again
this should also restore the shortcut
So I did rebase to the HTC ISO but to no avail
and if it doesn't the shortcut itself can be restored with an
ujust
Is that a simpler option?
please don't blindly delete files in /etc it will very quickly break your install
its root-only for a reason
Yeah I’m getting the learning curve ha
Sorry, explain this to me like the n00b I am please.
ujust --choose
one of the commands is to restore the .desktop
just gotta scroll through the options to find it, i forgot the name
not at a pc right nowNo worries, appreciate the help!
another option is to go to terminal and type
bazzite-session-select gamescope
Unfortunately the ujust option to restore said it was already working and the bazzite-session didnt work because I had removed the .conf file
Currently if i click 'return to gaming mode' it just goes to my login screen
can you try copying the file from
/usr/etc/sddm.conf.d
I removed it didn't I
you cannot remove stuff from /usr lol
So what did it do when i ran sudo rm -r /etc/sddm.conf.d/ ?
/etc and /usr/etc are different places
Right ok
I dont have permission to write to /etc
use sudo
yep i got some chatgpt help, all recreated#
again, thanks for your help!
only issue, is the return to gaming mode mode just sends me to my login screen
its because your sddm autologin setup is broken
i don't think just copying /usr/etc/sddm.conf.d is going to solve that issue
you use gaming mode? maybe there's some user specific setup in sddm that needs to be added
i don't use it so i can't really check
i dont, but i figure it wont hurt to try
i dont think gaming mode works in a VM?
need real gpu afaik
you could go to tty and switch to desktop tho
true
ok let me install bazzite-deck in a VM and I'll get back
will be easy to see if there's something specific like username and stuff
im gonna just compare files between /usr/etc and /etc
will these files help?
https://github.com/ublue-os/bazzite/tree/main/system_files/deck/shared/etc/sddm.conf.d
GitHub
bazzite/system_files/deck/shared/etc/sddm.conf.d at main · ublue-o...
Bazzite makes gaming and everyday use smoother and simpler across desktop PCs, handhelds, tablets, and home theater PCs. - ublue-os/bazzite
or are they the same as
/usr/etc/sddm.conf.d/*
?Ok I borked it so I’m starting fresh
Learnt the hard way by messing with /etc
yeah, don't mess with etc
they contain almost all of your system configuration
Wait what if you uncomment User and put your username there?
assuming those files are the same as the ones located in /usr/etc
have the same issue when i reboot just send me back to desktop mode since i accidentally reset my drive
I can send you the contents of sddm.conf and you can try recreating it?
eh, theoretically you can just copy paste the files in the github folder, remove
#
from the User=
line and add your username, no?