On 2021/01/22 04:24 PM, Dr. Nikolaus Klepp wrote:
I see media:/ and system:/media/ break these days. IMO the cause is not in TDE but in the GNOMEisch entanglement. e.g.: I use teminator as terminal. Version 0.97 (from jessie, GTK2) works perfect. pressing <F4> on a folder of a usb-thumbrive media:/sdb or system:/media/sdb brings up terminator in that specific real mountpoint /media/F37B-2EB9. Version 1.91 with GTK3 pops up in my home directory. Same thing happens for gimp, libreoffice ... you name it. Basicly for anything not GTK2 and not TDE, "open with ..." is broken due to this behaviour. So media:/ and system:/media start to really get in my way. Not to stress the fact that these urls are not intuitive to the user any more. "Where is my file that's on the thumbdrive?" is a regilar question, as drag&drop from konqueror to other applications is broken, too, and there is no media:/ outside konqueror. My plan is to force a rewrite for urls from system:/media/XYZ and media:/XYZ to the real mountpoint and pass that back to the caller of tdeio_media.so or tde_system.so . There are some shell scripts that do stuff, too and then there is tdeio_media_mounthelper, that looks to me like a place to intercept. I might be wrong - and please korrect me if I am - but the system:/media and media:/ urls are handled by tdeio_media.so or tde_system.so from anywhere inside TDE. Or are there parallel implementations all over the place? Oh, debugging: Where goes the output from kdDebug() or kdDebug(1219) ? I think anything from "printf(...); fflush(stdout);" goes to ~/.xsession-errors, but I'm not sure about that, either.
Hi Nik, you open up a Pandora's box.1. system:/media and media:/ are used in many places, not only in tdeio so you will have to do quite some work there, trust me.
2. system:/media and media:/ are definitely having some issues in R14.0.x. In R14.1.0 there are more changes that are not (and will not) be in R14.0.x, so you may want to test that out perhaps, just to see if you have the same problems or not. Also in R14.1.0 you can open the real folder of the drive instead of the media path and work from there.
3. interaction with other DE when copying from a TDE application: I have not tested that, I only run TDE, so I can't comment much.
4. kdDebug works only if you have compiled packages with Debug option. If you use standard packages from PSb/PTB/official releases, those kdDebug() statements won't do anything.
Once you compile with debug, you need to use tdedebugdialog to enable/disable specific debug classes. Cheers Michele
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature
____________________________________________________ tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx