CDE theme

GTK3 Themes cde emulation gtk2 gtk3

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

12
Score 70%
Description:

Gtk2 / Gtk3 theme mimicking CDE / Motif and Front panel app
'An elegant desktop, from a more... civilzed age.' ;)

Latest version 1.3 : Now includes configurable XFCE window decorations. Title height and border width can be set in pixels, and the images necessary for xfwm making up the border and window buttons will be generated from that. Also the panel app and gtk/xfce theme are now combined into a single package

Unpack, and run 'cdepanel'. (Maybe do chmod u+x cdepanel first.)
Tested on Xubuntu 17.10.

To generate theme files without using the panel app, use the 'switchtheme' script.



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) and a color scheme used on HPUnix (at least on the Hp9000 I used).

Includes theme for Xfce window decorations ala CDE/Motif



README FILE ########################################################################

CDEPANEL AND CDETHEME 1.3 / JOS@JOSVANRISWICK.COM

CDE front panel emulation with gtk and xfce theme

###################################################################################
HOW TO TEST:

Make fresh a live usb of xubuntu 17.10 and run the binary 'cdepanel'
(you may need to do 'chmod u+x cdepanel')

Use gtk/xfce theme *without* the panel app with the 'switchtheme' script, eg:

./switchtheme ../palettes/Broica.dp 8 5 18 true true true

###################################################################################
NEWS:

In this 1.3 version I added configurable XFCE window decorations. Title height
and border width can be set in pixels, and the images for borders and window
buttons will be generated from that.

Directories and are now organized a bit different. See 'TWEAK' below.

###################################################################################
REQUIREMENTS:

1) linux
2) a /tmp directory
3) python2.7
4) imagemagick convert
5) gtk2 pixmap engine
6) python and PyQt4
7) Prefarably, use XFCE4 !

It was tested on xubuntu 17.10. On ubuntu,
python and imagemagick should come installed. But if not, do:

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

###################################################################################
INSTALLATION:

A) CDE Panel app

1) extract the zip to some place you can access
2) copy 'cdepanel' to your path, or just run it from there
(maybe you need to make it executable, do: 'chmod u+x cdepanel')

If you are using xfce4 the script will set a different CDE
backdrop to every workspace. However, not all versions of xfce4 allow
setting the backdrop from a script. So you may need to go into
SETTINGS/DESKTOP and uncheck 'Apply to all workspaces'.

The Gtk2/3 theme uses images (arrows and such). Gtk3 doesnt always display
these sharply, depending on the dpi setting or font size. If some elemens
in apps appear blurred, try modifying your custom dpi setting or font
size. (XFCE SETTINGS/APPEARANCE/FONTS)

If the 'cdepanel' binary doesnt work on your system, you need to TWEAK (see below)

B) Gtk/xfce theme *without* cde panel app

1) copy 'cdetheme' directory to ~/.themes
2) Go into xfce/settings/ appearance and window manager to pick 'cdetheme'
(or similar app in other environments)
3) use the 'switchtheme' script for picking a new color palette or set the
window height/border width

###################################################################################
USAGE:

Configuration of the cdepanel app can mostly be done by right click on the panel.
Apps can be added to the panel and drawers using drag and drop.

Keys and mouse:

mousewheel: switch workspace
=/- or ctrl-mousewheel: change size
h/H or shift-mousewheel: change sharpness/antialiasing
p/P: quick palette switch
s/S: tweak displayed saturation
c: pop up config dialog

###################################################################################
TWEAK

The file 'cdepanel' is a pyinstaller executable containing almost all
dependencies. So running that has the greatest chance of just working. The
cdepanel script will try to make an initial configuration based on what it
finds on your system. If you want to manually tweak or modify/improve the
configuration or scripts, here are some pointers:

cdetheme/: directory containting the gtk/xfce theme files, should be copied to
~/.themes A link to this directory called cdetheme1 will be created to be able
to quickly switch and affect changes when the theme has been modified

cdetheme/scripts: directory with all the python scripts

scripts/cdepanel.py: the source file of the main app. If the binary 'cdepanel'
doesnt work, try to run this one.

scripts/switchtheme: script for setting the theme (gtk/xfce), without using the
panel app

scripts/CdePanel/: the configuration directory for cdepanel. On initial run,
this is copied to your ~/.config directory.

CdePanel/layout: file that determines what is shown on the panel

CdePanel/config: some configuration options

CdePanel/cache: icon cache. If your icons look funny, empty this dir

CdePanel/drawers: contains drawer files (the arrow things that pop up a list of
apps). On inital run, a set of default drawers is created.

###################################################################################
PYHON DEPENDENCIES

If you want to use the python modules instead of the 'binary' please install
the following dependencies:

sudo apt install python-dev build-essential python-sip-dev python-sip-dev libpythonqt-dev libqt4-dev libqt4-dev libqt4-dev python-qt4-dev python-qt4 python-yaml python-xdg python-pil python-pip

sudo pip install ewmh
sudo pip install colors.py
sudo pip install pyinstaller

###################################################################################
QT THEME

Hmm in xubuntu 17.10 the gtk style now doesnt seem to be applied to QT apps. To do this install

