Hi,
Xfce4 do not recognize the usb at PCMan FM File Manager, i found some information on google that recomeded some where to install gamin and gvfs, pacman -Sy gvfs gamin but these packages are already installed in the system... What is missing here?. Just in case, with the other iso was not problem at all. dbus it is installed too. Thanks.
More information:
[keos@kaos ~]$ lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
├─sda1 ext4 a5ff07c1-db4a-45b2-9212-d242873e0ca3 /
├─sda2 swap 6934677e-dfee-43ca-80aa-83da08a25196 [SWAP]
├─sda3 ext4 8635c1cb-fc23-4090-824c-3d5b05d611cf
├─sda4
├─sda5 ext4 ec9ee698-19aa-4702-abd0-62d80142041b
└─sda6 ext4 3e0fe6f8-29b9-4592-b180-c0f4bf8cf9d1
sr0
[keos@kaos ~]$
... and it is activated:
(https://s17.postimg.org/qehh7vvcb/Captura_de_pantalla_2018-01-23_09-50-28.png) (https://postimg.org/image/qehh7vvcb/)
Are you launching your X session with dbus? When I used openbox (now I just do 'dbus-launch sway'), I had to put the following in my .xinitrc for things like usb automounting.
exec dbus-launch openbox-session
I don't remember what the appropriate name is for xfce, but just replace openbox-session with that.
i'm not sure if i understand what you says but from the terminal:
[kaos keos]# dbus-launch xfce4-session
dbus[2964]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" is owned by uid 1000, not our uid 0
xfce4-session: Another session manager is already running
You need to edit your ~/.xinitrc file (create one if it doesn't exist) and put what's below in the file and then log out and log back in.
exec dbus-launch xfce4-session
Well i see ... i never before has created any files on linux since i'm coming from Mint ... so i have been looking for some information about who to create a file, and this is what i got after many ...
[keos@kaos Escritorio]$ cat > .xinitrc.txt
and nothing is created
Thanks.
You can use the 'save' or 'save as' functionality of any text editor, and it will ask you for the filename and create it.
If you absolutely need to create an empty file (not so common), issue 'touch filename'. To create a directory (folder), issue 'mkdir dirname'.
The 'cat' command reads from a file and outputs its contents. The '>' operator would redirect that to another file. The command you posted reads from absolutely no file at all, and tries to save that nothing to another file, that's why it doesn't succeed.
Also there's no need for the ".txt" extension. The file is just called ".xinitrc"
You shouldn't be trying to start the session or dbus as root, which produces the error you posted above.
Try putting this in the start up menu in user settings dbus-launch pcmanfm --desktop -d it works fine here with pcmanfm.
[keos@kaos ~]$ dbus-launch xfce4-session
xfce4-session: Another session manager is already running
[keos@kaos ~]$
i don't know what is this since nothing at the moment is running ...
Also i create a file with kwrite and i add the order ... i can't open the usb, nothing happen ... and i don't see the file with the command whereis
[keos@kaos ~]$ whereis .xinitrc
: /usr/bin/. /usr/lib/. /etc/. /usr/local/bin/. /usr/local/sbin/. /usr/local/etc/. /usr/local/lib/. /usr/local/games/. /usr/include/. /usr/local/. /usr/share/. /usr/bin/site_perl/. /usr/bin/vendor_perl/. /usr/bin/core_perl/. /usr/share/man/pl.ISO8859-2/. /usr/share/man/sr/. /usr/share/man/it/. /usr/share/man/ru.UTF-8/. /usr/share/man/man2/. /usr/share/man/uk/. /usr/share/man/fr.UTF-8/. /usr/share/man/zh_TW/. /usr/share/man/pl/. /usr/share/man/pt_BR/. /usr/share/man/es/. /usr/share/man/fr/. /usr/share/man/pl.UTF-8/. /usr/share/man/man3/. /usr/share/man/tr/. /usr/share/man/sv/. /usr/share/man/el/. /usr/share/man/man1/. /usr/share/man/man4/. /usr/share/man/pt/. /usr/share/man/cs/. /usr/share/man/it.UTF-8/. /usr/share/man/id/. /usr/share/man/ar/. /usr/share/man/ug/. /usr/share/man/man5/. /usr/share/man/jp/. /usr/share/man/hu/. /usr/share/man/man0/. /usr/share/man/fr.ISO8859-1/. /usr/share/man/de/. /usr/share/man/ko/. /usr/share/man/ja/. /usr/share/man/sl/. /usr/share/man/ca/. /usr/share/man/ru.KOI8-R/. /usr/share/man/gl/. /usr/share/man/da/. /usr/share/man/zh_CN/. /usr/share/man/lt/. /usr/share/man/man8/. /usr/share/man/nl/. /usr/share/man/man6/. /usr/share/man/ru/. /usr/share/man/it.ISO8859-1/. /usr/share/man/man7/. /usr/share/info/.
[keos@kaos ~]$
If you still have consolekit running, purge it from the system. elgind and ck don't play nice together.
consolekit is not installed
from openbox when i insert the usb i got this message: ERROR /run/media/keos/USB%20STICK: do not exist the file ....
".xinitrc" should be in your home directory but because it is dot file it may be hidden.
The .xinitrc file is located in your user's home directory. Its contents are used by the startx command.
There are linux distributions that come configured out of the box for desktop usage, such as Ubuntu, Fedora, Manjaro and a few others. Artix is not beginner friendly in this regard, I'm not saying you shouldn't use it, but if you want your system to be a friendly, problem free desktop environment that simply works, there are other options out there that will not cause trouble.
The whereis command locates binaries in the $PATH, not files in the local directory.
Sero, in order to be able to run this USB on xfce4 in Artix what do i have to do?
Somethig is wrong here with this iso, because with the other iso i was able to run the usb in the sytem, something is missing here ...
mkdir /mnt/usbstick
mount /dev/sdd1 /mnt/usbstick
That's how you manually mount it, if it's listed under sdd1 or whatever it is. You can use the dmesg command after plugging in the stick to find that out. I am not running xfce4 on Artix and I don't know why it doesn't mount. I either manually mount or use udiskie with a polkit rule I found online.
Before unplugging, please do
umount /mnt/usbstick
eject /dev/sdd1
or whatever the device name is, that's how you make sure the data is actually written.
It's not supposed to simply work on artix. The focus is not on desktop environments yet.
@Sero It's not supposed to simply work on artix. The focus is not on desktop environments yet.
Yes it does if you know what you are doing PcmanFM needs this in startup dbus-launch pcmanfm --desktop -d to work correctly it also need maybe this in groups usbmux: x: 140: username I don't use XFCE I use JWM and Pcmanfm everything works so it will also work in XFCE4 the op needs to read how to do things wikis are great for that Arch Gentoo will have the answers.
Well, to clarify: it absolutely should work, after learning and configuring.
It's just not the kind of distro that simply works out of the box, with a fully functional desktop environment after a few clicks on an installer.
I think this is closer to what I meant. It's not a criticism, but not all distros serve the same purpose for the same contexts.
Here's a list of relevant groups (storage, etc):
https://wiki.archlinux.org/index.php/users_and_groups#Pre-systemd_groups (https://wiki.archlinux.org/index.php/users_and_groups#Pre-systemd_groups)
See the description:
Add your user to those groups. Re-logging in will be necessary before startx or restart the display manager.
Alternatively, here's what I used to get udiskie working:
https://github.com/coldfix/udiskie/wiki/Permissions (https://github.com/coldfix/udiskie/wiki/Permissions)
I just need to solve the problem because if i can't then i will have to uninstall the system, i'm far a way from be an expert on these matters as you are ...
... "if you know what you are doing", well no ... i don't kknow what i'm doing that is why i looking for help ...
See ... i don't know what this means, i don't see anything at pcmanfm where i can lunch any configuration and i have been trying for long.
Any idea, orientation ...?
Thanks.
There's a few different ways to approach this. mandog's suggestion should work just fine if that's what you want to do, but I don't think it will work for every file manager (like thunar for example). I'm pretty sure the source of the problem here is simply that you aren't launching your applications and/or X session with dbus. To do mandog's suggestion, all you need to do is to put that command in xfce's settings so it automatically runs on startup. Here's the relevant link on the Arch Wiki (https://wiki.archlinux.org/index.php/Xfce#Startup_applications). Of course, you have to log out and then log back in for it to take effect.
(https://s17.postimg.org/7nupp41qz/Captura_de_pantalla_2018-01-24_14-26-22.png) (https://postimg.org/image/7nupp41qz/)
But ... nothing happen
Does that mean you put the line in your .xinitrc? You should add that line as a custom command and enable it.
@keos, what is your reason for using Artix in the first place?
It's unlikely that someone who is a beginner at linux would choose artix at this point in time, so I vote troll.
Hello internet,
I had similar problem few years ago and i solved it the same way as is proposed here.
I simply added
exec dbus-launch --sh-syntax --exit-with-session $1
to
~/.xinitrc and after that it started to work.
But because i was not satisfied with the way how thunar managed removable media i am using small utility called
udiskie which works very well.
Sero, you are acusing me of to be a troll just because i’m not an expert on these matters as you are, well i’m acusing you of to be an elitist whom do not want to admit that peoples like me become users of Artix simply because we are not advanced users, i don’t see any sign anywhere when i installed the system saying ONLY FOR ADVANCED USERS ON LINUX. I’m not a troll, you are.
Dudemanguy i can’t follow your instruction: “a custom command”, i did what the wiki said, or what i understood from the wiki link – if you, or somebody else here can not explain clearly (step by step) what i’m suppouse to do i will uninstall the system.
Thanks.
Your image seems to broken now (or at least in my browser I no longer see it embedded). For the future, use a better image host like imgur. But if I remember your image correctly, I didn't see an indication that you actually added mandog's command to the autostart. So let's try it again. Go back to the Application Autostart menu and hit the add button. On the dialog that pops up, you'll have three fields that you can fill out, the name, the description and the actual command. You can put whatever you want in the name and description fields, those don't matter. In the command field (which is what we want), put the following.
/usr/bin/dbus-launch pcmanfm --desktop -d
Enable it and then log out and log back in. Open up pcmanfm and see if your usb automounts properly. It should but if it doesn't then we can finally rule that one out and try a different solution.
Again, i did it as you said, but nothing happened ...
Could you post the output of 'rc-update -v show' for me?
Artix never ever claimed to be hand holding the user. We stated from the beginning, that target audience is medium to advanced users, who are not afraid to solve problems themselves.
A good practise for any distro is, if you have problems, please prvide more info than "XY doesn't work".
Log files, rc-status -all, session logs.
[keos@kaos ~]$ rc-update -v show
NetworkManager | default
acpid | default
agetty |
agetty.tty1 | default
agetty.tty2 | default
agetty.tty3 | default
agetty.tty4 | default
agetty.tty5 | default
agetty.tty6 | default
alsasound |
avahi-daemon |
avahi-dnsconfd |
binfmt | boot
bootmisc | boot
consolefont |
cronie | default
dbus | default
devfs | sysinit
device-mapper |
dhcpcd |
dmcrypt |
dmesg | sysinit
dmeventd |
elogind | boot
fsck | boot
haveged |
hostname | boot
hwclock | boot
keymaps | boot
killprocs | shutdown
kmod-static-nodes | sysinit
local | default nonetwork
localmount | boot
loopback | boot
lvm |
lvm-monitoring |
lvmetad |
mdadm |
mdraid |
modules | boot
modules-load |
mount-ro | shutdown
mtab | boot
net-online |
net.lo | boot
netmount | default
nfs |
nfsclient |
ntp-client |
ntpd |
numlock |
openrc-settingsd |
opensysusers | boot
opentmpfiles-dev | sysinit
opentmpfiles-setup | boot
osclock |
procfs | boot
root | boot
rpc.gssd |
rpc.idmapd |
rpc.pipefs |
rpc.statd |
rpc.svcgssd |
rpcbind |
rsyncd |
runsvdir |
s6-svscan |
savecache | shutdown
sntp |
sshd |
swap | boot
swclock |
sysctl | boot
sysfs | sysinit
syslog-ng | default
termencoding | boot
udev | sysinit
udev-settle |
udev-trigger | sysinit
urandom | boot
wpa_supplicant |
xdm | default
xdm-setup |
[keos@kaos ~]$
i'm installing Manjaro with systemd (yes, i think that i have to go back to systemd, there is no much choices ...) and PCMan FM here not even recognanize manjaro.
I have a question does thunar recognize the usb?
I don't want to break the continuity of this thread or read it in great detail (4 pages of it).
I do like pcmanfm and use it in most occasions. Yes it was a nifty convenience to have systemd mounting all that it can possibly be mounted at the click of a button, but I learned to go the opposite way. I don't want things mounted automatically, I want what I want mounted and just that, and dismounting them and have them stay dismounted when I want.
So I learned to play with fstab accordingly and issue mount umount commands.
I still have a problem with pcmanfm, when I chroot to another installation and mounting things with artools-chroot, sometimes those other installations have almost a copy of the fstab, and now I have pcmanfm doubling up the list of things mounted two-three times each.
Let's say I am working on Artix1 and have /mnt/point1 /mnt/point2 /mnt/point3 /mnt/Artix2
When I chroot to /mnt/Artix2 I get /mnt/point1 /mnt/point2 /mnt/point3 /mnt/Artix1 and /mnt/Artix2/mnt/point1 /mnt/Artix2/mnt/point2 /mnt/Artix2/mnt/point3 /mnt/Artix2/mnt/Artix1
Or some mess like this, but that is pcmanfm's stupidity, not Artix's fault or sysvinit's or OpenRCs
Not criticising anybody here but its more a matter of learning new ways,
I use pcmanfm on both Artix and Obarun with JWM it performs any task I ask of it including auto-mounting 5 HDs, USB drives and sticks, android,
I regularly chroot with pcmanfm as well. In fact I find pcmanfm a more complete file manager than thuner and better than nautilus in many functions.
What I will not do is repeat myself over and over again.
You guys need to take responsibility for your own systems read and learn new ways its all very simple and all written down
You need things like gvfs, you also need a policy kit like gnome-polkit, usisks-2, I also find a display manager goes a long way to get over these hurdles,
These 2 entries need to be in your autostart menu remember in xfce it in sessions most WMs its its in the config file, in /home/user /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 dbus-launch pcmanfm --desktop -d if you use a gtk environment
Also in pcmanfm preferences the auto-mount entries need to be ticked pretty obvious really.
Forget the old ways like fstab entries and mounting with the cli, that died 10 years ago Linux has moved on from the dark ages.
I just get fed up with users winging on about this and that and can't be bothered to help themselves,
if a old fart with reading difficulties and memory loss can research and fix problems, then all you young intelligent users that think you know it all should have no problems.
I agree in principle, I am learning "again" new ways, or going back to old ways, and I am learning to like a bit better to have to do a little extra work so I can have control instead of relying in sysd/gnome automatization that I "can not" control.
So even gvfs is a luxury I like to live without, that's what I was saying. I agree 1000% on the file managers with one exception. Don't rely on clickedyclick rights on folders and files and forget what chmod 0755 or 0633 means and chown and so on.
Going back to systemd is like saying I am returning to prison because the food is good and easier on the plate than have to dig it out in the forest. Humanity can only evolve by avoiding the bait. The food will not always be good and easy in prison, especially when you have long forgotten how much food there is in the forest.
Freedom is worth the pain and agony that it takes to attain it.
Just to prove it works fine these 2 screen shots is what happens when I insert a usb stick into JWM using pcmanfm as you can see all drives mount at start up
(http://i.imgur.com/MNYS9YU.png) (https://imgur.com/MNYS9YU)
(http://i.imgur.com/b9vjBoJ.png) (https://imgur.com/b9vjBoJ)
I have nothing against old school yes it gives full control over everything you do that is not the problem here.
The title says Re: Xfce4 do not recognize the usb at PCMan FM File Manager which is totally incorrect if the user was to do things correctly and read and learn.
To be honest as artoo keeps stating Artix has never sold its self as a hand holding distribution its for intermediate advanced users to craft to their needs and Artix does a great job for the user base its intended for in fact its up with the best Arch/Gentoo.
If a user insists on hand holding Manjaro comes with free dypers every download :) and is a better choice or MX they are new user originated distros for the I don't want to learn user
I'm not discriminating the new user just giving the facts, we all started as new users but we were willing to learn one step at a time that means research and reading the wikis not stupid Google that goes round in circles and mainly out of date.