View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 21 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Jul 14, 2005 9:13 pm 
Offline
Joined: Tue Jul 12, 2005 11:38 pm
Posts: 6
ok, I'm a real newb at this whole linux deal, but I finally figured out how to install firefox. However, to run it I have to open a bash shell, su, cd to /usr/local/firefox-installer, and ./firefox. Is there any way to add that to the right click menu? Exact code is best, I barely know what I'm doing. Thanks for any help


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 15, 2005 6:22 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
first question is why do you 'su' to run firefox? Root access should be limited to tasks that require such privs. I'll leave that to you.

As for adding a menu options, I'll assume you mean a fluxbox root menu options (knoppmyth R5). the menu structure is defined in /home/mythtv/.fluxbox/menu. You only need to add an 'exec' line in there.

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 15, 2005 12:58 pm 
Offline
Joined: Tue Jul 12, 2005 11:38 pm
Posts: 6
For some reason I was under the impression that a normal user didn't have full access to some things, so almost as default I was using su. I guess I don't need to and probably shouldn't. So, when I get home (at work programming) I cd to /home/mythtv/.fluxbox/menu. Is there a file I open and add the 'exec' line to? Thanks for the help.


Top
 Profile  
 
 Post subject: Mozilla & Thunderbird
PostPosted: Fri Jul 15, 2005 11:23 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
If you load mozilla and mozilla-thunderbird, there is already a menu selection there for you in the R5A16 flavor. Just right click on the desktop (the one with picture of the two wise appearing gentlemen) select Apps > Net and there are your choices.
To install these extra tools which don't use much space, I make a script called fix-tools and store it in a directory in my added /myth/tools directory. That way if you do an upgrade these handy little scripts are still available:)

To make your own do
nano fix-tools
#<code>
#!/bin/sh
#setup apt-get
#
echo "Will load -updates- installs -ftp- -mozilla- and -mozilla-thunderbird-"
echo "this will take several minutes and does require simple operator action"
sleep 6 #gives time to read the above information
apt-get update
apt-get install ftp
apt-get install mozilla
apt-get install mozilla-thunderbird
#<end code>

control x to save it, sh fix-tools to execute it (do as root)
to add a directory
# mkdir /myth/tools
I also
# chown mythtv:mythtv /myth/*
I use the ftp to pull and push stuff around., very handy tool also. Now for a printer setup....
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 16, 2005 12:56 pm 
Offline
Joined: Tue Jul 12, 2005 11:38 pm
Posts: 6
Thanks for that script mjl. Is there any way I could add firefox to that script? not a big deal, but I'm used to firefox and it would be nice. Thanks.

_________________
*Very new to Linux, please excuse my incompetence*
My Setup:
Asus Pundit-R CeleronD 2.53 GHz
512MB RAM 200GB Samsung HDD
Sony DVD burner PVR-500 MCE
Knoppmyth 5A16


Top
 Profile  
 
 Post subject: Mozilla
PostPosted: Sat Jul 16, 2005 1:54 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
No problem about being new to linux but be careful, it is highly addictive:) The stability is nothing short of amazing.I have one linux server that has been running 435+ days, would have been longer however a power transformer out on the street blew up.

In regards to firefox, I am sure you could do an apt get, but why not try out the mozilla? It is already in the menu, and works well, has more features than firefox. Some times change is good. Suggest that the first thing to do would be go to the Edit and go through all the preferences (change the cache to 5 meg instead of 50 meg!). Of course if you are using the browser on the KnoppMyth box, you will want to set the home page for localhost !

And the mozilla-thunderbird email is my favorite, got to love the junk filter as it works extremely well. Again, each of us are different and that is why there is more than one manufacture of tv, cars and etc. There is of course only one "KnoppMyth" :)

Did you have any issues understanding or making sense of the previous information?

I am using R5A16 on a Wal-mart e-machine, I don't recall if those menu items were available in the earlier versions.
Mike


Top
 Profile  
 
 Post subject: Update for Firefox
PostPosted: Sun Jul 24, 2005 9:05 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
I got curious and had to go back and do a double check of my information. It was all correct except for the timing. If you right click on the deskop, (just be careful of Tux), select Apps > Net you will see there isn't any Mozilla choices. They will not appear until you do the actual install then they will be there for you.

as root
#<code>
#run the apt-get of choice
#
apt-get install mozilla # answer Y and select Auto when asked
apt-get install mozilla-firefox
apt-get install mozilla-thunderbird #select Debian when asked
#
#want other programs, apt-get is your friend.
#<end code>

If you run this script, you get all three. Hopefully I have clear any questions.
Thanks
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 24, 2005 10:30 pm 
Offline
Joined: Sat Jul 23, 2005 10:45 pm
Posts: 19
This helped me,

thanks and bump


Top
 Profile  
 
 Post subject: You are welcome
PostPosted: Sun Jul 24, 2005 10:48 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi
Hey, you made my day! Always good to be able to help someone and especially with this great program. Just wish I had few more answers.

Have a great day.
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 30, 2005 9:24 am 
Offline
Joined: Fri May 06, 2005 6:31 am
Posts: 79
Location: Spain
Anyone can help me ?
When I chose firefox in my menu, nothing happen
if I type firefox in a xterm window, firefox can open


here is my mainmenu.xml :

<button>
<type>Firefox</type>
<text>Firefox</text>
<action>EXEC firefox -height 295 -width 210 http://www.google.com</action>
</button>


Also, when I open firefox with -height 295 -width 210, the window is not resized


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 30, 2005 9:30 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
you might want to add the path to firefox in the EXEC line

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 30, 2005 5:24 pm 
Offline
Joined: Fri May 06, 2005 6:31 am
Posts: 79
Location: Spain
It's the same problem if I use the path

<button>
<type>Firefox</type>
<text>Firefox</text>
<action>EXEC /usr/bin/firefox -height 295 -width 210 http://www.google.com</action>
</button>


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 30, 2005 8:42 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
maybe you can capture an error with

Code:
<action>EXEC /usr/bin/firefox -height 295 -width 210 http://www.google.com > /tmp/firefox.log 2>&1 </action>


then look in /tmp/firefox.log for errors

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 31, 2005 4:54 am 
Offline
Joined: Fri May 06, 2005 6:31 am
Posts: 79
Location: Spain
Thanks for your help.
here is the error message :
Error while loading shared libraries libmozjs.so: Cannot open shared object file: No such file or directory.

libmozjs.so is present but firefox still complains

Do I have to install firefox again ?


If I do the test with MythBrowser, I have this error message :
The KDE libraries are not designed to run with suid privileges.

root@mythtv:/usr/bin# ls -al mythbrowser
-rwxr-xr-x 1 root root 92624 Apr 24 21:28 mythbrowser


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 31, 2005 6:33 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
sounds like your shared library path is different in your xterm environment then it is in your myth environment.

Seems like the directory that has libmozjs.so is missing from the myth env. which directory is it in on your machine?

Others here will be better informed as to how to adjust the env to fix this.

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu