16
submitted 1 month ago* (last edited 1 month ago) by someoneFromInternet@lemmy.ml to c/linux@lemmy.ml

I using sddm and installed awesomeWM. And using /usr/share/sddm/scripts/Xsetup for my dvorak layout(setxkbmap us -v dvorak). But after each pacman update or installation my configuration is not working. I'm new to artix/arch, so can you help me?

top 6 comments
sorted by: hot top controversial new old
[-] Max_P@lemmy.max-p.me 11 points 1 month ago

Don't overwrite system files managed by pacman and it won't break your setup.

Put your script in the corresponding place in /etc where it'll be handled properly, or better yet, do it correctly and set it up directly in your xorg.conf config. Or just use localectl set-keymap dvorak which will do the same thing but also handle non-X11 use cases such as the virtual consoles and Wayland.

[-] someoneFromInternet@lemmy.ml 1 points 1 month ago

thx, I'll don't do it anymore

[-] Max_P@lemmy.max-p.me 6 points 1 month ago

A bit of an extra tidbit of information, that's why things like /usr/local exists: to keep things separate from the distro provided packages. A lot of things have directories in /etc for the sole purpose of isolating "what the distro provides" vs "what the user provides". Often you can mask distro-provided settings by symlinking the same in /etc to /dev/null.

So it's best to assume /usr is managed by your package manager and you shouldn't touch it because it'll be overwritten on next update. Or in the case of immutable distros, you can't even write there yourself.

Plus when you do backups and restores, you can backup /etc, reinstall your distro, then restore your /etc and you should mostly end up back where you were.

[-] 2xsaiko@discuss.tchncs.de 7 points 1 month ago

Do you mean you’re changing that file in /usr? Don’t do that, that is managed by the package manager and will get overwritten on updates. Awesomewm very likely has a way to run a command on startup, use that.

[-] someoneFromInternet@lemmy.ml 1 points 1 month ago

thx, I got it

[-] someoneFromInternet@lemmy.ml 1 points 1 month ago

but how change layout for sddm?

this post was submitted on 18 Aug 2024
16 points (94.4% liked)

Linux

47347 readers
1855 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS