Devices first on desktop

Various KDE 1.-4. Improvements

Source i (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
Become a Fan
5.0

Available as/for:
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:

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

Added screenshots.


Ratings & Comments

6 Comments

helmerj

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.

vide

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

mabs

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.

Masamune

what icon set u use?

mabs
mabs
Pling
0 Affiliates
Details
license
version 1.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Various KDE 1.-4. Improvements from mabs:

Kopete: autoclose Balloon/Bubble.
mabs
last update date: 20 years ago

Score 5.0

BalloonFileTip patch
mabs
last update date: 20 years ago

Score 5.0

New iconview (mockup)
mabs
last update date: 21 years ago

Score 5.0

Other Various KDE 1.-4. Improvements:

Slicker Debian Package for Woody
cirrusgr
last update date: 22 years ago

Score 5.0

Konqueror/kdesktop suggestion
PovMan
last update date: 22 years ago

Score 5.0

Biiig buttons
dbojan
last update date: 20 years ago

Score 5.0

Yet Another KControl
Frans
last update date: 21 years ago

Score 5.0

Next window and next/previos window
dbojan
last update date: 20 years ago

Score 5.0

Fantasie Toolbar
katoe
last update date: 19 years ago

Score 5.0