Questions tagged [xdgutils]

The xdg-utils package is a set of simple scripts that provide basic desktop integration functions for any Free Desktop, such as Linux. They are intended to provide a set of defacto standards.

This version of xdg-utils contains the following commands:

  • xdg-desktop-menu: command line tool for (un)installing desktop menu items
  • xdg-desktop-icon: command line tool for (un)installing icons to the desktop
  • xdg-mime: command line tool for querying information about file type handling and adding descriptions for new file types
  • xdg-icon-resource: command line tool for (un)installing icon resources
  • xdg-open: opens a file or URL in the user's preferred application
  • xdg-email: command line tool for sending mail using the user's preferred e-mail composer
  • xdg-screensaver: command line tool for controlling the screensaver
68 questions
0
votes
0 answers

Mapping of mimetypes for filename

Is there a way to map a filename and not a filetype on a specific mimetype? Im using .config/mimeapps.list as default. I need this because Chromium does match the current mimetypes with the file extension and not with filenames and the file i want…
Nico
  • 323
  • 4
  • 14
0
votes
2 answers

What does # enter key do in linux terminal?

I recently used #Enter (# followed by pressing Enter key) to get a newline after opening okular using xdg-open gave a bunch of logs. What processes or services does # enter kill and can it possibly introduce any errors in process running (that of…
lordparthurnaax
  • 198
  • 3
  • 14
0
votes
1 answer

open an error log from bash

I have a script that records error while creating users. At the last line of my script I open the file with the following command: xdg-open "error.log"& It open correctly, but I have the flwg error message: (gedit:23228): dconf-WARNING **: failed…
0
votes
2 answers

Show GNOME "Open with" dialog

Is there a way to open the "Open with" dialog programmatically for a given file? I mean the dialog that you get when you right-click a file in Nautilus and select "Open with". I'm preferably looking for a simple shell command to use, but an API or a…
jdm
  • 9,470
  • 12
  • 58
  • 110
0
votes
1 answer

Nautilus Desktop don't use the right folder

I'm on an elementaryOS Luna system. Originally it doesn't has the desktop for files, so I modded it with nautilus desktop. All works. I want that nautilus uses the "/home/user/Desktop" - Folder as Desktop, but it shows the content of the folder…
-1
votes
1 answer

How to run xdg-open to execute a google search from command line?

If I can search google from the command line on Ubuntu, it would save me a lot of time in my workflow. If I run this it opens up Google. xdg-open 'https://www.google.com/search?q="searchterm1" "searchterm2"' I dont know how to make this google.sh…
-1
votes
1 answer

Python open file in specific application using xdg-utils?

i have this line of code in my python script: os.system("xdg-open " + "User_interaction.py") It works fine and opens the python file in the default application associated with the .py file type but i want it to run the file. I know i…
Crevitus
  • 112
  • 2
  • 11
-5
votes
2 answers

Where is the Trash directory?

The trash spec tells me that the Trash directory is here: $XDG_DATA_HOME/Trash Looking at my environment variables on my Linux Mint system, I find a bunch of XDG stuff, but no XDG_DATA_HOME I've done some looking, but so far I have not been able to…
Chuck Pergiel
  • 151
  • 2
  • 14
1 2 3 4
5