Linux Notes

Most of these were done on Fedora 42 XFCE unless otherwise specified. They may not work on other systems.

Remove repo from Fedora

ls /etc/yum.repos.d/* sudo rm /etc/yum.repos.d/file_name.repo


Fedora System logs

Check /var/log/messages


Clean dnf5 repositories

sudo dnf5 clean all sudo dnf5 update --refresh


Add custom icon to icon list for Fedora XFCE panel

Download file

Move file to /usr/share/icons/hicolor/scalable/apps/ (needs sudo privilege)

Run sudo gtk-update-icon-cache /usr/share/icons/hicolor


Keep bluetooth turned off by default

Go to etc/bluetooth/main.conf

Make sure the file has the line AutoEnable=False


swap caps lock and backspace

1. Create an xmodmap file

vim ~/.Xmodmap

2. Paste this in: keycode 66 = BackSpace keycode 22 = Caps_Lock clear Lock add Lock = Caps_Lock

3. Apply it:

xmodmap ~/.Xmodmap`

4. Open Settings -> Session and Startup

5. Go to Application Autostart

6. Add a new entry:

- Name: Xmodmap

- Command: `xmodmap ~/.Xmodmap`

- Trigger: On login