Devices first on desktop

Various KDE 1.-4. Improvements

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

This is my patch to add an option to kdesktop for having devices first on KDE's dekstop.

KDesktop handle two different kind of devices, the first are the devices that kdesktop adds itself, and the second type is user added devices, which is x-desktop-files with the type FSDev[ice].

This patch is based on a patch made by Carsten Rietzschel for bug http://bugs.kde.org/show_bug.cgi?id=86081 but his patch didn't handle FSDev, so I changed it. My thanks to Carsten for his patch without it I wouldn't have been able to make mine.

Install: Well you have to patch kdebase and recompile it.
cd kdebase && patch -p1 < PATH_TO_PATCH

I've testet it on KDE 3.3.2 and a resent CVS so it should work for 3.4 when it's released.

Since I havn't got my homepage up-and-running yet both patches are in the download-file.
Last changelog:

14 years ago

1.1 - minor fix for KDE3.4. Forgot to add menuitem for Devices first.

Added screenshots.

helmerj

14 years ago

I am recompiling Kdebase as I type. I have long waited for something like this. I always felt that the Icon align behaviour of KDE needed some serious polishing.

The other thing that really sucks is the automatic mounting of devices and the display of an icon on the desktop. Don't get me wrong, I think it is great to represent a newly added device on the desktop with an icon but why have the already present icons to explode on the desktop and be spread all over the place. Why not check the vertical or horizontal alignment option set and then add the latest icon to the end of the bunch and not randomly into their middle!? Well don't look a gift horse int the mouth... For all I know there might be somebody coding on it right now. once that person will get his or her patch in the HEAD tree, KDE will make me even more happy every day.

J.

Report

vide

14 years ago

Sorry but I don't get what is this exactly for...what's the difference between the current KDesktop behaviour?

Report

C

mabs

14 years ago

There are two kinds of devices you can have on the desktop in KDE. The first is the type that you ask KDE to place it self by desktopmenu->configure desktop->behavior->Device icons->mark "Show devices icons"
The second type is the type you yourself adds to the desktop by (in KDE 3.4) desktopmenu->Create New->Link to device->*. This type is really just a .desktop-file with the type=FSDev.
Currently (without this patch) KDE treats type one as a folder and sort it together with folders, and treats type two like the file it is.
If hard disk partitions were first earlier it was because the name had a leading space (eg. " HARD DISK (hda1)" insteed of "HARD DISK (hda1)" ), but it seems that resent CVS have fixed that.

What this patch do is: KDE now treats both type one and two as a seperate (3rd) group of icons, and sorts them before folders and files, but only if it is told to do so.

I hope that explained it.

Report

Masamune

14 years ago

what icon set u use?

Report

C

mabs

14 years ago

Reinhardt http://www.kde-look.org/content/show.php?content=6153

Report

C

mabs

14 years ago

Reinhardt http://www.kde-look.org/content/show.php?content=6153

Report

14 years ago

1.1 - minor fix for KDE3.4. Forgot to add menuitem for Devices first.

Added screenshots.

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.1
updated Mar 05 2005
added Feb 24 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 3