-
Notifications
You must be signed in to change notification settings - Fork 234
System wide installation Linux #308
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
Comments
Hm the xdg tool might install system wide. Ok, will explore further, I might be wrong here. Closing for now. |
I've doubts about the Processing installation. It's strange that a local installed third party application has files in /usr/share/applications. One would think that belongs in /usr/local/share/applications at least. But /opt is probably the right place to install Processing via the install script. It seems the xdg tool being used, places the *.desktop file in /usr/share/applications. I start to doubt, whether that tool is designed for third party applications. Maybe it's only made for packages that are packaged for a package manager (like apt). When installing a third party application in /opt, all the files should go there it seems. If it's placed somewhere else, it should be a symlink to /opt/processing/... probably. Info: I've reported a similar issue to the Arduino IDE package: Note, I'm not a hardcore Unix expert, but locally installed applications shouldn't belong in /usr/share normally I think. |
FYI the new install script for the new Arduino IDE script, checks whether the script is run as user or as root. It doesn't seems to use the xdg tools anymore. |
FYI: the tool desktop-file-install can specify a directory, while xdg-desktop-menu seems to use defaults for user and root. |
I think the problem may be with the directions you linked to, not Processing—the software works just fine if installed at |
No response; closing. |
I don't understand what you mean by this comment, how your comment is exactly related to the issue. In reality there is not much of an issue here probably, just that I doubt whether it is done correctly. One odd thing I'm experiencing is that when both Arduino and Processing are installed in /opt, Arduino is using the Processing icon. Could be related, I'll explore further. This is the install script I use:
sudo "$processing_destination/./$app_name-$tag_name/install.sh" || exit 1 https://github.com/avlap/linux-mint-djog/blob/develop/4_install_processing3_stable_ubuntu_djog |
This issue has been automatically locked. To avoid confusion with reports that have already been resolved, closed issues are automatically locked 30 days after the last comment. Please open a new issue for related bugs. |
Description
I want to install processing in /opt, for a system wide installation for all users.
Expected Behavior
Copy the downloaded folder to /opt as root. Install it as root.
Menu and desktop files are placed in system wide places
/usr/local/share/applications
/usr/local/share metainfo
etc.
Symlink from /usr/local/bin to the processing executable file
Sketchbook in the user folder, when the user opens the application.
(NOTE: I may not 100% correct here, but you know what I mean).
Installing via a package manager (apt) or something like snapd would be easiest of course.
Current Behavior
It saves to .local/share/*
Not system wide.
Here is a guide who tries to help you with installing in /opt, but I think it should be easier then that: http://www.artsnova.com/processing/installing-processing-ubuntu-linux-tutorial.html
Your Environment
Linux/Debian/Ubuntu
The text was updated successfully, but these errors were encountered: