Witaj na Forum Linuxiarzy
Zanim zalogujesz się, by pisać na naszym forum, zapoznaj się z kilkoma zasadami savoir-vivre'u w dziale Administracja.
Wiadomości z problemami zamieszczone w wątku "Przywitaj się" oraz wszelkie reklamy na naszym forum będą usuwane.

Thunar nie widzi napędów zewnętrznych

Zaczęty przez sm, Lipiec 24, 2025, 06:52:21 PM

Poprzedni wątek - Następny wątek

sm

Zainstalowałem Slackware 15.0 xfce.

Problem pojawia się po doinstalowaniu i3-gaps. Konkretnie chodzi o zarządzanie wolumenami i urządzeniami. Wygląda na to, że gvfs jest niedostępny. To informacja pojawiająca się w preferencjach. Nie montuje napędów zewnętrznych typu usb, karta pamięci czy partycje drugiego systemu zainstalowanego na dysku. Nie montuje tzn. w ogóle tych pozycji nie widać w Thunar. Za to pojawiły się takie pozycje jak: pts, shm, home, floppy, proc.
Dodam, że thunar pod xfce zachowuje się normalnie. Ten problem dotyczy i3-wm. Czy przywrócenie tej funkcjonalności w i3 to kwestia braku uprawnień, jakich?

CDeB

Nie używam slackware, ale wygląda na to że gvfs jest dostępne w repo.

Może doinstalowanie rozwiąże problem.

linux4ever

#2
Tu kilka rozwiązań: https://www.linuxquestions.org/questions/slackware-14/thunar-preferences-advanced-it-looks-like-gvfs-is-not-available-4175709791/ https://superuser.com/questions/228261/how-to-properly-start-gvfs-without-gnomehttps://bbs.archlinux.org/viewtopic.php?id=138066

Spróbuj tych rozwiązań.

No i AI podaje:
CytatIn Slackware Linux, Xfce's behavior regarding storage device access and permissions is largely managed through user groups. Specifically, the plugdev and power groups are crucial for handling external devices and power management within the Xfce desktop environment. To ensure full functionality, users should be added to these groups.
Here's a breakdown:

    plugdev Group:
    This group is typically associated with allowing users to mount removable media (like USB drives) and access other external devices.
    power Group:
    This group is essential for power management features, enabling users to control power settings, suspend/hibernate the system, and manage battery levels (if applicable).

Managing Users and Groups:
To add a user to these groups, use the usermod command. For example, to add user myuser to the plugdev group:

sudo usermod -a -G plugdev myuser

And to add them to the power group:

sudo usermod -a -G power myuser

The -a flag adds the user to the group, while -G specifies the group name. After making these changes, the user needs to log out and log back in (or restart) for the group membership to take effect.
"Powiedz mi, a zapomnę, pokaż mi, a zapamiętam, pozwól mi zrobić, a zrozumiem. "-Konfucjusz

sm

Cytat: CDeB w Lipiec 24, 2025, 07:23:46 PMNie używam slackware, ale wygląda na to że gvfs jest dostępne w repo.

Może doinstalowanie rozwiąże problem.
Tak, to wiem i mam zainstalowane. Skoro w sesji xcfe thunar działa poprawnie...

sm

Cytat: linux4ever w Lipiec 24, 2025, 07:27:04 PMTu kilka rozwiązań: https://www.linuxquestions.org/questions/slackware-14/thunar-preferences-advanced-it-looks-like-gvfs-is-not-available-4175709791/ https://superuser.com/questions/228261/how-to-properly-start-gvfs-without-gnomehttps://bbs.archlinux.org/viewtopic.php?id=138066

Spróbuj tych rozwiązań.

No i AI podaje:
CytatIn Slackware Linux, Xfce's behavior regarding storage device access and permissions is largely managed through user groups. Specifically, the plugdev and power groups are crucial for handling external devices and power management within the Xfce desktop environment. To ensure full functionality, users should be added to these groups.
Here's a breakdown:

    plugdev Group:
    This group is typically associated with allowing users to mount removable media (like USB drives) and access other external devices.
    power Group:
    This group is essential for power management features, enabling users to control power settings, suspend/hibernate the system, and manage battery levels (if applicable).

Managing Users and Groups:
To add a user to these groups, use the usermod command. For example, to add user myuser to the plugdev group:

sudo usermod -a -G plugdev myuser

And to add them to the power group:

sudo usermod -a -G power myuser

The -a flag adds the user to the group, while -G specifies the group name. After making these changes, the user needs to log out and log back in (or restart) for the group membership to take effect.
Dzięki za odpowiedź. Ten link, który podałeś:
https://www.linuxquestions.org/questions/slackware-14/thunar-preferences-advanced-it-looks-like-gvfs-is-not-available-4175709791/
to znalazłem już wcześniej, wydaje się być najbardziej sensowny. Inne rozpatrujące problemy thunar'a w xfce niekoniecznie. Przecież problem tyczy jedynie sesji i3, tutaj brak sesji dbus, bo pewnie ona nie startuje albo polkit.
Oto mój .xinitrc
Cytat#!/bin/sh

