Didn't want to ask but I've tried for a couple of hours now....
You guys helped me get unicenta running by going into terminal and cd /home/jason/unicentaopos-3.91.2 then sh start.sh.
I can go into terminal every time and get the program running this way. I'd like to create a desktop shortcut so I can just click and the program starts. I'm using Mint 17 Cinnamon. I've right clicked desktop and clicked create new launcher but nothing I put in will allow me to click the OK button so I must be doing something wrong. Thanks in advance. |
Is start.sh set as executable? If it is then just put the following in your shortcut:
Code:
/home/jason/unicentaopos-3.91.2/start.sh |
Quote:
Thanks |
Show us the properties of start.sh
example on mine Code:
$ ls -l .weather.sh Quote:
|
L.E. Ignore this.. I've reread your second comment and I was wrong.. Just try running this once:
Code:
chmod u+x /home/jason/unicentaopos-3.91.2/start.sh |
Quote:
|
Both options should work...
|
I love learning new things and I always eventually become very good at what I work at but this is very frustrating. Now I've tried it with launch in terminal checked and unchecked, and I have a desktop icon, however nothing happens when I click on it. ????
|
Try to edit that desktop link and set the working directory to /home/jason/unicentaopos-3.91.2 and the command to start.sh
|
Found this about installing Unicenta in Ubuntu. This may apply to Mint as well?
3. Fix uniCenta oPOS launcher. uniCenta oPOS creates a fautly desktop launcher icon in Ubuntu. To fix this we need to first move and fix the launcher, open a terminal and enter: cd ~/Desktop sudo sed 's/Exec/#Exec/g' "uniCenta oPOS.desktop" > /tmp/.unicenta.desktop sudo echo -e "\nExec=sh /opt/unicentaopos-3.01/start.sh" >> /tmp/.unicenta.desktop sudo rm "uniCenta oPOS.desktop" sudo mv /tmp/.unicenta.desktop "/usr/share/applications/uniCenta oPOS.desktop" 4. Fix start.sh As strange as it may seem, the start.sh file has control characters (^M) in that prevents the program from running correctly on Linux. To fix this we create a new start.sh file in the installation directory with the non printable characters removed. sudo cat /opt/unicentaopos-3.01/start.sh | sed 's/\o015//g' > /tmp/.start.sh sudo mv /opt/unicentaopos-3.01/start.sh /opt/unicentaopos-3.01/start-original.sh sudo mv /tmp/.start.sh /opt/unicentaopos-3.01/start.sh All that is left to do is to make the start.sh file executable: sudo chmod +x /opt/unicentaopos-3.01/start.sh You will now be able to find uniCenta in the Dash and start the application. https://www.thefanclub.co.za/how-to/...nta-pos-ubuntu |
This was why I asked you if start.sh was executable.
jdk |
All times are GMT -5. The time now is 03:40 PM. |