Arch Linux is a simple, lightweight Linux distribution aimed at keeping things simple. Use this tag for questions not applicable to other distributions.

learn more… | top users | synonyms

115
votes
16answers
26k views

Any reason NOT to run Linux in a VM all the time?

I've switched to using Arch Linux for most of my day to day work and don't need Windows for anything but gaming and the couple of apps that aren't ported to Linux like OneNote. My Linux distro is ...
25
votes
5answers
12k views

How to easily build your own Linux Distro? [duplicate]

I wanted to have a go at creating my very own Linux Distribution. Could you suggest some nice and easy-to-follow tutorials (preferably text based and not videos). I have heard something about Arch ...
23
votes
1answer
16k views

How to disable auto suspend when I close laptop lid?

I'm using archlinux. It never auto-suspend before a recent system upgrade(maybe I updated the kernel?). I think it is related to laptop-mode or acpid, so I stop them: /etc/rc.d/laptop-mode stop ...
18
votes
4answers
5k views

How to properly and easy configure `xdg-open` without any enviroment?

I'm using OpenBox window manager without any desktop enviroment. xdg-open behaves strangely. It opens everything with firefox. $ xdg-settings --list Known properties: default-web-browser ...
17
votes
2answers
583 views

Prompt for password during boot with systemd service

This is relevant to Arch Linux (and perhaps other distributions using systemd). I want to mount a TrueCrypt partition at boot. With the old sysvinit, this was pretty straight forward with a script ...
14
votes
3answers
4k views

In Arch Linux how can I find out which package to install that will contain file X?

I'm looking for a package that provides a specific binary, so I can install it. how can I search to find out what packages provide this binary? (note: I know there's at least one tool that does this, ...
14
votes
4answers
8k views

Why is almost every program complaining about my locale?

I'm using Arch Linux, and I've followed the directions on the wiki about setting my locale. Nearly every program that runs complains about the locale - even locale. It looks like this: % locale ...
14
votes
2answers
7k views

Booting native Arch Linux on an Android device

I have a Galaxy Note 10.1 (n8010) and I want to make it boot Arch Linux natively. I mean boot Arch Linux instead of android. All that I need is to alter the initramfs, which I can't find anywhere in ...
13
votes
1answer
1k views

Why are reboot, shutdown and poweroff symlinks to systemctl?

In Arch Linux, if I do ls -l in /sbin, I can see that reboot, shutdown and poweroff are all symlinks to /usr/bin/systemctl. But issuing reboot, shutdown and systemctl commands obviously does not all ...
13
votes
3answers
5k views

How do I minimize disk space usage

One of my machines is the 2GB EeePC Surf, a neat netbook with very limited resources. So limited that right now, I have 22MB free space left. On it, I'm running Arch Linux with the Openbox DE and a ...
11
votes
3answers
4k views

sudo cannot open /etc/sudoers

sudo does not work. I have installed Arch Linux onto a USB key formatted with BTRFS. The output of sudo is: $ sudo sudo: unable to stat /etc/sudoers: Permission denied sudo: no valid sudoers sources ...
11
votes
3answers
6k views

How to get VIM to display 256 colors properly

I'm trying to get 256 color theme files to work with VIM under xterm. This is peaksea how it looks for me: How it should look: I've tried following the tips on the wiki page to no avail. set ...
11
votes
1answer
1k views

Fix Fn-keys for keyboard illumination

I've tried following the Ubuntu hotkeys/media keys troubleshooting guide and /usr/share/doc/udev/README.keymap.txt.gz to make the Fn keys work. After copying the map file and modifying ...
10
votes
2answers
2k views

Update only one package with pacman

Is there a way to update only selected programs in pacman? I'm running ArchLinux on my netbook, and the complete upgrade of my system takes up more temporary space than I have on my system, so I'd ...
10
votes
3answers
2k views

Can I create a virtual ethernet interface named eth0?

This is a rather odd question, because normally it would not make sense to do that. I am running Arch based on the Linux 3.10.5-1 kernel. The system uses the new de-facto naming conventions of ...
9
votes
1answer
12k views

How do I force remove a package in Arch with pacman?

How do I force remove a package in Arch with pacman while other packages still depend upon it. pacman -R perl-libwww checking ...
9
votes
5answers
8k views

