Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 22 Oct 2014, 08:52
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
'No such file or directory' when terminal starts (Solved)
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
wibble


Joined: 10 Jul 2013
Posts: 77

PostPosted: Tue 16 Jul 2013, 14:49    Post_subject:  'No such file or directory' when terminal starts (Solved)  

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

Edited_time_total
Back to top
View user's profile Send_private_message 
mill0001

Joined: 01 Feb 2007
Posts: 375
Location: "People's Republik of Kalifornia"

PostPosted: Tue 16 Jul 2013, 15:07    Post_subject:  

Try this: hit enter on keyboard then type "clear" (without the quotes)
Back to top
View user's profile Send_private_message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Tue 16 Jul 2013, 15:36    Post_subject:  

Laughing clear Laughing
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 Razz
Back to top
View user's profile Send_private_message Visit_website 
WillM

Joined: 30 Dec 2009
Posts: 144
Location: Oakland, California

PostPosted: Tue 16 Jul 2013, 21:23    Post_subject:  

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:
exec gnome-mplayer "$@"
Back to top
View user's profile Send_private_message 
wibble


Joined: 10 Jul 2013
Posts: 77

PostPosted: Tue 16 Jul 2013, 23:33    Post_subject:  

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:
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.

Laughing
Back to top
View user's profile Send_private_message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Wed 17 Jul 2013, 07:37    Post_subject:  

Laughing Yup , another three funny possibilities to
Quote:
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 . Laughing

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 Razz
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0638s ][ Queries: 12 (0.0170s) ][ GZIP on ]