[SOLVED] Unable to execute shell script from panel launcher
by Quakeboy02 from LinuxQuestions.org on (#6G7W0)
I have had a panel launcher to launch a shell script that launches quake3 with specific parms for many years. For some reason, this no longer works, though the script itself still works if exec'd from a terminal. I've tried everything except putting the command from the script in the panel launcher's command. What changed?
Contents of shell script:
Code:#!/bin/sh
/usr/games/quake3 +set fs_game "osp" +g_warmup "10" +g_gametype "1" +map pro-q3tourney4 +addbot sarge 4.0 +fraglimit "0" +timelimit "10" --display:=0.0
I do get a popup with a complaint:
Code:Traceback (most recent call last):
File "/usr/share/games/game-data-packager-runtime/gdp_launcher_base.py", line 307, in main
self.exec_game()
File "/usr/games/quake3", line 225, in exec_game
super(FullLauncher, self).exec_game()
File "/usr/share/games/game-data-packager-runtime/gdp_launcher_base.py", line 437, in exec_game
self.flush()
File "/usr/share/games/game-data-packager-runtime/gdp_launcher_base.py", line 316, in flush
f.flush()
OSError: [Errno 5] Input/output error
Contents of shell script:
Code:#!/bin/sh
/usr/games/quake3 +set fs_game "osp" +g_warmup "10" +g_gametype "1" +map pro-q3tourney4 +addbot sarge 4.0 +fraglimit "0" +timelimit "10" --display:=0.0
I do get a popup with a complaint:
Code:Traceback (most recent call last):
File "/usr/share/games/game-data-packager-runtime/gdp_launcher_base.py", line 307, in main
self.exec_game()
File "/usr/games/quake3", line 225, in exec_game
super(FullLauncher, self).exec_game()
File "/usr/share/games/game-data-packager-runtime/gdp_launcher_base.py", line 437, in exec_game
self.flush()
File "/usr/share/games/game-data-packager-runtime/gdp_launcher_base.py", line 316, in flush
f.flush()
OSError: [Errno 5] Input/output error