Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=DriveMan Drive Manager
Icon=mini-fdisk
Comment=DriveMan Drive Manager
Exec=/root/my-applications/driveman/driveman
Terminal=false
Type=Application
Categories=X-FilesystemMount
GenericName=DriveMan Drive Manager
I don`t see how it adds itself to a sub menu, no mention of it that I can see...
Do I really have to add a line to: /root/.jwmrc like this:
Code: Select all
JWMRC=$(</root/.jwmrc)
H=`echo "$JWMRC" |head -$((`echo "$JWMRC" |grep -n Filesystem |sed 's/:.*$//'`+1))`
T=`echo "$JWMRC" |tail +$(($N+1))`
M='<Program label=" DriveMan Drive Manager" icon="mini-fdisk">/root/my-applications/driveman/driveman</Program>'
echo -e "$H\\n$M\\n$T" > /root/.jwmrc