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)

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 ...
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 ...
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 ...
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 ...
4
votes
3answers
5k views

Can't create a bootable (live) usb flash for arch linux

I created a bootable usb from which I was going to install Arch. I did this the following way: sudo dd if=/path_to_arch_.iso of=/dev/sdX But when I tried to boot from this usb flash, I failed. ...
5
votes
1answer
3k views

Udev rule is not being used?

I'm setting up udev to handle my external USB hard drive when it gets plugged in and removed (no mounting yet). So far, I've made two new rules in /etc/udev/rules.d/10-local.rules to log ...
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 ...
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 ...
3
votes
3answers
23k views

How to connect to Wi-Fi network in Arch Linux?

tl;dr After reading the Arch wiki articles on installation, wireless setup and WPA supplicant, trying the suggestions below and a host of forum threads, I'm unable to get either of the following cards ...
7
votes
1answer
2k views

No core-dumps after recent upgrades: How to analyze it?

When I execute a program that I work on, it fails with the following message: ... Aborted (core dumped) However, no core dump is created. Core dumps were written previously, and I don't remember ...
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 ...
6
votes
1answer
2k views

xdg-open default applications behavior

When I have no defaults.list and mimeapps.list, xdg-open opens text/plain with gvim. But when I create defaults.list in /usr/share/applications/ and add the following lines : [Default Applications] ...
1
vote
3answers
5k views

How can I set the keyboard right on X?

Note: forked of this per recommendation here. I made a foolish typo for UTF-8, and expected that when I fixed it, the keyboard on X would work right. Since making this errant change, I was no ...
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?
8
votes
1answer
2k 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 ...
4
votes
4answers
827 views

Help me choose the right distribution for learning and hosting web apps

I'm coming to Linux from the Windows world, and I want to learns the ins and outs of the system in order to make it my primary day to day work and hosting environment. I'm pretty much a complete ...
3
votes
2answers
811 views

Java doesn't show menu text