sudo add-apt-repository ppa:mati75/qt5ct
sudo apt install qt5ct
sudo apt install qt5-style-plugins

and in .bashrc set

QT_QPA_PLATFORMTHEME=qt5ct
export QT_QPA_PLATFORMTHEME=qt5ct

(one of the 2)

start qt5ct and pick 'gtk+'



So yes.. I hope you can get it to work !

unxusr

5 days ago

+

Report

gyll

27 days ago

Absolutely great! still needs some polishing here and there, but all in all a great piece of work

Report

unix-junkie

1 month ago

+

Report

hide2018

1 month ago

I do not know why, the gtk3 elements are displayed incorrectly, the panels are either transparent or completely black.
Ubuntu 18.04

Report

hide2018

1 month ago

Я не знаю, почему элементы gtk3 отображаются некорректно, панели являются прозрачными или полностью черными.
Ubuntu 18.04

Report

C

josvanr

1 month ago

prastitje daitje mnje el screen shot

Report

C

josvanr

1 month ago

what do you mean with 'panels' ?

Report

hide2018

1 month ago

This applies only to programs on gtk3.
I attach a screenshot of the link:
https://s33.postimg.cc/xh54bdzgv/2018-07-14_12-35-09.png

Report

gpyra

1 month ago

Great theme! Could you please also create IRIX theme? There is gtk2 version available as part of MaXX Desktop project http://maxxinteractive.com/downloads/Indy-1.1.0/FEDORA/MaXX-Indy-1.1.0-NO-ARCH.tar.gz (by MaXX/share/themes/MaXX-Classic path), but we also need gtk3 version.

Report

trendkill

2 months ago

Hi, very nice, I love it. Thanks! Here is something:

[trendkill@archmac scripts]$ ./switchtheme
File "./switchtheme", line 63
print helptxt
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(helptxt)?
[trendkill@archmac scripts]$

Report

C

josvanr

2 months ago

Hellø, Thnx ! Aha ok hmm ... It may be due to the python version. I used 2.7, which doesnt need parenthesis. But in python 3 you do need that. Maybe you can try to change the first line: #/usr/bin/python to #/usr/bin/python2.7 to see if that works. Dont know if that is the correct way to do this, but if you have 2.7 installed it should work.

Report

trendkill

2 months ago

I tried that too before, just calling the script with python2.7. Here is the result:

[trendkill@archmac scripts]$ ./switchtheme
Traceback (most recent call last):
File "./switchtheme", line 5, in
from PyQt4 import QtCore, QtGui
ImportError: No module named PyQt4
[trendkill@archmac scripts]$

Report

C

josvanr

2 months ago

have you installed all required python modules?

sudo apt install python-dev build-essential python-sip-dev python-sip-dev libpythonqt-dev libqt4-dev libqt4-dev libqt4-dev python-qt4-dev python-qt4 python-yaml python-xdg python-pil python-pip

Report

dusthillresident

2 months ago

Excellent work

Report

xj09

2 months ago

+

Report

xj09

2 months ago

It's just brilliant, did someone finally do it, you're my hero.

Report

S

elbullazul

3 months ago

very nice theme

Report

ben-p

3 months ago

(Sorry for the noob question) I am running Ubuntu Mate 16.04 and cannot install it through Appearance Preferences. I don't really understand much of what the readme file says so could someone explain it? Thanks.

Report

C

josvanr

3 months ago

hello, I just tried it on ubuntu mate 17.10 (sorry I now see you have 16, but should work too). Please copy the directory 'cdetheme' into your ~/.themes directory (.themes directory inside your home directory). Then go into Appearance Preferences and pick one window decoration style and pick 'customize' There you can see 'cdetheme'.. But the window decorations only work for XFCE. So if you want the full package, you need to install XFCE.....

Report

ben-p

3 months ago

sorry to bother you but, I'm just getting into linux and know like 10 commands, could you give me what i need to type in the terminal?

Report

C

josvanr

3 months ago

Hello

aha ok hmm it would be something like

tar -xf cdetheme1.3.tar.gz
cd cdetheme1.3
mkdir ~/.themes
cp -r cdetheme ~/.themes

But the easiest woudl be to just install Xubuntu 17.10 and run ./cdepanel in the 'cdetheme1.3' directory.

Report

gyll

3 months ago

Just GORGEOUS GORGEOUS GORGEOUS!

Tell me, if i'll make a list of less than 10 changes, not very complicated, will you at least look into it (asking you this because you said "this is as far as i want to take it")?

PS
Check out my theme also here: https://www.xfce-look.org/p/1191436/

Report

gyll

3 months ago

by "changes" i mean more like... fixes

Report

C

josvanr

3 months ago

Hi Gyll, THNX Yes please, if you have any tips.. Some things I justwansnt able to figure out how to do. Your setups look pretty consistent so you probably know more than I haha. So yes I'd be happy to receive your help. I'll find some time to look into it. Dont know if it is possible to send a PM via this platform?

Report

S

elbullazul

3 months ago

you guys can create a thread on the forum and keep this for comments

https://forum.opendesktop.org/

Report

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
GPLv3
version
1.3
updated May 07 2018
added Apr 24 2018
downloads today
0
page views today 30
System Tags gplv3