WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Seamonkey 2.33  (Read 6046 times)

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Seamonkey 2.33
« on: May 02, 2015, 11:37:52 PM »
Hello I successfully updated my browser to Seamonkey 2.33 and followed its installation instruction in their site, in reference to my current browser installed from the tiny core repo which is a two-year old app (Seamonkey 2.22). The problem is I can only execute this app in command line using the ./seamonkey command instead of using the right-click>OnDemand menu. Is there a way to replace the Seamonkey 2.22 in the OnDemand directory?


These are the location folders of seamonkey 2.22 installed from tiny core repo:

Code: [Select]
tc@box:~$ sudo find / -name seamonkey
/home/tc/seamonkey
/home/tc/seamonkey/seamonkey
/home/tc/.cache/mozilla/seamonkey
/home/tc/.mozilla/seamonkey
/home/tc/.wmx/OnDemand/seamonkey
/tmp/tcloop/seamonkey
/tmp/tcloop/seamonkey/usr/bin/seamonkey
/tmp/tcloop/seamonkey/usr/seamonkey
/tmp/tcloop/seamonkey/usr/seamonkey/seamonkey
/usr/seamonkey
/usr/seamonkey/seamonkey
/usr/local/tce.installed/seamonkey
/usr/bin/seamonkey
/mnt/sda2/tce/ondemand/seamonkey


This is the location folder of my seamonkey 2.33

Code: [Select]
$ pwd
/home/tc/seamonkey

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12077
Re: Seamonkey 2.33
« Reply #1 on: May 02, 2015, 11:41:31 PM »
Did you package your new version of seamonkey as an extension to replace the older version from the repo?

Whilst you could hack things to work without making an extension, things would work better if you did.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Seamonkey 2.33
« Reply #2 on: May 03, 2015, 03:40:21 AM »
If you make it an extension, it would work with flash as well.

Or you could edit the ondemand script for seamonkey located at
Code: [Select]
/etc/sysconfig/tcedir/ondemand/seamonkey

And change it from this
Code: [Select]
#!/bin/sh
ondemand -e seamonkey.tcz "$@"

To something like this
Code: [Select]
#!/bin/sh
~/seamonkey/seamonkey "$@"
Download a copy and keep it handy: Core book ;)

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #3 on: May 03, 2015, 05:59:08 PM »
If you make it an extension, it would work with flash as well.

Or you could edit the ondemand script for seamonkey located at
Code: [Select]
/etc/sysconfig/tcedir/ondemand/seamonkey

And change it from this
Code: [Select]
#!/bin/sh
ondemand -e seamonkey.tcz "$@"

To something like this
Code: [Select]
#!/bin/sh
~/seamonkey/seamonkey "$@"


I tried but it did not work and it gave me an error

Code: [Select]
[tc@box:~$ seamonkey
XPCOMGlueLoad error for file /home/tc/seamonkey/libxul.so:
libasound.so.2: cannot open shared object file: No such file or directory
Couldn't load XPCOM.


tc@box:~$ cd seamonkey
tc@box:~/seamonkey$ ./seamonkey
XPCOMGlueLoad error for file /home/tc/seamonkey/libxul.so:
libasound.so.2: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Seamonkey 2.33
« Reply #4 on: May 04, 2015, 03:59:04 AM »
You might want to add  libasound.tcz  to  /etc/sysconfig/tcedir/onboot.lst .
As well as other dependencies from the current Seamonkey extension.

Or you could add the deps to the seamonkey ondemand script
Code: [Select]
#!/bin/sh
tce-load -i libasound dbus-glib gtk2.tcz
~/seamonkey/seamonkey "$@"
Download a copy and keep it handy: Core book ;)

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #5 on: May 04, 2015, 10:02:43 AM »
Should I really have to include the "$@"? I did not see it in my original #!bin bash file

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Seamonkey 2.33
« Reply #6 on: May 04, 2015, 11:01:28 AM »
The '$@' passes arguments to the command.
This would be needed if the first invocation included a URL, such as in a launch from email.

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #7 on: May 04, 2015, 11:32:13 PM »
You might want to add  libasound.tcz  to  /etc/sysconfig/tcedir/onboot.lst .
As well as other dependencies from the current Seamonkey extension.

