You are not logged in.

#1 2020-02-21 19:02:08

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,052

Themes from GTK2 to GTK3 ...

Is there anyone here that can convert a gtk2 theme to a gtk3 theme?

I copied "CleanIce-Dark" to ~/.themes/S11-CleanIce-Dark and made one tweak to change the purple bars to black.

Unfortunately I have no clue about converting it to GTK3.
Checked GUGL and it seemed way over my head.

Any help out there?


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#2 2020-02-21 20:21:07

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,554
Website

Re: Themes from GTK2 to GTK3 ...

Have you tried replicating that theme using Oomox?


One of the ArchLabs dudes
Obssesive Metalhead and practiced beer drinker
\m/

Offline

#3 2020-02-21 21:01:20

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,052

Re: Themes from GTK2 to GTK3 ...

When I saw: Ubuntu - NO go.

### Ubuntu
Ubuntu 16.04 and 15.10 / Linux Mint 18 users can install Oomox by using the main WebUpd8 PPA:

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install oomox

If you don't want to add the PPA, you can download the deb from here: http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/pool/main/o/oomox/

And another site:

Once you have your package, install it with dpkg.

$ sudo dpkg -i oomox_1.7.2.3_18.10+.deb

Chances are, that’ll fail miserably. Use Apt to pull in the required dependencies and fix it.

$ sudo apt --fix-broken install

When Apt is done, you’ll have Oomox installed on your system.

Just does not sound inviting.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#4 2020-02-21 21:27:04

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 340

Re: Themes from GTK2 to GTK3 ...

Once you have your package, install it with dpkg.

$ sudo dpkg -i oomox_1.7.2.3_18.10+.deb

Chances are, that’ll fail miserably. Use Apt to pull in the required dependencies and fix it.

$ sudo apt --fix-broken install

[...]
Just does not sound inviting.

It is quite common, that a package from third-party has dependencies to packages in debian repo.
The nesseceary packages is: sassc parallel libsass1 and librsvg2-bin

Last edited by rbh (2020-02-21 21:27:53)


// Regards rbh

Online

#5 2020-02-21 21:48:33

unklar
Member
Registered: 2015-10-31
Posts: 1,094

Re: Themes from GTK2 to GTK3 ...

Sector11 wrote:

And another site:

    Once you have your package, install it with dpkg.

    $ sudo dpkg -i oomox_1.7.2.3_18.10+.deb

    Chances are, that’ll fail miserably. Use Apt to pull in the required dependencies and fix it.

    $ sudo apt --fix-broken install

    When Apt is done, you’ll have Oomox installed on your system.

Just does not sound inviting.

The command for apt should be (not for dpkg -i...)

sudo apt install ./oomox_1.7.2.3_18.10+.deb

If it installs the *buntu* package painlessly and resolves all dependencies, there is nothing wrong with it. I did this myself in siduction with radiotray-ng.

If apt can't resolve the dependencies, of course it can't do it.
You can fully trust apt in this matter. There is nothing "past" the package management  wink

You can also uninstall the whole thing with apt

sudo apt purge oomox

Offline

#6 2020-02-24 07:53:29

ohnonot
...again
Registered: 2015-09-29
Posts: 4,421
Website

Re: Themes from GTK2 to GTK3 ...

Sector11 wrote:

Is there anyone here that can convert a gtk2 theme to a gtk3 theme?

A tricky topic.

FWIW, oomox doesn't need to be installed as such. Provided you have all the dependencies, cloning the git repo & running it straight from there should be enough.
Even so, there's still some work involved. AFAIK oomox does not come with a "Import GTK2 theme" button or some such.

Another possibility:

Assumption: getting the defining colours out of the GTK2 theme is easy.

Some GTK3 themes have a color scheme defined in a separate file. It's not clear where this is, but you have to start with <theme-name/gtk-3.*/gtk.css and see if it contains the colors, or "includes" something that does.
In such a case, it just might be enough to replace those color definitions.

Also have a look at e.g. Bunsen-He, Bunsen-He-flatish, Crocus-remix etc. The files therein introduce the concept of compiling the GTK3 theme.

Good luck.
I did this once, only to have it break after a year or so (new GTK3 version, notoriously not backwards compatible). That ended my GTK3 theming career.

Offline

#7 2020-02-24 12:15:32

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,052

