Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

freedesktop

Is there an “open with” command for the command line?

August 10, 2022 by Magenaut

Does the command line have a way to get a recommended list of programs used to open a particular file, based on the file type? For example, a .pdf file would have an open with... recommendation using the programs Evince and Document Viewer.

Categories Q&A, Unix & Linux Tags desktop-environment, file-opening, files, freedesktop, mime-types Leave a comment

How do I write a command for the Exec key in a .desktop file containing a reserved character correctly?

August 8, 2022 by Magenaut

I’m trying to make a .desktop file for Minecraft. Nothing appears to happen upon executing the file. I’ve tried assigning the Exec key as follows:

Categories Q&A, Unix & Linux Tags assignment, desktop, freedesktop, quoting Leave a comment

How to validate/verify .desktop files?

August 7, 2022 by Magenaut

I have a couple of .desktop files that aren’t working as expected or not at all. I can’t see any error anywhere and asking for help on each one seems unproductive. Is there a way I can verify that I’m using the correct syntax in the file, that it complies with the FreeDesktop standard, so I can apply specific fixes?

Categories Q&A, Unix & Linux Tags desktop, freedesktop, xdg Leave a comment

How to change the default program for a chosen file type system-wide in kde or xfce?

August 6, 2022 by Magenaut

I would like to have files of a chosen type (by their extension) to open with some specific programs. Which configuration files do I need to edit?
I’ve tried some in /usr/share/appplications/default.list but it doesn’t work.

Categories Q&A, Unix & Linux Tags files, freedesktop, kde, xfce Leave a comment
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress