sailoog / openplotter

Obsolete project. New one and active: https://github.com/openplotter
http://www.sailoog.com/openplotter
GNU General Public License v2.0
153 stars 53 forks source link

hardcoded terminal #240

Open FredericGuilbault opened 5 years ago

FredericGuilbault commented 5 years ago

Me agan ...

I came across this error. The problem is Im using terminator not lxterminal.

Traceback (most recent call last):
  File "/home/pi/.config/openplotter/openplotter", line 466, in default_desktop
    subprocess.Popen(['lxterminal', '-e', 'bash', self.currentpath+'/update/default_openplotter_desk.sh'])
  File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

It would be better to use x-terminal-emulator This would let xdg select the preffered terminal of the user.

sailoog commented 5 years ago

I will try this, thanks.