bash命令太长时如何设置Exec?

bash命令太长时如何设置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=两行:

[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=语句分成两行?

相关内容