This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to set a pattern (image) as a wallpaper on Dolphin?

Tags: None
(comma "," separated)
atari130xe
Registered Member
Posts
6
Karma
0
OS
Hello forum I have a question: I am new on KDE and My distro is PCLinuxOS with KDE 4.6.2. The questions is: Is is possible to set an image as a wallpaper (in Gnome is possible to change patterns (images) as wallpapers in Nautilus) on Dolphin? I am trying to find a customizable option and I cant find it. any clue?
thanks in advance

here it is what I want to do:
http://img691.imageshack.us/img691/9453/instantnea2p.png
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
No, this isn't possible.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
Kryten2X4B
Registered Member
Posts
911
Karma
4
OS
Actually, it is possible with a bit of hacking...

You need a custom .qss file and the image you want.

Create a folder where you save the image and the qss file (I keep mine hidden but a manner of preference).
The dolphin.qss (stolen from my computer can look like this:

Code: Select all
KCategorizedView{
      border-image: url('null.png');
      border-top: 1px transparent;
      background-image: url('folderbg.png');
      /* background-image: url('kde.png'); */
      background-attachment: fixed; /*set this to scroll if you want it to scroll with the rest of the items */
      font-weight: Bold;
      color: #FFFFFF;
}

QDockWidget QListView, QDockWidget QTreeView{
      /* background: #DFE4EB; */
      border-image: none;
      background-image: none;
      /* background-image: url('dock.png'); */
      border-color: rgba(160,160,160, 0);
      border-style: ridge groove groove ridge;
      border-width: 2px;
      margin: 0px;
      padding: 4px;                                                                                                                                                                                       
      padding-left: 12px;                                                                                                                                                                                 
}                                   


As seen, the graphic-file is called folderbg.png

Finally, use the menu editor and change the command for launching dolphin look like this:

dolphin %i -caption "%c" %u -stylesheet /home/user/.dolphinqss/dolphin.qss

and you should be set.


OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct.
atari130xe
Registered Member
Posts
6
Karma
0
OS
Thanks for your reply I will give it a try. I hope not to mess up my session ;)
It is pretty strange, KDE is really customizable compared to Gnome, I hope it can be implemented asap.
Dexter32
Registered Member
Posts
3
Karma
0
OS
Kryten2X4B wrote:Actually, it is possible with a bit of hacking...

You need a custom .qss file and the image you want.
...


Hi, this hint don't work in KDE 4.8.

Are there any solution?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
This is because Dolphin has changed internally in KDE 4.8.
Try changing "KCategorizedView" out for "DolphinView".


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Dexter32
Registered Member
Posts
3
Karma
0
OS
Thanks for your reply.

The problem persists. Seems that the code needs more changes. I tried in Kubuntu and Chakra.
luebking
Karma
0
"DolphinItemListContainer"
eventually (depending on whether you want the scrollbar included)
"DolphinViewContainer, DolphinItemListContainer"
Dexter32
Registered Member
Posts
3
Karma
0
OS
luebking wrote:"DolphinItemListContainer"
eventually (depending on whether you want the scrollbar included)
"DolphinViewContainer, DolphinItemListContainer"

It works :) , a lot of thanks to all.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, mesutakcan, sandyvee, Sogou [Bot]