[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Have this CLI / one-liner works as exactly well as in a launcher
From: |
Budi |
Subject: |
Have this CLI / one-liner works as exactly well as in a launcher |
Date: |
Mon, 11 Dec 2023 07:26:57 +0700 |
*WINEARCH=win64; cd /home/budi/.wine/drive_c/shamela4; LC_ALL=ar_SA.UTF-8
wine64 app/win/64/bin/shamela.exe & exit *
How to have the above functional CLI / one-liner works as exactly well as
in a Linux Xfce desktop launcher:
Aim is:
To have the app/executable after being launched 100% work, it must get
separated of Bash (and terminal) and Bash (and terminal) must then be
closed/killed completely
it'll execute the .exe binary upon wine binary successfully than back to
bash environment and exiting it automatically closing the whatever terminal
hosting it
been trying more than 25 tries for 3 days with no avail (!)
differs only USER=foo due to a reason, eg. tries:
1.
usr/bin/env WINEARCH=win64 LC_ALL=ar_SA.UTF-8 wine64 app/win/64/bin/shamela.exe
& exit
2.
same above with launcher "Working Directory field" ia set to
/home/foo/.wine/drive_c/shamela4
3.
xfce4-terminal --execute bash -c 'export WINEARCH=win64; cd
/home/foo/.wine/drive_c/shamela4; LC_ALL=ar_SA.UTF-8 wine64
app/win/64/bin/shamela.exe
;exec bash & exit'
4.
xfce4-terminal --execute bash --rcfile ini.sh
whle ini.sh
export WINEARCH=win64
cd /home/foo/.wine/drive_c/shamela4
LC_ALL=ar_SA.UTF-8 wine64 app/win/64/bin/shamela.exe & exit
5
same above with the end is changed:
&{ sleep 9; exit ;}
6
same above with the end is changed:
&{ disown; exit ;}
...
all such combination much more so on.
either it won't get launched or later on both exit ( the sleep try), or
launched while both keep together alive on PID
PLEASE SINCERELY HELP !
- Have this CLI / one-liner works as exactly well as in a launcher,
Budi <=