New answers tagged

0

The most common cause of touchpad issues on Arch Linux, including the one you are describing, is not installing the Synaptics touchpad driver. The package is called xf86-input-synaptics Go ahead and run pacman -Syu xf86-input-synaptics and then restart X, and your touchpad should start behaving normally.


0

You can use this to temporarily disable lid-switch events: systemd-inhibit --what=handle-lid-switch sleep 1d


0

To use attributes from multiple parents, you need to use multiple rules and GOTO. Something like this. SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}!="00", GOTO="huawei_end" ACTION=="add", KERNEL=="ttyUSB[0-9]*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1506", RUN+="/usr/bin/systemctl start modem_dialer" LABEL="huawei_end"


2

The right tool for this job is paccache1: paccache -r -k 1 -c /path/to/cache/dir This deletes -r all cached versions of each package except for the most recent one -k 1 in the cache directory specified via -c You can always move the old packages to another dir instead of deleting them immediately and only delete them later on. Run paccache -h for more ...


0

Do you have xterm installed? xterm is the standard terminal emulator for the X Window System. Install it by: pacman -S xterm


0

You may just have to map them manually in Arch (I had to do something similar in one of my Debian installs). You just need to map the keys of interest. This page should be helpful.


0

You do not need vi or edit file , if you run ls -R / | xargs -I {} echo {} Run that commad , and on new session run pacman-key --init You get key less than 5 minutes


0

I've finally found how to do that. It's a bit hackish thought, but it works. I've used some part of this thread : http://stackoverflow.com/questions/25166085/how-can-a-systemd-controlled-service-distinguish-between-shutdown-and-reboot and this thread : How to run a script with systemd right before shutdown? I've created this service ...


0

First jeep is the serveur (ARM Archlinux without physical screen). My PC is under Archlinux. I try @Bratchley suggestion. I change X11Forwarding to yes in /etc/ssh/sshd_config and restart sshd.socket Works fine :) I can connect from PC with ssh -Y root@jeep If I launch lxterminal I have a terminal window on jeep :) But I need entire LXDE desktop of ...


1

I believe the Fn keys are mapped to X86... named keys. Therefore, I'm assuming you have to install the x-server first. As for the brightness issue, ArchWiki has some relevant information, among which is the possible systemd-backlight problem/workaround: Inverted Brightness (Intel i915 only) Symptoms: after installing xf86-video-intel ...


0

So I create /etc/systemd/system/xvnc.socket [Unit] Description=XVNC Server [Socket] ListenStream=5900 Accept=yes [Install] WantedBy=sockets.target And /etc/systemd/system/xvnc@.service [Unit] Description=XVNC Per-Connection Daemon [Service] ExecStart=/usr/bin/x11vnc -display :0 -bg -forever -shared -rfbauth /home/odroid/.vnc-passwd -noxdamage -norc ...


2

Okay, after joe pointed me the right direction in comments, this is how I did it: basicly just install pacman -S linux-lts (optional) check if kernel, ramdisk and fallback are available in ls -lsha /boot remove the standard kernel pacman -R linux update the grub config grub-mkconfig -o /boot/grub/grub.cfg reboot Note, for syslinux you'll need to edit the ...


2

According to the systemd.special man-page, you should use Before=poweroff.target. poweroff.target A special target unit for shutting down and powering off the system. Applications wanting to power off the system should start this unit. runlevel0.target is an alias for this target unit, for compatibility with SysV. Additionally, as I mentioned in my ...


2

They are on the two keys to the right of P: pressing the first with Alt Gr produces "«", the second produces "»".


0

I manage to fix the issue after I installed manually an older version (v1.14.0) of libiscsi where qemu could find the libiscsi.so.4 file. First I removed the v1.17.0-2 installed with pacman sudo pacman -Rddn libiscsi without uninstalling the qemu-block-iscsi dependency. I cloned the source code from github sahlberg/libiscsi and after the build I ...


0

Well, one thing you haven't mentioned is whether that disk is structured with GPT or the old MBR style. That would be very important. But beyond that there may be Secure Boot issues My ASUS (different model) was a pain to boot non-Microsoft stuff from USB or CD. Maybe this affects booting from hard disk too ( have not tried that yet) Basically I had to ...


0

Just reinstall node sudo pacman -Rdd nodejs then sudo pacman -S nodejs Problem solved.


0

systemctl --user enable SERVICE will do nothing unless the related unit file has an [Install] section. the [Install] section lets systemd know which symlinks to set up with enable is used. From the docs: Unit files may include an "[Install]" section, which carries installation information for the unit. This section is not interpreted by systemd(1) ...


0

You can pass options to notify-send to make it less obtrusive, e.g. notify-send -u low -t 500 to show the message for only ½s. I don't know what you mean by “busy”; the visual appearance of a notification is determined by the recipient side. If you don't like the one provided by Gnome, I think you can change it (e.g. to xfce4-notifyd which I don't think can ...


1

MEGA is now offering a megasync package for ArchLinux. You can download it from: https://mega.nz/#sync. It will also configure their official repo, so that updates will work and you can install nautilus extension.


2

I can now happily confirm that accessing the built-in flash drive works without problems using kernel 4.6.0-rc7 and manually binding the device using: echo 106b 2003 > /sys/bus/pci/drivers/nvme/new_id I'll submit a patch which will make the manual binding superfluous. During testing I had one episode of spurious timeouts which I was never able to ...


0

There seem to be several answers for this on our sister site askubuntu.com such as this one which asks you to grep enabled /proc/acpi/wakeup You should find entries for your motherboard's usb hubs such as EHC1 S4 *enabled pci:0000:00:1d.0 EHC2 S4 *enabled pci:0000:00:1a.0 For each hub, you can toggle the setting to disabled by ...


1

Run: sudo systemctl enable sshd.socket To enable service to run on boot.


1

It seems that kernel erroneously detected some device as floppy or just created a non existent reference because your machine does not have real floppy drive. So these blk_update_request for fd0 are completely unrelated to your hard drives. Many disk managing programs such as fdisk like to enumerate all available block devices, and definitely fdisk did hit ...


1

Take a look at https://wiki.archlinux.org/index.php/Dm-crypt/Specialties. You can switch the mkninitcpio encrypt hook for encryptssh and then add some things to your kernel bootline. I'm using the dropbear hook and it works pretty well.


0

sudo -E -- pacman -S python2 python2-pyasn1 yaourt -S python2-pysnmp The -E on sudo uses the same enironment, which was necessary for me to get through the company's firewall. Omitting it causes a new process to be launched, which did not have network access. D'oh!


0

Installing gnome-keyring solved the problem for me.


1

Your computer is not seeing the nearest wifi AP as it is in channel 13, which by definition should not be used in the US. I advise you to try and configure wpa_supplicant for your country code. In wpa_supplicant.conf please add the directive: country=CZ Then disable and enable wifi again. Hopefully if the card has not any other limitation, you might see ...


0

sudo usermod -aG docker [username] then logout then log back in


1

There is a component called Polkit that is used by many applications to request root permissions to do things (it can do so because it's a daemon running as root). Polkit can be configured to ask for a password (either your user account password or the root password) or to just allow it without a password prompt. That decision can be based on any number of ...


0

What is start-directory used for? The start-directory is used to set the initial directory of the session/window/pane. If you don't specify it, $HOME is used. Does tmux itself use start-directory for anything at all like to store temp files or anything of this nature? No Does tmux use start-directory value to set the current ...


0

Thank to @jasonwryan's comment, I did some search and found the solution in this link (Icecube63 comment). I post it literally here just in case the link is unavailable: 'There is a typo in ~/.config/gtk-3.0/settings.ini. It should be lowercase, not "Breeze": [Settings] gtk-theme-name=breeze gtk-icon-theme-name=breeze After changing all gtk3 applications ...


2

It looks like that the hook lvm2 run after the hook encrypt during Arch Linux's Initial RAM filesystem phase is not able to activate thinly provisioned logical volumes. With the same storage configuration as depicted in my question except for normal logical volumes instead of thinly provisioned ones the volume group containing these can be activated without ...


0

Hey everyone I got solution luckyly by bit roaming in file manager. I got file namely bash.bashrc in /etc. I viewed and found PS1 so I edited that with "/@" and it changed to current time.


0

Append the following line at the bottom of ~/.bashrc and a reboot works for me dbus-update-activation-environment --all


0

Include the line PS1="/@" in /root/.bashrc. This is the shell configuration file for the root user. Please note that it is unwise to log in as root. You should have good reasons if you are not following the points from the post installation guide, AKA General Recommendations.


4

I finally solved it by nuking the Arch partition and its boot files in my Ubuntu's /boot directory from orbit. Ubuntu is fine again now, all remaining GRUB entries are working again. Here's a list of what I did: Delete Arch's initramfs files: sudo rm /boot/initranfs-linux* Delete Arch's vmlinuz file: sudo rm vmlinuz-linux Format the Arch partition ...


0

Type "about:config" in the address bar Search for ui.allow_platform_file_picker Toggle it to "true" Restart Firefox.


0

This worked for me ip route flush dev eth0 ip route add 10.77.132.0/24 dev eth0 ip route add 0.0.0.0/0 via 10.77.132.1


2

SELinux context is stored in file's extended attributes (xattr, man 5 attr). Tools for working with them are available in core/attr package. Attributes, including SELinux context, can be retrieved with getfattr. There is a twist though: by default getfattr lists only attributes from user. namespace; and selinux attribute we need is in security namespace. So ...


2

Warnings as errors are usually result of -Werror passed somewhere to the compiler. It can be intentional enforcement from developer to see how much mistakes are still there and being left only because it's still in development, or intentional enforcement in mission critical software. Anyway, you need to find out where -Werror is. grep is a nice tool for ...


0

It is most likely trying to run the commands and failing because the iwconfig executable can't be found - because there's no $PATH variable available. You should always use absolute pathnames in cron scripts and similar and not rely on a $PATH setting that might not be there.


0

This is the default Font settings from my Antergos Installation: Basically Sans Regular and Monospace Regular. And all fonts are Truetype Fonts


0

Solution for all Corsair mechanical keyboards with usbhid quirks. sudo nano /etc/default/grub or any other editor you like to use instead of nano. you will see this line GRUB_CMDLINE_LINUX_DEFAULT="" make sure to put the usbhid.quircks between the quotes and save that. In my case I had to change it to this line ...


0

My solution is simpler. I use the terminal and do the following: sudo rm /boot/grub/grub.cfg sudo update-grub If you have further problems, just use boot-repair, which is a free download, small enough to burn to a CD disk.


2

TL;TR: FTP is a broken protocol and FTPS more so. Due to a combination of protocol design and encryption it plays very bad together with firewalls. Try to use SFTP (i.e. file transfer over SSH protocol) instead. FTP consists of a control connection (usually port 21) and the data connections. Which ports are used by the data connections are dynamically ...


1

With the help above from Alexander Batischev, and some very useful information from Reddit user cookie_enthusiast on the /r/linuxquestions page on Reddit, I managed to get this working. It turns out that GRUB2 works well with UUIDs, and not so well with device names. With this knowledge in mind, we need the following 4 UUIDs at hand, before we can ...


1

I asked the same question in the Manjaro Forum and got the following solution: Those issues are related to the latest gtk3.20 changes, alot of themes are broken now. Also the manjaro xfce main theme switches from menda to maia, so your problems are solved when you switch to our new theme (available in dark and normal and just beautiful :)) sudo pacman ...


0

I installed lib32-nvidia-.. and it helped



Top 50 recent answers are included