Call for testing: PrettyFirefox (CustomCSSforFx included)

One more bash script...
for making complicated (for newbies, or lazy experts) Firefox modifications easier.


Current Version: 0.0.1-beta

Pretty Firefox

Pretty Firefox intends to assist on applying custom modifications to Firefox, to versions > 68 .
Since version 68, Firefox application level appearance modifications require changes to be made at css level, not able with legacy addons.

This bash script was created with focus on usability for modifications to Firefox application itself.
There are several projects that were usally applying changes via Firefox addons. Some of these projects moved on providing manual application of their technics, with no automatic way through regular addons.

Features

Pretty Firefox can:

  • be installed as a system package, or used at user account level, with proper installation.
  • recognize multiple Firefox profiles and use a selected one
  • install a specific package version/release to a selected profile
  • download the latest or a specific package version/release
  • use (for now) the awesome CustomCSSforFx project, from @Aris-t2 Github user.

The script is designed to be able to accommodate other alternative scripts/projects, that intend to modify Firefox appearance. (probable next adaptation is ghacks user.js

It is developed and tested on Manjaro , but it should also work on other Linux systems, perhaps with minor modification.
I would appreciate any feedback, impressions, bugs, suggestions, whatever :smile:
It would be nice to hear that it works fine with other distributions as well.

Requirements

  • bash, dos2unix
  • wget, git (optional to fetch new versions from web sources)

Installation (suggested):

git clone https://github.com/petsam/prettyfirefox
cd prettyfirefox
chmod +x prettyfirefox
sudo cp prettyfirefox /usr/bin/
sudo mkdir -p /etc/prettyfirefox
sudo cp -r SystemConf/* /etc/prettyfirefox/

A PKGBUILD may follow up soon (hopefully from the usual contributors :wink:)

Usage

  • Run prettyfirefox --help to see available options
  • Edit package provided configuration files (.css, .js etc.), following developers' instructions.
  • (Re)start Firefox to see changes

Here is the included help information:

prettyfirefox will install, update custom visual modifications to Firefox profile
    using initially CustomCSSforFx repo, potentially adding support for other relevant repos

    Usage:
prettyfirefox [-h][-V|--version][-u|--update][-f|--forceversion][-d|--download][-x|--script][-v|--verbose]
     -h | --help
                     This help information message

     -V | --version
                     Show program version

     -u | --update
                     Update script to the latest version

     -f | --forceversion
                     Update script to a specific version

     -d | --download
                     Download another script version

     -x | --script
                     Firefox profile modification script (i.e. CustomCSSforFx, etc.)

     -v | --verbose
                    Show more detailed information in the output
8 Likes

Ha! I already wrote it and installed this before even reading this line. :stuck_out_tongue_closed_eyes:

$ prettyfirefox -u -v
firefox is available
dos2unix is available
cp: cannot create regular file '/home/yochanan/.config/prettyfirefox/prettyfirefox.conf': No such file or directory
/home/yochanan/.config/prettyfirefox/prettyfirefox.conf was not found
cp: cannot create regular file '/home/yochanan/.config/prettyfirefox/CustomCSSforFx.conf': No such file or directory
/home/yochanan/.config/prettyfirefox/CustomCSSforFx.conf was not found
RemoteRepoURL: https://github.com/Aris-t2/CustomCSSforFx
CSSEditor: kate
DiffProg: meld
Created working directory : /tmp/prettyfirefox-1576362907
CustomCSSforFx is not installed on this Firefox profile!
Do you want to install it? (Y)es (N)o : y
There is no CustomCSSforFx version locally. You need to download one first.

I created ~/.config/prettyfirefox:

firefox is available
dos2unix is available
RemoteRepoURL: https://github.com/Aris-t2/CustomCSSforFx
CSSEditor: kate
DiffProg: meld
Created working directory : /tmp/prettyfirefox-1576362840
CustomCSSforFx is not installed on this Firefox profile!
Do you want to install it? (Y)es (N)o : y
There is no CustomCSSforFx version locally. You need to download one first.

Now what?

EDIT: Oh wait, there's more instructions to read.

2 Likes

Start locally 1st.
--help

1 Like


What exactly about this project has anything to offer?
As far as I can tell ... it simply gives you the same instructions you normally would follow .. and adds some 'classicUI' templates for you to work with...
custom css isnt anything new in FF - ex - I've been using it for years to manually force better fonts when FF mangles them on dark themes.
[and its literally just making the directory+file .. plus the about:config switch now I guess .. neither of which you even need anything like sudo for]

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by