Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

3
votes
0answers
63 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
568 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
59 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 ...
2
votes
0answers
578 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
1k 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 (...
6
votes
3answers
10k 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
96 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 ...
1
vote
1answer
323 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
111 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
198 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
43 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?
0
votes
1answer
223 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 ...
1
vote
1answer
251 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
814 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
612 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
80 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
55 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.
1
vote
1answer
179 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 ...
3
votes
0answers
3k 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
200 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
3k 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
54 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
531 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 ...
0
votes
1answer
7k 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 ...
8
votes
6answers
6k 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
316 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-...
6
votes
2answers
4k 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
1
vote
1answer
6k 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 ...
23
votes
2answers
11k 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
197 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
625 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....
4
votes
0answers
4k views

Could not open X display, XDG_Runtime_DIR Error:

Output from terminal from where i tried to run nautilus and read an external drive. Also, i got a terminal window before logging in that system is running under log graphics mode, i will have to login ...
0
votes
2answers
78 views

Open File as Other Program

I want to configure Firefox to open .zip files with File-Roller. In the options, I browse to /usr/share/applications/file-roller.desktop and it doesn’t open it as File Roller however nautilus easily ...
5
votes
2answers
4k views

How can I get the (XDG) Default User Directories from Python?

By example, In English the default user folders will be: $HOME/Desktop .... $HOME/Videos In Spanish the default user folders will be: $HOME/Escritorio .... $HOME/Vídeos The file ~/.config/user-...
1
vote
1answer
7k views

Installation problem xdg-desktop-menu: No writable system menu directory found [closed]

When installing the IBM tsm backup client I have the following message on lucid (works on precise) > sudo apt-get upgrade Setting up tsm-client (6.4.0.7-3) ... xdg-desktop-menu: No writable system ...
2
votes
0answers
53 views

“user.mime_type” in desktop environment

Context Guidelines for extended attributes (FreeDesktop) says: user.mime_type: Sets the MIME type of a file explicitly. This attribute is documented by the "Shared MIME-info Database Specification"...
3
votes
2answers
1k views

How can I force all applications to use $XDG_CONFIG_HOME instead of ~/.APP?

As far as I understand, the XDG guidelines recommend that applications store their configuration in $XDG_CONFIG_HOME/APP (usually ~/.config/APP) rather than ~/.APP (I'm not sure if there are also ...
2
votes
0answers
708 views

Custom launcher in Ubuntu 12.04 xdg/autostart

I have some script that should start when user logs in. I've created .desktop file and put it into /etc/xdg/autostart. It works on two pretty old PCs with Ubuntu with a long life (10.xx -> 11.10 -> 12....
0
votes
1answer
632 views

Delay an application at /etc/xdg/startup

For some reason when it's started too quickly when it's active it shows my desktop instead of overlaying on the active windows.I have guake.desktop in /etc/xdg/startup and I'm wondering if there's a ...
1
vote
1answer
1k views

compiz-plugins schemas not found with gsettings

I have installed the extra plugins (compiz-plugins) for CompizConfig Settings Manager (compizconfig-settings-manager) and am trying to change these settings from the command line using gsettings. The ...
18
votes
2answers
4k views

Rename default user directories

Is it possible to rename default directories like ~/Documents, ~/Music, ~/Videos? Especially I want to rename Videos to Movies.
19
votes
3answers
2k views

Is there a way I can rename Trash to Crap?

I was trying to Rename the folder Trash to Crap. I did this I first ran cd /home/username/.local/share/ Now my present working directory is /home/username/.local/share then when I typed ls I ...
1
vote
1answer
3k views

How to define completely new xdg-user-dirs?

I've just configured my ~/.config/user-dirs.dirs file under unity (ubtuntu 12.10) and everything works well so far. But is there any chance to extend the user dirs like this: XDG_UBUNTUONE_DIR="$HOME/...
2
votes
1answer
262 views

How to check in script if upstart event was emited?

I am running remote connection on session start using xdg autostart script. But sometimes network interface needs more time to start. So I need to check if network is up. Is it possible to check if ...
1
vote
1answer
2k views

Desktop empty under Ubuntu 12.04

My problem is that my desktop is empty -- there are no files or directories in it. The launcher on the left and the menu at the top are both ok. But, after a recent upgrade from 12.04 to 12.10, ...
10
votes
5answers
2k views

Weird XDG User Dir resetting bug

I have a weird problem with 12.04 LTS. Regardless of what I do to the ~/.config/user-dirs.dirs file, whenever I login again the next time, that file gets all set to $HOME only. Something is happening ...
6
votes
1answer
557 views

How to use xdg-desktop-icon?

I am on Ubuntu 12.04 with KDE. I'd like to use the xdg-desktop-icon tool because it can be scripted and works cross desktop. Made a minimal file: test.desktop [Desktop Entry] Encoding=UTF-8 Type=...