XFS vs Ext4 vs Others - which file system is stable, reliable, for long run such as 24/7 case

XFS and Ext4 file system which one is really stable and reliable for long run with heavy disk write and read? the system will be used in a place where 24/7 is in service, and every second there is ...
9
votes
2answers
1k views

Why are there no -dev packages in Arch Linux?

I understand that source based distributions like Gentoo or Slackware do not need *-dev versions of programs. They include the source code as well as header files for compiling everything locally. ...
9
votes
5answers
1k views

Laptop running ~30° hotter than normal; CPU/Load is reportedly normal. What could cause this and how can I diagnose it?

I'm running the latest Arch Linux on my ThinkPad t420 laptop, and am having an intermittent heat problem where my temp will rise from the typical ~45°C to ~75-90°C, and stay there until I reboot. ...
9
votes
2answers
2k views

What is Arch Fallback in Arch boot menu?

What is exactly "Arch Fallback" in the Arch boot menu?
9
votes
1answer
1k views

archlinux aif command not found

I`m pretty much a newbie to linux and a complete newbie to archlinux. I started Archlinux after grub and I see a [root@archiso ˜]# command bash. The installation guide tells me to either type ...
9
votes
2answers
704 views

Receiving Syslog messages with a systemd Arch Linux

I'm feeling like I've overlooked the obvious, but I can't figure out how to get my Arch Linux server, which uses systemd, to receive and log syslog messages from a remote system. I have a Cisco 678 ...
9
votes
2answers
1k views

“Only root can mount” error - but I am root

Yesterday I was able to mount my smb share with the following command: sudo mount -t cifs //XXXX/share /media/share -o user=Ben,password=XXX,workgroup=WORKGROUP,ip=XXX.XX.XX,uid=ben,gid=ben,rw I ...
9
votes
2answers
535 views

How to Save X Session — ArchLinux+Openbox

I use Arch Linux and Openbox. How can I save the state of my current openbox/X session and later restart them? The scenario is like this: I've several browsers windows open, terminals, file ...
8
votes
1answer
7k views

Pacman -Syu fails `/bin exists in filesystem`

I was trying to upgrade my arch linux with pacman -Syu after having returned from vacation and now I get this error that I cannot quite make sense of: (133/133) checking for file conflicts ...
8
votes
2answers
4k views

How to investigate cause of total hang?

My Arch machine sometimes hangs, suddenly not responding in any way to the mouse or the keyboard. The cursor is frozen. Ctrl-Alt-Backsp won't stop X11, and ctrl-alt-del does exactly nothing. The ...
8
votes
2answers
8k views

using sudo on GUI applications

When I was using kubuntu, I could always open X applications with sudo, sudo kate for example. Now that I've switched to arch that doesn't work. I know I've always been told to use kdesu, but what ...
8
votes
3answers
9k views

How can I chroot into a filesystem with a different architechture?

I'm trying to chroot into a Arch Linux ARM filesystem from x86_64. I've seen that it's possible to do using static qemu by copying the binary into the chroot system: $ cp /usr/bin/qemu-arm ...
8
votes
3answers
12k views

How do I configure the GNOME gdm login screen?

I recently installed Arch Linux and have it mostly set up. With many other Linux distributions, there is a tool that is used to configure the look and feel of the login screen. I would like to change ...
8
votes
1answer
3k views

Is there a way to adjust the formatting of the date/time in the GNOME 3 login screen and desktop?

I'm specifically looking to change the formatting in two places: On the desktop, the date/time reads "Sat 21:05". I would like it to read "23-Jul-11 21:05" or "23 Jul 11 21:05". In other words, I ...
8
votes
1answer
14k views

Mounting USB drive that is not recognized

Using Arch Linux / XFCE, I frequently have problems with USB drives that are not properly mounted. Sometimes they automatically show up in Thunar and I can mount them with one click. However, at other ...
7
votes
2answers
7k views

Installing a .deb package on Arch - Is it possible?

The problem is simple - I have a .deb package and I want to install it on my Arch Linux. Is this possible? If yes, how?
7
votes
3answers
2k views

Why does rsync fail to copy files from /sys in Linux?

I have a bash script which uses rsync to backup files in Archlinux. I noticed that rsync failed to copy a file from /sys, while cp worked just fine: # rsync /sys/class/net/enp3s1/address /tmp ...
7
votes
1answer
8k views

pacman could not find database

I want to install sudo. So I type in pacman -S sudo. But then I get the following errors: warning: database file for 'extra' does not exist warning: database file for 'community' does not exist ...
7
votes
2answers
1k views

Make package explicitly installed in pacman

I have a package that's installed on my PC as an dependency to another package. I would like to have the package explicitly installed, but without actually re-installing it, or downloading any files. ...
7
votes
2answers
769 views

What's up with “*-git date” packages in the AUR?

I'm just about to move to Arch Linux. Checking out packages in the AUR, there's a lot of packages following the naming scheme "project-name-git date", e.g: adonthell-git 20100408-1 ...
7
votes
1answer
2k views

How to get fewer ttys with Systemd?

In the old days I just modified /etc/inittab. Now, with systemd, it seems to start tty[1-6] automatically, how should I disable tty[4-6]? Looks like there's only one systemd service file, and it use ...
7
votes
2answers
4k views

How to change the default filemanager of the Cinnamon desktop?

I'm running an Arch Linux machine with the cinnamon-git desktop from the Arch User Repository. The default filemanager is Nautilus, is there any way to change the default filemanager to thunar?
7
votes
3answers
2k views

List optional dependencies with pacman on arch linux

I'm using arch linux. Is there a way to list optional dependencies of all installed packages? And if yes, can I filter this list to see only the missing (not installed) packages?
7
votes
1answer
664 views

How to debug repeated Wi-Fi disconnections in Arch Linux?

After trying for a long time to get a wireless connection, I am now able to get an extremely sketchy one (as in a few seconds of actual Internet access every few minutes). Running wpa_supplicant -d -i ...
7
votes
1answer
624 views

What's the right way to execute a script before system shutdown (systemd)?

I wrote a script that suspends all my VirtualBox machines, and put a line in /etc/rc.local.shutdown, but it doesn't seem to work, su - XX -c /XX When I'm booting the next time, VirtualBox tells me ...
7
votes
1answer
4k views

How to fix character encoding in bash (arch linux)

I have some issues with the encoding of german umlauts in bash. It mostly is working fine, but when i am typing a invalid command, the error message generated by bash contains strange escape sequences ...
7
votes
1answer
296 views

Display problem - Random grid appears on screen

I have recently started using Arch with nvidia driver (I had a lot of problems getting nouveau to even work so I decided to try nvidia) and I started experiencing rather odd problems. Every now and ...
6
votes
1answer
250 views

what does “Read Swap Header failed: Success” mean?

I'm trying to install Arch Linux (from the 2014-04-01 snapshot). I've made a swap file and tried to swapon it, but I got an error(?) message I don't understand. I've executed fallocate -l 512M ...
6
votes
3answers
1k views

Command line join of password protected wireless networks in Ubuntu, Arch Linux, or other distros?

Is there a way to join a password protected wireless network via the command line in installations of Ubuntu or Arch Linux with no desktop environment or any GUI installed? Also, could this be done ...
6
votes
4answers
3k views

How do I create Restore Points in Arch Linux (or Linux in general)?

I am relatively new to Arch Linux and I really like its rolling-release concept. Now what I want to know is that before I do a system update via pacman -Syu, I want to create a restore point so that ...
6
votes
1answer
2k views

Pacman option to assume “yes” to every question?

When installing software in debian systems we can put something like this: sudo apt-get install -y chromium-browser that way the installation occurs automatically, whitout asking to confirm ...
6
votes
2answers
2k views

Which partitions should I encrypt?

My laptop is currently running Windows and Fedora, but I'm planning to install Arch Linux as my sole OS soon. This current setup is using whole disk encryption through TrueCrypt, but I'm unsure if it ...
6
votes
3answers
1k views

How do I get pacman to use my custom PKGBUILDs when updating?

I customized a PKGBUILD for Apache, ran makepkg and installed it with pacman -U httpd.tar.xz, which worked fine. A few months later I upgraded my system with pacman -Syu which used the system-default ...
6
votes
5answers
12k views

dns queries not using nscd for caching

I'm trying to use nscd (Nameservices Cache Daemon) to cache dns locally so I can stop using bind to do it. I've gotten it started and ntpd seems to attempt to use it. But everything else for hosts ...