Apnea Board Forum - CPAP | Sleep Apnea
A stupid question about OSCAR - Printable Version

+- Apnea Board Forum - CPAP | Sleep Apnea (https://www.apneaboard.com/forums)
+-- Forum: Public Area (https://www.apneaboard.com/forums/Forum-Public-Area)
+--- Forum: Software Support Forum (https://www.apneaboard.com/forums/Forum-Software-Support-Forum)
+--- Thread: A stupid question about OSCAR (/Thread-A-stupid-question-about-OSCAR)



A stupid question about OSCAR - JJJ - 11-23-2019

It's been awhile since I've been here, but I'm back. I just installed Oscar on Xubuntu 18.04. There were no problems installing it, but the installation created no launch menu items. I tried launching it with 'oscar' from the command line, but just got an error that there was no such program. Apparently the executable file is named something else. How in the heck do I launch it?


RE: A stupid question about Oscar - unidee - 11-23-2019

Try this in directory where the oscar executable is or give full path to command.

Code:
./oscar

Maybe your path settings tries to find oscar somewhere where it isn't.


RE: A stupid question about Oscar - JJJ - 11-23-2019

It turns out that the executable is OSCAR, not oscar. Now I'll just make a .desktop file for it in /usr/share/applications and all will be well.

I should add a tip for the developers - most Linux apps create a .desktop during the installation, i.e., it is contained in the package (.deb or .rpm or source). But don't ask me how to do that, because I've never created a package file. The .desktop file is just a short text document. Here is the one I created for myself:


Code:
[Desktop Entry]
Version=1.0
Name=Oscar
Comment=Tool for viewing *PAP data
Categories=Accessories;System;Education;
Exec=/opt/OSCAR/OSCAR
Terminal=false
Type=Application
Name[en_US]=Oscar
GenericName[en_US]=Oscar
Icon=/opt/OSCAR/OSCAR.png

It needs to be saved in /usr/share/applications or in /home/<your username>/.local/share/applications. You can edit the Categories= line to indicate which menu categories you want it to appear in.