Re: Themes from GTK2 to GTK3 ...

Thanks ohnonot - I have been doing some reading and come to the same conclusion.

I left the BL DEV team because GIT and I are not use friendly.  I though I had destroyed the early BL Conky GIT repo.  damo has been doing just fine. So I'm not going to start cloning GIT to work on themes that are temporary

I'm not ready yo make the kind of commitment it takes to do this.  Just too much going on in  RL for me to think I could even concentrate on such and endeavour.  Was kinda hoping there was a theme guru out there that  might have a "quick fix tip or two"

It certainly isn't as easy as a GTK2 themes

To be honest I have given up on it..


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#8 2020-02-24 12:46:39

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,052

Re: Themes from GTK2 to GTK3 ...

However:

   $ sudo apt install ./oomox_1.12.5.3-1-g1384adfa_18.10+.deb
{blah blah}
{blah blah}
{blah blah}
{blah blah}
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
serious bugs of autoconf (→ 2.69-11) <Outstanding>
 b1 - #907277 - autoconf: AC_SEARCH_LIBS for __atomic_foo fails with AC_LANG([C++]) and g++-8
Summary:
 autoconf(1 bug)
Are you sure you want to install/upgrade the above packages? [Y/n/?/...] 
{blah blah}
{blah blah}
{blah blah}
{blah blah}
{132 files later ....}
Setting up oomox (1.12.5.3-1~themixproject~cosmic) ...
Listing '/opt/oomox/oomox_gui'...
Compiling '/opt/oomox/oomox_gui/__init__.py'...
Compiling '/opt/oomox/oomox_gui/__main__.py'...
Compiling '/opt/oomox/oomox_gui/color.py'...
Compiling '/opt/oomox/oomox_gui/colors_list.py'...
Compiling '/opt/oomox/oomox_gui/config.py'...
Compiling '/opt/oomox/oomox_gui/export_common.py'...
Compiling '/opt/oomox/oomox_gui/gtk_helpers.py'...
Compiling '/opt/oomox/oomox_gui/helpers.py'...
Compiling '/opt/oomox/oomox_gui/i18n.py'...
Compiling '/opt/oomox/oomox_gui/main.py'...
Compiling '/opt/oomox/oomox_gui/palette_cache.py'...
Compiling '/opt/oomox/oomox_gui/plugin_api.py'...
Compiling '/opt/oomox/oomox_gui/plugin_loader.py'...
Compiling '/opt/oomox/oomox_gui/preset_list.py'...
Compiling '/opt/oomox/oomox_gui/preview.py'...
Compiling '/opt/oomox/oomox_gui/preview_icons.py'...
Compiling '/opt/oomox/oomox_gui/preview_terminal.py'...
Compiling '/opt/oomox/oomox_gui/settings.py'...
Compiling '/opt/oomox/oomox_gui/terminal.py'...
Compiling '/opt/oomox/oomox_gui/theme_file.py'...
Compiling '/opt/oomox/oomox_gui/theme_file_parser.py'...
Compiling '/opt/oomox/oomox_gui/theme_model.py'...
Compiling '/opt/oomox/oomox_gui/xrdb.py'...

[Alt][F2]

oomox

ERROR: No such file or directory

[Alt][F2]

oomox_gui 

ERROR: No such file or directory

   $ sho oomox
alias = aptitude show filename
Package: oomox                    
Version: 1.12.5.3-1~themixproject~cosmic
State: installed
Automatically installed: no
Priority: optional
Section: devel
Maintainer: Yauheni Kirylau <actionless.loveless@gmail.com>
Architecture: all
Uncompressed Size: 0 
Depends: python3-gi, libglib2.0-bin, libgdk-pixbuf2.0-dev, libxml2-utils, x11-xserver-utils, gir1.2-gtk-3.0,
         gir1.2-glib-2.0, gir1.2-pango-1.0, gir1.2-gdkpixbuf-2.0, gtk2-engines-murrine, gtk2-engines-pixbuf,
         bash, bc, sed, grep, parallel, sassc (>= 3.4), libsass1 (>= 3.4), imagemagick, optipng,
         librsvg2-bin, inkscape, python3-pillow, python3-pystache, python3-yaml, make, automake, libgtk-3-dev
