Description: This patch modifies mosfet's excellent liquid theme/style for KDE 2.x (Thanks Mosfet!)
It changes 6 things:
*optionally 1) gets rid of the mac-like lines. I find that the lines make it a bit hard to read the menu names, so i made this patch. note: if you dont want this to be done, theres a "leavelines" version of the patch included in tarball.
2)modifes the size (height of vertical and length of horiz) of scrollbar sliders whenever they are too small. I found that at 1024 x 768 the slider could often be hard to grab with my mouse cursor. I set the minimum length to 20 pixels
3) Sets the kicker (panel) background color to the same color as the window background. I use a window background color that is lighter than Mosfet's, which permits me to use black font on the normal window backround and have it read nicely. My color scheme is included in the zip file of this patch.
4)removes beveled boxes from around icons in toolbar unless they are moused-over or clicked. This is b/c i read a comment on dot.kde.org that pointed out that correct behaviour is for toolbar buttons to behave the same as menubar. This still isnt 100% b/c menubar highlights dark and toolbar highlights light.
5) integrates the button patch from Hans Mueller (the default button is highlited, others are not)
6) removes the box around the menubar so menubar looks smooth, integrates better with toolbars.Last changelog:
Thanks for the patch! It works a treat, I was having loads of problems with Liquid under Mandrake 8.1. There were nasty dark gray backgrounds on the menus, I'd tried everything I could think of to fix it, but no success.
However, after I'd applied your patch and recompiled, the problem was gone! I don't know how it was fixed but fixed it _was_ and Liquid now looks lovely.
One question: the leave_the_lines patch (forgive me but I can't remember the exact name) doesn't actually 'leave the lines'. It seems to do exactly the same as the standard Pablorg patch does... there are still no 'scanlines' on the kicker and menus when I use this patch. I have removed Liquid, re-patched liquid.cpp and recompiled, but it looks exactly the same as with the normal patch. I'm using MDK 8.1 and KDE 2.2.1, can you advise me about why it's not working, and suggest a possible cure?
Cheers. :)
Hi, I'm glad it worked for you (kind of). When you applied the leave_the_lines patch, did you apply it to a fresh liquid.cpp or to the liquid.cpp that was already patched with no_lines?
the leave_the_lines needs to be applied to the fresh liquid.cpp
let me know if this isn't the solution, i'll take a closer look.
-Juan
Can't be bothered to login, but it is me, honest!
I'm glad you asked, perhaps I didn't make it clear. What I did was: uninstall Liquid completely. tar xzvf the Liquid tarball, and patched the fresh liquid.cpp using leave-the-lines patch. This lead to the problem I described above: there are no lines, the patch does the same as for the normal Pablorg patch.
I had to tweak Liquid a bit to get it working in MDK 8.1, but this shouldn't have affected anything - it was nothing apart from --prefix=/usr on ./configure, and copying translucent.desktop to the right directory so it appears in the Control Centre, and softlinking some of the Liquid libs to /usr/local/kde/ (I think, I can't remember exactly) so that Liquid and KDE see them in the right place.
Thanks for taking the time to reply!
Andrew.
Hi,
I didnt manage to reproduce the problem that you were having. When I use the leave_the_lines patch, i always still get the lines. However, there recently were released some mandrake 8.1 binaries that do not eliminate the lines (but do make them lighter) it's on kde-look.org:
http://www.kde-look.org/content/show.php?content=923&PHPSESSID=54ce86d96bef9515c4911f47deb41f6d
sorry i couldnt be more help.
-Juan
Thanks for having a look. I will have a look at the new binaries and try them, but it'll have to wait for a rainy Sunday when I've time to mess around with them - at the mo' I am just happy having Liquid up, working and looking sweeeet under Mandrake 8.1. Thanks for the patches!
I like this kicker patch. I would like to use the windows backgroundcolor, but I still would like to have the lines, cause I like them.
So my problem is that I am bad at coding otherwise I would make it myself. Is it possible to to make the same patch but with lines? or is there already something similar?
If you only want to patch the sliders and kicker (so it uses the window colors) _TAKE OUT_ this part from the patch before applying it:
760a761
> /*
767a769
> */
817a820
> /*
825a829
> */
837a842
> /*
844a850
> */
First of all, to install a patch you simply type "patch " assuming you have the program patch on your system. The file you need to patch is mosfet-liquid0.7/widget-engine/liquid.cpp. So you need to first unpack the liquid-0.7 tarball, apply the patch, then compile as usual.
Now, this patch fixed a rendering problem that I had, that the lines wouldn't appear and instead the window color just smeared. I put up a screenshot at http://userpages.umbc.edu/~gdavis7/snapshot1.png. I sent an email to mosfet about this yesterday, but he hasn't replied as of yet.
Greg
yes, that's correct behavior. I guess its unclear above, but the lines that go away are the ones under the menu names (ie. File | View | Tools | etc...) the menus themselves still have lines (i like 'em). if you want to turn them off, you can do that through the control center.
Ratings & Comments
22 Comments
Thanks for the patch! It works a treat, I was having loads of problems with Liquid under Mandrake 8.1. There were nasty dark gray backgrounds on the menus, I'd tried everything I could think of to fix it, but no success. However, after I'd applied your patch and recompiled, the problem was gone! I don't know how it was fixed but fixed it _was_ and Liquid now looks lovely. One question: the leave_the_lines patch (forgive me but I can't remember the exact name) doesn't actually 'leave the lines'. It seems to do exactly the same as the standard Pablorg patch does... there are still no 'scanlines' on the kicker and menus when I use this patch. I have removed Liquid, re-patched liquid.cpp and recompiled, but it looks exactly the same as with the normal patch. I'm using MDK 8.1 and KDE 2.2.1, can you advise me about why it's not working, and suggest a possible cure? Cheers. :)
Hi, I'm glad it worked for you (kind of). When you applied the leave_the_lines patch, did you apply it to a fresh liquid.cpp or to the liquid.cpp that was already patched with no_lines? the leave_the_lines needs to be applied to the fresh liquid.cpp let me know if this isn't the solution, i'll take a closer look. -Juan
Can't be bothered to login, but it is me, honest! I'm glad you asked, perhaps I didn't make it clear. What I did was: uninstall Liquid completely. tar xzvf the Liquid tarball, and patched the fresh liquid.cpp using leave-the-lines patch. This lead to the problem I described above: there are no lines, the patch does the same as for the normal Pablorg patch. I had to tweak Liquid a bit to get it working in MDK 8.1, but this shouldn't have affected anything - it was nothing apart from --prefix=/usr on ./configure, and copying translucent.desktop to the right directory so it appears in the Control Centre, and softlinking some of the Liquid libs to /usr/local/kde/ (I think, I can't remember exactly) so that Liquid and KDE see them in the right place. Thanks for taking the time to reply! Andrew.
Hi, I didnt manage to reproduce the problem that you were having. When I use the leave_the_lines patch, i always still get the lines. However, there recently were released some mandrake 8.1 binaries that do not eliminate the lines (but do make them lighter) it's on kde-look.org: http://www.kde-look.org/content/show.php?content=923&PHPSESSID=54ce86d96bef9515c4911f47deb41f6d sorry i couldnt be more help. -Juan
Thanks for having a look. I will have a look at the new binaries and try them, but it'll have to wait for a rainy Sunday when I've time to mess around with them - at the mo' I am just happy having Liquid up, working and looking sweeeet under Mandrake 8.1. Thanks for the patches!
Can you tell me what the font is in the first screen shot. It's good font as I think.. Please, tell me what it is.. Thanks..
this is microsoft's true type font called tahoma 10pt
Thanks for answering my question.. (and everyone) It's good font.. Tahoma Have a nice day :)
I think it's Microsoft's Tahoma, an excellent font for any desktop!
I like this kicker patch. I would like to use the windows backgroundcolor, but I still would like to have the lines, cause I like them. So my problem is that I am bad at coding otherwise I would make it myself. Is it possible to to make the same patch but with lines? or is there already something similar?
If you only want to patch the sliders and kicker (so it uses the window colors) _TAKE OUT_ this part from the patch before applying it: 760a761 > /* 767a769 > */ 817a820 > /* 825a829 > */ 837a842 > /* 844a850 > */
It works and it looks like really great. Now I can really enjoy my desktop. Thanks.
First of all, to install a patch you simply type "patch " assuming you have the program patch on your system. The file you need to patch is mosfet-liquid0.7/widget-engine/liquid.cpp. So you need to first unpack the liquid-0.7 tarball, apply the patch, then compile as usual. Now, this patch fixed a rendering problem that I had, that the lines wouldn't appear and instead the window color just smeared. I put up a screenshot at http://userpages.umbc.edu/~gdavis7/snapshot1.png. I sent an email to mosfet about this yesterday, but he hasn't replied as of yet. Greg
Using angle brackets like those in HTML code confuses this mailing list system thing. To apply a patch, type "patch filename patchfilename" Greg
How do I install this patch ? Thanks
How do I install this patch ? Thanks
How do I install this patch ? Thanks
I have until lines in my trans menus .But no are lines in panel and not lines in windows.it is correct?.
yes, that's correct behavior. I guess its unclear above, but the lines that go away are the ones under the menu names (ie. File | View | Tools | etc...) the menus themselves still have lines (i like 'em). if you want to turn them off, you can do that through the control center.
where i can turn off lines in control enter/look&feel?
I would like to know what icon set are you using...
it's a mix&match of icons i've found on the web and a couple that i've made... once i figure out how to make an icon theme i'll put them up here...