fosKeyMan
Loading...
Searching...
No Matches
src.resources.createlinuxlauncher Namespace Reference

Create a Linux launcher file for fosKeyMan. More...

Functions

 main ()
 

Variables

str filecontent
 

Detailed Description

Create a Linux launcher file for fosKeyMan.

It is assumed, that the current directory:

  • contains the binary (compiled program) called fosKeyMan,
  • contains the logo foskeyman_logo_short.svg.
  • will be the working directory for fosKeyMan (config and log files will be written here).

The file fosKeyMan.desktop is created in the current directory. The file can be copied to the desktop. Copy the launcher to ~/.local/share/applications/ if you want the launcher to show up in the start menu of the desktop environment

For the documentation on the format, see the Desktop Entry Specification.

Author
Bertram Richter
Date
2025

Function Documentation

◆ main()

src.resources.createlinuxlauncher.main ( )

Definition at line 36 of file createlinuxlauncher.py.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ filecontent

str src.resources.createlinuxlauncher.filecontent
Initial value:
1= \
2r"""
3[Desktop Entry]
4Type = Application
5Name = fosKeyMan
6Comment = Fiber optic Sensor Key Manager
7Icon = {iconpath}
8Categories = Office;Utility;Settings
9Path = {directory}
10Terminal = false
11Exec = {binpath}
12"""

Definition at line 23 of file createlinuxlauncher.py.