Skip to content

Instantly share code, notes, and snippets.

@TBye101
Last active March 10, 2023 22:07
Show Gist options
  • Save TBye101/72a2009313a68ba2310b60d05e73fc2a to your computer and use it in GitHub Desktop.
Save TBye101/72a2009313a68ba2310b60d05e73fc2a to your computer and use it in GitHub Desktop.
Arch Problems and Solutions
#These are not necessarily Arch specific, but issues and solutions I found while working in Arch
Problem #1:
Trying to mount a NTFS partition shared with Windows but getting issues about an unclean file system, or metadata kept in a Windows cache?
Solution #1:
run sudo ntfsfix /partition/path to try and fix the partition. May have adverse effects upon Windows should this be the installation partition of Windows.
Problem #2:
Ext4 drive refuses to mount with giving non-root write permissions despite explicitely adding read-write permissions to the mount in /etc/fstab?
#Solution #2:
https://askubuntu.com/questions/252361/how-could-i-mount-an-ext4-partition-and-have-write-permission
Problem #3:
Xrandr sees connected displays, but doesn't utilize them automatically.
Solution #3:
Do something like the command below to add the display.
xrandr --auto --output VGA-0 --left-of DVI-I-0
Problem #4:
Can't seem to give a program like Steam execution permissions on a mounted disk?
Solution #4:
In your /etc/fstab file, the permission modifiers user and users can actually imply the noexec permission modifier. Make sure to put the 'exec' permission after both of these.
Problem #5:
Wrong monitor considered the primary monitor?
Solution #5:
xrandr --output someOutputName(e.g. HDMI1, edp1, etc..) --primary
Problem #6:
Need to make something run on startup?
Solution #6:
https://wiki.archlinux.org/index.php/Systemd#Writing_unit_files
Problem #7: Can't connect to extra monitors?
Solution #7:
Blow away all configs in /etc/X11/ and then xrandr --auto
Problem #8: You are missing the following 32-bit libraries, and Steam may not run: libc.so.6
Solution #8:
steam --reset
Problem #9:
If lightdm doesn't start on boot, but can be run from tty
Solution #9:
add to the lightdm config file: logind-check-graphical=true
Basically your boot is so fast that the graphics driver isn't initialized yet.
Problem #10:
Time in Windows (dual boot) is always wrong
Solution #10:
Set the time in arch to use local datetime just like windows does.
timedatectl set-local-rtc 1 --adjust-system-clock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment