New answers tagged

0

You can try copying the contents of /dev/sdb1 to /dev/sdc1 (while preserving the structure of the data) and then change the mount options in /etc/fstab to point at /dev/sdc1 for the boot partition. If you are able to boot successfully, that's good but if you aren't, then you can always use a live USB to chroot into your Arch Linux installation and revert the ...


0

An answer to this question is now a bit different, because Arch Linux configuration has changed. For slovenian letters to work we now need to set file /etc/vconsole.conf to be: KEYMAP=slovene FONT=lat2a-16


-1

Wake-on-LAN with ethtool doesn't seem to work for Wi-Fi. From their website: ethtool is the standard Linux utility for controlling network drivers and hardware, particularly for wired Ethernet devices. From the name, wlp2s0b1, it seems to be a Wireless device. Check the correct device name. If you get Operation not supported (using sudo or with a ...


1

I was able to get this working by enabling the USB 3.0 (xHCI) Controller under USB settings. You must also install the Virtualbox Extension Pack to get the appropriate Virtualbox module to support this setting. On Arch Linux: yaourt -S virtualbox-ext-oracle The extension pack is only available in the user repo.


0

I'm still a noob, but my understanding is the master mixer is muted by default. If you run alsamixer you should be able to go in there and unsure it. Also if you have HDMI as well, it might be set to that by default. Google how to change the default, I found it on here the other day, but on mobile at the moment, good luck.


0

Try: #!/bin/bash PATH="$PATH:$(dirname $0)" ls $PATH This way you're adding $(dirname $0) to the PATH variable instead of replacing it. Or, if you don't want to edit the environment variable and want to use $(dirname $0) separately, use a different variable name.


3

The variable PATH is a special one. There are a lot of special variables (and all are all capital, so easily avoided). PATH holds a list of directories to search for commands. For fun and learning (though these are the same thing), type echo $PATH, outside of script, to see what it has in it. To fix problem do not break PATH: use a different variable name (...


1

Try /bin/ls, it seems that ls is not in the path as @123 has mentioned in the comment. To add /bin to the PATH. Add in ~/.bashrc export $PATH=$PATH:/bin


0

Have you tried update-grub2? Now I can't understand what happened, cause the UUID of the disk/partition should be remained the same even after mb replacement ? But new mobo could ascribe hdds in a different way, so now it is not possible to start even GRUB.


0

One way to determine the local time zone is to run the following script: tzselect After answering a few questions about the location, the script will output the name of the time zone (e.g., Asia/Bangkok). Then create the /etc/localtime file by running: sudo ln -sT /usr/share/zoneinfo/<xyz> /etc/localtime Replace with the name of the time zone ...


1

The best way that i have fonud until now is to use the pkgfile command. you could install it by: # sudo pacman -S pkgfile according to the official arch wiki, pkgfile is a tool for searching files from packages in the official repositories. (files being the binaries you mentioned as bash commands) You can also update its database by running: # ...


0

You can use pacman -Qeq instead of pacman -Qe | awk '{print $1}'. And pacman can not install AUR packages, better keep them in a separate list or use an AUR helper like pacaur or yaourt. So, if you use an AUR helper like pacaur, you can export all explicitly installed packages with: pacman -Qqe > package_list.txt Or if you prefer only native and ...


0

It is not possible without issues to use Arch repositories under Manjaro, so it might be a bad idea to do the opposite. From the Manjaro Wiki: From the Manjaro Wiki: Although Manjaro is one-hundred percent Arch Linux compatible —being based on Arch Linux itself— it is not possible to access their official repositories for use in Manjaro. https://bbs....


0

I don't know if anyone else is having this problem. I run into this issue while creating a script on my mac. The problem was with the openssl compilation. Basically the openssl was being compiled as i386 instead of x86_64. So I used the openssl configure like this: ./Configure darwin64-x86_64-cc shared --prefix=/usr/local/openssl-1.0.2g I never had this ...


0

gdm tis the graphical login processor. If you want a logged-in session run startx gdm asks you to log in because it doesn't know who you are.


1

You should have correct device name. So change your interface name - if you've changed it to eth0 during installation - to enp5s0 in: /usr/lib/systemd/system/dhcpcd@.service Then you'll be able to enable it. You can bring your interface up by running : ip link set dev enp5s0 up and then obtain an IP from DHCP by running : dhcpcd enp5s0 you can also ...


1

OK, so to not leave the question in unanswered state. As we concluded in the comments: AUR packages are installed in 2 phases This is intended by arch developers since anyone can submit an AUR package. When you download an AUR packages you should always check the PKGBUILD files for malicious code. Although AUR packages are verified by Trusted Users ...


0

Okay, for some reason, I couldn't open OpenShot at all (got locked). I removed the .openshot folder in my home folder. And now OpenShot is properly saving titles! I have no idea whether the titles were working before it crashed or only after I removed the .openshot folder, but I thought I would let people know that the issue is no longer there. I will keep ...


0

No. If you open up a terminal you could define wireless networks and connections by using wifi-menu which I think is easiest and will automatically insert the Key and SSID in /etc/wpa_supplicant/wpa-supplicant.conf


0

Seems that I'm most likely out of luck with journald. Unless I'll figure out a way to spawn a independent "long-term storage" journal (like currently there are different per-user journals), but I'm not sure it's a viable and sane approach. I guess, setting up a syslogd (and logrotate) would be easier. The feature wasn't present in late 2014, as confirmed by ...


0

Remember to read the AWESOME Arch wiki before asking. You will need to add the kernel parameter in order for GRUB to decrypt the disk so that it can load your kernel. Add command below into GRUB's kernel parameter: cryptdevice=UUID=device-UUID:lvm root=/dev/mapper/MyVol-root The <device-UUID> refers to the UUID of /dev/sdaX Decrypt and then boot, ...


0

https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system#Configuring_the_boot_loader Please read the Arch wiki section above. Firstly, you will need to add the encrypt and lvm2 hook into mkinitcpio.conf, and then run: mkinitcpio -p linux Secondly, we need to let grub decrypt the disk in advance of the boot process. Below I quoted the ...


1

It's as simple as typing in just one command: timedatectl set-timezone Zone/SubZone Where you replace Zone/SubZone with correct data. You can obtain list of all available timezones by typing: timedatectl list-timezones If you want to have your RTC (hardware clock) using local time, run the following command: timedatectl set-local-rtc 1 If you prefer ...


0

Most display managers will, upon successful login, look for and source a file called ~/.xsession. This is where you put your X session customisations, much as you put your shell customisations in, for example, ~/.bash_profile or ~/.zprofile Note that the file ~/.xinitrc is sourced by startx, and not by default by display managers.


0

If it's BIOS rather than UEFI... Install os-prober if it is not already. Then run update-grub. It should automatically detect the windows install and put it in grub.cfg so you can boot it. If UEFI, I'm not sure why it should be different, but docs seem to imply it's relevant somehow.


0

To execute a script/command after you log in you can use ~/.bash_profile or ~/.bash_login. This method should normally be agnostic of how you logged in (e.g. whether you did a terminal login or logged in through a display/login manager). There's also ~/.bash_logout for commands after you log off. example: # # ~/.bash_profile # [[ -f ~/.bashrc ]] &&...


1

Audacious registers itself as an application that can handle directory MIME type (more precisely inode/directory). This can be seen in its .desktop file at /usr/share/applications/audacious.desktop (location might be different on Arch) where MimeType variable is set. On your system for inode/directory MIME type, either: there is no other application that ...


-1

e create a file with you crone task etc. cron.txt cat cron.txt 0 1 * * * systemctl stop iradio; shutdown -P 0 30 23 * * * systemctl stop clock 34 23 * * * systemctl start clock then crontab the new file crontab cron.txt It seems to be working now.


0

I just a similar issue today with this. regarding the 50-synaptics.conf I simply deleted it from /etc/X11/xorg.conf.d/ and restarted systemctl stop/start lxdm.service (budgie desktop) and everything started working again


1

I also updated the docker.service file per instructions I'm not sure if this actually helped ore if just disabling kde's automount is the key ExecStart=/usr/bin/docker daemon -H fd:// -H unix://var/run/docker.sock MountFlags=private


1

This is doable, but I would make a recommendation against it. As other users have said, you will have troubles with fstab if it uses UUIDs or labels (if the labels differ), you will have trouble with crypttab (and with encrypted partitions generally). Instead, I would recommend generating a list of packages that you have on your machine right now (...


1

I could fix it on my machine by sourcing /etc/X11/xinit/xinitrc.d/50-systemd-user.sh from ~/.xinitrc. The solution was found on https://bugs.archlinux.org/task/46374 because journalctl --this-boot --no-pager | grep -i WARNING showed, that 'org.gnome.keyring.SystemPrompter' failed. Reference


0

I don't know about crypttab, never encrypted the system myself, but otherwise it should work, mind the network settings and hostname too if they're going to be on the same LAN.


2

Option 1 Enable password authentication on Server (your computer running arch-linux) Edit the SSH configuration file on the server to allow password authentication. [user@arch]$ sudo nano /etc/ssh/sshd_config PasswordAuthentication yes ChallengeResponseAuthentication yes Use your favorite text editor instead of nano, such as vim. To use vim, ...


0

As a workaround, run the expect script from a file, and not via standard input: #!/bin/sh BLAH='echo hi' ESCRIPT=`mktemp runner.XXXXXXXXXX` || exit 1 # nope #expect -d - <<SCRIPT cat >$ESCRIPT <<SCRIPT set timeout 5 spawn $SHELL # FIXME whatever your prompt looks like expect -ex "% " send -raw "\r" expect -ex "% " send -- "$...


0

The logging you shared includes this line: /usr/bin/postgresql-check-db-dir ${PGROOT}/data (code=exited, status=1/FAILURE) What is $PGROOT set to? Does $PGROOT/data exist? Does this directory have any files init? If not, you may need to run initdb on the directory. To initialize, create an empty data directory as root, then use chown to assign ownership ...


0

OK so I worked it out in the end. I hadn't mounted boot when I installed the system. Redone it from scratch now and all going fine. 6 hours of my life I won't get back but loving it all, learning tons as I go along.


1

Run blkid to find out the UUID of the relevant partition, then edit /etc/fstab accordingly: UUID=... /home ext4 nosuid,nodev,noatime 1 2


2

You should specify a keyserver to use.I typically use --keyserver wwwkeys.uk.pgp.net (you can use a lot of different country codes instead of uk, but I know that one works).


2

Is installing and setting up wicd out of the question? I've used network-manager on various laptops with various wifi cards and dongles, and sometimes network-manager works fine... but when it fails, it doesn't give much information as to what might be wrong, sometimes its errors omit some necessary piece of debugging data, other times the messages are ...


0

I spend 2 hour to solve similar problem and problem was in vga cable. Replace vga cable I can change resolution to 1920x1080 without using xrandr or xorg it's very strange.


0

The first place to check, is if you happened to sudo to root. As a rule, your DISPLAY variable is un-set to guard against misuse of the root account. The workarounds consist of setting the DISPLAY variable using xhost to allow connections from the local machine as the root-user. From the comments of things tried, you are probably close, but missed a ...


1

Eclipse now requires Java 8 and you're using Java 1.7, this won't work. Install jdk8-openjdk instead and/or wait for the bug in Arch Linux' bug tracker to be fixed.


2

Based on correspondence with the poster (see comments), it turned out that the sound card was muted inside pavucontrol.


0

ef00 is the correct code for UEFI boot partition. The side does not have to be 300MB, I would say at least 100MB. I generally use 512MB for no real reason other than it is large enough that I don't need to care and I like the number. But it only has to be as large and the kernels and confis you store in it (with some room to spare). Mine currently uses 36MB ...


2

Not anymore The Arch Linux Archive contains the 4.2.5 release of the individual compontents, which you can install individually, but note that this is unsupported. Later versions of LibreOffice do not allow components to be selectively installed. Even if you wanted to bypass pacman (which you shouldn't), and download the 5.1 release directly from The ...


0

Though probably unlinked to OP older issue, my Atom n450 Arch hanged upon boot with any kernel >4.0.x. Untill given the solution by a nice fellow: systemd.restore_state=0 kernel parameter allows the latest ARCH kernels to boot my dell mini 1012. Now running great. Source here: https://bbs.archlinux.org/viewtopic.php?id=201523&p=2


1

While the man page on the matter is not very clear, the --noconfirm flag will not assume "yes" on every answer. It assumes the default answer which can be "no" sometimes. To assume "yes", you could pipe the output of the yes command to pacman. yes | sudo pacman -S firefox


0

You can use gvfs and udisks to automatically mount USB devices. You can do the same using a file manager that supports automatic mounting. I use PCManFM and gvfs and my USB devices are automatically mounted to /run/media/$USER/$DEV_LABEL.


0

I found another solution to this. I used x0vncserver instead (which is included in the tigervnc package). You can start the server via x0vncserver -display :0 -passwordfile ~/.vnc/passwd.



Top 50 recent answers are included