Skip to content

Instantly share code, notes, and snippets.

@themoses
themoses / lightdm-background-arch.md
Last active September 7, 2023 15:53
Fix background image is not applied in LightDM GTK Greeter

Changing background image in LightDM GTK Greeter

Using the background config entry in /etc/lightdm/lightdm-gtk-greeter.conf in Arch Linux has no effect if the specified path is something different than /usr/share/background/FILENAME

So the fix is to create the path and to move your wallpaper there.

sudo mkdir -p /usr/share/backgrounds
sudo cp /home/USERNAME/Downloads/wallpaper.png /usr/share/backgrounds
@themoses
themoses / fix-frozen-yum.md
Created July 6, 2021 08:01
Fix frozen yum process

Yum is frozen and wont react

There are a couple of reasons why this happens but I always managed to get it back to work with the following steps:

  1. Send the process to the background by hitting CTRL + Z
  2. Identify the process id with ps aux | grep yum
  3. Kill the yum process with kill -9 PROCESS_ID
  4. Run the following commands or put them together in a script:
@themoses
themoses / update-vbox-vm-uuid.md
Created July 5, 2021 12:32
Set VirtualBox UUID for VM

Modify the UUID for a VM in VirtualBox (not the HD UUID)

Sometimes you might have to modify the UUID because you want to test something on a cloned VM but you need the original one- for example because a backend authenticates over your UUID.

Files to manipulate

  • virtualBoxFolder/VirtualBox.xml
  • vmFolder/vmname.vbox