FTFY"./name.sh"
Guide: Screenshots
#31
Posted 01 September 2010 - 09:48 PM
#32
Posted 01 September 2010 - 10:27 PM
Editing the script on Windows I guessis the message "Bash: /bin/bash^M:Bad Interpreter :no such file or directory"
try a dos2unix on your script (not sure if that is avail on the pandora)
Else edit it directly on your P.
#33
Posted 01 September 2010 - 10:46 PM
Editing the script on Windows I guess
is the message "Bash: /bin/bash^M:Bad Interpreter :no such file or directory"![]()
try a dos2unix on your script (not sure if that is avail on the pandora)
Else edit it directly on your P.![]()
Edited by urjaman, 01 September 2010 - 10:46 PM.
#34
Posted 02 September 2010 - 01:14 AM
#35
Posted 02 September 2010 - 02:02 PM
I've bin having a bash at this script but with no joy joy. Anyone else managed to get this working?
All I get from the terminal when attempting to run it via "./ name.sh" is the message "Bash: /bin/bash^M:Bad Interpreter :no such file or directory" or thereabouts, as I cant wrestle my kid off Charlie Blast's Territory to re-check it, as I just lost my prior post.![]()
Would be a handy script to hotkey.
The ^M indicates that you seem to have saved the script with a Windows editor or something like that, because the line endings are not Linux compliant (CR/LF instead of LF only).
Try to convert the file somehow. Maybe load it into a Linux editor which is capable to recognize CR/LF correctly and save it again. I am not sure if e.g. nano does that correctly.
Or use a Windows editor such as Notepad++ which can be configured to save with LF line endings.
Daniel
#36
Posted 02 September 2010 - 06:26 PM
Oh well. I thought dumping a script into /usr/bin was bad form. Thanks for correcting me
![]()
I edited all my guides anyway.
Actually, it is bad form to dump anything in /usr/bin, since it is supposed to contain executables (and scripts) installed by the package manager; the best place for such a script would be either /usr/local/bin (/usr/local is for anything installed from sources or otherwise not using package managers) or somewhere in home, e.g. ~/bin
#37
Posted 05 February 2011 - 08:52 AM
I think that it will work inside a full-screen game/emulator even under minimenu with this system, but any feedback to the contrary would be appreciated.
#38
Posted 28 March 2011 - 12:02 PM
Quake 3 screenshot attached.
screen110328-213302.png 414.52K
14 downloads











