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

vscode-with-extensions not showing on rofi mode drun #41471

Closed
eadwu opened this issue Jun 5, 2018 · 0 comments · Fixed by #41803
Closed

vscode-with-extensions not showing on rofi mode drun #41471

eadwu opened this issue Jun 5, 2018 · 0 comments · Fixed by #41803

Comments

@eadwu
Copy link
Member

eadwu commented Jun 5, 2018

Issue description

Rofi doesn't seem to find the application for VSCode even though the .desktop file seems to be there. It shows the command code when running rofi -show run but when running rofi -show drun it doesn't seem it show.

root@x> find / -type f -name "code.desktop"                                                                                                                                  ~
/nix/store/9dj4yhpbc8c9y0gm60nzy44snwlfarjy-vscode-1.23.1/share/applications/code.desktop
/nix/store/645l13nf2y001lms2m7am7ab4vbfaklr-code.desktop/share/applications/code.desktop

Steps to reproduce

configuration.nix

in {
  environment = {
    systemPackages =
    (with pkgs; [
      ...
      vscode
      ...
    ]);
  };
}
rofi -show drun

configuration.nix

in {
  environment = {
    systemPackages =
    (with pkgs; [
      ...
      vscode-with-extensions
      ...
    ]);
  };
}
rofi -show drun

Technical details

[1] root@x> nix-shell -p nix-info --run "nix-info -m"                                                                                                                        ~
these paths will be fetched (0.56 MiB download, 2.75 MiB unpacked):
  /nix/store/9yhr50rvn6sw3i1sky125p0fgyb2fr1r-bash-4.4-p19-man
  /nix/store/fcvnn0gkdlg60z49rbp60dchvnrlg4fr-bash-4.4-p19-dev
  /nix/store/fjazq1b9xkgjamx9g9wxsv0mcix1k2gw-bash-4.4-p19-dev
  /nix/store/l9jc3w9q4wc6yn85yz8bdmjl1d52s05i-bash-4.4-p19-doc
  /nix/store/lv10424kaqa9gxajpmq3qd8iydwqi6cw-bash-4.4-p19-info
copying path '/nix/store/l9jc3w9q4wc6yn85yz8bdmjl1d52s05i-bash-4.4-p19-doc' from 'https://cache.nixos.org'...
copying path '/nix/store/lv10424kaqa9gxajpmq3qd8iydwqi6cw-bash-4.4-p19-info' from 'https://cache.nixos.org'...
copying path '/nix/store/9yhr50rvn6sw3i1sky125p0fgyb2fr1r-bash-4.4-p19-man' from 'https://cache.nixos.org'...
copying path '/nix/store/fcvnn0gkdlg60z49rbp60dchvnrlg4fr-bash-4.4-p19-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/fjazq1b9xkgjamx9g9wxsv0mcix1k2gw-bash-4.4-p19-dev' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 4.14.43, NixOS, 18.09pre140958.696c6bed4e8 (Jellyfish)`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.0.2`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant