You are not logged in.
hey folks,
as stated in the title, i cannot see any drives in pcmanfm or spacefm.
im in the storage group.
any ideas what i could do to see my partitions in the file manager?
edit:
got them to show in spacefm by right clicking in the left panel and slecting "settings"->"show"->"internal drives"... cannot mount them tho (authentification required)
still no clue how to see them in pcmanfm..
TLTR: gvfs was missing. didnt have rights to mount from inside pcmanfm but the snippet below helped me out with that.
thanks everyone!
Last edited by K3nn3th (2017-01-24 00:06:32)
Offline
If you're getting an authentication popup similar to the quoted one, you can bypass authentication with the Policy Kit.
Authentication is required to mount SanDisk Ultra II 480GB (X41200RL) (dev/sdf1)
An application is attempting to perform an action that requires privileges. Authentication is required to perform this action.
Password:Details
[Cancel] [Authenticate]
On this wiki page look under "Bypass password prompt" : https://wiki.archlinux.org/index.php/Po … ord_prompt
You can do this globally, or for just one or a few actions/packages. See the examples. I went for the second option.
If you're not using udisks2 (see below) you'll have to substitute whatever that is attempting to mount your drives.
If you're not part of the wheel group, you also have to become a part of that. Or use/create another group. Just be careful which one you choose.
A drive (not part of the current Linux root file system) will be automatically mounted the first time it is accessed/clicked.
This is what mine looks like now. I just had to add the third action.id to get rid of the authentication for mounting the drives. (Because I also have a need for the other 2 actions that were in the example.)
/*
* Copied from : https://wiki.archlinux.org/index.php/Polkit#Bypass_password_prompt
*/
/* Allow members of the wheel group to execute the defined actions
* without password authentication, similar to "sudo NOPASSWD:"
*/
polkit.addRule(function(action, subject) {
if ((action.id == "org.archlinux.pkexec.gparted" ||
action.id == "org.libvirt.unix.manage" ||
action.id == "org.freedesktop.udisks2.filesystem-mount-system") &&
subject.isInGroup("wheel"))
{
return polkit.Result.YES;
}
});Last edited by Dokter Bibber (2016-12-13 12:25:07)
Offline
It turned out i forgot to install gvfs...
doing so solved the issue.
i couldnt mount from inside the file managers though, due to a lack of access rights.
luckily had the snippet above.
@Dokter Bibber: Thanks for the snippet, it solved a problem i hadnt even reached yet.
edit: issues solved.
how do i prepend [SOLVED] to the title of the thread ?
Last edited by K3nn3th (2016-12-18 16:41:19)
Offline
how do i prepend [SOLVED] to the title of the thread ?
Edit your first post. This will allow you to edit the title.
https://wiki.archlinux.org/index.php/Co … ow_to_post
Finally, when a solution is found, mark your thread as solved by editing the first post and prepending the tag [SOLVED] to the title in the "Subject" field.
Last edited by 2ManyDogs (2016-12-18 17:29:07)
Offline
I wasn't sure which message was actually thrown at you. That's why I opened my comment with that quoted message.
Good that it came in handy after you resolved the other error first. (Looks like I'm psychic after all.)
You should edit your first post. Prepend the title, and update the post to mark it as solved.
Offline