This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To install texture packs for Minecraft snap open up ~/snap/mc-installer/current/.minecraft/resourcepacks (zip) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to watch Disney+ on Linux with Chrome via Wine and Lutris | |
Download the .exe installer for Chrome for Windows from https://www.google.com/chrome/?platform=win64 | |
Add a new Game in Lutris using the + in the toolbar | |
Name it whatever you want | |
Set runner to Wine | |
In Game Options tab set executable to the downloaded .exe | |
Run it, let it install. | |
It WILL take a long time to install and finish, have patience. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This is a simple custom kernel hook to populate the systemd-boot entries | |
# whenever kernels are added or removed during an update. | |
# | |
distroid=$(cat /etc/lsb-release | grep DISTRIB_ID | cut -d "=" -f 2) | |
distroname=$(cat /etc/lsb-release | grep DISTRIB_DESCRIPTION | cut -d "\"" -f 2) | |
# The name of your root partition | |
partition=$(cat /etc/fstab | grep "/ was on" | cut -d " " -f 5) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https clone URL: | |
GHUSER=USERNAME; curl "https://api.github.com/users/$GHUSER/repos?per_page=100" | grep clone_url | cut -d "\"" -f 4 | |
SSH clone URL: | |
GHUSER=USERNAME; curl "https://api.github.com/users/$GHUSER/repos?per_page=100" | grep ssh_url | cut -d "\"" -f 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Assumes you're using PulseAudio (fairly safe bet). | |
Find audio devices: | |
$ pactl list sinks | grep "Name: " | |
Name: alsa_output.pci-0000_01_00.1.hdmi-stereo | |
Name: alsa_output.usb-Corsair_Components__Inc._Corsair_Vengeance_1500-00.analog-stereo | |
Name: alsa_output.pci-0000_00_1f.3.analog-stereo | |
Copy the name of the sink you want into the variable devicename below and save as a bash script. | |
This can now be used with a hot-key to switch audio on the fly without opening anything. |
NewerOlder