-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
and desktop file for Inkscape
e95944c
to
13c7cce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Less confusion for the MarIuX desktop users.
desktop-files/rstudio.desktop
Outdated
@@ -0,0 +1,9 @@ | |||
[Desktop Entry] | |||
Exec=bash -c "PATH=$PATH:/usr/local/package/bin rstudio %F" | |||
TryExec=bash -c "PATH=$PATH:/usr/local/package/bin rstudio" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn’t it installed/available on all our systems? From Desktop Entry Specification:
Path to an executable file on disk used to determine if the program is actually installed. If the path is not an absolute path, the file is looked up in the $PATH environment variable. If the file is not present or if it is not executable, the entry may be ignored (not be used in menus, for example).
desktop-files/rstudio.desktop
Outdated
@@ -0,0 +1,9 @@ | |||
[Desktop Entry] | |||
Exec=bash -c "PATH=$PATH:/usr/local/package/bin rstudio %F" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It’d be great if you added a comment, why the package path isn’t there by default, and why it works for Inkscape, and not here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rstudio is looking for R and can't find it in the PATH, because the GUI env is different from the terminal env.
'/etc/environment' != '/etc/profile'
/etc/environment set the PATH for the GUI
add '/usr/local/package/bin' to rstudio profile
13c7cce
to
bd2df98
Compare
I have add some other tools, which could be interesting for the user. Maybe we can add '/usr/local/package' to XDG_DATA_DIRS, so that we can easily distinguish whether the tool comes from the package or the system. |
There already is a |
I think it is some old stuff from time, when inkscape was moved to package.
XDG_DATA_DIRS needs subdirs with the files in it (tested on sigquit and sigill). Maybe we use /usr/local/package/desktopfiles and in it the applications folder with the desktopfiles. |
Sorry, wasn't aware of that. I'm happy with everything:
|
288a293
to
d9ea8c7
Compare
add desktop files for pkg programms, so that the user can find it