Reboot the system (a tad drastic but it will work for sure.) Most times, after creating a desktop application launcher, we must "refresh" the desktop environment to make it available. Hitting the shortcut CTRL+h once more will let all configuration folders hidden again if we wish to tidy up the home folder appearance, that is. Linux uses a dot at the beginning of a folder (or file) name to mark it as "hidden." Those are mostly configuration folders (and files) that a user hardly ever needs to see or touch manually. local we can hit CTRL+h in our home folder file navigator window and it will show it, with other folders starting with a dot. We can create this text file anywhere and then move it to /home/USERNAME/.local/share/applications afterwards. The added StartupWMClass=3dcoat makes sure that when using a Dock panel in Gnome it won't duplicate visible icons when running 3DCoat (otherwise 3DCoat will appear as an additional icon in the dock when running, alongside the icon to launch it) If, for some reason, we want 3DCoat to run without any output on a Terminal, we can change the line Terminal=true to Terminal=false in the text file sktop We must change USERNAME the above text lines to match our actual user name.Īlso, make sure that the icon folder description is correct too (if we placed our 3DCoat unpacked folder somewhere else, now is the time to edit that line to fit our folder structure). Icon=/home/USERNAME/Programs/3DCoat-2023/data/Icon/3DCoat.png Since 3DCoat will not be doing it on its own, we'll do it ourselves to have a nice way to run the program, with an icon, in our user's Desktop. desktop file is a Gnome Desktop Environment launcher for programs. desktop file in /home/USERNAME/.local/share/applications called sktopĪ. We do it by right clicking the text file and in Properties tick "Allow executing file as program" in Permissions tab.Īlternatively, with a terminal open in the directory (folder) where the file is, we type: Since this text file is meant to run as a script, a command, we must tell the system we authorise the text file to run as a program instead of treating it as an ordinary text file. In the example above I used the more recent one, but it can be changed by typing 3dcoat-Ubuntu20.04 instead in the text file if there are issues running 3DCoat in your machine to see if that helps.) (Since 2023 came about, 3DCoat has two versions for Linux: 3dcoat-Ubuntu22.04 and 3dcoat-Ubuntu20.04. Remember to change USERNAME in the lines above to our actual user name. This is the file that will actually run 3DCoat in our system: It goes to where the program executable is and runs it. The text file should contain just two lines of text: (It can be anywhere, in fact, we just must remember where we place it for a future step).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |