The officially official Devuan Forum!

You are not logged in.

#1 2021-07-07 08:53:46

NicePics13
Member
Registered: 2019-09-13
Posts: 14  

[SOLVED] TDE media:/ protocol

This might just be me being obtuse but can't figure out why Qt/GTK applications can't handle Trinity Desktop's (TDE) media urls? Pure X programs like ImageMagick and Mplayer open media:/ links from Konqueror just fine, as do the bundled TDE applications. But from GIMP or mpv I have to open the files manually.
u015nu.png
6iz35e.png

Offline

#2 2021-07-08 15:11:07

bgstack15
Member
Registered: 2018-02-04
Posts: 205  

Re: [SOLVED] TDE media:/ protocol

Perhaps you could write a wrapper script that transforms "system:///media/sdb1" to "file:///media/sdb1" and which then calls mpv.
Now, it if involves access files on a partition (i.e., a disk partition such as /dev/sdb1) maybe your script could choose to mkdir /tmp/dev-sdb1 ; mount /dev/sdb1 /tmp/dev-sdb1 ; gimp ${newfilename}.


This space intentionally left blank.

Offline

#3 2021-07-08 22:01:28

NicePics13
Member
Registered: 2019-09-13
Posts: 14  

Re: [SOLVED] TDE media:/ protocol

Thanks but mounting is not the problem, it's the silly path obfuscation. If you open the konsole from within Konqueror you actually get the correct path and mpv works again roll
Frankly I think it's a bug in the TDE mediamanager introduced somewhere after R14.0.8 or R14.0.9. As Trinity is not part of Devuan I'll do further inquiries on their forums.

Offline

Board footer