[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#2597: Devices icons don't have module support
From:       "Tobias Peixoto dos Santos" <tpeixoto () hotmail ! com>
Date:       2000-01-31 6:22:55
[Download RAW message or body]

Hi,
I don't have a bug to report, but I'd like to send a tip for you.
Here, in Brazil, actually, the people are using so much Zip Drive's because 
it's easy to work. Just load a module and mount the drive, like a normal 
floppy.
Ok, but where KDE is in this case?
In KDE, is very useful the use of floppy and cdrom icons on the desktop.
I think that a icon for Zip Drive will be very useful too.
And now we have a problem.
If we create a icon to try to mount the Zip Drive, we'll receive several 
errors messages:
1)mount: can't find /dev/sda4 in /etc/fstab or /etc/mtab
Here, I think isn't necessary put this information in theses files above 
because in the command prompt a `mount /dev/sda4 /mnt/zip` works normally.
2)We need to insert a module before the mount, and remove the module after 
the umount. I think that one more field in the properties/device isn't hard 
to do and will solve the problem, using a insmod <user-define-module> mount 
<user-define-like-actual> and after the use, rmmod <the-same-module> umount 
<the-same-parameters>.

Here, is my ~/Desktop/zip.kdelnk

# KDE Config File
[KDE Desktop Entry]
Name[fi]=Tiedostosysteemi
UnmountIcon=5floppy_unmount.xpm
Name[fr]=Périphérique système de fichiers
Name[ru]=æÁÊÌ óÉÓÔÅÍÎÏÇÏ õÓÔÒÏÊÓÔ×Á
Name[hr]=Ureðaj datoteènog sustava
Name[sl]=Datoteka za enoto
Name[pl]=Urz±dzenie
Name=File System Device
Name[ca]=Dispositiu de sistema de fitxers
Name[it]=Dispositivo con Filesystem
Name[da]=Filsystemsenhed
MountPoint=/mnt/zip
Name[de]=Dateisystem
Name[ja]=¥Õ¥¡¥¤¥ë ¥·¥¹¥Æ¥à ¥Ç¥Ð¥¤¥¹
Name[cs]=Zaøízení souborového systému
Name[sv]=Filsystemsenhet
Icon=5floppy_mount.xpm
Dev=/dev/sda4
ReadOnly=0
Name[sk]=Zariadenie súborového systému (File System Device)
FSType=Default
Name[pt_BR]=Dispositivo de sistema de arquivos
Type=FSDevice
Name[es]=Dispositivo de sistema de archivos
Name[is]=Skráakerfistæki
Name[pt]=Dispositivo com Sistema de Ficheiros
Name[no]=Filsystemenhet
Name[hu]=Fájlrendszer Eszköz
Name[ro]=Dispozitiv de sistem de fiºiere

Here should be a line with the module to be loaded before mount e unloaded 
after umount, like this:

Module=ppa

Well, my tip is this. I hope that help you in some way, always to get a 
better KDE.
These information is all about KDE 1.1.2

Sorry for my really bad english :)

Cordially,
                Tobias P. Santos


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic