You are not logged in.
I know I had this issue some time ago but can't remember exactly...
I have setup Xorg & xfce4 running perfectly on my damn old laptop. I use this thing only for music and video.
Thatswhy I decide to configure it for autologin so that its available without hazzles.
I have all the config that is necessary. Only thing missing is startx.
Which package can I find it?
Offline
xorg-xinit
Offline
It's owned by "xorg-xinit" on my system.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
You can use pkgfile to know which package own a file. pkgfile is bundled in the pkgtools package
Offline
@kazuo
Wouldn't that be the same thing as "pacman -Qo $(which startx)", or does pkgfile actually query a central database to determine which package owns a file?
Considering comments that I've seen on this forum to the effect that there is no such thing, I suspect that it's the former, which assumes that the package is already installed.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Nope pkgfile maintains a database of which packages own which file even when not installed, which is updated every hour by cron by default. It's quite useful actually.
Offline
Nope pkgfile maintains a database of which packages own which file even when not installed, which is updated every hour by cron by default. It's quite useful actually.
I thought it was updated daily... Anyway, the list of files for each repo is available on the mirrors. Named something like <repo>.files.tar.gz. pkgfile (in the pkgtools package) uses them.
Online
That will be useful at some point. I actually played around with a script to do the same thing but I never thought the devs would actually implement the necessary server-side script to build the file list. Every single time I've seen someone ask for a similar feature in pacman, someone went off on a "this isn't Ubuntu" tangent.
If there isn't something to do it already, I might try to write a local database recovery script which uses that to determine which packages are most likely installed.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Allan: Oops yeah, daily.
Xyne: That would be pretty cool actually. I've never lost a DB but I can see it happening.
Offline
Xyne: That would be pretty cool actually. I've never lost a DB but I can see it happening.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
thx for the fast responses. xorg-xinit seems not to be a default dependency for xorg-server. I also setup pkgfile, nice hint.
Offline