WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: usb pendrives don't appear anymore on the desktop  (Read 9709 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: usb pendrives don't appear anymore on the desktop
« Reply #30 on: May 26, 2016, 03:10:40 AM »
Hi
Unfortunately in my setup
dCore-trusty:2016.04.22.20.54
show icons of already inserted us while
dCore-trusty:2016.05.25.21.54
doesn't
Jason, you should now be able to download the working gz from my gdrive.

PS. newly inserted pendrives appear on the e20 desktop in both initrds

Thanks
« Last Edit: May 26, 2016, 03:16:43 AM by jls »
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: usb pendrives don't appear anymore on the desktop
« Reply #31 on: May 26, 2016, 04:50:13 PM »
Ok, though the current RC was working here with icons for usb drives already inserted at boot, I do see an oversight in the reversion to the previous user and group behavior.

Uploading now.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: usb pendrives don't appear anymore on the desktop
« Reply #32 on: May 27, 2016, 01:13:54 AM »
Hi
works now, thank you very much Jason!
dCore user

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: usb pendrives don't appear anymore on the desktop
« Reply #33 on: May 29, 2016, 02:00:56 PM »
HI
pendrives icons disappeared again on dCore-trusty:2016.05.29.16.34
 :'(
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: usb pendrives don't appear anymore on the desktop
« Reply #34 on: May 29, 2016, 02:41:36 PM »
Mine are still appearing.  There are no changes that should be able to cause this.  dCore-trusty:2016.05.29.18.17 is the rc I am using.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: usb pendrives don't appear anymore on the desktop
« Reply #35 on: May 31, 2016, 05:26:25 AM »
Here is what I see now.  On dCore-wily the icons appear for both cdrom and usb when inserted or booted already inserted.  But on dCore-trusty the icons appear but there is a udisks permission error when trying to mount the drive via udiskctl command or with the icons. 

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: usb pendrives don't appear anymore on the desktop
« Reply #36 on: May 31, 2016, 11:20:00 AM »
Hi
I use enlightenment from the niko2040 ppa under dCore- trusty.
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: usb pendrives don't appear anymore on the desktop
« Reply #37 on: May 31, 2016, 12:20:45 PM »
Ok, that is what I am using also on both dCore-trusty and dCore-wily.  Are you able to mount the usb as user with the command udiskctl mount -b /dev/sdc1 or whatever drive? 

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: usb pendrives don't appear anymore on the desktop
« Reply #38 on: May 31, 2016, 03:22:29 PM »
I'm not on the pc right now, but when the usb icons where appearing on the "e" desktop, double clicking on the icon made a pendrive mount and a window with it's content appear.
there was a discussion in the past

 http://forum.tinycorelinux.net/index.php/topic,18007.msg117522.html#msg117522

but actually e was mounting usb fine on the prevoious dCore rc.
thanks
« Last Edit: May 31, 2016, 03:36:46 PM by jls »
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: usb pendrives don't appear anymore on the desktop
« Reply #39 on: June 01, 2016, 06:24:26 PM »
Ok, here is what I found.  Udisks2 needs policykit-1 as a dep, happens automatically in dCore-wily but not dCore-trusty.  And lower level deps often need to be installed before higher level ones can successfully run their startup scripts.   I installed policykit-1 several times after my desktop was running to no avail.  Now udisiks2 commands and the Enlightenment desktop mount and unmount usb and cdrom drives as user.  Anyone who is interested in the fix please re-import udisks2 and any SCE that contains it.

The only difference in what you said was working for you and now as far as base changes is what allows the cdrom to be seen on the desktop.  Reverting to previous will cause the cdrom to not be seen.  Now both dCore-trusty and dCore-wily with the enlightenment from the niko2040 ppa see cdrom and usb icons and can mount/unmount them with the desktop or udisks2. 

I am not sure why your results are different, but I would ask you re-import any SCEs that are relevant and please test.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: usb pendrives don't appear anymore on the desktop
« Reply #40 on: June 02, 2016, 05:56:35 AM »
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: usb pendrives don't appear anymore on the desktop
« Reply #41 on: June 03, 2016, 07:57:10 AM »
The thing of starting the policykit daemon and an editing of a config file was discussed, not the issue of needing policykit-1 as a dep of udisks2 to allow udisks2 to mount as regular user in dCore-trusty. 

If you would download a tarball of the dCore git area that is not the latest and get the /etc/udev/rules.d/60-cdrom_id.rules and place it in your live system and then run "udevadm trigger" and see if the usb icon reappears.   It should not as it only affected the cdrom icon on my system.  If that file makes the usb icon appear, I will pursue it further.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
dCore user

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: usb pendrives don't appear anymore on the desktop
« Reply #43 on: June 03, 2016, 08:38:37 AM »
Hi
Trying my usb pendrive with dCore I can confirm that using the latest RC I can see the usb icons on the desktop.
It's on the pc at home that don't appear.
thanks Jasonw.

« Last Edit: June 03, 2016, 08:43:07 AM by jls »
dCore user

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: usb pendrives don't appear anymore on the desktop
« Reply #44 on: June 04, 2016, 06:11:04 AM »
Hi
I've removed etc/passwod and etc/shadow from /opt/.filetool.lst, rebooted and now pendrives icons appear also on my home pc. Thanks Mr. Jason.
dCore user