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 Sat 21 Sep 2019, 01:03
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Firefox Quantum portable with apulse All-in
Post new topic   Reply to topic View previous topic :: View next topic
Page 14 of 14 [205 Posts]   Goto page: Previous 1, 2, 3, ..., 12, 13, 14
Author Message
retry3

Joined: 15 Aug 2006
Posts: 132
Location: Ohio

PostPosted: Sun 18 Aug 2019, 16:36    Post subject: Best location for FF portable folder  

Hey Fred & Mike -

I was getting the impression that it is not a good idea to keep the FFportable

folder in root if I want to conserve RAM on bootup.

Then today I saw a part of a post by mikesir that seemed to apply:

"Except for portable applications, such as firefox portable, which are built to store their settings and configurations in the folders from which they are run, all applications store such settings and configurations in (usually hidden) files and folders in /root. Files in /root are among those always copied into RAM on bootup and, so, always take up RAM".

This was on a thread started yesterday by Anders3 titled " Installation on USB and harddrive, speed differences." in the Beginners Help forum.

My question is that if I now try to move the FFportable folder and the FFfiles that seem to have something to do with it, which files are also in root, will I thereby mess up something?

And, if it's okay to move them, where would be a good location to locate them?

I hope this is not off topic for your thread, Fred.

Regards,
retry3
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 5392
Location: King's Lynn, UK.

PostPosted: Sun 18 Aug 2019, 17:01    Post subject:  

@ retry3:-

Ah. You're talking about the Firefox stuff still sitting in /root after putting the portable install on the USB stick, I take it?

Since you now have your main browser set-up as a 'portable', on the USB drive, that's safe. It's not going to go anywhere. All that Firefox-related stuff left behind in /root, all those various bits & pieces, you can delete them. All of them.....every last item. Because all they're now doing is sitting around, taking up 'Puppy'-space in your save-file/folder.

