How do I eliminate these FF terminal msgs? [Solved]

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
User avatar
Ed_P
Contributor
Contributor
Posts: 3156
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

How do I eliminate these FF terminal msgs? [Solved]

Post#1 by Ed_P » 21 Oct 2015, 19:01

This doesn't work.

Code: Select all

guest@porteus:~$ firefox 2>/dev/null
console.error: 
  [CustomizableUI]
  Custom widget with id loop-button does not return a valid node
console.error: 
  [CustomizableUI]
  Custom widget with id loop-button does not return a valid node
Vector smash protection is enabled.
Last edited by Ed_P on 22 Oct 2015, 13:14, edited 1 time in total.
Ed

Bogomips
Full of knowledge
Full of knowledge
Posts: 2540
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: How do I eliminate these FF terminal msgs?

Post#2 by Bogomips » 21 Oct 2015, 19:57

Ed_P wrote:This doesn't work.

Code: Select all

guest@porteus:~$ firefox 2>/dev/null

Code: Select all

firefox 1>&2 2>/dev/null
?
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
Ed_P
Contributor
Contributor
Posts: 3156
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: How do I eliminate these FF terminal msgs?

Post#3 by Ed_P » 21 Oct 2015, 21:46

Bogomips wrote:

Code: Select all

firefox 1>&2 2>/dev/null
?
:good:

Image Bogomips.


:beer:
Ed

User avatar
Ed_P
Contributor
Contributor
Posts: 3156
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: How do I eliminate these FF terminal msgs?

Post#4 by Ed_P » 21 Oct 2015, 22:43

I really thought that was it. But when I actually tried it:

Code: Select all

guest@porteus:~$ firefox "http://www.java.com/en/download/linux_manual.jsp" 1&2>/dev/null
[1] 5695
guest@porteus:~$ 
(process:5695): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed
console.error: 
  [CustomizableUI]
  Custom widget with id loop-button does not return a valid node
console.error: 
  [CustomizableUI]
  Custom widget with id loop-button does not return a valid node
Vector smash protection is enabled.
^C
[1]+  Done                    firefox "http://www.java.com/en/download/linux_manual.jsp" 1
guest@porteus:~$ 
:wall:
Ed

Bogomips
Full of knowledge
Full of knowledge
Posts: 2540
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: How do I eliminate these FF terminal msgs?

Post#5 by Bogomips » 21 Oct 2015, 23:53

Ed_P wrote:I really thought that was it. But when I actually tried it:

Code: Select all

guest@porteus:~$ firefox "http://www.java.com/en/download/linux_manual.jsp" 1&2>/dev/null
[1] 5695
guest@porteus:~$ 
(process:5695): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed
console.error: 
  [CustomizableUI]
  Custom widget with id loop-button does not return a valid node
console.error: 
  [CustomizableUI]
  Custom widget with id loop-button does not return a valid node
Vector smash protection is enabled.
^C
[1]+  Done                    firefox "http://www.java.com/en/download/linux_manual.jsp" 1
guest@porteus:~$ 
:wall:
Looks like you inadvertently started a background job :)

Needed to try

Code: Select all

firefox "http://www.java.com/en/download/linux_manual.jsp" 1>&2 2>/dev/null
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
Ed_P
Contributor
Contributor
Posts: 3156
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: How do I eliminate these FF terminal msgs?

Post#6 by Ed_P » 22 Oct 2015, 04:22

What you wrote:
Bogomips wrote:

Code: Select all

firefox 1>&2 2>/dev/null
What I used:
Ed_P wrote:

Code: Select all

guest@porteus:~$ firefox "http://www.java.com/en/download/linux_manual.jsp" 1&2>/dev/null
:sorry: I really need to get new glasses. Or a bigger screen, which I am considering.
Bogomips wrote:Looks like you inadvertently started a background job :)

Needed to try

Code: Select all

firefox "http://www.java.com/en/download/linux_manual.jsp" 1>&2 2>/dev/null
So, when I copy & paste :) your response I get:

Code: Select all

guest@porteus:~$ firefox "http://www.java.com/en/download/linux_manual.jsp" 1>&2 2>/dev/null
guest@porteus:~$ 
:Yahoo!: Perfect.

But when I use the exact same line in a script I get:

Code: Select all

guest@porteus:~$ java-update.sh

1. Download the current non-RPM Linux file. 
console.error: 
  [CustomizableUI]
  Custom widget with id loop-button does not return a valid node
console.error: 
  [CustomizableUI]
  Custom widget with id loop-button does not return a valid node
 
When I close Firefox I get:

Code: Select all

   Close Firefox when done. 
 
2. Invoke [Menu > System Tools] Java Builder 
 
3. Point it to the /home/guest/Downloads/jre-*.tar.gz file 
   and run it. It takes a moment to start and several to end. 
 
4. When it ends press Enter to copy the jre-*.xzm file to the 
   /mnt/sda5/porteus3.0/Modules folder.
 
Disregard the following Firefox errors.
The part of the script's code that is causing the problem:

Code: Select all

echo
echo "1. Download the current non-RPM Linux file. "
firefox "http://www.java.com/en/download/linux_manual.jsp" 1>&2 2>/dev/null
echo "   Close Firefox when done. "
echo " "
echo "2. Invoke [Menu > System Tools] Java Builder "
echo " "
echo "3. Point it to the /home/guest/Downloads/jre-*.tar.gz file "
echo "   and run it. It takes a moment to start and several to end. "
echo " "
echo "4. When it ends press Enter to copy the jre-*.xzm file to the "
echo "   $MODULES folder."
echo " "
echo "Disregard the following Firefox errors. "
read
:unknown:
Ed

User avatar
Ed_P
Contributor
Contributor
Posts: 3156
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: How do I eliminate these FF terminal msgs?

Post#7 by Ed_P » 22 Oct 2015, 13:13

We were so close.

This is what works.

Code: Select all

firefox "http://www.java.com/en/download/linux_manual.jsp" > /dev/null 2>&1 &
:)
Ed

Post Reply