Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XDG_DATA_DIRS not set on non-nixos linux installation #78822

Open
marius851000 opened this issue Jan 30, 2020 · 2 comments
Open

XDG_DATA_DIRS not set on non-nixos linux installation #78822

marius851000 opened this issue Jan 30, 2020 · 2 comments
Labels
0.kind: bug Something is broken 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

Comments

@marius851000
Copy link
Contributor

Describe the bug
The environment variable XDG_DATA_DIRS is not set with the file I put in .profile, resulting in app not appearing on the list of app and missing icon (I manage my icon with nix)

To Reproduce

  1. Make a clean install of nix on non-nixos linux (used ubuntu with kubuntu-desktop)
  2. Be sure to add what the installer asked in the .profile
  3. install an app, for exemple firefox and uninstall the default installed one if any.
  4. Disconnect/reconnect. The icon is missing in the app launcher, but it can be launched from the command line.

Expected behavior
Have the icon appear on the desktop. It can be done by adding export XDG_DATA_DIRS="$NIX_LINK/share:$XDG_DATA_DIRS" to the .profile file.

Metadata
Can't. Currently behind a proxy, and nix doesn't work when behind a proxy and proxy variable are set on a non-super user variable. Nix is not configured for the super user (this is tempory situation time I figure why nixos don't work with my screen)

@marius851000 marius851000 added the 0.kind: bug Something is broken label Jan 30, 2020
@matthewbauer
Copy link
Member

This is intentional I think:

NixOS/nix#2443 (comment)

@stale
Copy link

stale bot commented Jul 28, 2020

Hello, I'm a bot and I thank you in the name of the community for opening this issue.

To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.

The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.

If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.

Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Projects
None yet
Development

No branches or pull requests

2 participants