Suggests: breeze-icon-theme
Description: Graphical application for generating different color variations of Oomox (Numix-based), Materia (ex-Flat-Plat) and Arc themes (GTK2, GTK3, Cinnamon, GNOME, Openbox, Xfwm), Gnome-Colors and Archdroid icon themes. Have a hack for HiDPI in gtk2.

So I removed it.

dpkg: warning: while removing oomox, directory '/opt/oomox/oomox_gui/__pycache__' not empty so not removed

then "autoremoved" files.

and went back and removed directory '/opt/oomox/oomox_gui/__pycache__' manually.

Last edited by Sector11 (2020-02-24 12:54:23)


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#9 2020-02-24 15:50:44

damo
....moderator....
Registered: 2015-08-20
Posts: 5,837

Re: Themes from GTK2 to GTK3 ...

Sector11 wrote:

'''
I left the BL DEV team because GIT and I are not use friendly....

But if you just clone and pull it keeps you up-to-date, and it can't affect upstream.

BTW I'm very wary of touching the BL git repos!


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#10 2020-02-24 20:01:55

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,052

Re: Themes from GTK2 to GTK3 ...

damo wrote:

But if you just clone and pull it keeps you up-to-date, and it can't affect upstream.

BTW I'm very wary of touching the BL git repos!

Ture enough.  But at that time I was pushing, pulling, kneading, stretching and compacting conky and ramming it into GIT.  I made an OOPS and someone, maybe you, I can't remember, saved my bacon.

You took my little conky YAD script and made it into a BLOB file to be proud of.  Always respected the fact you sent a "Do you mind if {I tweak it}?"

So rather than destroy something it was best to just get my fingers out of the pot before I burnt myself.

I am not a programmer, and I know things are in good hands. wink


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#11 2020-02-26 07:55:52

ohnonot
...again
Registered: 2015-09-29
Posts: 4,421
Website

Re: Themes from GTK2 to GTK3 ...

Sector11 wrote:

I left the BL DEV team because GIT and I are not use friendly.  I though I had destroyed the early BL Conky GIT repo.  damo has been doing just fine. So I'm not going to start cloning GIT to work on themes that are temporary.

Just cloning a repo is a read-only process (and you don't have permission to destroy anything in the oomox repo anyhow), as simple as wget. It's become so ubiquitous it became a figure of speech of sorts; really what I meant is you jsut download the git repo (github provides a convenient download button).

Oomox is a hot mess but very interesting & useful for notorious themers.

Offline

#12 2020-02-26 20:01:47

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,052

Re: Themes from GTK2 to GTK3 ...

ohnonot wrote:

Oomox is a hot mess but very interesting & useful for notorious themers.

Yea, I have given up on this for just that reason ... I've been reading and trying.

However I have managed to get medit, mousepad and pluma to all use the same "slightly tweaked" 'style' of  "Solarized Light" and I am working on one of my own  big_smile

Now if I can just figure out where the "style" sheet is for thunar I can stop using a magnifying glass to read it and get it to use my icons vs what it is using.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#13 2020-02-26 21:15:59

damo
....moderator....
Registered: 2015-08-20
Posts: 5,837

Re: Themes from GTK2 to GTK3 ...

Sector11 wrote:

...
Now if I can just figure out where the "style" sheet is for thunar I can stop using a magnifying glass to read it and get it to use my icons vs what it is using.

Couldn't you set the icon size in Thunar -> Preferences -> Side Pane, or do you specifically want your own icons?
In the files pane you can also do Ctrl+/- to change the icon size.

EDIT: or am I misunderstanding, and you want the font size bigger as well?


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#14 2020-02-26 22:18:36

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,052

Re: Themes from GTK2 to GTK3 ...

damo wrote:
Sector11 wrote:

...
Now if I can just figure out where the "style" sheet is for thunar I can stop using a magnifying glass to read it and get it to use my icons vs what it is using.

Couldn't you set the icon size in Thunar -> Preferences -> Side Pane, or do you specifically want your own icons?
In the files pane you can also do Ctrl+/- to change the icon size.

EDIT: or am I misunderstanding, and you want the font size bigger as well?

Two things:  Change font size and get it to use my choice of Icons (menu bar)

Side bars are just fine

Last edited by Sector11 (2020-02-26 22:19:16)


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

Board footer

Powered by FluxBB