aliens

Author Topic: [QUICK TIP] Openxcom linux launcher  (Read 1461 times)

Offline gijoe

  • Sergeant
  • **
  • Posts: 42
    • View Profile
[QUICK TIP] Openxcom linux launcher
« on: December 20, 2020, 09:35:41 am »
Hello there, i happen to use ubuntu 20.04, if you need might creathe a launcher for the linux executable, just create as follows a simple text file and give it the extension .desktop, the contente is:

Code: [Select]
[Desktop Entry]
Name=OpenXcom Extended
Path=PATH TO FOLDER
Exec=PATH TO EXECUTABLE
Icon=PATH TO FOLDER/common/openxcom.png
Terminal=false
Type=Application
StartupNotify=true
Encoding=UTF-8

Of course, you have to make the file executable as a program. Usually linux distribution provide tools to get the job done, this is for those like to do it manually  :)

Offline gijoe

  • Sergeant
  • **
  • Posts: 42
    • View Profile
Re: [QUICK TIP] Openxcom linux launcher
« Reply #1 on: December 31, 2020, 01:41:14 pm »
Update: to show that link in the desktop menu, that file should be copied, to make avaiable to all users of a system, in

Code: [Select]
/usr/share/applications/
to make avaiable instead to one ore specifically chosen users, it would go in the /home directory, example:

Code: [Select]
HOME DIRECTORY OF THE USER/.local/share/applications