Oxygen style and decoration with support for transparency (see screenshots).
This is an official branch of the KDE oxygen style. It is kept in sync with the official oxygen style, and adds support of full transparency on the windows.
The style and the decoration are named "Oxygen Transparent" and appear as such in KDE's system settings (in both the applications and workspace appearance pages).
A configuration helper application is included with the style that allows one to configure both the style and the decoration in the same window. It is called oxygen-transparent-settings.
The provided script, named oxygen-setup.pl is used to:
- get the sources (from git)
- configure them
- compile and install the window decoration and widget style.
important notes
1/ The style (and decoration) should work for recent enough versions of KDE4.
Different versions (branches) must be used depending on your KDE version:
- the KDE/4.8 version works with KDE/4.8 (tested), and possibly some earlier verions (not tested)
- the KDE/4.9 version works with KDE/4.9 (tested)
- the master version works with latest KDE, compiled from git. It may not work with any earlier KDE release.
New versions will be added (KDE/4.10, etc.) when the corresponding KDE4 version is out.
One can switch between branches by running the script and specifying the relevant branch:
oxygen-setup.pl --branch KDE/4.8
oxygen-setup.pl --branch KDE/4.9
oxygen-setup.pl --branch master
By default (when no branch is specified), the master branch is used.
There is a number of additional options available for the setup script. To get a list of them, type:
./oxygen-setup.pl --help
2/ Since March 4th 2011, oxygen-transparent has moved to git.
The project home page is:
https://projects.kde.org/projects/playground/artwork/oxygen-transparent
You can get the sources directly using:
git clone git://anongit.kde.org/oxygen-transparent
3/ KDE development packages are needed for the compilation to succeed (see below)
Feedback highly appreciated either here on on IRC, #oxygen. (ping hpereira, or hugo)
Downloads
There are automatic builds linked in the download section which have been provided by others (thanks !).
Only the first download (the script) is maintained by me, it always provide the latest svn version of the code.
Needed packages for installation/compilation
(thanks to MezzeForte for providing the list):
- gcc-c++
- git
- cmake
- kdebase-workspace-dev
- libxrender-dev
- libx11-dev
- Depending on the distribution you have the name of the packages might change a bit
- there are usually more packages needed by the packages above and installed via dependency.
For instance,
sudo apt-get install build-essential cmake kdelibs5-dev kdebase-workspace-dev libxrender-dev libx11-dev git
should work on recent enough Ubuntu (thanks to Antelmo for posting. See page5).
Bugs:
Even though oxygen-transparent is not officially part of KDE you can report bugs to https://bugs.kde.org.
You would need to select Oxygen as a product, and Style as a component.
Make sure that "Oxygen-Transparent" appears in the bug title so that it does not get confused with official oxygen bugs.
Posting bug reports at bugs.kde.org is highly recommended rather than posting comments on this page, as it makes my life much easier at bookkeeping.
dutchglory
2 years ago
http://packman.links2linux.org
Report
alexandernst
3 years ago
Report
enrique207
3 years ago
Report
MoonDragon
3 years ago
only using this style triggers the errors, other styles don't. The are many instances of bug reports for this, I have had such errors from KDE 4.10 right up to 4.13.3
I'm not sure what's at fault but no progress has ever been made to rectify this, or am I wrong?
If anyone has a fix, pls let me know, cos I really like this style and decoration
Report
osinclair
3 years ago
Report
bfds89
5 years ago
If anyone knows how to fix this I would be appreciated. Otherwise I have to choose between the ability to play/preview videos (on VLC they work flawlessly btw) or using the transparent theme. It would be best if I could choose both. :P
Despite this bug, this is the best theme Ive found around. Thanks for your work. ;)
Report
jacobtey
4 years ago
Report
plaristote
5 years ago
When the opacity is really low, the text can sometimes become a bit harder to read.
I'm wondering if there is a way to outline the text or to shadow it ? And if not, will there be one, one day ?
Report
wvcaudill2
5 years ago
When I try via the terminal, this is the error I get:
systemsettings: symbol lookup error: /usr/lib64/kde4/kwin3_oxygen_transparent.so: undefined symbol: _ZN17KCommonDecoration15setAlphaEnabledEb
Do you know how to fix this?
Report
HugoPereira
5 years ago
See comments above on how you can get older versions (KDE/4.8 and 4.9)
Hope this helps,
Hugo
Report
wvcaudill2
5 years ago
Excellent work!
Report
oemardel
5 years ago
CMake Error at / usr/share/kde4/apps/cmake/modules/FindPackageHandleStandardArgs.cmake: 198 (MESSAGE):
Could NOT find KDE4Workspace (missing: KDE4Workspace_CONFIG) (Required is
at least version "4.9.80")
Call Stack (most recent call first):
/ usr/share/kde4/apps/cmake/modules/FindKDE4Workspace.cmake: 70 (find_package_handle_standard_args)
CMakeLists.txt: 7 (find_package)
- Configuring incomplete, errors occurred!
system cmake-DCMAKE_INSTALL_PREFIX = `kde4-config - prefix`-release DCMAKE_BUILD_TYPE = / home / unix / Downloads / oxygen-transparent / src> & 1 failed: 256
please solution
Report
HugoPereira
5 years ago
As explained in the page, current branch compiles only with kde from git (which will become kde-4.10)
For anything older (KDE 4.8 or 4.9) select the relevant branch as explained above.
Feedback welcome in case you still have problems.
Report
obedlink
5 years ago
[Spanish]funciona perfecto en Kubuntu 12.10, solo una sugerencia, la barra de desplazamiento de la transparencia, deberia mostrar el valor de 0 a 100, para poner el mismo valor en "Estilo y decorado de ventanas".
Report
HugoPereira
5 years ago
Agreed, and I'll do so.
However, note that you can
- set the transparency in the widget style
- set the decoration to "use widget style opacity settings" (which disable the slider at the same time).
This way you are sure you have the same value for both. Also for applications that keep opaque windows (such as firefox and all gtk applications) you would get a matching opaque decoration.
Feedback welcome,
Hugo
Report
kejos
5 years ago
I'm Using Kubntu 12.10 with Kde 4.9.2
[ 14%] Building CXX object decoration/CMakeFiles/kwin3_oxygen_transparent.dir/oxygenbutton.o
In file included from /home/i1szewczyk/oxygen-transparent/src/decoration/oxygenbutton.cpp:30:0:
/home/i1szewczyk/oxygen-transparent/src/decoration/oxygenclient.h: In member function ‘bool Oxygen::Client::isForcedActive() const’:
/home/i1szewczyk/oxygen-transparent/src/decoration/oxygenclient.h:92:51: error: ‘clientGroupItems’ was not declared in this scope
/home/i1szewczyk/oxygen-transparent/src/decoration/oxygenclient.h: In member function ‘bool Oxygen::Client::hideTitleBar() const’:
/home/i1szewczyk/oxygen-transparent/src/decoration/oxygenclient.h:119:34: error: ‘clientGroupItems’ was not declared in this scope
In file included from /home/i1szewczyk/oxygen-transparent/src/decoration/oxygenbutton.cpp:30:0:
/home/i1szewczyk/oxygen-transparent/src/decoration/oxygenclient.h: In member function ‘bool Oxygen::Client::hasTitleOutline() const’:
/home/i1szewczyk/oxygen-transparent/src/decoration/oxygenclient.h:365:34: error: ‘clientGroupItems’ was not declared in this scope
In file included from /home/i1szewczyk/oxygen-transparent/src/decoration/oxygenbutton.cpp:30:0:
/home/i1szewczyk/oxygen-transparent/src/decoration/oxygenclient.h: In member function ‘bool Oxygen::Client::hideTitleBar() const’:
/home/i1szewczyk/oxygen-transparent/src/decoration/oxygenclient.h:120:9: error: control reaches end of non-void function [-Werror=return-type]
/home/i1szewczyk/oxygen-transparent/src/decoration/oxygenclient.h: In member function ‘bool Oxygen::Client::isForcedActive() const’:
/home/i1szewczyk/oxygen-transparent/src/decoration/oxygenclient.h:92:66: error: control reaches end of non-void function [-Werror=return-type]
cc1plus: some warnings being treated as errors
make[2]: *** [decoration/CMakeFiles/kwin3_oxygen_transparent.dir/oxygenbutton.o] error 1
make[1]: *** [decoration/CMakeFiles/kwin3_oxygen_transparent.dir/all] error 2
make: *** [all] error 2
Report
HugoPereira
5 years ago
For KDE 4.9 and later, you need the "master" branch (the default). I realize this is not really coherent with what's in the comments. Will see if I can improve (basically, I need a real versionning scheme, such as KDE/4.8, KDE/4.9, etc ...)
Report
tin
5 years ago
sudo ./oxygen-setup.pl --branch master
[ 16%] Building CXX object decoration/CMakeFiles/kwin3_oxygen_transparent.dir/oxygenclient.o
/home/developer/oxygen-transparent/src/decoration/oxygenclient.cpp: In member function ‘virtual void Oxygen::Client::init()’:
/home/developer/oxygen-transparent/src/decoration/oxygenclient.cpp:128:39: error: ‘setAlphaEnabled’ was not declared in this scope
/home/developer/oxygen-transparent/src/decoration/oxygenclient.cpp: In member function ‘virtual KCommonDecorationButton* Oxygen::Client::createButton(ButtonType)’:
/home/developer/oxygen-transparent/src/decoration/oxygenclient.cpp:220:18: error: ‘AppMenuButton’ was not declared in this scope
/home/developer/oxygen-transparent/src/decoration/oxygenclient.cpp: In member function ‘virtual void Oxygen::Client::maximizeChange()’:
/home/developer/oxygen-transparent/src/decoration/oxygenclient.cpp:1365:39: error: ‘setAlphaEnabled’ was not declared in this scope
make[2]: *** [decoration/CMakeFiles/kwin3_oxygen_transparent.dir/oxygenclient.o] Error 1
make[1]: *** [decoration/CMakeFiles/kwin3_oxygen_transparent.dir/all] Error 2
make: *** [all] Error 2
system make>&1 failed: 512
Report
HugoPereira
5 years ago
This new error is due to the fact that ... well ...
oxygen-transparent now compiles only with latest KDE (that will be KDE4.10 in a couple of weeks). Basically (sorry about that), there is no branch at the moment that compiles against KDE 4.9. Sorry.
I'll see if I can fix in the comming days.
In the meanwhile, in your oxygen-transparent source directory, you can make
git checkout 27cd05b33653322ecbde5f66776c173dc3fcc46e^
git checkout -b myBranch
And try recompile. This "should" work, though I have not tested.
Hugo
Report
tin
5 years ago
Report
HugoPereira
5 years ago
There are now three versions:
KDE/4.8, which was the old "stable" version
KDE/4.9, which should suit your needs
master, which should be compiled against latest KDE (from git).
master will be copied to KDE/4.10 when this version of KDE4 is released, and development will go on into the master branch only.
Give a shot at: oxygen-setup.pl -b KDE/4.9, it should work out of the box. Feel free to report any new errors.
Hugo
Report
whattheunk1
5 years ago
https://bugs.kde.org/show_bug.cgi?id=309955
Report
floopy1962
5 years ago
Report
meconiotronic
5 years ago
Report
floopy1962
5 years ago
Report