mig / gedit-themes Goto Github PK
View Code? Open in Web Editor NEWColor themes for Gnome's default editor Gedit
Color themes for Gnome's default editor Gedit
I have successfully downloaded these files, however would you mind pointing me in the direction on how to apply these themes?
Thanks!
How come I currently have to import themes 1 by 1?
bug recreation: First run installer EDIT: on Mint. Now open gedit and go to preferences then font and color, then hit plus sign to add a theme. Select all themes in the directory you installed to. Notice only the first gets imported.
fix ideas: I'll clone this repo and add working installer for Linux which places the themes in the proper directory
I'd like to package this set of themes for Arch Linux so that it can be easily installed onto systems. Unfortunately I can't find any license information for a lot of the themes. Some appear to have an LGPL2 copyright header but others don't have anything. Any ideas on what the license is for the remaining files?
if you run install script on fresh install Ubuntu it fails as destination folder doesnt exist, i suggest to check if it exists and create if it doesnt
The install.sh
executable is the recommended installation method for this repo. The readme also doesn't provide any other information on what to do in case the install script doesn't work. Unfortunately, this script doesn't work on other distros that I've tested. Specifically, I run on Linux Mint Cinnamon. The install.sh
script is a shell script, so it'll run on any distro, but it will only work specifically with Ubuntu Gnome. That's problematic. The reason for the problem is that the install.sh
has a hardcoded location to transfer the themes to. This hardcoded location is as follows: $HOME/.gnome2/gedit/styles
The install script has 2 lines, but many problems. Poor coding practices, for one. The first line of the script is this: mkdir -p $HOME/.gnome2/gedit/styles
which effectively creates the $HOME/.gnome2/gedit/styles
if you don't have it already on your system. One annoying problem is that the -p option forces the creation of the parent directories, so even if you don't have $HOME/.gnome2/gedit/styles
on your disk, you will now. This runs the risk of creating a directory that gedit doesn't reference, which clutters up your system and may confuse you later. Gedit has a certain folder for themes in its configuration. If you don't know what it is, you don't just hardcode the filepath and force-create it. A better idea would be to check if the filepath already exists, and exit out if it doesn't.
Here's how I fixed the issue. I knew that gedit looks for themes in a certain folder on your system. If you know that folder, you can just copy-paste the themes right into that folder. By default, ChatGPT says that folder is $HOME/.local/share/gedit/styles
. Sadly this isn't an ideal solution. From the limited compatibility research I did online, I found that the themes folder of gedit differ between how gedit was installed, and thus by distro. You can use all sorts of utilities to install gedit, like apt-get
, flatpak
, or snap
. The gedit configurations would differ depending on what tool you have installed. Gedit installed with apt might not have the same themes folder as Gedit installed with snap. If you don't know where gedit looks for the themes, you have several options. The configuration file for gedit will show the directory it uses for themes. Or you could try and just run the install.sh from my repo, which uses the gedit default themes directory: $HOME/.local/share/gedit/styles
. An internet search might tell you where the themes directory is installed on your system. That's all for now.
In the cobalt theme, the color
neon_pink
is ffdd00
this turns out to be a yellow color. I'm pretty sure it's supposed to be
ff00dd
Brackets are not highlighted and search highlights are totally black.
Solution (github.xml):
Change line 31 from
to
`
Change line 54 from
<style name="search-match" foreground="foreground" background="caret"/>
to
<style name="search-match" foreground="foreground" background="highlight"/>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.