Linux
Welcome to c/linux!
Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!
Rules:
-
Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.
-
Be respectful: Treat fellow community members with respect and courtesy.
-
Quality over quantity: Share informative and thought-provoking content.
-
No spam or self-promotion: Avoid excessive self-promotion or spamming.
-
No NSFW adult content
-
Follow general lemmy guidelines.
view the rest of the comments
It is actually very easy, on Gnome you need to open nautilus(Files) then right click the corresponding file type, click "Open with..." and select what app you want it to open with and if you would like to make it the default. Which funny enough is done the same way in MacOS. You just overlooked it.
PS:This method automatically writes changes to
~/.config/mimeapps.list
PS2: Usually you can find answers to this questions in the documentation with a quick online search.
This is why I like xfce's default apps setting.
You go to settings, go to default apps.
You can change every mime type to any app you want.
The list is there.
Sounds like I need to try xfce. But again - I shouldn’t need to change my desktop environment to do something fundamental that a GUI desktop environment should handle easily. No? Otherwise my desktop environment is just eye candy for xterms.
Same in Windows, too.
Nope. This doesn’t work when you have binaries that are not recognized by GNOME. You need to make a .desktop file for your binary first that define MIME types for that app. If it is a MIME type that is not recognized by the freedesktop.org database, you also have to create an XML file that defines your specific file type based on file extension or other characteristics. Then, you need to use Nautilus to set the default app. It’s a pain in the ass if it’s not a standard app from the Ubuntu App Store and a standard MIME type.
maybe this can help