LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 11-08-2023, 05:49 PM   #1
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410

Rep: Reputation: 141Reputation: 141
Unable to execute shell script from panel launcher


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

Last edited by Quakeboy02; 11-08-2023 at 05:52 PM.
 
Old 11-08-2023, 06:18 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,381

Rep: Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579
This might be a permissions issue. Make sure that everything in the chain of commands is executable.
 
Old 11-08-2023, 07:16 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410

Original Poster
Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by jailbait View Post
This might be a permissions issue. Make sure that everything in the chain of commands is executable.
Just for grins, I changed the launcher "Type:" from "Application" to "Application in Terminal", and it's now working again. I'm not a python programmer, but my daughter has been relating some aggravating python version compatibility issues she's had recently, so maybe they've done something to python. If that's the case, there will probably be more of this type of thing coming.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell script with Menu and sub menu and in sub menu execute another shell script SHWE Linux - Newbie 9 11-03-2018 06:19 PM
[SOLVED] firefox launcher doesn't show icon on panel bar of slackware but launcher still there mshlinux Linux - Newbie 6 04-24-2013 10:56 PM
help with execute mulitple shell script within shell script ufmale Programming 6 09-13-2008 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration