Help creating desktop launcher using terminal command
0
votes
1
answer
1044
views
I'm using MX Linux 21 (Debian 11 based OS), I could run this command from terminal, but when I created a launcher with terminal=true, it didn't work, what I'm missing? The command is
echo '2-2:1.0' | sudo tee /sys/bus/usb/drivers/usb-storage/unbind
and the .desktop entry is
[Desktop Entry]
Version=1.0
Type=Application
Name=Samsung Off
Comment=
Exec=echo '2-2:1.0' | sudo tee /sys/bus/usb/drivers/usb-storage/unbind
Icon=
Path=
Terminal=true
StartupNotify=false
Asked by michaelbr
(111 rep)
Mar 6, 2022, 08:56 AM
Last activity: Mar 6, 2022, 12:56 PM
Last activity: Mar 6, 2022, 12:56 PM