from-macos-to-linux
-
Controlling Spotify in uLauncher
Raycast has this cool extension to control Spotify, so I searched for something similar for uLauncher. I ended up getting the Spotify player extension working, which lets you pause, play, and skip to the next or previous track. It’s not as advanced as the Raycast extension, but since it doesn’t use the Spotify WebAPI, the…
-
Clipboard Manager in uLauncher (Ubuntu GNOME Wayland)
I was surprised by how useful it’s to have a Clipboard Manager support in Raycast in my MacOS setup, so this is my attempt to have the same behavior in Ubuntu Linux, using GNOME with Wayland. I was surprised by how useful Clipboard Manager support in Raycast is on MacOS, so now I’m trying to…
-
Mapping Logitech Mouse Thumb (Gesture) Button to GNOME Activities Overview in Wayland (Ubuntu)
I’m using a Logitech MX Master 3 and by default, the Mouse Thumb (Gesture) Button triggers the app switcher UI (like Alt+Tab) and I wanted to change it to the Activities Overview (shows all open windows in a zoom out view), that opens when you press Super. To achieve this, we need to install Input…
-
How to remove all files in a directory except specific subfolders in Zsh (Linux or Mac)
I’ve shared how to remove all files in a directory except specific subfolders in Bash, but unfortunately, this command doesn’t work for Zsh. After some tweaking, I was able to reproduce the same behavior, which is to remove everything inside wp-content/plugins/, except folders starting with dk- or exactly named auto-login, and index.php: Dry run Here’s…
-
How to use trash (MacOS) command in Linux (Ubuntu)
I learned that macOS has a useful command called trash to move files to the trash instead of deleting them permanently like rm. On Linux (Ubuntu), there’s no native command for that, but you can use the trash-cli tool. Now, just create an alias to emulate the same command: 🤖 Clarification on the use of…
-
How to use pbcopy and pbpaste on Linux (Ubuntu or others)
Learn how to emulate macOS pbcopy and pbpaste commands on Linux for an efficient command line clipboard experience.