There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

[CLOSED] after any any pacman manipulation my layout set up is broking

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?

Max_P ,
@Max_P@lemmy.max-p.me avatar

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 OP ,

thx, I’ll don’t do it anymore

Max_P ,
@Max_P@lemmy.max-p.me avatar

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 ,
@2xsaiko@discuss.tchncs.de avatar

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 OP ,

thx, I got it

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines