Flatpak: sandbox permissions

If you need to grant a flatpak application access to parts of your filesystem, you can override the sandbox permissions using the following command:

sudo flatpak override <package_name_here> --filesystem=<path_here>
Continue reading Flatpak: sandbox permissions

RTL8723DE WiFi Driver install

The Realtek 8723DE Wifi driver is not supported natively in the Linux kernel. The Bluetooth functionality for this chipset is supported but for some reason it does not work on newer kernels. But here are the instructions to get the WiFi working.

Continue reading RTL8723DE WiFi Driver install

Problems booting Linux on HP G7 laptops

There is a major problem running Linux on HP laptops; during the boot process, the screen will go black and never display anything. This issue is due to the LCD backlighting.

You can fix the issue by appending the text

acpi_osi=Linux acpi_backlight=vendor

to the linux boot line. You can do this manually in the Grub menu by editing the commands before booting; you highlight the boot entry and press either the “e” key or the “tab” key, depending on the version of Grub you are running.

Reinstalling Grub

When Microsoft Windows is reinstalled on a multiboot computer, it will overwrite the MBR wiping out the existing Grub install. To reinstall Grub do the following:

  1. Boot to the most recent ArchLinux install CD and select the correct architecture (on dual ISOs).
  2. Mount your existing ArchLinux install on /mnt: mount /dev/sda# /mnt
  3. If necessary, mount your boot partition: mount /dev/sda# /mnt/boot
  4. Reinstall grub: grub-install –root-directory=/mnt /dev/sda

Older instructions

To install the grub bootloader from a LiveCD:

  • Mount the root filesystem
    • mkdir /mnt/root
    • mount -t ext2 /dev/?da? /mnt/root
  • Populate the dev and proc filesystems
    • mount -o bind /dev /mnt/root/dev
    • mount -t proc none /mnt/root/proc
  • Change to the mounted root filesystem
    • chroot /mnt/root
  • Install grub in MBR
    • grub
    • find /boot/grub/stage1
    • root (hd0,0) # Use the info from the above find command
    • setup (hd0) # Use the info from the above find command
    • quit
  • Reboot!
Create your website at WordPress.com
Get started