![bash命令太长时如何设置Exec?](https://linux22.com/image/213834/bash%E5%91%BD%E4%BB%A4%E5%A4%AA%E9%95%BF%E6%97%B6%E5%A6%82%E4%BD%95%E8%AE%BE%E7%BD%AEExec%EF%BC%9F.png)
桌面文件工作正常:
[Desktop Entry]
Type=Action
Name=unrar zip or rar file
Profiles=unrar
[X-Action-Profile unrar]
MimeTypes=inode/directory
Exec=bash -c "unar /home/test.rar -o /tmp;zenity --info --text \"extract rar file into target\""
我想将其分成Exec=
两行:
[Desktop Entry]
Type=Action
Name=unrar zip or rar file
Profiles=unrar
[X-Action-Profile unrar]
MimeTypes=inode/directory
Exec=bash -c "unar /home/test.rar -o /tmp;
zenity --info --text \"extract rar file into target\""
桌面文件不生效,如何将Exec=
语句分成两行?