Skip to content

Commit

Permalink
Additional commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie-Michelle committed Feb 3, 2020
1 parent 4bb4ef4 commit 8f6dd47
Show file tree
Hide file tree
Showing 10 changed files with 230 additions and 360 deletions.
Binary file modified Computing-Machine-GTK-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Computing-Machine-GTK-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Computing-Machine-Qt-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion Computing-Machine/Extras/gtk-icontheme/Information.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ The SVG files in this directory are all the icons used in the "-gtk-icon-source:
/usr/share/icons/Adwaita/scalable/ui/pan-down-symbolic.svg
/usr/share/icons/Adwaita/scalable/ui/pan-end-symbolic-rtl.svg
/usr/share/icons/Adwaita/scalable/ui/pan-end-symbolic.svg
/usr/share/icons/Adwaita/scalable/ui/pan-start-symbolic.svg
/usr/share/icons/Adwaita/scalable/ui/pan-up-symbolic.svg
/usr/share/icons/Adwaita/scalable-up-to-32/status/process-working-symbolic.svg
3 changes: 0 additions & 3 deletions Computing-Machine/Extras/gtk-icontheme/pan-start-symbolic.svg

This file was deleted.

26 changes: 19 additions & 7 deletions Computing-Machine/Information.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Computing Machine version 17.5 (Jan. 29, 2020) by Jamie Michelle ( https://github.com/Jamie-Michelle , https://www.opendesktop.org/u/jamiemichelle/ ). Released under the GNU General Public License, Version 2.
Computing Machine version 17.6 (Feb. 3, 2020) by Jamie Michelle ( https://github.com/Jamie-Michelle , https://www.opendesktop.org/u/jamiemichelle/ ). Released under the GNU General Public License, Version 2.

This Unix-like desktop-environment theme is entitled Computing Machine. It is for GTK+ 2/Gnome 2 applications; GTK+ 3/Gnome 3 applications; Qt 4/KDE 4 applications; and Qt 5/KDE 5 applications via the Qt5 Configuration Tool ( https://sourceforge.net/projects/qt5ct/ ). This theme was developed on the XFCE desktop environment.

The './gtk-2.0/gtkrc' file is a modification of the 'gtk-engines-2.20.2/themes/Redmond/gtk-2.0/gtkrc' file from https://download.gnome.org/sources/gtk-engines/2.20/gtk-engines-2.20.2.tar.bz2 (688171 bytes, MD5: 5deb287bc6075dc21812130604c7dc4f).

The './gtk-3.0/gtk.css' and './gtk-3.0/settings.ini' files are modified from files of Reactionary Creatures version of Aug. 23, 2018 ( https://www.opendesktop.org/p/1255961/ ; ReactionaryGTKCreatures.tar.gz , 32669 bytes, MD5: 76dc59f2a7d36ceb5f26f15cf0bbe53e) by phob1an ( https://github.com/phobi4n ).
The './gtk-3.0/gtk.css' and './gtk-3.0/settings.ini' files are modified from files of Reactionary Creatures version of Aug. 23, 2018 ( https://www.opendesktop.org/p/1255961/ ; ReactionaryGTKCreatures.tar.gz , 32669 bytes, MD5: 76dc59f2a7d36ceb5f26f15cf0bbe53e) by phob1an ( https://www.opendesktop.org/u/phob1an/ , https://github.com/phobi4n ).

The files in the './xfwm4/' directory are modified from the 'xfwm4-themes-4.10.0/themes/default-4.8/' directory from https://archive.xfce.org/src/art/xfwm4-themes/4.10/xfwm4-themes-4.10.0.tar.bz2 (621206 bytes, MD5: eaa58362053a3549c8be0b32efd3c54f). See said archive for the SVG files from which the herein-included PNG files are derived.

Expand Down Expand Up @@ -41,7 +41,7 @@ export GTK2_RC_FILES="$HOME/.gtkrc-2.0"

####################

Set the 'qt5ct' program on Appearance > Style: gtk2.
Set the 'qt5ct' program (by Ilya Kotov, https://sourceforge.net/projects/qt5ct/ ) on Appearance > Style: gtk2.

Putting

Expand All @@ -54,25 +54,37 @@ in the '/etc/environment' file fixed a problem concerning Firefox not opening th

A recommended icon set to use with the Qt 5/KDE 5 portion of this theme is Oxygen. When installed on one's system, the icon set can be selected via the 'qt5ct' program's Icon Theme tab.

Apparently the first and perhaps both of the following two lines also have to be in the '~/.profile' file:
Also ensure that the following two lines are in the '~/.profile' file:

""
export QT_QPA_PLATFORMTHEME=qt5ct
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
export QT_QPA_PLATFORMTHEME=qt5ct

""

In order for 'qt5ct' to work with GTK+ 2 styles, it requires the 'qtstyleplugins' software (from https://code.qt.io/cgit/qt/qtstyleplugins , https://github.com/qt/qtstyleplugins ). On Arch Linux-based distributions, said software is the package named 'qt5-styleplugins'; on Debian-based systems, it is the package named 'qt5-style-plugins'.

Besides the 'qtstyleplugins' software for making GTK+ 2 styles work with Qt 5 applications, one can also use 'qt5gtk2' by Ilya Kotov ( https://bitbucket.org/trialuser02/qt5gtk2/ ).
Besides the 'qtstyleplugins' software for making GTK+ 2 styles work with Qt 5 applications, one can also use the program 'qt5gtk2' by Ilya Kotov ( https://bitbucket.org/trialuser02/qt5gtk2/ ). In which case, set the 'qt5ct' application on Appearance > Style: qt5gtk2.

Alternatively, the 'qt5ct' program does not have to be used, as one can use the following environment variable instead in the '/etc/environment' and '~/.profile' files when 'qtstyleplugins' is installed. However, one then loses the ability to select icon sets and fonts specifically for the Qt 5 applications, which will instead use whatever is set for the GTK+ 2 portion of the theme.

Line for the '/etc/environment' file when not using the 'qt5ct' program:

""
QT_QPA_PLATFORMTHEME=gtk2

""

Lines for the '~/.profile' file when not using the 'qt5ct' program:

""
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
export QT_QPA_PLATFORMTHEME=gtk2

""

If one is instead using the 'qt5gtk2' software, then the above 'QT_QPA_PLATFORMTHEME=' lines would contain 'qt5gtk2' in place of 'gtk2'.

As an aside which might be of help in some instances, note also the following nonexhaustive examples of Qt 5 application switches and environment variables, which can be used in various combinations:

$ dolphin --platformtheme gtk2
Expand Down Expand Up @@ -158,7 +170,7 @@ For additional helpful information on configuring this theme, see the following

####################

For modifying the Computing Machine theme, the below programs are useful. Furthermore, starting said programs from the command-line is useful in order to examine if any theme-parsing errors are produced in the terminal's output. See also within the included './Extras/' directory for additional resources that can be of help in modifying this theme.
For modifying the Computing Machine theme, the below programs are useful. Furthermore, starting said programs from the command-line is beneficial in order to examine if any theme-parsing errors are produced in the terminal's output. See also within the included './Extras/' directory for additional resources that can be of help in modifying this theme.

$ gtk3-widget-factory # GTK Widget Factory

Expand Down
9 changes: 4 additions & 5 deletions Computing-Machine/checksum.md5
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fda9bc1d0ea338b12b98f30ee395d96a *./gtk-3.0/gtk.css
8f9718d5a8eb823034a7d357a22d8263 *./gtk-3.0/gtk.css
45172a3b7e426c42ecd354233b68a2e8 *./gtk-3.0/settings.ini
100dc8274c35656689ffa9b0fd724e80 *./xfce-notify-4.0/gtk.css
862d756fb484c74cf90ebaf6327384ad *./xfce-notify-4.0/gtk.css
d03a993add76d4a06dce3cd16e1691c0 *./xfwm4/hide-pressed.png
d36e22bf792e0f69ee8bbd6e3eb87b1f *./xfwm4/stick-pressed.xpm
3f3df1481d33c31473cf2183bf000a64 *./xfwm4/hide-pressed.xpm
Expand Down Expand Up @@ -123,16 +123,15 @@ bb0dc8f1450ca5a38be4fef1c62fd0b0 *./xfwm4/hide-prelight.png
11e03c81a41c82840e3030a7ed816717 *./xfwm4/shade-toggled-prelight.xpm
c60adb598b93d908c44fbd245bf2d7c8 *./xfwm4/bottom-left-inactive.png
2cace5191fab8379bac4366e3339b140 *./xfwm4/menu-inactive.png
5387daefac97167e8797b0f967c4bbed *./Information.txt
3e10db9f2add5df266a8669eed00831c *./Information.txt
c2a8998d9ea495081217f600783c9936 *./Extras/Theme-Colors.txt
ee8392c885f790e3e28170725fcbde1c *./Extras/Computing-Machine.conf
cc9e8a4ede2e39739e0d30cf16be49aa *./Extras/gtk-icontheme/pan-end-symbolic.svg
72a41709a0991f108a47a2d965e4efdc *./Extras/gtk-icontheme/process-working-symbolic.svg
d4a776373a0da3ba0bbfe72be8a78d08 *./Extras/gtk-icontheme/pan-start-symbolic.svg
81ca5b4c581341c4118694d54280e163 *./Extras/gtk-icontheme/object-select-symbolic.svg
470e33c859c327c0aebe050e4b061e3d *./Extras/gtk-icontheme/media-record-symbolic.svg
d4a776373a0da3ba0bbfe72be8a78d08 *./Extras/gtk-icontheme/pan-end-symbolic-rtl.svg
22aa1cb55e46a06e0083e0df1930bac6 *./Extras/gtk-icontheme/Information.txt
988d930c0d8705e7192483b018840e00 *./Extras/gtk-icontheme/Information.txt
6aa48f7b3df6563fe52cd3f090cbdfd3 *./Extras/gtk-icontheme/pan-up-symbolic.svg
1cef1a80c99c1d4ed99a7258f9e6c9e8 *./Extras/gtk-icontheme/pan-down-symbolic.svg
58e68094d43b8a30f52413dc4e13e78c *./Extras/gtk-icontheme/list-remove-symbolic.svg
Expand Down
Loading

0 comments on commit 8f6dd47

Please sign in to comment.