I startet netbeans/intelliJ/squirrelSQL after I didn't use it for a few days/weeks and now the menu doesn't show text. There are just the underlineds. My system: ArchLinux (everything up to date, ...
3
votes
3answers
5k views

Creating eth0 with consistent network device naming

From my understanding, Arch Linux uses Consistent Network Device Naming where the network devices are no longer named eth0, eth1, etc. I use the proprietary MATLAB software which requires a device ...
3
votes
2answers
6k views

Arch Linux not booting after system update

After running a system update pacman -Syu with the testing repo not commented, my computer no longer boots. It shows the udev loading, then shows a black screen with a cursor blinking in upper left. I ...
2
votes
1answer
245 views

Redirecting output to file

I am looking forward to run commands and log their output in a temporary log file to be read later on by different processes. So, for example: rc.d start ntpd > progress.txt Returns: ::Daemon ...
0
votes
1answer
3k views

Problems with the locale; can't make Arch Linux use UFT-8 [closed]

Note: The real problems behind this are presented here, as per a recommendation on meta. This question should be closed as a non-reproducible off-topic because its main problem is solved by correcting ...
0
votes
1answer
8k views

mounting problem during installation of archlinux on dell xps one

I've been trying to install archlinux on xps one. the screen doesn't work because it has intel g45/g43 express chipset. I had to use nomodeset option as mentioned in the installation guide. Arch ...
8
votes
2answers
11k 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 ...
5
votes
1answer
4k views

Use certain version of JRE / JDK for certain programs

I use ArchLinux, and an IDE called PyCharm. On its download page, it recommends using Java 6 instead of OpenJDK. ArchLinux has an OpenJDK package (jdk7-openjdk) that I have installed, installed, and ...
5
votes
1answer
2k views

Convert .bdf/.pcf font to .psf(u) for using as consolefont?

I am using Arch Linux. Is it possible to convert a BDF or PCF font to a PSF font for use in console/CONSOLEFONT in rc.conf? I haven't found anything that can do it,except bdf2psf which I got the ...
3
votes
2answers
915 views

Encrypt hook in mkinitcpio.conf for full system encryption USB drive Arch install

I have installed Arch Linux on a USB drive with full system encryption using LUKS. The Arch wiki as usual walked me through almost everything. The only issue I ran into was using setting up the hooks ...
3
votes
4answers
2k views

Execute a program at login

I'm running Arch-Linux ARM on a Raspberry Pi. My project goal is to have a barcode scanner attached to the Pi that forwards the scanned messages to a server in a LAN. To harden the system against ...
3
votes
5answers
1k views

How can I test whether connection to the given host/port is established in Bash?

Currently I'm using netstat for this: if netstat -an | grep ESTABLISHED | grep $address:$port > /dev/null; then # command fi Is there a more elegant solution?
2
votes
2answers
53 views

Where do I put my systemd unit file on Arch Linux?

Sometimes these things can be hard for first-timers. Being a do-it-myself person, I read that there are two folders for unit files (not in user mode). /usr/lib/systemd/system/: units provided by ...
2
votes
2answers
204 views

How to disable the user list on GDM3 login screen?

Environment: Distribution: Arch Linux Display Manager: GDM 3.16.x Dekstop Environment: Gnome 3.16 Question: How to disable the user list displayed on the login screen? Clarification: Wanted ...
2
votes
2answers
1k views

Archlinux 2014.04 64bit and connectivity problem during instalation

I downloaded the latest ISO image from the Arch Linux website and burned the .iso file on an USB drive with some of the many tools you can find on the web. Once I get on the shell screen I try to ...
2
votes
1answer
316 views

How do I change my pacman root so that it downloads packages elsewhere?

My /root is full to the brim and I can't install new packages. My /home has 8 times the space of my /root, but pacman is set to install new packages on /root. Is there a safe way that I can change ...
2
votes
1answer
294 views

Multiple monitor with Linux

I' m installing Arch Linux with OpenBox, at the moment I've only downloaded OpenBox and tint2, but I have to install all the necessary. Before doing everything I'd like to know how to use my two ...
1
vote
1answer
49 views

chpasswd apply changes in the chroot directory

I have debootstraped version of wheezy on my Archlinux machine and would like to change it's root password: echo "root:toor" | chpasswd --root /home/containers/wheezy/ However I get an error: ...
-2
votes
1answer
86 views

How to add StartUp application in Arch Linux [closed]

I am using Arch Linux, I want to add a start-up program in Arch Linux. How to add start-up program which will execute after login after every boot ? Note: I am not system administrator, I am just a ...
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, ...
8
votes
2answers
10k views

How to bind USB device under a static name?

I have an arduino which sometimes gets bound to /dev/ttyUSB0 and other times to /dev/ttyUSB1 making my script fail. I do not want to enumerate all the possibilities of where my device could be, but I ...
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 ...
7
votes
1answer
2k views

How to run systemd user service to trigger on sleep (aka. suspend, hibernate)?

Based on various sources I have cobbled together ~/.config/systemd/user/screenlock.service: [Unit] Description=Lock X session Before=sleep.target [Service] Environment=DISPLAY=:0 ...
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 ...
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 ...
7
votes
1answer
3k views

Emulate RaspberryPi using QEMU

I would like to run a RaspberryPi system on my MacOSX using QEMU. I tried the following, using this tutorial: ./qemu-system-arm -M versatilepb -cpu arm1176 -m 256 -hda ArchLinuxARM-2014.06-rpi.img ...
7
votes
2answers
8k views

Cannot add new mode in xrandr for external monitor

Today I was trying to connect my second monitor to my notebook. I have: nvidia graphic card 304.43 drivers [support xrandr 1.2] archlinux [up-to-date] awesome wm xrandr 1.3 My problem is with ...
4
votes
1answer
2k views

Internet(ADSL) connection doesn't seem to be working on Arch

I've already set up ADSL and used it already for a system update, so I'm sure the set up is ok but pacman suddenly stopped working and when I checked ping wasn't working too. How can I find out what ...
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 ...
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 ...
8
votes
5answers
20k 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 ...
6
votes
2answers
3k views

Grub 'incompatible license' error

The other day, I was using a laptop for general desktop use when its keyboard began to act up. Most of the keys on the keyboard's right side stopped working entirely and key combinations such as Ctrlu ...
5
votes
3answers
1k views

How to set an xmodmap file for the session manager (or at least SLiM) because of a broken physical key

I've got my laptop set up to boot directly into SLiM as the X session manager. However, the "M" key on my laptop is broken. I've gotten around this when logged in by using xmodmap to remap my ...