Hi, where can I look for examples on how konqueror handles specific and also customly defined protocols. Also how can I trigger konqueror with specific protocol - for example list directory and in this directory trigger a link to sftp connection? Also how specific device can appear on the side bar?
Especially I am interested how the connection to the remote device is managed and for example how it is terminated.
Thank you in advance
regards
deloptes wrote:
Hi, where can I look for examples on how konqueror handles specific and also customly defined protocols. Also how can I trigger konqueror with specific protocol - for example list directory and in this directory trigger a link to sftp connection? Also how specific device can appear on the side bar?
Especially I am interested how the connection to the remote device is managed and for example how it is terminated.
Thank you in advance
regards
Now looking closer I am interested in tdeio and tdeioslave
Anno domini 2019 Wed, 23 Oct 22:39:58 +0200 deloptes scripsit:
deloptes wrote:
Hi, where can I look for examples on how konqueror handles specific and also customly defined protocols. Also how can I trigger konqueror with specific protocol - for example list directory and in this directory trigger a link to sftp connection? Also how specific device can appear on the side bar?
Especially I am interested how the connection to the remote device is managed and for example how it is terminated.
Thank you in advance
regards
Now looking closer I am interested in tdeio and tdeioslave
When you find a way to replace "system:/media/sd.." with the actual mountpoint "/media/[user]/[volume]" then please tell me how. I'm looking to get rid of the "system:/media/" monstrosity for ages ...
Nik
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Dr. Nikolaus Klepp wrote:
When you find a way to replace "system:/media/sd.." with the actual mountpoint "/media/[user]/[volume]" then please tell me how. I'm looking to get rid of the "system:/media/" monstrosity for ages ...
but how do you mount the drives?
In fact this can be an example ... but it is not working as expected/desired. I also have difficulties with it.
For example I have very often double entries in the side bar and when I click to a mounted disk, I would expect to jump to the mounted directory ... not to some crazy system:/media/nfs
In fact it is broken :/ - I have never noticed, because I use it only to mount/umount USB disks ... but for them it seems to work.
No I tried with a nfs share (which is server:/home) and all the other nfs shares in system:/ show the content of home.
When I understand how it works I may fix it, or may be if I fix it, I will understand how it works ... I prefer the former.
Thanks Nik
Anno domini 2019 Thu, 24 Oct 00:51:16 +0200 deloptes scripsit:
Dr. Nikolaus Klepp wrote:
When you find a way to replace "system:/media/sd.." with the actual mountpoint "/media/[user]/[volume]" then please tell me how. I'm looking to get rid of the "system:/media/" monstrosity for ages ...
but how do you mount the drives?
In fact this can be an example ... but it is not working as expected/desired. I also have difficulties with it.
For example I have very often double entries in the side bar and when I click to a mounted disk, I would expect to jump to the mounted directory ... not to some crazy system:/media/nfs
In fact it is broken :/ - I have never noticed, because I use it only to mount/umount USB disks ... but for them it seems to work.
No I tried with a nfs share (which is server:/home) and all the other nfs shares in system:/ show the content of home.
When I understand how it works I may fix it, or may be if I fix it, I will understand how it works ... I prefer the former.
IMO "system:/" has some problems, while "sftp:/" other protocols work. I get 2 device icons when I plug in a usb device that has a msdos partition type with a primary partition on it, e.g. "/dev/sdb" and "/dev/sdb1". I get one device icon when there's no partitiontable on the usb device, e.g. "/dev/sdb". On FreeBSD I almost got things sorted out for system:/ in the sense that I was able to call out to shell code for mount/unmount, but that led to more error popups than without. Anyway, as I use FVWM on BSD, that changes have fallen into oblivion.
Nik
Thanks Nik
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Dr. Nikolaus Klepp wrote:
IMO "system:/" has some problems, while "sftp:/" other protocols work. I get 2 device icons when I plug in a usb device that has a msdos partition type with a primary partition on it, e.g. "/dev/sdb" and "/dev/sdb1". I get one device icon when there's no partitiontable on the usb device, e.g. "/dev/sdb". On FreeBSD I almost got things sorted out for system:/ in the sense that I was able to call out to shell code for mount/unmount, but that led to more error popups than without. Anyway, as I use FVWM on BSD, that changes have fallen into oblivion.
Very interesting - it seems I have forgotten that it was in tdebase and now I recall I was looking at it last year, but could not understand completely how the things work together.
Does someone know/can point me to some useful documentation?
Someone asked the same question in 2004 :D
https://www.linuxquestions.org/questions/programming-9/kioslave-kde-protocol...
regards
Anno domini 2019 Thu, 24 Oct 20:59:12 +0200 deloptes scripsit:
Dr. Nikolaus Klepp wrote:
IMO "system:/" has some problems, while "sftp:/" other protocols work. I get 2 device icons when I plug in a usb device that has a msdos partition type with a primary partition on it, e.g. "/dev/sdb" and "/dev/sdb1". I get one device icon when there's no partitiontable on the usb device, e.g. "/dev/sdb". On FreeBSD I almost got things sorted out for system:/ in the sense that I was able to call out to shell code for mount/unmount, but that led to more error popups than without. Anyway, as I use FVWM on BSD, that changes have fallen into oblivion.
Very interesting - it seems I have forgotten that it was in tdebase and now I recall I was looking at it last year, but could not understand completely how the things work together.
Does someone know/can point me to some useful documentation?
Someone asked the same question in 2004 :D
https://www.linuxquestions.org/questions/programming-9/kioslave-kde-protocol...
Oh my, and nobody ever answered. Looks like it's one of those design decisions. One genius and no time for documentation ... and some day the genius is not to be found any more. I hope you can figure things out and post here where to look.
Nik
regards
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Dr. Nikolaus Klepp wrote:
Oh my, and nobody ever answered. Looks like it's one of those design decisions. One genius and no time for documentation ... and some day the genius is not to be found any more. I hope you can figure things out and post here where to look.
I hope that someone can answer here
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Very interesting - it seems I have forgotten that it was in tdebase and now I recall I was looking at it last year, but could not understand completely how the things work together.
Does someone know/can point me to some useful documentation?
Hi Emanoil, sorry for the late reply, too busy these days. Konqueror and other TDE programs rely on tdeioslaves to handle various protocol. TDEIOslaves work together with TDEIO::JOb to be able to provide their services. You can find documentation in tdelis, although it takes some time to get hold of how it works.
file:///opt/trinity/share/doc/tde/HTML/en/tdelibs-apidocs/tdeio/tdeio/html/classTDEIO_1_1Job.html file:///opt/trinity/share/doc/tde/HTML/en/tdelibs-apidocs/tdeio/tdeio/html/classTDEIO_1_1SlaveInterface.html
Here is some documentation based on KDE4 KIOSlaves: https://techbase.kde.org/Development/Tutorials/KIO_Slaves/Using_KIO_Slaves_i...
And here a simple example of how to make a new ioslave: http://www.kesiev.com/kiobashin/
https://www.linux.com/news/master-kio-slaves/
You may search kioslaves and you will probably find more info too. Once you understand how they work, tdeioslaves are pretty easy to work with ;-)
Cheers Michele
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On 2019/10/26 06:25 AM, deloptes wrote:
deloptes wrote:
Thank you. What about the forwarding slave?
I found also file:///opt/trinity/share/doc/tde/HTML/en/tdelibs-apidocs/tdeio/tdeio/html/classTDEIO_1_1ForwardingSlaveBase.html
I can not say it is easy to understand :)
It takes a while to get the feel of TDEIOslaves, but ultimately they are simple. The basic idea is that a TDE Job is used to open a process to handle a particular protocol. This new process gets the required data and pass them back to the original job, which will then use the data as it prefers. Cheers Michele