# Start i3
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
    exec ck-launch-session dbus-launch --exit-with-session /usr/bin/i3
else
    exec i3
fi


if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] && [ -x /usr/bin/dbus-run-session ]; then
  exec dbus-run-session -- $0 "$@"
fi

. /etc/X11/xdm/Xsession
a tutaj "wyciąg" z mojego config'u i3. Naprawdę już nie wiem czy coś nie zchrzaniłem w ferworze walki :)
Cytatexec --no-startup-id ibus-autostart

exec --no-startup-id /usr/libexec/at-spi-bus-launcher --launch-immediately         
exec --no-startup-id /usr/lib64/xfce4/notifyd/xfce4-notifyd
exec --no-startup-id /usr/libexec/gvfsd
exec --no-startup-id /usr/share/dbus-1/services/org.gtk.vfs.Daemon.service
exec --no-startup-id /usr/libexec/pam_kwallet_init
exec --no-startup-id /usr/lib/polkit-1/polkit-agent-helper-1
exec --no-startup-id /usr/libexec/polkit-gnome-authentication-agent-1
#exec --no-startup-id sleep 10 && /usr/bin/lxpolkit &
#exec --no-startup-id sleep 10 & /usr/lib/polkit-1/polkitd
exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=secrets
exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=ssh
Do tych grup jestem przypisany:
Cytatusers lp wheel audio video cdrom plugdev power netdev

linux4ever

@sm Może lepiej zainstaluj FUSE do obsługi urządzeń.

Bo jak czytałem gvfs jest z GUI Gnome a slackware ma nie mieć gnome.

I dlatego to nie działa nie wiem ile w tym prawdy.

"Powiedz mi, a zapomnę, pokaż mi, a zapamiętam, pozwól mi zrobić, a zrozumiem. "-Konfucjusz

sm

#6
Wiem że Slackware stroni od gnome, tutaj wiedzie prym KDE a xfce trochę na przyczepkę. Odznaczając w instalatorze systemu kde i tak wraz z xfce instaluje się cała masa pakietów od kde + plasma. Przypuszczam że samo xfce jest powiązane, chcesz czy nie, z bibliotekami kde. Odinstalowując je wyleciał mi sddm.

Wracając do meritum problemu, myślę że nie potrzeba instalować czegokolwiek, przecież funkcjonalność thunara w sesji xfce jest prawidłowa. Po przelogowaniu się na i3 robi się nieciekawie. Moim zdaniem jest to problem z polkitem, który nie przypisuje dostępu do niektórych funkcjonalności. Częściowo udało mi się to zmienić. Włączyłem
Cytatexec --no-startup-id /usr/libexec/gvfsd
oraz
exec --no-startup-id lxpolkit
sbopkg -i udiskie
teraz thunar zaczął montować wolumeny, ale... W dalszym ciągu nie widzi innych partycji nie powiązanych ze slackware. 

linux4ever

#7
Cytat: sm w Dzisiaj o 07:00:56 PMteraz thunar zaczął montować wolumeny, ale... W dalszym ciągu nie widzi innych partycji nie powiązanych ze slackware.

A masz to ?

CytatGamin is a file and directory monitoring system defined to be a subset
of the FAM (File Alteration Monitor) system.

Wymagane niby do otwierania woluminów  jak to się tam zwie i urządzeń paczka to :gamin-0.1.10-i586-9.txz

Takie same paczki czyli gamin i polkit wymaga Arch Linux XFCE.

Do pobrania z tej strony: https://packages.slackware.com/



"Powiedz mi, a zapomnę, pokaż mi, a zapamiętam, pozwól mi zrobić, a zrozumiem. "-Konfucjusz

sm

#8
Cytat: linux4ever w Dzisiaj o 09:03:41 PM
Cytat: sm w Dzisiaj o 07:00:56 PMA masz to ?

Gamin is a file and directory monitoring system defined to be a subset
of the FAM (File Alteration Monitor) system.

Wymagane niby do otwierania woluminów  jak to się tam zwie i urządzeń paczka to :gamin-0.1.10-i586-9.txz

Takie same paczki czyli gamin i polkit wymaga Arch Linux XFCE.

Do pobrania z tej strony: https://packages.slackware.com/
Mam zainstalowane
Cytatslackpkg search gamin
Looking for gamin in package list. Please wait... DONE
The list below shows all packages with name matching "gamin".
[ installed ] - gamin-0.1.10-x86_64-9
a czy to się uruchamia ze środowiskiem graficznym i3?

Zobacz najnowsze wiadomości na forum