|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|
|||
kde .desktop file link doesn't act like a link when opening files
Gidday, I've found a small problem with the way links are handled,
on my desktop there is a link to a HDD device mounted under /mnt/G. This works fine when I click on it on my desktop but when I am (for example) opening a file with Kaffeine, I can't click on these links on my desktop and have the "file open" dialogue follow them because they see them as actual .desktop files. Is there a workaround? Short of creating a softlink I mean. Cheers. |
|
|||
Quote:
What I want is KDE apps to follow them when opening files, not try and open the .desktop file itself. |
|
||||
Use symbolic or hard links -- which will generally work in any application. The .desktop files are only of real use to programs that need such information, like application menus or desktop icons. If you are serious, perhaps trying playing with the type and file extension.
The only way a program can tell a symlink from the original file w/o examining the inode number, is probably via readlink()(2) anyway; but most programs (vim for example) will treat .desktop/.directory files as text files, not as 'shortcuts'.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Link] Runnable Userspace Meta Programs in NetBSD 5.0 | s0xxx | NetBSD General | 1 | 23rd May 2009 07:05 AM |
My D-Link DFE530TX ethernet adapter isnt found. Help! | Quaxo | OpenBSD Installation and Upgrading | 15 | 10th February 2009 12:23 AM |
D-link (DI-524) router | c0mrade | General software and network | 3 | 26th January 2009 08:14 AM |
Do you need hard link for PostgreSQL? | Sunnz | General software and network | 5 | 26th October 2008 07:07 PM |
Can I use this link for hardening FreeBSD 7 | mfaridi | FreeBSD Security | 1 | 9th July 2008 07:35 AM |