Skip to content

Instantly share code, notes, and snippets.

@andrewpayne68
andrewpayne68 / aur-dropbox-exclude.md
Created June 17, 2026 15:57
To stop your package manager (such as yay, pamac, or pacman) from looking for updates for Dropbox from the Arch User Repository (AUR)

To stop your package manager (such as yay, pamac, or pacman) from looking for updates for Dropbox from the Arch User Repository (AUR), you must exclude the package or disable AUR search features. Here is how to hide or disable updates for Dropbox specifically:Method 1: Tell Pacman to Ignore Dropbox (Recommended)This method keeps Dropbox installed, but completely hides it from system updates.Open /etc/pacman.conf in your preferred terminal text editor with root privileges:

sudo nano /etc/pacman.conf

Look for the [options] section.Add the following line (or edit it if IgnorePkg already exists):

IgnorePkg = dropbox

Save and exit (In nano, press Ctrl+O, Enter, then Ctrl+X).

@andrewpayne68
andrewpayne68 / cachyos-enablessh.md
Last active May 29, 2026 14:01
Enable SSH to CachyOS

To enable SSH on your CachyOS laptop, install the openssh package, start the OpenSSH daemon service (sshd), and configure your firewall to allow incoming traffic on port 22.Follow these step-by-step instructions to get it set up:1. Open the TerminalOpen your preferred terminal emulator on your CachyOS laptop (e.g., Alacritty, Konsole, or Foot).

  1. Install and Start the SSH ServiceSince CachyOS is Arch-based, you can use the pacman package manager to quickly download and run the service.

  2. Enter the following commands one by one:

       sudo pacman -S openssh
       
       
     sudo systemctl enable --now sshd
    

Contents

  • Clean pkg cache
  • Remove unused packages (orphans)
  • Clean cache in /home
  • remove old config files
  • Find and Remove
    • duplicates
    • empty files
    • empty directories
  • broken symlinks
@andrewpayne68
andrewpayne68 / README.md
Created May 22, 2026 10:18
Script to install GNOME Extensions from local zip files

Script to install GNOME Extensions from local zip files

This bash script allows you to install GNOME extensions from a local zip file. It's a helpful tool for installing GNOME extensions from local files rather than using GNOME Extensions or other online sources.

Usage

  1. Save the install_gnome_extension.sh script to your local machine.

  2. Make the script executable:

@andrewpayne68
andrewpayne68 / variety-cachyos-kdedesktop.md
Last active May 19, 2026 19:08
Variety Wallpaper Changer struggles on KDE Plasma / CachyOS

Variety often struggles on KDE Plasma due to how the desktop environment natively handles wallpaper scripting and Wayland display sessions.To get Variety functioning on your CachyOS KDE setup, apply these three quick fixes:

  1. Configure the Correct Display ServerVariety typically relies on X11 to change wallpapers dynamically. If you are running a Wayland session, it will fail to update your background. The Fix: Log out, click on your session in the login manager (bottom left/right corner), select Plasma (X11), and log back in.

  2. Allow Variety to Trigger ScriptsBy default, KDE locks desktop widgets, preventing external applications like Variety from evaluating the set_wallpaper script. The Fix: Open your terminal and force KDE's plasmashell to unlock desktop modifications by running this command:

     qdbus org.kde.plasmashell /PlasmaShell evaluateScript "lockCorona(false)"
    
  3. Check for Missing System Tray IconsIf Variety is running in the background but refuses to show an icon in your CachyOS s

@andrewpayne68
andrewpayne68 / markdown-cheat-sheet-gist.md
Last active May 11, 2026 07:01
Gist's Markdown Cheat Sheet

GitHub Gist — Markdown Cheat Sheet

A complete reference for Markdown syntax supported on GitHub Gist (GitHub Flavored Markdown).


Headings

# H1 Heading
@andrewpayne68
andrewpayne68 / gist-openwebui.md
Last active May 10, 2026 18:39
Installing Open-WebUI and Ollama on Apple Silicon (without Docker)

Installing Open-WebUI and Ollama on Apple Silicon (without Docker)

   

If you want to learn Open-WebUI, how it works, or you want to set up a server for more than one computer on your network to access or you want maximum performance (because running Ollama in Docker for Mac doesn't use your GPU) then follow this guide. This was tested on MacOS Tahoe 26.4.1

Note: Visit my GitHub Repo to download a script to update Ollama and Open-WebUI to their latest versions https://github.com/andrewpayne68/ollama-openwebui-macos26

   

@andrewpayne68
andrewpayne68 / ubuntu-thumbnails.md
Last active August 14, 2026 18:42
After latest April 2026 update to Ubuntu 24.04 LTS, thumbnails are no longer being generated

After latest April 2026 update to Ubuntu 24.04 LTS, thumbnails are no longer being generated

Steps to fix it:

Relax the security restriction (immediate fix): Open your terminal and run:

sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

Clear the "failed" thumbnail cache: This forces Nautilus to retry generating thumbnails for files that previously failed:

@andrewpayne68
andrewpayne68 / gdm3.md
Last active April 24, 2026 12:55
Set GDM / Login accent color to match GNOME Shell

Set GDM accent colour to match GNOME Shell

Adding these lines to '/etc/gdm3/greeter.dconf-defaults'

[org/gnome/desktop/interface]
accent-color='orange'

Single Line Command:

@andrewpayne68
andrewpayne68 / set-kitty-default-gnome50.md
Last active April 12, 2026 10:56
How to set kitty as the default Terminal app in Gnome 50/Ubuntu 26.04 LTS

Set kitty as the default Terminal app in Gnome 50/Ubuntu 26.04 LTS in a single command line:

sudo ln -s ~/.local/kitty.app/bin/kitty /usr/bin/kitty~ && gsettings set org.gnome.desktop.default-applications.terminal exec kitty