Switching to Wayland (Manjaro KDE)
by Logan Rogers-Follis on Dec.24, 2024, under Linux, Techie
With recent package and kernel updates I have had X11 hang on my main screen a lot lately. I have also had the login screen not display anything on my 2nd monitor (even after logging in) and I had to logoff and it would fix itself. Instead of trying to figure out why, I figured it was a great time to just switch to Wayland (all AMD hardware) and it feels so much smoother and faster…everything I do.
I already am running Manjaro KDE. I installed the plasma-workspace
package, but that may not have been needed as I didn’t know about the switch from X11 to Wayland being in the lower-left corner of the login screen when first booting up. I know it was there for certain after the plasma-workspace was loaded, but didn’t check before and don’t care to find out.
I did need to adjust some Kwin Windows Rules to get some applications to always open where I wanted them, which meant mostly updating the “Window class (application)” and removing the setting which put them in the 2nd screen since as far as I can tell the screens (2 of them) are named and not numbered in Wayland. The only application I can’t get locked to a certain location is Yakuake – if I find a fix I’ll write about it.
I also found out about the fun little application xeyes
(package xorg-xeyes
) which helps me know if anything is still rendering with X11 instead of Wayland. If the eyes follow you cursor then you are over an X11 applications (Steam Client is currently an X11 only app)
Anyways I just wanted to post this here in case anyone else was wondering these things. So far, so great with Wayland…of course I am using a modern AMD CPU/GPU (7700X/6950XT) which as I understand is great for Wayland.
Thumb mouse buttons in Linux (Manjaro KDE, X11)
by Logan Rogers-Follis on Dec.22, 2024, under Linux, Techie
If you ever need to disable the 2 “thumb” buttons on a mouse within Manjaro KDE (X11) then you will want to test and then apply the changes to stay after reboot with the following steps.
From Console:
xmodmap -e "pointer = 1 2 3 4 5 6 7 0 0 10"
(in my case buttons 8 and 9 were the two “thumb” buttons)
If that disables those buttons then you need to create the ~/.Xmodmap
file and put the following line in it:
pointer = 1 2 3 4 5 6 7 0 0 10
The above file and line will ensure those buttons stay disabled after logout/reboot.
If you need to swap around buttons or disable different buttons you can use xev
which is part of the xorg-xev
package. With xev launches you can click the buttons on the mouse within the Event Tester window and watch what button is mapped to which number
Example:
ButtonRelease event, serial 40, synthetic NO, window 0x3400001,
root 0x3e0, subw 0x0, time 37309475, (1,245), root:(2746,1129),
state 0x110, button 1, same_screen YES
Program location when installed through Bottles
by Logan Rogers-Follis on May.04, 2024, under Linux, Techie
If you install a Windows application/program through Bottles on Linux then you may need to know where the files are at. Below is the location (at least on Manjaro KDE and I am pretty sure Steam Deck as well):
~/.var/app/com.usebottles.bottles/data/bottles/bottles/Winbox/drive_c/users/
Tuning Seagate Exos drive for use in an unRAID
by Logan Rogers-Follis on May.04, 2024, under Techie
When buying a Seagate Exos hard drive you will need to check the status / turn off EPC before using it in an unRAID server. From my reading, leaving EPC enabled can cause the drives to get a S.M.A.R.T. failure because of too many on/off cycles.
Below are the steps needed to check/disable EPC and prevent this potential problem. They can be found many places on the Internet and I just want them posted here so I can look them up quickly in the future.
- Install SeaChest tools CLI
- Launch Seachest from start menu
- Seachest_PowerControl_x64_windows.exe -s (NOTE: to list drives, make note of PD# of drive you want to flash)
- SeaChest_PowerControl_x64_windows.exe -d PD2 –EPCfeature disable (NOTE: replace PD2 with the number of the drive you want to flash)
- SeaChest_PowerControl_x64_windows.exe -d PD2 –powerBalanceFeature disable
- SeaChest_PowerControl_x64_windows.exe -d PD2 –showEPCSettings (NOTE: All should read 0; this means it is disabled)
Minecraft – Changing game modes (Java)
by Logan Rogers-Follis on May.04, 2024, under Video Games
Every so often my son will come get me because he is now in “survival mode” in Minecraft (Java Edition) and he doesn’t like that. I can never remember how to fix this, so below is the very quick and simple answer:
F3 + F4
That will allow you to select from the 4 different kinds of game modes (Survival, Creative, Adventure, and Spectator)