You are not logged in.

#1 2009-12-11 00:12:36

tekknokrat
Member
Registered: 2008-07-17
Posts: 15

package containing startx

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

#2 2009-12-11 00:27:24

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: package containing startx

xorg-xinit

Offline

#3 2009-12-11 00:28:12

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,443
Website

Re: package containing startx

It's owned by "xorg-xinit" on my system.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#4 2009-12-11 00:53:12

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: package containing startx

You can use pkgfile to know which package own a file. pkgfile is bundled in the pkgtools package

Offline

#5 2009-12-11 01:34:21

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,443
Website

Re: package containing startx

@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 StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#6 2009-12-11 01:59:42

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: package containing startx

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

#7 2009-12-11 02:49:21

Allan
Member
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,909
Website

Re: package containing startx

tavianator wrote:

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.

Offline

#8 2009-12-11 03:13:09

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,443
Website

Re: package containing startx

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 StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#9 2009-12-11 03:57:25

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: package containing startx

Allan: Oops yeah, daily.

Xyne:  That would be pretty cool actually.  I've never lost a DB but I can see it happening.

Offline

#10 2009-12-11 06:09:34

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,443
Website

Re: package containing startx

tavianator wrote:

Xyne:  That would be pretty cool actually.  I've never lost a DB but I can see it happening.

http://bbs.archlinux.org/viewtopic.php?id=86562


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#11 2009-12-11 13:05:13

tekknokrat
Member
Registered: 2008-07-17
Posts: 15

Re: package containing startx

thx for the fast responses. xorg-xinit seems not to be a default dependency for xorg-server. I also setup pkgfile, nice hint.

Offline

Board footer

Powered by FluxBB