CDE theme

GTK3 Themes cde gtk2 gtk3 motif

Source (required if based on other people's work):

4
Score 54%
Description:

(Newer version: https://www.opendesktop.org/p/1231025/ )

Gtk2 / Gtk3 theme mimicking CDE / Motif .

This 1.1 version is mainly an update of the Gtk2 theme. It now looks.. well as close as I could get it to mimic CDE (at least, this is as far as I want to take it.) It is now completely based on grabbed images from CDE, for buttons and such. A script will colorize all images for the selected CDE palette. (there are 40 or so). The script uses code grabbed from the motif window manager to calculate the colors, so it should come very close to the original. Lot of programs still use Gtk2, eg Gimp. I'm really happy about how it works with Gimp. Eg all dialogs have green widgets, like in the HPUnix I used to work on as a student ;) (see screenshots.)

CDE= Common Desktop Environment was (is) a colorful desktop from the '90s with a very distinct flat / boxy look.

Comes with about 40 original CDE color schemes. Script generates the gtk.css etc files. Includes the purplish 'Solaris' found in many 'cde themes' (the palette Crimson.dp)

Includes theme for Xfce window decorations ala CDE/Motif

I'm also working on a cde front panel app emulation.. see sourcforge 'cdepanel'
https://sourceforge.net/projects/cdepanel/







README FILE: --------------------------------------------------------------------------------


CDE/MOTIF LIKE THEME FOR GTK2/3 AND XFWM4

(Jos van Riswick/gpl3/josvanr@gmail.com)

VER 1.1


Please copy the CDEtheme directory to ~/.themes/CDEtheme


For the theme to take effect, go into Xfce Settings/Appearance and pick
CDEtheme to make the colors apply to all running apps. Similar in other desktop
envs.

For the xfwm4 theme to apply, go into Xfce Settings/Window Manager/Theme and choose
CDEtheme (for cde style window decorations)

Default color scheme is 'Broica' but you can also switch to any other CDE
colorscheme in the CDEtheme/palettes directory, by using the MotifColors.py
script. For each palette, in CDE you could choose between 4 or 8 colors, so do
one of these:

MotifColors.py palettes/Broica.dp 8
MotifColors.py palettes/Broica.dp 4

to generate all new files. For this to take effect, you need to switch to another
scheme, and then switch back to CDEtheme again.

Script now also generates a new theme directory eg for

./MotifColors palettes/Charcoal.dp 8

it makes a new theme 'CDEtheme-Charcoal-8-colors. So you can also click
on that.



REQUIREMENTS

For this script to work you need to install the pyqt4 modules and the
pixmap gtk2 engine. Eg on ubuntu something like:

sudo apt install python-qt4
sudo apt install gtk2-engines-pixbuf

and of course you need python.

So yes, hope you can get it to work !

unix-junkie

28 days ago

+

Report

Douwtjeh

3 months ago

This looks great! It isn't recognised in Gnome Tweak Tool on gnome 3.28 (Ubuntu 18.04) however, it doesn't show up in the list of themes. Do you know how to make it work?

Report

C

josvanr

3 months ago

THNX ! Hmm have you copied the dir to ~/.themes ? I'll try and make a usb of ubuntu 18.04 and try it myself......

Report

C

josvanr

3 months ago

PS but for the window decorations you do need XFCE to be installed...

Report

C

josvanr

3 months ago

Hmm I just spent 2 hours or so trying but it seems to be too complicated for me. For gnome-tweak to look in your ~/.themes directory, you need to install a gnome-tweak extension calld 'user-themes' or something. But how? I'm happy I'm using xfce hahahah

Report

Douwtjeh

3 months ago

Thanks for looking into it! you can install the gnome shell extension from https://extensions.gnome.org/extension/19/user-themes/

You need a browser plugin and also a separate package installed to do so, the website will give you a warning and links to instructions if either isn't installed. Honestly, it's the part of modern gnome I dislike the most, a lot of options require jumping through hoops that I think ought to just be in the settings menu.

Doesn't XFCE use the same window decorations as gnome 2? Anyway, thanks again for trying it out

Report

C

josvanr

3 months ago

aha ok maybe i will try it some time. But does this mean you got it to work? Xfce has its own window manager 'Xfwm' I'm not sure about gnome2

Report

Douwtjeh

3 months ago

I didn't, It's just how I selected other themes. I tried adding an index.theme file, but it didn't work and I don't know why tweak tool doesn't recognise it as a theme. I don't know much about making themes, but I'll take a look if there's something else I missed

Report

Douwtjeh

3 months ago

Oh I got one thing, it needs a gtk-3.0 folder to work on my machine. I don't know if the more specific versions are overrides for that version only or if they are applied for that version onwards or what, but it does something. It looks a bit worse than the screenshots though, no borders around a lot of things less detail (at least in gtk-3 apps, don't know about gtk-2

Report

C

josvanr

3 months ago

Hi Douwtjeh, I just tried your recommendation, it seems to work , thnx ! Hm yes I'm also not entirely sure how the directory structure is supposed to look, I just followed the examples from other themes. I copied my gtk-3.16 directory to gtk-3.0 and then it seems to works. Strangely enough, the libtgtk version on ubuntu 18.04 is 3.22, and indeed the theme is read from the files in the gtk-3.20 directory (i know because the other version doesnt contains a couple of images the latter one does). So the gtk-3.0 is hm yes not used, but needed for the other one to work ?...

Yes, the window borders.. Apparently, gtk3 now has built-in window decorations and they are not provided anymore by the window manager. (I havent entirely read up on that). Indeed, if you load a theme like'adwaita' it also doesnt seem to have borders, only a window title. More traditional widow managers like xfce do. So what I did , is just style the 'headerbar' widget from gtk to fit with the theme. But if you want to have the full cde-like feel, you need to use xfce for now.

Apart from that, all wigets seem to draw all right. At least the ones shown in 'gtk3-widget-factory'....

Report

C

josvanr

3 months ago

PS: Btw this is also an older version of the setup. Maybe you can try https://www.opendesktop.org/p/1231025/

Report

yethiel

3 months ago

I'm surprised how well this works. The theme is very well done. I also your dock application as well and it's also very nice. Keep it up!

Report

C

josvanr

3 months ago

THNX! Glad it works for you. I'll be updating the Gtk3 themes to match the newer Gtk2 in the coming weeks ..

Report

product-maker unix-junkie Jul 17 2018

+
File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
GPLv3
version
1.1
updated Apr 20 2018
added Apr 20 2018
downloads today
0
page views today 7
System Tags gplv3