[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Expansion of @libexecdir@ in .desktop.in file includes ${exec_prefix}
From: |
Stefan Koch |
Subject: |
Expansion of @libexecdir@ in .desktop.in file includes ${exec_prefix} |
Date: |
Tue, 19 Jan 2021 00:55:00 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
Hi
The line:
Exec=@libexecdir@/usbauth-notifier/usbauth-notifier
from
https://github.com/kochstefan/usbauth-all/blob/master/usbauth-notifier/data/usbauth-notifier.desktop.in
will expanded to:
Exec=${exec_prefix}/libexec/usbauth-notifier/usbauth-notifier
But desktop-Files doesn't allow variables.
Do you have an idea how to get the line expanded to:
Exec=/usr/libexec/usbauth-notifier/usbauth-notifier
without the ${exec_prefix} variable?
Or is there a way to get only "libexec" string from a @variable@ macro?
On SUSE @libexecdir@ must expanded to /usr/lib
Thanks and best regards
Stefan