Pale Moon look terrible in Firejail

Support and discussions for the x86/x64 Linux version of Pale Moon.

Moderators: trava90, satrow

User avatar
z18g11
New to the forum
New to the forum
Posts: 2
Joined: 2019-04-30, 11:45

Pale Moon look terrible in Firejail

Unread post by z18g11 » 2019-04-30, 11:55

I run Pale Moon browser in Firejail and it looks terrible
https://i.imgur.com/6C78oGG.png

run it with this command

Code: Select all

firejail –private=/home/user/Data/firejail /usr/bin/palemoon
How can I apply my own theme? I put gtk-2.0 and gtk-3.0 themes (Manjaro’s Breath-Dark) in
/home/user/Data/firejail/.themes

but Pale moon seems to not apply this theme.
Normally I use Plasma 5 Breeze-Dark with qtcurve.

How to combine this Firejail command with some command (kind of: GTK-theme=) to use my preferred theme in Pale moon?

Do I need to put some gtk setting file in /home/user/.config?

Pale moon is still gtk2? Correct?

At least I would like to be able use Adwaita that I have installed and set in Plasma system settings for gtk2. But I need to know what file Pale Moon reads to set theme.

User avatar
New Tobin Paradigm
Off-Topic Sheriff
Off-Topic Sheriff
Posts: 6184
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: Pale Moon look terrible in Firejail

Unread post by New Tobin Paradigm » 2019-04-30, 12:10

Don't use firejail.
Image
- Old and insecure for legitimate and reasonable purposes. -
http://binaryoutcast.com/ | http://thereisonlyxul.org/ | Freenode #binaryoutcast

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 24824
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Pale Moon look terrible in Firejail

Unread post by Moonchild » 2019-04-30, 13:15

If you insist on using firejail you'll have to set it up correctly for the browser. Please ask in the firejail-users community how to.
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

User avatar
z18g11
New to the forum
New to the forum
Posts: 2
Joined: 2019-04-30, 11:45

Re: Pale Moon look terrible in Firejail

Unread post by z18g11 » 2019-05-01, 13:10

Solution:

Code: Select all

GTK2_RC_FILES=/usr/share/themes/Adwaita/gtk-2.0/gtkrc firejail --private=/home/user/path/ /usr/bin/palemoon

User avatar
New Tobin Paradigm
Off-Topic Sheriff
Off-Topic Sheriff
Posts: 6184
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: Pale Moon look terrible in Firejail

Unread post by New Tobin Paradigm » 2019-05-01, 14:04

z18g11 wrote:
2019-05-01, 13:10
Solution:

Code: Select all

GTK2_RC_FILES=/usr/share/themes/Adwaita/gtk-2.0/gtkrc firejail --private=/home/user/path/ /usr/bin/palemoon
That would be "If you insist solution". BTW. It still isn't recommended you run any UXP application inside of a sandbox.
Image
- Old and insecure for legitimate and reasonable purposes. -
http://binaryoutcast.com/ | http://thereisonlyxul.org/ | Freenode #binaryoutcast

pizzadude
Newbie
Newbie
Posts: 4
Joined: 2017-01-07, 18:32

Re: Pale Moon look terrible in Firejail

Unread post by pizzadude » 2019-07-03, 08:31

I know I'm necroing the thread right now, but I found a fix.

sudo nano /etc/firejail/palemoon.local

paste this:

Code: Select all

noblacklist ~/.config/Trolltech.conf
noblacklist ~/.config/gtk-3.0
noblacklist ~/.config/gtk-2.0
noblacklist ~/.config/Kvantum
noblacklist ~/.gtkrc-2.0
noblacklist ~/.gtkrc-2.0-kde4
whitelist ~/.config/Trolltech.conf
whitelist ~/.config/gtk-3.0
whitelist ~/.config/gtk-2.0
whitelist ~/.config/Kvantum
whitelist ~/.gtkrc-2.0
whitelist ~/.gtkrc-2.0-kde4

User avatar
Moonraker
Board Warrior
Board Warrior
Posts: 1136
Joined: 2015-09-30, 23:02
Location: Lincolnshire.UK.

Re: Pale Moon look terrible in Firejail

Unread post by Moonraker » 2019-07-03, 09:39

New Tobin Paradigm wrote:
2019-05-01, 14:04
z18g11 wrote:
2019-05-01, 13:10
Solution:

Code: Select all

GTK2_RC_FILES=/usr/share/themes/Adwaita/gtk-2.0/gtkrc firejail --private=/home/user/path/ /usr/bin/palemoon
That would be "If you insist solution". BTW. It still isn't recommended you run any UXP application inside of a sandbox.
Any particular reason why not.?.Im sure users would appreciate the added security.
Xenial puppy linux 32-bit.
Tahrpup 6.0.5.32 bit.
Pale moon 28.7.2

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 24824
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Pale Moon look terrible in Firejail

Unread post by Moonchild » 2019-07-03, 11:38

Moonraker wrote:
2019-07-03, 09:39
Im sure users would appreciate the added security.
Added security as compared to what? You think Pale Moon isn't secure enough to display active web pages?
The "added security" may actually be detrimental. Running Pale Moon in a sandbox won't add anything to your system security and may in fact create attack surfaces otherwise not present, depending on the sandbox. I only suggest jailing processes if they are an inherent risk to the system (like language interpreters running bare, etc.)
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

pizzadude
Newbie
Newbie
Posts: 4
Joined: 2017-01-07, 18:32

Re: Pale Moon look terrible in Firejail

Unread post by pizzadude » 2019-07-03, 13:53

Moonchild wrote:
2019-07-03, 11:38
Moonraker wrote:
2019-07-03, 09:39
Im sure users would appreciate the added security.
Added security as compared to what? You think Pale Moon isn't secure enough to display active web pages?
The "added security" may actually be detrimental. Running Pale Moon in a sandbox won't add anything to your system security and may in fact create attack surfaces otherwise not present, depending on the sandbox. I only suggest jailing processes if they are an inherent risk to the system (like language interpreters running bare, etc.)
I just prefer to run all my web browsers in firejail, to restrict access in case there's a 0-day exploit.

User avatar
Moonraker
Board Warrior
Board Warrior
Posts: 1136
Joined: 2015-09-30, 23:02
Location: Lincolnshire.UK.

Re: Pale Moon look terrible in Firejail

Unread post by Moonraker » 2019-07-03, 16:12

Moonchild wrote:
2019-07-03, 11:38
Moonraker wrote:
2019-07-03, 09:39
Im sure users would appreciate the added security.
Added security as compared to what? You think Pale Moon isn't secure enough to display active web pages?
The "added security" may actually be detrimental. Running Pale Moon in a sandbox won't add anything to your system security and may in fact create attack surfaces otherwise not present, depending on the sandbox. I only suggest jailing processes if they are an inherent risk to the system (like language interpreters running bare, etc.)
Sorry moonchild i was not implying palemoon is not safe in that regard,it's just everyone seems to be into this sandboxing everything and running in virtual environments etc..Linux already has a strong sandbox and in my case on puppy linux i could run as spot if i wished.Thanks for your reply.
Xenial puppy linux 32-bit.
Tahrpup 6.0.5.32 bit.
Pale moon 28.7.2

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 24824
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Pale Moon look terrible in Firejail

Unread post by Moonchild » 2019-07-03, 22:45

Moonraker wrote:
2019-07-03, 16:12
it's just everyone seems to be into this sandboxing everything and running in virtual environments
I get that -- but not every application is happy about being jailed/virtualized/sandboxed.
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

Post Reply