
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
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.
15 years ago
1.1 - minor fix for KDE3.4. Forgot to add menuitem for Devices first.
Added screenshots.
15 years ago
1.1 - minor fix for KDE3.4. Forgot to add menuitem for Devices first.
Added screenshots.
helmerj
15 years ago
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
15 years ago
Report
mabs
15 years ago
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
15 years ago
Report
mabs
15 years ago
Report
mabs
15 years ago
Report