Hot answers tagged

14

For users of i3wm, in addition to editing ~/.config/mimeapps.list and ~/.i3/config, you also need to change $BROWSER from ~/.profile, set it to /usr/bin/chromium, to prevent browser sessions emerging from the terminal from opening the wrong browser.


13

xdg-settings set default-web-browser chromium.desktop


9

First of all, there is a significant difference between the terminals types rxvt and unicode-rxvt (often abbreviated to urxvt). You have indicated that the terminal you are using is "URXVT Version 9.22", so to avoid confusion, please use the correct name which is not rxvt but urxvt. As Mikel has pointed out, the Xresources file is telling urxvt to use the ...


7

The download page does actually have flash in it, which is why firefox is detecting it. I found this as an example: https://www.mongodb.org/static/bower_lib/zeroclipboard/dist/ZeroClipboard.swf?noCache=1437010946839 Type: application/x-shockwave-flash That was on their download page here: https://www.mongodb.org/downloads. If you want to check that ...


7

Ah I found the answer: sudo pacman -S manjaro-keyring Updating the keyring first resolve the issue above.


7

As @Leiaz very correctly pointed out in the comments, /sbin in Arch (and by extension, Manjaro) is now a symlink to /usr/bin. This means that unless /usr is mounted, /usr/sbin/init will not exist. You therefore need to make sure that /usr is mounted by the initial ramdisk. That's what the Arch wiki quote in your OP means: If you keep /usr as a separate ...


7

Just found the answer myself (after googling hours to find the answer in a small but very important sentence in a private blog post about Ubuntu): Disable (means stop the daemon or kill the process) networkmanager (or in some Distros network-manager) because it does take control over the (W)LAN Adapters, blocking it for other programs. After doing this, ...


7

Check what package includes the filename: pacman -Qo filename If it is another package, then file a bug report: packages which have conflicting files should mark themselves as CONFLICTS causing pacman to ask if you wish to replace the conflicting package. If the files don't belong to any package, rename or delete them. If you're sure you know what you're ...


6

Using gparted remove the existing partitions from your usb, and fix the msdos partition table (by going to the device menu and selecting "create partition Table"). Then, create a new partition fat32 by right clicking on the unallocated space and selecting new, making a primary FAT32 partition. Next step create your bootable usb: dd if=/...


6

It seems as though Network time Protocol is either not installed or not working on your laptop. I suggest using the following commands to install it: Step 1: Install NTP sudo pacman -S ntp Step 2: Turn on NTP sudo timedatectl set-ntp true Source: https://wiki.manjaro.org/index.php?title=System_Time_Setting


6

The behavior you are showing seems to depend on the fs.protected_regular Linux kernel parameter, introduced along with fs.protected_fifos by this commit (converged in version 4.19, I believe), with the aim to fix security vulnerabilities. Excerpt of the commit message (emphasis mine): namei: allow restricted O_CREAT of FIFOs and regular files ...


5

In case someone else has the same issue… Edit your config file: nano ~/.i3/config and change bindsym $mod+F2 exec … to your browser of choice (e.g. bindsym $mod+F2 exec google-chrome-stable) Save and reload your config file (mod+Shift+R) Should be all set…


5

In vritualbox menu bar, go to View > Vritual screen > pick a resolution. The screen stop to be automatically resized permanently


5

I followed Mioriin's suggestion and pressed e at the GRUB prompt to edit the config. Then I found the line starting with linux and ending with splash and added a 3 to the end. Then I pressed F10 to boot. This brought me to a textual TTY screen where I could enter my username/pass and was able to run CLI commands normally. I ran pacman -Syu, hoping that if I ...


5

Inside ~/.config/dmenu-recent there are two text files called background and terminal. Edit the appropriate one in a text editor, and delete the line with your app's name. This will reset the dmenu app preference.


5

In your (non-root) user's ~/.bashrc, add: alias pac=yay # For convenience # pacmatic needs to be run as root: https://github.com/keenerd/pacmatic/issues/35 alias pacmatic='sudo --preserve-env=pacman_program /usr/bin/pacmatic' # Downgrade permissions as AUR helpers expect to be run as a non-root user. $UID is read-only in {ba,z}sh. alias yay='...


