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 (1)

151
votes
16answers
58k 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 ...
49
votes
1answer
44k 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 ...
29
votes
5answers
40k 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 ...
25
votes
4answers
12k 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 ...
24
votes
3answers
9k 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, ...
18
votes
3answers
29k 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?
18
votes
2answers
16k 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 ...
17
votes
5answers
14k views

How to clear journalctl

I couldn't find in google any safe way to clear systemd journal. Do anyone know any safe and reliable way to do so? Added: As a reason, let's say I was experimenting with something and my logs got ...
17
votes
1answer
3k 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 ...
17
votes
4answers
13k 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 ...
17
votes
2answers
2k 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 ...
16
votes
2answers
3k 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. ...
15
votes
2answers
3k 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. ...
15
votes
3answers
8k 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 ...
14
votes
2answers
513 views

Is there anyway to automatically mount a filesystem when I open a symbolic link to a directory on that filesystem?

I am using Arch with Xfce. Recently, I have created a symbolic link to a directory on a filesystem. But I don't want to mount the filesystem during boot or manually mount it before I open the ...
14
votes
2answers
4k 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 ...
13
votes
1answer
21k 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 ...
13
votes
1answer
8k views

Human readable memory sizes in top? [duplicate]

Is there an option in top to show memory sizes in human readable format? Example: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3960 phil ...
13
votes
3answers
15k views

What is the basic difference between Arch and Gentoo Linux? [closed]

What is the difference between Arch Linux and Gentoo Linux? Their ideologies seem quite similar to me.
13
votes
5answers
5k 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?
13
votes
3answers
1k views

How to properly lock desktop when hibernating?

If I lock the screen, hibernate by closing the laptop lid, open the laptop lid and press the power button, the screen will just show a black surface and I can start typing the password immediately. If ...
13
votes
3answers
4k 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 ...
12
votes
2answers
8k 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 ...
12
votes
2answers
5k 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 ...
12
votes
4answers
17k views

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

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 ...
12
votes
2answers
8k 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 ...
12
votes
3answers
11k 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 ...
12
votes
1answer
2k 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 ...
12
votes
2answers
1k 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 ...
11
votes
4answers
9k 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
10k views

Why do some characters show as squares in Chrome?

For example in the dev tools I get something like: Some of these squares are at the end of lines, initially I thought they were carriage returns but it turns out they aren't. Also, squares appear ...
11
votes
3answers
2k views

Graceful shutdown in ArchLinux

I'm trying to get a graceful shutdown/reboot in ArchLinux with GNOME Shell. Now, when I ask for shut-down, it immediately shuts down without giving open programs time to gracefully close / save open ...
10
votes
2answers
10k 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?
10
votes
1answer
20k views

How do I update grub in Arch Linux

In Ubuntu we use below command to update grub 0.98 : # update-grub But how do I update grub version 2.00 in Arch Linux ? `
10
votes
3answers
16k 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 ...
10
votes
3answers
3k views

How does systemd-tmpfiles work?

I'm trying to change the value of /sys/bus/usb/devices/4-3/power/wakeup at every boot (4-3 according to my lsusb, it's the keyboard ID). The default value is: # cat ...
10
votes
2answers
537 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 ...
9
votes
3answers
37k views

Where are my sshd logs?

I can't find my sshd logs in the standard places. What I've tried: Not in /var/log/auth.log Not in /var/log/secure Did a system search for 'auth.log' and found nothing I've set /etc/ssh/sshd_config ...
9
votes
1answer
12k 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 ...
9
votes
5answers
9k views

Arch GRUB asking for /run/lvm/lvmetad.socket on a non lvm disk

I am running this script based on the ArchWiki setup procedure. It fails on the GRUB configuration step I am using the archlinux-2013.12.01-dual.iso inside VMware Player with 1 GB ram, sda is 810 ...
9
votes
4answers
4k views

Recommended way of installing python packages on Arch

What's the recommended way of installing python packages on Arch? Searching for them on the AUR and installing them from there (or create a PKGBUILD file to make a package yourself) or using pip? I ...
9
votes
3answers
5k views

How do I get to use .local hostnames with Arch Linux?

If I'm using Ubuntu or Linux Mint (the only two flavours I've tried and know work for sure), I can run something like this: wayne@myhost$ ssh wayne@otherhost.local And the name is automagically ...
9
votes
3answers
4k views

How do I disable the touch screen on my laptop?

My laptop has a touchscreen but I do not use this. How do I disable this functionality? I use Arch Linux. I figured I could try removing the related driver. According to this page the possible drivers ...
9
votes
5answers
3k 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
3k views

What is Arch Fallback in Arch boot menu?

What is exactly "Arch Fallback" in the Arch boot menu?
9
votes
2answers
2k views

How do I set up an encrypted swap file in Linux?

How do I set up an encrypted swap file (not partition) in Linux? Is it even possible? All the guides I've found talk about encrypted swap partitions, but I don't have a swap partition, and I'd ...
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
3answers
663 views

Bash autocomplete with vim command

In bash, autocompletion of paths has recently stopped working when issuing vim commands where the path is deeper than two directories (it continues to work as expected with other commands, such as ls ...
9
votes
2answers
2k 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
1answer
23k 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 ...