Or you could add the deps to the seamonkey ondemand script
Code: [Select]
#!/bin/sh
tce-load -i libasound dbus-glib gtk2.tcz
~/seamonkey/seamonkey "$@"

Yes finally it worked.



Now I'm gonna try to install flash. In my previous version (Seamonkey 2.22 w/ flash 11) i don't have audio when I visit Youtube...

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #8 on: May 05, 2015, 10:04:19 PM »
I did  not install flash yet but I can view youtube videos  though no sounds what shud I install next?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12077
Re: Seamonkey 2.33
« Reply #9 on: May 05, 2015, 10:05:27 PM »
alsa - then use alsamixer to unmute the volume

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #10 on: May 07, 2015, 12:52:05 AM »
Still no sound. I already installed alsa and alsa mixer. Is alsa compatible with HTML5 player -this is the current platform that Youtube is using in playing videos? I also installed flash11 for assurance but still to no avail. I also followed the alsa instructions

Quote
Install the alsaconf.tcz extension if you need the alsaocnfscript.
      To initialize alsa without having to use alsaconf, there is a
      script that will do that.
      It can be placed in /opt/bootlocal.sh so it alsa will be setup
      on boot with no user interaction required.  The command to do this is:
      /usr/local/etc/init.d/alsasound start
      If adding this command to bootlocal.sh, you may need
      to precede it with the sleep command for it to be effective.
      If you want your alsa settings to persist across reboots, use the
      command 'sudo alsactl store' after alsa has been set up.  This stores the
      configuration in /usr/local/etc/asound.state.  Place this file in your backup to
      allow your alsa settings to persist across sessions.



Code: [Select]
tc@box:~$ sudo vi /opt/bootlocal.sh


#!/bin/sh
# put other system startup commands here
sleep /usr/local/etc/init.d/alsasound start
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
- /opt/bootlocal.sh 1/2 50%


here is the asound.state

Code: [Select]
state.ICH5 {
control.1 {
iface MIXER
name 'Master Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.2 {
iface MIXER
name 'Master Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -4650
dbmax 0
dbvalue.0 -4650
dbvalue.1 -4650
}
}
control.3 {
iface MIXER
name 'Headphone Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.4 {
iface MIXER
name 'Headphone Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -4650
dbmax 0
dbvalue.0 -4650
dbvalue.1 -4650
}
}
control.5 {
iface MIXER
name 'Master Mono Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.6 {
iface MIXER
name 'Master Mono Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 31'
dbmin -4650
dbmax 0
dbvalue.0 -4650
}
}
control.7 {
iface MIXER
name 'Beep Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.8 {
iface MIXER
name 'Beep Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 15'
dbmin -4500
dbmax 0
dbvalue.0 -4500
}
}
control.9 {
iface MIXER
name 'Phone Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.10 {
iface MIXER
name 'Phone Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
}
}
control.11 {
iface MIXER
name 'Mic Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.12 {
iface MIXER
name 'Mic Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
}
}
control.13 {
iface MIXER
name 'Mic Boost (+20dB)'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.14 {
iface MIXER
name 'Line Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.15 {
iface MIXER
name 'Line Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.16 {
iface MIXER
name 'CD Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.17 {
iface MIXER
name 'CD Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.18 {
iface MIXER
name 'Video Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.19 {
iface MIXER
name 'Video Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.20 {
iface MIXER
name 'Aux Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.21 {
iface MIXER
name 'Aux Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.22 {
iface MIXER
name 'PCM Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.23 {
iface MIXER
name 'PCM Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.24 {
iface MIXER
name 'Capture Source'
value.0 Phone
value.1 Mic
comment {
access 'read write'
type ENUMERATED
count 2
item.0 Mic
item.1 CD
item.2 Video
item.3 Aux
item.4 Line
item.5 Mix
item.6 'Mix Mono'
item.7 Phone
}
}
control.25 {
iface MIXER
name 'Capture Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.26 {
iface MIXER
name 'Capture Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 15'
dbmin 0
dbmax 2250
dbvalue.0 0
dbvalue.1 0
}
}
control.27 {
iface MIXER
name 'PCM Out Path & Mute'
value 'pre 3D'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'pre 3D'
item.1 'post 3D'
}
}
control.28 {
iface MIXER
name '3D Control - Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.29 {
iface MIXER
name 'Mono Output Select'
value Mix
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Mix
item.1 Mic
}
}
control.30 {
iface MIXER
name 'Mic Select'
value Mic1
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Mic1
item.1 Mic2
}
}
control.31 {
iface MIXER
name '3D Control - Center'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 15'
}
}
control.32 {
iface MIXER
name '3D Control - Depth'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 15'
}
}
control.33 {
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access read
type IEC958
count 1
}
}
control.34 {
iface MIXER
name 'IEC958 Playback Pro Mask'
value cf00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
comment {
access read
type IEC958
count 1
}
}
control.35 {
iface MIXER
name 'IEC958 Playback Default'
value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access 'read write'
type IEC958
count 1
}
}
control.36 {
iface MIXER
name 'IEC958 Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.37 {
iface MIXER
name 'IEC958 Playback AC97-SPSA'
value 3
comment {
access 'read write'
type INTEGER
count 1
range '0 - 3'
}
}
control.38 {
iface MIXER
name 'External Amplifier'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
}




Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12077
Re: Seamonkey 2.33
« Reply #11 on: May 07, 2015, 01:24:16 AM »
What sound hardware do you have (you can use lspci or lsusb to find out)?

The reason I ask is that with recent hardware no alsa configuration or scripts are required, you load alsa, run alsamixer, un-mute the volume master and it just works.

If you start seamonkey from a terminal window then try to play something, are there any error messages?

If you load alsa-config and then:
Code: [Select]
$ speaker-test -c2 -t wav -l1..do you get sound?
« Last Edit: May 07, 2015, 01:29:05 AM by Juanito »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Seamonkey 2.33
« Reply #12 on: May 07, 2015, 05:50:26 AM »
The sleep needs  to be on its own line and takes an optional argument of the number of seconds to sleep.

Offline Stone.Giant

  • Full Member
  • ***
  • Posts: 100
Re: Seamonkey 2.33
« Reply #13 on: May 12, 2015, 03:50:19 AM »
I failed from the start..

Code: [Select]
tc@box:~$ sudo /usr/local/etc/init.d/alsasound start
amixer: Mixer attach default error: No such file or directory
Something went wrong, sound was not set up.
tc@box:~$ lsmod
Module                  Size  Used by    Not tainted
snd_seq_dummy          12288  0
snd_seq_oss            24576  0
snd_seq_midi_event     12288  1 snd_seq_oss
snd_seq                32768  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         12288  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            32768  0
snd_pcm                49152  1 snd_pcm_oss
snd_timer              20480  2 snd_seq,snd_pcm
snd_mixer_oss          16384  1 snd_pcm_oss
snd                    40960  7 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
speedstep_lib          12288  0
cpufreq_stats          12288  0
cpufreq_powersave      12288  0
cpufreq_userspace      12288  0
cpufreq_conservative    12288  0
ns558                  12288  0
gameport               12288  1 ns558
ac97_bus               12288  0
soundcore              12288  1 snd
squashfs               24576 96
ppdev                  12288  0
parport_pc             24576  0
floppy                 45056  0
parport                24576  2 ppdev,parport_pc
loop                   20480 192
e100                   28672  0
mii                    12288  1 e100
pcspkr                 12288  0
lpc_ich                16384  0
mfd_core               12288  1 lpc_ich
tc@box:~$ lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P AGP Bridge (rev 02)
00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface (rev 02)
00:1d.0 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: NVIDIA Corporation NV34 [GeForce FX 5500] (rev a1)
03:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)

Kindly see my syslog attached

[

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12077
Re: Seamonkey 2.33
« Reply #14 on: May 12, 2015, 03:55:40 AM »
Did you try loading alsa and alsa-config and then without running any scripts (i.e. don't run alsasound start), trying the speaker-test?