FF68esr will, like regular Firefox 'Quantum', periodically update itself (though these won't be anything like as frequent as 'regular' FF). You'll be safe for quite a while, until the next ESR release comes out. Which, if Mozilla follow their usual routine, will probably be around FF75/76. And that's many months away yet.

Hope that answers that one, anyway.


Mike. Wink

_________________
MY 'PUPPY' PACKAGES

Back to top
View user's profile Send private message 
retry3

Joined: 15 Aug 2006
Posts: 132
Location: Ohio

PostPosted: Sun 18 Aug 2019, 18:26    Post subject:  

Hey Mike -

Spot on! Exactly what i needed to know. Thank you very much!

Regards,
retry3
Back to top
View user's profile Send private message 
frenchiveruti

Joined: 15 Feb 2017
Posts: 107

PostPosted: Sun 08 Sep 2019, 00:24    Post subject: Didn't work  

Hello, I am having struggles with the demon satanic spawn called PulseAudio and firefox.
I'm using
Linux Kernel: 4.9.71 (i686)
Kernel Version: #1 SMP Thu Dec 21 17:03:45 EST 2017
PAE Enabled: Yes

Kernel Command Line:
psubdir=stretch pmedia=atahd pfix=fsck,copy

Distro: Dpup Stretch 7.5
Window Manager: JWM v2.3.7


I have been using firefox quantum for a while, and out of the blue pulseaudio demands glibc 2.25 and also can't play audio nomatter what I do.
pulseaudio -D tells me basically to go fuck myself (can't start daemon, bohoo.)

Your ESR version of apulse+ff throws me this:
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
[apulse] [error] do_connect_pcm: can't get initial hw parameters for playback device "default". Error code 1 (Operation not permitted)
[apulse] [error] do_connect_pcm: failed to open ALSA device. Apulse does no resampling or format conversion, leaving that task to ALSA plugins. Ensure that selected device is capable of playing a particular sample format at a particular rate. They have to be supported by either hardware directly, or by "plug" and "dmix" ALSA plugins which will perform required conversions on CPU.
[Child 6567, MediaPlayback #1] WARNING: 8b4114c0 OpenCubeb() failed to init cubeb: file /builds/worker/workspace/build/src/dom/media/AudioStream.cpp, line 382
[Child 6567, MediaPlayback #1] WARNING: Decoder=9583dec0 [OnMediaSinkAudioError]: file /builds/worker/workspace/build/src/dom/media/MediaDecoderStateMachine.cpp, line 3639

Can this be solved? The audio works as usual, only firefox keeps screwing my day.
Thanks!
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 1725
Location: not Bulgaria

PostPosted: Sun 08 Sep 2019, 01:02    Post subject:  

I haven't used this portable version, but since it includes apulse it shouldn't need pulseaudio, however, I always use pulseaudio with my Firefox installs - and it always works for me. It does complain when you start it as root user using the following, but just ignore the warning messages, it still does actually start up okay:

Code:
pulseaudio --start


wiak

_________________
Tiny Linux Blog: http://www.tinylinux.info/
Check Firmware: www.murga-linux.com/puppy/viewtopic.php?p=1022797
tinycore/slitaz: http://www.murga-linux.com/puppy/viewtopic.php?p=990130#990130
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 1911
Location: Italy

PostPosted: Sun 08 Sep 2019, 02:55    Post subject:  

In my experiments with pulseaudio and puppy I always succeded to install it: install it in PPM even if declared already installed. Search for default.pa file with pfind and comment in it the lines which are issues for starting the pulseaudio daemon with "pulseaudio --start". Pay attention to change the following lines in default.pa matching your hardware:

Code:
load-module module-alsa-sink device=hw:1,0
load-module module-alsa-source device=hw:0,0
Back to top
View user's profile Send private message 
frenchiveruti

Joined: 15 Feb 2017
Posts: 107

PostPosted: Sun 08 Sep 2019, 08:53    Post subject:  

wiak wrote:
I haven't used this portable version, but since it includes apulse it shouldn't need pulseaudio, however, I always use pulseaudio with my Firefox installs - and it always works for me. It does complain when you start it as root user using the following, but just ignore the warning messages, it still does actually start up okay:

Code:
pulseaudio --start


wiak


Hello, this is my issue, I downloaded pulseaudio from the ppm and it only bothers to tell me:
Code:

W: [pulseaudio] main.c: Este programa no tiene por qué ser ejecutado como root (a menos que --system sea especificado).
E: [pulseaudio] main.c: Falló el inicio del demonio.


The first line is the root complaint and the second one is the least descriptive error ever. Even when doing "pulseaudio --start --verbose" the output is the same.
Back to top
View user's profile Send private message 
frenchiveruti

Joined: 15 Feb 2017
Posts: 107

PostPosted: Sun 08 Sep 2019, 09:06    Post subject:  

watchdog wrote:
In my experiments with pulseaudio and puppy I always succeded to install it: install it in PPM even if declared already installed. Search for default.pa file with pfind and comment in it the lines which are issues for starting the pulseaudio daemon with "pulseaudio --start". Pay attention to change the following lines in default.pa matching your hardware:

Code:
load-module module-alsa-sink device=hw:1,0
load-module module-alsa-source device=hw:0,0


Hello, that didn't work either, I couldn't start pulseaudio still, I didn't change anything in this computer and still the thing decided to stop working, and this computer is used by an elder who only uses firefox.
What can I do?
thanks for the help.

You said
Quote:
Pay attention to change the following lines in default.pa matching your hardware:

Where do I check if my HW numbers are?
It's an old laptop, here's the info:

Code:

!!Loaded ALSA modules
!!-------------------

snd_hda_intel
snd_pcsp


!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [MID            ]: HDA-Intel - HDA Intel MID
                      HDA Intel MID at 0xfc800000 irq 26
 1 [pcsp           ]: PC-Speaker - pcsp
                      Internal PC-Speaker at port 0x61


!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)

Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 1911
Location: Italy

PostPosted: Sun 08 Sep 2019, 12:09    Post subject:  

It's difficult to help when you have not in hands the machine. I suggest to try buster 64 bit by josejp2424 which has built-in working pulseaudio. Have you a cpu 64 bit capable?

http://www.murga-linux.com/puppy/viewtopic.php?t=116615

LATER: I have tested pulseudio in my stretch-7.5 install. Install pulseaudio by PPM. Install dependencies: libspeexdsp1, libwebrtc-audio-processing1, pulseaudio-utils and its deps. Change /etc/pulse/default.pa as the following:

Code:
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
load-module module-alsa-sink device=hw:0,0
load-module module-alsa-source device=hw:0,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

### Automatically connect sink and source if JACK server is present
#.ifexists module-jackdbus-detect.so
#.nofail
#load-module module-jackdbus-detect channels=2
#.fail
#.endif

### Automatically load driver modules for Bluetooth hardware
#.ifexists module-bluetooth-policy.so
#load-module module-bluetooth-policy
#.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
#.ifexists module-esound-protocol-unix.so
#load-module module-esound-protocol-unix
#.endif
#load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
#.ifexists module-gconf.so
#.nofail
#load-module module-gconf
#.fail
#.endif

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
#.ifexists module-console-kit.so
#load-module module-console-kit
#.endif
#.ifexists module-systemd-login.so
#load-module module-systemd-login
#.endif

### Enable positioned event sounds
#load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
#load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
#load-module module-filter-heuristics
#load-module module-filter-apply

### Make some devices default
#set-default-sink output
#set-default-source input


It works for me with the lines:

Code:
load-module module-alsa-sink device=hw:0,0
load-module module-alsa-source device=hw:0,0


Code:
# pulseaudio --kill
# pulseaudio --start
W: [pulseaudio] main.c: Questo programma non è pensato per essere eseguito come root (a meno di specificare --system).
#
Back to top
View user's profile Send private message 
frenchiveruti

Joined: 15 Feb 2017
Posts: 107

PostPosted: Sun 08 Sep 2019, 15:00    Post subject:  

Thanks watchdog, did as you suggested, and it didn't work, it worked before but still it's an unknown even that fucked everything related with pulseaudio that fucked up.

I will try again later, sadly a 64 bit os doesn't really make sense, for the use of this old laptop. But I will see if it works.
Thanks again, I don't think it's a "pulseaudio" issue because even apulse doesn't work, it's something somewhere that I can't trace that is giving me problems.

Have a nice sunday, don't worry anymore Smile
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 14 of 14 [205 Posts]   Goto page: Previous 1, 2, 3, ..., 12, 13, 14
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


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