neurobin / JLIVECD

Live cd/dvd customization tool
https://neurobin.org/projects/softwares/unix/JLIVECD/
GNU General Public License v2.0
89 stars 24 forks source link

Problem with the Desktop file #18

Closed ikeman32 closed 7 years ago

ikeman32 commented 7 years ago

This is a small matter, the script works like a charm from the command line. But the desktop entry file appears to be invalid. When I click the menu launcher this is what comes up:

An error window that says: Invalid desktop entry file: '/home/duke/.local/share/applications/JLIVECD.desktop'

The only other problem which was easily corrected is that the script seems to have a problem with the terminal emulator call Terminator when opening the chroot terminal. I set the system so that it would open xterm instead.

I am using Lubuntu 17.04 amd64 and other than what I stated above it works like a charm. Have successfully used it to remaster the Lubuntu iso.

neurobin commented 7 years ago

I am not sure how it got into '/home/duke/.local/share/applications/JLIVECD.desktop'. the install script installs the desktop entry file in '/usr/share/applications/JLIVECD.desktop'. May be deleting '/home/duke/.local/share/applications/JLIVECD.desktop' would help.

I set the system so that it would open xterm instead

I am not sure if you mean the system default terminal, but if it is, you don't need to change the system terminal, you can just change JLIVECD default terminal:

sudo JLopt -t1 xterm
ikeman32 commented 7 years ago

I got the issue worked out. Apparently the install script creates the desktop Exec entry with quotes around the launch command. Removing the quotes got the launcher working properly. All is well.