Coder Social home page Coder Social logo

Comments (13)

sempasha avatar sempasha commented on August 24, 2024 1

@Zonnev, done.

from elementaryos-firefox-theme.

sempasha avatar sempasha commented on August 24, 2024

Hi, can you please add more details. Did you mean install.sh?

from elementaryos-firefox-theme.

Zonnev avatar Zonnev commented on August 24, 2024

Yes thats the file. When using the install.sh to install a new userChrome.css, the new css code adds into the old userChrome.css. Result is double css code in the userChrome file. What I would like to have is an install.sh that completely replaces the old userChrome.css. If you could manage that, I would be very grateful, it would simplify the installing process for users. Many thanks in advance!

from elementaryos-firefox-theme.

Zonnev avatar Zonnev commented on August 24, 2024

@sempasha Many thanks for the installer! But... when it searches for the default folder of Firefox it picks the wrong folder. I'm sorry to say, but could you look into it one more time? Thank you.

from elementaryos-firefox-theme.

Zonnev avatar Zonnev commented on August 24, 2024

The right folder has "default-release" in the name.

from elementaryos-firefox-theme.

sempasha avatar sempasha commented on August 24, 2024

Could you please show contents of ~/.mozilla/firefox/profile.ini file?

from elementaryos-firefox-theme.

Zonnev avatar Zonnev commented on August 24, 2024

[Install4F96D1932A9F858E]
Default=tz37qdyy.default-release
Locked=1

[Profile1]
Name=default
IsRelative=1
Path=b5yd1hth.default
Default=1

[Profile0]
Name=default-release
IsRelative=1
Path=tz37qdyy.default-release

[General]
StartWithLastProfile=1
Version=2

from elementaryos-firefox-theme.

sempasha avatar sempasha commented on August 24, 2024

You have two profiles here:

  1. b5yd1hth.default which as marked as Default=1;
  2. and another one is tz37qdyy.default-release.

Installation script you have before, always selects profile, marked as Default. Current script has same logic.

We have three options here:

  1. Do not modify script and install userChrome.css to default profile only (current behaviour);
  2. Modify script to install userChrome.css to all user profiles;
  3. Modify script to ask user, which profile to install userChrome.css

My view is to ask user. What is your opinion on that case?

from elementaryos-firefox-theme.

Zonnev avatar Zonnev commented on August 24, 2024

I'm afraid most users don't know about the profiles. Like me, I installed FF beta, uninstalled it, but it gave me a second profile not known to me.

So I want to choose option 2, because a user wants the theme to work, no matter which profile is default. Thanks for your time and effort. Option 2 it is.

from elementaryos-firefox-theme.

sempasha avatar sempasha commented on August 24, 2024

Ok, got it.

from elementaryos-firefox-theme.

sempasha avatar sempasha commented on August 24, 2024

That's all. Thank you for accepting pull requests.

from elementaryos-firefox-theme.

Zonnev avatar Zonnev commented on August 24, 2024

Thanks @sempasha, almost done!

Install ElementaryOS Firefox Theme (https://github.com/Zonnev/elementaryos-firefox-theme)

  1. Check Firefox installation ...  done
  2. Search for firefox profiles ... 2 profiles found
  3. Install theme at profile path /home/michael/.mozilla/firefox/tv2kft7w.default:
     - Ensure directory 'chrome' ... done
     - Create file 'chrome/userChrome.css' ... done
  4. Install theme at profile path /home/michael/.mozilla/firefox/tv2kft7w.default:
     - Ensure directory 'chrome' ... done
     - Create file 'chrome/userChrome.css' ... done

Done, restart Firefox, please.

Thats my output. As you can see it installs in the same path twice. Please adjust that and we are good to go! Thanks.

from elementaryos-firefox-theme.

Zonnev avatar Zonnev commented on August 24, 2024

That's it!

from elementaryos-firefox-theme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.