Questions tagged [xdg]

Xdg was an acronym for the X Desktop Group, which is now known as freedesktop.org, but the label has remained. The freedesktop.org project has created a set of standards that now underlie X desktop environments such as GNOME, KDE and many others.

Filter by
Sorted by
Tagged with
1
vote
0answers
8 views

Where to find the X-GNOME-* keys documentation for .desktop files

I've searched the net with no luck trying to find the documentation for the extended X-GNOME-* keys used into the .desktop files. can anyone point me to such documentation? Thanks
17
votes
3answers
2k views

In a .desktop file, what is the “%U” variable?

Or, more generally, what is the syntax of the commands such as exo-open --launch WebBrowser %u ?
0
votes
2answers
46 views

What is the Minimum Setup Needed for Setting-up XDG Directories ($XDG_RUNTIME_DIR etc.)?

I'm in a setup (20.04) that is basically headless (a solaris zone, but we could probably consider it analogous to any server sort of setup), and as such, I don't have any graphical environment ...
1
vote
0answers
38 views

Should I add $HOME/.local/share to XDG_DATA_DIRS?

Currently XDG_DATA_DIRS contains /usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop. I would like to add ~/.local/share to the list. My reason is the following: Now the fish shell ...
0
votes
0answers
16 views

xdg-document is keeping my files open

I use Master PDf editor installed through flathub to edit some PDf files. When I close it, I can sse by lsof | grep /media/<MYUSER>/<DEVICE> that xdg-document is keeping my file open. What ...
0
votes
0answers
15 views

How to convert shell command line into XDG .desktop Exec key?

I am using Ubuntu 20.04 x86_64 with its usual GNOME3 I tried to use Wine to install certain Cyrillic-named library software, and it created a folder "Система ИРБИС64 unicode" in my desktop, ...
2
votes
0answers
439 views

xdg-utils seem to be unavailable on your system

After installing JetBrains IntelliJ IDEA Community edition and going through the customization wizard, hitting the final button labeled "Start Using IntelliJ IDEA" causes a window to pop up ...
0
votes
1answer
787 views

Ubuntu 20.04.1 tracker-miner errors in Syslog

New install of 20.04.1 running only pi.hole and unifi controller software. It’s Ubuntu desktop, but I’m basically running it headless. I’ve noticed that I’m getting this set of tracker-miner related ...
6
votes
1answer
8k views

XDG_RUNTIME_DIR is not owned by us (uid 0)

XDG_RUNTIME_DIR is not owned by us (uid 0), but by uid 999!(This could eg happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.) I am trying ...
2
votes
1answer
350 views

Unable to lock screen

I'm using Ubuntu 18.04 with default DE on my laptop. I have an external monitor that I used for weeks without problem. (maybe during an update) I closed the lid and then the desktop appeared on the ...
1
vote
1answer
542 views

XDG RUNTIME DIR not set error encountered while trying to use KDE Partition Manager

Ubuntu dabbler here with quite the situation. I'm using Lubuntu 19.10 and I was trying to reformat a flash drive. Running the KDE Partition Manager doesn't allow me to do anything other than view the ...
1
vote
0answers
69 views

After removing sddm and lubuntu-desktop, my desktop environment is missing some environment variables

After removing sddm and lubuntu-desktop, and using startx to spin up a graphical interface with my window manager of choice (cwm), ~/.local/bin is not on the PATH anymore. I googled around and it ...
3
votes
0answers
236 views

Is there any GUI tool for xdg-mime?

Usually, I should write a FileType.xml and use xdg-mime install FileType.xml then use xdg-mime default xxx.desktop file-type to set default application and xdg-icon-resource install xxx to set ...
2
votes
1answer
206 views

How to open *.htm differently than *.html?

I'm trying to get *.htm files to open in a different application than for *.html (MIME Type text/html), as generally described in GNOME Help > Add a custom MIME type for all users. I've created /usr/...
0
votes
1answer
60 views

find . -name “documentation.html” | xargs xdg-open

The (bash) command find . -name "documentation.html" | xargs xdg-open finds a file and passes its path to xdg-open, but xdg-open errors out: xdg-open: unexpected argument './distribution/docs/target/...
0
votes
1answer
206 views

Extremely slow graphical desktop startup process Ubuntu 18.10

I have experienced a stubborn issue after upgrading my Ubuntu from 18.04 to 18.10. Every time I would like to login into my system via lightdm the login process takes a lot of time (more than 2 ...
3
votes
0answers
385 views

Can I lowercase all the /home/$USER/ directories that start with an uppercase letter? [duplicate]

~/Pictures, ~/Downloads, ~/Desktop, ~/Documents, etc. These are some of the only uppercase directories on my system, and I usually type ~/pictures forgetting that the first letter has to be uppercase. ...
1
vote
1answer
711 views

Either system tray icons or unity-control-center icons disappear - how can I have both?

Note: I'm using Unity desktop on 18.04. First, most of the icons in unity-control-center are missing after I installed then uninstalled mate-desktop and caja. I tried reinstalling all of the ...
1
vote
0answers
143 views

phpstorm snap missing desktop

Ubuntu 16.04 (kernel: 4.13.0-1012-azure) Snap 2.32.3.2 Snapd 2.32.3.2 I tried installing phpstorm via sudo snap install phpstorm --classic. I can see that phpstorm is installed and can be run from ...
5
votes
1answer
2k views

How do mimeinfo.cache files relate to mimeapps.list?

The different mimeinfo.cache files are populated by update-desktop-database from the .desktop files you have around. However, file browsers and such seem to use mimeapps.list files. Manipulating ...
2
votes
1answer
2k views

Unable to install VeraCrypt - (k)ubuntu 17.10

Trying to install VeraCrypt on a new install og Kubuntu 17.10. However I'm having some trouble. Running the veracrypt-1.21-setup-gui-x64 file (double click -> execute), extracted from archive (...
11
votes
3answers
14k views

ubuntu-dock settings not accessible in gnome-control-center by default

I recently shifted to Ubuntu 17.10. After enabling ubuntu-dock extension from Gnome-Tweak-Tools, I found no specific settings for customizing the Ubuntu-Dock in gnome-settings or gnome-control-center. ...
0
votes
0answers
400 views

Can I meddle with xdg-setting to open a popup asking me with which browser to open a link I just clicked?

I work on multiple browsers simultaneously. I wish that every time I open a link from outside a browser( let's say from a pfd) a window or a terminal pops up to ask me which browser to use. Is there ...
2
votes
1answer
474 views

Need an xdg-open tweak

I know that by running watch -n 10 xdg-open https://duckduckgo.com in the terminal, will open the specified site in a preferred browser at each 10 seconds. I am looking for a tweak which will close ...
0
votes
1answer
217 views

Startup Applications not running in Remote Session

I'm running Ubuntu 16.04.2 with XRDP and I have startup applications. The startup applications run when it's on the computer itself but, the startup applications don't start when it's a remote session....
0
votes
0answers
449 views

error when running synaptic: XDG_RUNTIME_DIR not set in the environment cannot open display

After installing synaptic by typing sudo apt-get synaptic I tried to run it with sudo synaptic and I am getting this error: error: XDG_RUNTIME_DIR not set in the environment synaptic (4865):Gtk ...
0
votes
1answer
59 views

Change Desktop directory

I would like to temporarily use a different directory as my "Desktop". Is there a way to do this? Would it be possible to have different wallpapers for each directory?
1
vote
1answer
311 views

Installing Anki 2.0.42 breaks graphical display on fresh Ubuntu 16.04 install - xdg-mime related?

Installing the 64 bit Anki deb file (v2.0.42) on my Dell Inspiron 5423, running Ubuntu 14.04 or Ubuntu 16.04, seems to break the desktop (details and photo below). I have only been able to fix the ...
0
votes
1answer
787 views

Move .tmux and .tmuxinator directories

How can I move the .tmux and .tmuxinator directories from their default location ($HOME) to comply with the XDG Base Directory Specification? As these are configuration directories, I would expect ...
3
votes
1answer
1k views

Ubuntu Studio menu audio, video production, graphics directory menu entry disappeared

Ubuntu Studio menu has broken - I must have installed something or made a change to the menu (I used the menu editor to add a launcher), and I lost the audio production, video production and graphics ...
5
votes
1answer
1k views

Can I change the name of the Desktop directory?

Is it possible to change Desktop directory name? If it is how can I rename that directory? I've tried mv /home/username/Desktop /home/username/newName.
0
votes
1answer
131 views

.desktop file changing Exec depending on desktop environment

I am trying to make a .desktop file on my desktop which opens a window of the file manager of the desktop env I'm currently in (Nautilus for Ubuntu, PCManFM for LXDE) but my file doesn't seem to work: ...
1
vote
0answers
66 views

How to update nautilus bookmarks after changing user-dirs?

I change the user-dirs.dirs of xdg. However, those changed dirs like the Pictures bookmarks are missing, how to make the bookmarks shown again? Thanks.
2
votes
1answer
263 views

xdg-email can't find thunderbird

Clicking a mailto link in chromium-browser it executes xdg-email mailto:example@example.com (or maybe without "mailto:", which seems to be the same thing). In my case this opens kmail instead of ...
21
votes
1answer
2k views

How to set the default program to open a certain file type in a certain folder?

As well as being a Panda I am also an artist, I make my artwork mostly in GIMP and save my pictures to a certain directory on my computer. However I have a slight inconvenience because I save my ...
4
votes
0answers
4k views

Changing protocol handler in google chrome, opening a Telegram link

I installed Telegram Desktop for Linux 64-bit. To join a Telegram channel, when a channel URL is opened in google chrome (e.g. telegram.me/channel_name) the browser prompts and asks which application ...
0
votes
1answer
708 views

What do user folders do?

In ~/.config/user-dirs.dirs you can change the user folders. But do they actually do anything except for changing the links in Nautilus? I can see that changing XDG_DESKTOP_DIR does something – namely ...
5
votes
1answer
4k views

How can i change the Pictures/Documents/etc directory?

I am a total noob in Ubuntu, and i would like to change the default directory of Documents, Music, Pictures etc. My setting is as follows: 1 partition for Windows 1 partition for ubuntu 1 ...
0
votes
1answer
74 views

who manages $HOME/.recently-used?

Who manages $HOME/.recently-used? And is there a spec for it? Could not find one, but maybe I am blind.
1
vote
1answer
719 views

Why firefox is default browser in Xubuntu?

I have a lot of apps which ignore xfce browser settings: for example banshee. It still opens links in firefox, but I set google-chrome as default. It is default in xfce-preferred-apps, it is default ...
3
votes
1answer
9k views

How to create new Magic Cookie?

I've been searching around on Google but I cannot find my answer on how to create a new MIT-MAGIC-COOKIE. I recently did a reinstall and I had copied over my files from a backup back into my home ...
12
votes
6answers
9k views

Why do PDF documents open with ImageMagick?

Query shows evince is my default handler. But, double clicking a pdf file opens ImageMagick. A pdf file's Properties shows ImageMagick as the default handler. Why is this happening ? After ...
2
votes
2answers
558 views

Set XDG user directories as symlinks to removable media

I have a removable media (SD card) which automatically mounts itself when I log into Ubuntu. I want all my user directories (Music, Downloads etc) in that removable media. I modified the .config/user-...
11
votes
2answers
7k views

Is $HOME/.local/share the default value for $XDG_DATA_HOME in Ubuntu 14.04?

What's the default value for $XDG_DATA_HOME in Ubuntu 14.04? I get an empty line with: echo $XDG_DATA_HOME According to the Free Desktop Specifications, it might be equals to $HOME/.local/share
2
votes
1answer
12k views

How to set XDG_RUNTIME_DIR

$XDG_RUNTIME_DIR is not well set on my computer and this causes upstart to write PID files to my home folder. May I know what it should be and where to set it?
1
vote
0answers
1k views

Renaming Folders using xdg-users-dirs does not work [duplicate]

I'm attempting to rename my special folders. As per my understanding, there are two ways to specify this. Local, ~/.config/user-dirs.dirs Global, /etc/xdg/user-dirs.defaults I've changed both ...
33
votes
2answers
21k views

Why is my desktop the same as home folder?

My desktop (not the /home/user/Desktop folder) shows the contents of my /home/user folder. I don't know how I have done it and can I have some help on undoing it? The /home/user/Desktop folder just ...
2
votes
1answer
228 views

Why I cannot mount ISO file from this .desktop file by `fuseiso`?

I want to mount iso files without root permission by fuseiso, and this is how to mount a iso file: fuseiso -p '/path/to/isofilename' '/media/isofilename' , so I make a .desktop file followed ...
2
votes
1answer
972 views

Public directory ($XDG_PUBLICSHARE_DIR) created despite “enabled=False” in user-dirs.conf

I've set "enabled=False" in my /etc/xdg/user-dirs.conf which, according to comments in that file, and also according to the spec, should stop xdg-user-dirs-update from running at login time and thus ...
1
vote
3answers
2k views

awesome wm with xubuntu - setting wallpaper resets to default

I am using awesome v3.4.15 (Never Gonna Give You Up) and (X)Ubuntu. My display manager is lightdm. In /etc/xdg/awesome/rc.lua I've added this line to change my background to a solid color: theme....