5

GNU libc (and thus any non-embedded Linux), reads /etc/localtime to determine the system's time zone (the default timezone if not overridden by the TZ environment variable or by an application-specific setting). *BSD does the same thing. Some embedded Linux systems do things differently. /etc/localtime should be a symbolic link to a file under /usr/share/...


4

From the Manjaro wiki: "Manjaro systems do not –and cannot– access the official Arch repositories" Though they don't mention a technical reason. Both distros use the Pacman package manager, though maybe the configuration settings or digital signatures are incompatible. Access to the AUR from Manjaro is possible. I don't know about the reverse case.


4

The problem was that I followed tutorials on the web and youtube videos, instead of reading manjaro wiki. The correct way of doing it is not to install virtualbox virtualbox-host-modules, instead of that, first I should check kernel version uname -r in my case I'm using 3.16.7.10-1-MANJARO so I have to do sudo pacman -S linux316-virtualbox-host-modules As ...


4

See the options for -R (remove) in man pacman, notably -u: -u, --unneeded Removes targets that are not required by any other packages. This is mostly useful when removing a group without using the -c option, to avoid breaking any dependencies. To skip dependency checks, you add the -d option: -d, --nodeps Skips ...


4

Edit your ~/.config/mimeapps.list and replace references to firefox.desktop with google-chrome.desktop. If you use google-chrome-stable to launch chrome, use that instead, followed by .desktop.


4

The AUR is an unsupported repository: the quality of the PKGBUILDS varies from the very good through to the abominably bad or outright negligent. You should always read the PKGBUILD before attempting to install anything and look at the comments on the package page to satisfy yourself that there won't be any unforseen "surprises" when running makepkg. You ...


4

From an other OS, chroot into your distribution eg from a manjaro live-CD like explained here and then do mkinitcpio -p linuxXX eg. for me mkinitcpio -p linux49 You can find out the version to use by having a look into /etc/mkinitcpio.d/ Then reboot


4

You need to install sudo pacman -S [kernel version]-virtualbox-host-modules get kernel version: uname -r Your user must be in the following groups vboxusers for virtualbox to work storage group (for the usb subsystem) vboxsf group (to share files). uucpgroup for serial port To add a user to group vboxuser: gpasswd -a USERNAME vboxusers Check the: ...


4

Turns out I needed a new udev rule. I followed this tutorial with a slight modification: Make /lib/udev/rules.d/40-libfprint0-custom.rules as follows: ATTRS{idVendor}=="147e", ATTRS{idProduct}=="1002", MODE="0664", GROUP="plugdev" Add yourself to the plugdev group: # usermod -a -G plugdev username Restart udev: # service udev restart Log out/back in ...


4

You can override gtk theme used by Firefox: navigate to about:config create a string key widget.content.gtk-theme-override set the value to any light theme name, for example Adwaita:light restart Firefox to apply


4

VFS: unable to mount root fs on unknown-block(0 0) means the kernel was unable to mount the root filesystem. There are two common causes for this: The kernel doesn't support the filesystem on the device. If you compiled your own kernel, this is usually because you specified the filesystem driver should be built as a module rather than a native part of the ...


4

Having no swap partition might be a problem if you try to set the machine to sleep. What you can do is: boot on a live cd shrink one of this partitions using something like gparted create a swap partition Then you need to add the swap partition to fstab. To discover its UUID do: ls -l /dev/disk/by-uuid Then add the following line to fstab: UUID=<swap ...


4

_hdimage needs to point to a disk image, not a directory. So you’d have to prepare a disk image containing MS-DOS 2.0. If you try doing that though you’ll discover that the binaries and source code released by Microsoft are incomplete. They correspond (more or less) to the basic kit provided to OEMs, so you’d also have to do the work expected of OEMs at the ...


3

You will have to download and install OpenBLAS. Download latest stable version from https://github.com/xianyi/OpenBLAS/zipball/master. Extract and run make and make install. You will need gfortran to compile. Make sure you have numpy installed as well, you should be able to install that from an archive.


Only top voted, non community-wiki answers of a minimum length are eligible