'No such file or directory' when terminal starts (Solved)

Booting, installing, newbie
Post Reply
Message
Author
User avatar
wibble
Posts: 76
Joined: Thu 11 Jul 2013, 03:48

'No such file or directory' when terminal starts (Solved)

#1 Post by wibble »

cat: /usr/local/bin/defaultmediaplayer: No such file or directory

Shows up whenever I start terminal now.

How can I get the terminal back to normal?

Am on precise puppy 5.6.1
Last edited by wibble on Wed 17 Jul 2013, 11:42, edited 1 time in total.

mill0001
Posts: 358
Joined: Thu 01 Feb 2007, 16:30
Location: "People's Republik of Kalifornia"

#2 Post by mill0001 »

Try this: hit enter on keyboard then type "clear" (without the quotes)

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#3 Post by Karl Godt »

:lol: clear :lol:
Guess that you installed some well mended .pet from somewhere ,
decided that it does not do what you want,
uninstalled it - and poof the overwritten file got deleted .

Anyway you should look into .bashrc file and /etc/profile -> /etc/profile.d/* files for script entries that want to cat files .

Am not running Precise 5.6.1 .

HTH
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal :P

WillM
Posts: 173
Joined: Wed 30 Dec 2009, 04:42
Location: Oakland, California

#4 Post by WillM »

Hi wibble,

Look in /usr/local/bin/ to see if the file is there. If not, right click on Rox and select New Script. Name it defaultmediaplayer. Add this to it;

Code: Select all

exec gnome-mplayer "$@"

User avatar
wibble
Posts: 76
Joined: Thu 11 Jul 2013, 03:48

#5 Post by wibble »

WillM wrote:Hi wibble,

Look in /usr/local/bin/ to see if the file is there. If not, right click on Rox and select New Script. Name it defaultmediaplayer. Add this to it;

Code: Select all

exec gnome-mplayer "$@"
Thanks Will!

Mill & Karl.

Cheers, I knew about the clear command. haha I just didn't want to have to type it every time I started the terminal.

:lol:

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#6 Post by Karl Godt »

:lol: Yup , another three funny possibilities to
haha I just didn't want to have to type it every time I started the terminal.
1) switch off the monitor .
2) put the clear command as the last line of .bashrc .
3) put exec 2>/dev/null as first line into .bashrc .

Since you already know about clear , it is clear to me that you know of the hidden .bashrc file in the $HOME directory . :lol:

Short backview :
Puppy-4 series had gxine or gxineshell as defaultmediaplayer ,
with Lupu-5 it became gnome-mplayer using mplayer .
Some rare Puppies (racy/wary) might have gmplayer as defaultmediaplayer .

No regular Puppy i know of ever had vlc as defaultmediaplayer included .

BTW : How about marking this thread as [ Solved ] ?
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal :P

Post Reply