Hi all!
I did a dist-upgrade yesterday on my devuan chimaera+tde14.1 machines. These are the things that I noticed:
- TDE cannot mount CD/DVD any more, it gives an error "mount: /media/cdrom0: mount point does not exist.". I am not sure if that was already a problem on 14.0.x some time ago. however, I can mount CD/DVD from commandline.
- Opening a media folder at it's actual mountpoint is gorgeous. Automouning with this feature is a great relieve, thank you!
- I'd like to always open konqueror at the medias mountpount :) Is there an way to do this in 14.1 at the moment?
Oh, and 14.1 is rock solid, haven't had a single issue on any machine I moved over. Great job!
Nik
Dr. Nikolaus Klepp wrote:
Hi all!
I did a dist-upgrade yesterday on my devuan chimaera+tde14.1 machines. These are the things that I noticed:
- TDE cannot mount CD/DVD any more, it gives an error "mount:
/media/cdrom0: mount point does not exist.". I am not sure if that was already a problem on 14.0.x some time ago. however, I can mount CD/DVD from commandline.
not on devuan, but here, on normal debian with systemd, it works there is tdeio-umountwrapper-trinity that is new I think and don't know if it has something to do with that
- Opening a media folder at it's actual mountpoint is gorgeous.
Automouning with this feature is a great relieve, thank you!
- I'd like to always open konqueror at the medias mountpount :) Is there
an way to do this in 14.1 at the moment?
Look for the home directory in the settings and set to system:/media, save as a profile or so
regards
Hi!
Anno domini 2021 Sun, 28 Feb 16:16:26 +0100 deloptes scripsit:
Dr. Nikolaus Klepp wrote:
Hi all!
I did a dist-upgrade yesterday on my devuan chimaera+tde14.1 machines. These are the things that I noticed:
- TDE cannot mount CD/DVD any more, it gives an error "mount:
/media/cdrom0: mount point does not exist.". I am not sure if that was already a problem on 14.0.x some time ago. however, I can mount CD/DVD from commandline.
not on devuan, but here, on normal debian with systemd, it works there is tdeio-umountwrapper-trinity that is new I think and don't know if it has something to do with that
No, that did not help. BTW, mount helper is "udisks2"
- Opening a media folder at it's actual mountpoint is gorgeous.
Automouning with this feature is a great relieve, thank you!
- I'd like to always open konqueror at the medias mountpount :) Is there
an way to do this in 14.1 at the moment?
Look for the home directory in the settings and set to system:/media, save as a profile or so
Ok, this was not precise: system:/media is what is choosen when I select "Open in new window". Is there a way to set his to the actual mountpoint of the device, like in the 5th option "open systemfolder of media" ?
Nik
regards ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
Dr. Nikolaus Klepp wrote:
Hi!
Anno domini 2021 Sun, 28 Feb 16:16:26 +0100 deloptes scripsit:
Dr. Nikolaus Klepp wrote:
Hi all!
I did a dist-upgrade yesterday on my devuan chimaera+tde14.1 machines. These are the things that I noticed:
- TDE cannot mount CD/DVD any more, it gives an error "mount:
/media/cdrom0: mount point does not exist.". I am not sure if that was already a problem on 14.0.x some time ago. however, I can mount CD/DVD from commandline.
not on devuan, but here, on normal debian with systemd, it works there is tdeio-umountwrapper-trinity that is new I think and don't know if it has something to do with that
No, that did not help. BTW, mount helper is "udisks2"
ah, yes, true, now I remember - udisk2. I have no idea why it does not work for you.
- Opening a media folder at it's actual mountpoint is gorgeous.
Automouning with this feature is a great relieve, thank you!
- I'd like to always open konqueror at the medias mountpount :) Is
there an way to do this in 14.1 at the moment?
Look for the home directory in the settings and set to system:/media, save as a profile or so
Ok, this was not precise: system:/media is what is choosen when I select "Open in new window". Is there a way to set his to the actual mountpoint of the device, like in the 5th option "open systemfolder of media" ?
I am afraid I don't know this too. Sorry.
Hi Nik
- TDE cannot mount CD/DVD any more, it gives an error "mount:
/media/cdrom0: mount point does not exist.". I am not sure if that was already a problem on 14.0.x some time ago. however, I can mount CD/DVD from commandline.
I think this is not a TDE specific problem, just need the right setup. Here I have "/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0" in /etc/fstab and if I click on a cdrom icon (on desktop or konqueror) it mounts and opens the disk correctly. If you can provide the steps you follow, I can see if I can reproduce the problem here, but as said most likely this is not a TDE issue in its own.
No, that did not help. BTW, mount helper is "udisks2"
udisks2 is the preferred way. udevil and pmount are also supported but I highly recommended udisks2 for the best results.
- Opening a media folder at it's actual mountpoint is gorgeous.
Automouning with this feature is a great relieve, thank you!
- I'd like to always open konqueror at the medias mountpount :) Is there
an way to do this in 14.1 at the moment?
Not at the moment. Please fill an issue report on TGW, we may look at implementing that at some point, especially if many people request that. It is likely to require some rework in many places of the code, so definitely something that will need to be tested carefully. In the meantime, you can use a workaround trick with a small script. You can use tdeio_media_mounthelper with the -f option to open your device to the real folder (same as "Open Medium System folder" command).
Cheers Michele
Hi Micheal,
Anno domini 2021 Mon, 1 Mar 11:52:32 +0900 Michele Calgaro via tde-users scripsit:
Hi Nik
- TDE cannot mount CD/DVD any more, it gives an error "mount:
/media/cdrom0: mount point does not exist.". I am not sure if that was already a problem on 14.0.x some time ago. however, I can mount CD/DVD from commandline.
I think this is not a TDE specific problem, just need the right setup. Here I have "/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0" in /etc/fstab and if I click on a cdrom icon (on desktop or konqueror) it mounts and opens the disk correctly. If you can provide the steps you follow, I can see if I can reproduce the problem here, but as said most likely this is not a TDE issue in its own.
Thanks for pointing to that entry in fstab. In fact I have the very same entry. I commented it out and now mounting of CD/DVD works as expected :)
- I'd like to always open konqueror at the medias mountpount :) Is there
an way to do this in 14.1 at the moment?
Not at the moment. Please fill an issue report on TGW, we may look at implementing that at some point, especially if many people request that. It is likely to require some rework in many places of the code, so definitely something that will need to be tested carefully. In the meantime, you can use a workaround trick with a small script. You can use tdeio_media_mounthelper with the -f option to open your device to the real folder (same as "Open Medium System folder" command).
Are you sure this will need a lot of work? IMO it's just swaping 2 menu entries - the first and the 6th. I have activated automunting to the systems mountpoint on removable devices and it works like a charm. Only when I unmount the device and would like remount it I need to pick the 6th menu item instead of the first (ok, lamenting on a high level)
Nik
Cheers Michele
I think this is not a TDE specific problem, just need the right setup. Here I have "/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0" in /etc/fstab and if I click on a cdrom icon (on desktop or konqueror) it mounts and opens the disk correctly. If you can provide the steps you follow, I can see if I can reproduce the problem here, but as said most likely this is not a TDE issue in its own.
Thanks for pointing to that entry in fstab. In fact I have the very same entry. I commented it out and now mounting of CD/DVD works as expected :)
Interesting that you needed to comment that out, while it is not commented in mine.... anyhow it works and it is not strictly related to TDE.
Are you sure this will need a lot of work? IMO it's just swaping 2 menu entries - the first and the 6th. I have activated automunting to the systems mountpoint on removable devices and it works like a charm. Only when I unmount the device and would like remount it I need to pick the 6th menu item instead of the first (ok, lamenting on a high level)
Well, it is not as simple as that. The "open medium system folder" is performed through .desktop files and a helper program, while "Open" is embedded directly in the code. We will need to look at Konqueror, KDesktop, Dolphin and potentially Krusader and other apps to see where "Open" is coded and how to swap that with "Open Medium System Folder" on request (user option is required). So it will definitely require a fair amount of searching and most importantly testing. Maybe the way to go is to implement "Open" as a .desktop service and make the default action selectable.
Cheers Michele
Hi Michele!
Anno domini 2021 Mon, 1 Mar 22:31:27 +0900 Michele Calgaro via tde-users scripsit:
I think this is not a TDE specific problem, just need the right setup. Here I have "/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0" in /etc/fstab and if I click on a cdrom icon (on desktop or konqueror) it mounts and opens the disk correctly. If you can provide the steps you follow, I can see if I can reproduce the problem here, but as said most likely this is not a TDE issue in its own.
Thanks for pointing to that entry in fstab. In fact I have the very same entry. I commented it out and now mounting of CD/DVD works as expected :)
Interesting that you needed to comment that out, while it is not commented in mine.... anyhow it works and it is not strictly related to TDE.
Definitly not a TDE problem after all :)
Just one more question: Can you check if you have a folder /media/cdrom0 ? My /media/ is totally empty when nothing is mounted, so the enty in /etc/fstab will not mount successfully.
Are you sure this will need a lot of work? IMO it's just swaping 2 menu entries - the first and the 6th. I have activated automunting to the systems mountpoint on removable devices and it works like a charm. Only when I unmount the device and would like remount it I need to pick the 6th menu item instead of the first (ok, lamenting on a high level)
Well, it is not as simple as that. The "open medium system folder" is performed through .desktop files and a helper program, while "Open" is embedded directly in the code. We will need to look at Konqueror, KDesktop, Dolphin and potentially Krusader and other apps to see where "Open" is coded and how to swap that with "Open Medium System Folder" on request (user option is required). So it will definitely require a fair amount of searching and most importantly testing.
Oh, that's in the good old code from the beginnings of time :)
Maybe the way to go is to implement "Open" as a .desktop service and make the default action selectable.
Sounds like a sensible approach to me.
Nik
Dr. Nikolaus Klepp wrote:
Definitly not a TDE problem after all :)
Just one more question: Can you check if you have a folder /media/cdrom0 ? My /media/ is totally empty when nothing is mounted, so the enty in /etc/fstab will not mount successfully.
/media is reserved for things like udev - the subfolders are created on the fly. It _should_ be empty unless you have mounted something like USB or CD/DVD.
Are you sure this will need a lot of work? IMO it's just swaping 2 menu entries - the first and the 6th. I have activated automunting to the systems mountpoint on removable devices and it works like a charm. Only when I unmount the device and would like remount it I need to pick the 6th menu item instead of the first (ok, lamenting on a high level)
Well, it is not as simple as that. The "open medium system folder" is performed through .desktop files and a helper program, while "Open" is embedded directly in the code. We will need to look at Konqueror, KDesktop, Dolphin and potentially Krusader and other apps to see where "Open" is coded and how to swap that with "Open Medium System Folder" on request (user option is required). So it will definitely require a fair amount of searching and most importantly testing.
Oh, that's in the good old code from the beginnings of time :)
unfortunately came to same conclusion when looking into the TDEIO for MTP
Maybe the way to go is to implement "Open" as a .desktop service and make the default action selectable.
Sounds like a sensible approach to me.
+1
Hi Nik,
Just one more question: Can you check if you have a folder /media/cdrom0 ? My /media/ is totally empty when nothing is mounted, so the enty in /etc/fstab will not mount successfully.
I do, as well as a /media/cdrom link pointing to /media/cdrom0. Don't know if it is something created automatically or if I had to do that manually long ago...
Cheers Michele
On 2021-03-02 20:42:52 Michele Calgaro via tde-users wrote:
Hi Nik,
Just one more question: Can you check if you have a folder /media/cdrom0 ? My /media/ is totally empty when nothing is mounted, so the enty in /etc/fstab will not mount successfully.
I do, as well as a /media/cdrom link pointing to /media/cdrom0. Don't know if it is something created automatically or if I had to do that manually long ago...
Cheers Michele
As far as I know, /media/cdrom was the standard place for CD mounts, before all the fancy stuff like /run etc. subverted simpleness. :-)
Leslie -- openSUSE Leap 15.2 x86_64 Qt: 3.5.0 TDE: R14.0.9 tde-config: 1.0
Anno domini 2021 Wed, 3 Mar 11:42:52 +0900 Michele Calgaro via tde-users scripsit:
Hi Nik,
Just one more question: Can you check if you have a folder /media/cdrom0 ? My /media/ is totally empty when nothing is mounted, so the enty in /etc/fstab will not mount successfully.
I do, as well as a /media/cdrom link pointing to /media/cdrom0. Don't know if it is something created automatically or if I had to do that manually long ago...
OK ... then I can assure you this folder has been there for a long long time. Debian installer from the dark past used to create saif fstab entry + /media/cdrom0 (that's the reason why it passed unnoticed on my system) :)
Nik
Cheers Michele
Dr. Nikolaus Klepp wrote:
OK ... then I can assure you this folder has been there for a long long time. Debian installer from the dark past used to create saif fstab entry
- /media/cdrom0 (that's the reason why it passed unnoticed on my system)
:)
here it says 2017
# ls -al /media/ total 16 drwxr-xr-x 4 root root 4096 Jul 9 2020 . drwxr-xr-x 27 root root 4096 Feb 28 17:31 .. lrwxrwxrwx 1 root root 6 Jul 17 2017 cdrom -> cdrom0 drwxr-xr-x 2 root root 4096 Jul 17 2017 cdrom0
but the system was installed many many moons before this date. I assume it was created once when /media become the place for automatically mounting stuff. https://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/media.html
I am still not sure if it was created automatically though.