[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Have this CLI / one-liner works as exactly well as in a launcher
From: |
bill-auger |
Subject: |
Re: Have this CLI / one-liner works as exactly well as in a launcher |
Date: |
Mon, 11 Dec 2023 09:26:03 -0500 |
this is not really a BASH question - any of this would apply to any shell - i
suspect that your troubles are much more likely to be related to wine and the
wine environment
but another thing to note, is that launcher scripts are not the norm in the *nix
world - if you are running an XDG-compliant desktop such as XFCE, the standard
way to create launchers for GUI applications is XDG .desktop files (look under
/usr/share/applications/ for examples), which automatically makes the launcher
available in the desktop application menus - see if you can find a .desktop
file which launches a wine application and customize it - you can put your own
under $HOME/.local/share/applications - the "one-liner" would be quite similar
otherwise - that would be the Exec= line in the .desktop file
note that you should not make assumptions about the environment $PATH in
scripts which may be run by any user, but always use absolute paths (not simply
'wine64') - that alone could be the problem with your current approach