* see which X11 config is being used
@ 2022-04-27 9:20 Théo Maxime Tyburn
2022-04-30 16:21 ` Kaelyn
0 siblings, 1 reply; 5+ messages in thread
From: Théo Maxime Tyburn @ 2022-04-27 9:20 UTC (permalink / raw)
To: guix-devel
Hi,
I would like to look at the final config file for xorg that was generated in
the system definition. I looked into
/var/guix/profiles/system/profile/share/X11/ with no success. Where
could I find it ? Could it also be possible to generate it directly in
scheme in the guix repl ?
Best,
Théo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: see which X11 config is being used
2022-04-27 9:20 see which X11 config is being used Théo Maxime Tyburn
@ 2022-04-30 16:21 ` Kaelyn
2022-05-03 9:07 ` Théo Maxime Tyburn
0 siblings, 1 reply; 5+ messages in thread
From: Kaelyn @ 2022-04-30 16:21 UTC (permalink / raw)
To: Théo Maxime Tyburn; +Cc: guix-devel
------- Original Message -------
On Friday, April 29th, 2022 at 6:08 AM, Théo Maxime Tyburn <theo.tyburn@gmail.com> wrote:
> Hi,
>
> I would like to look at the final config file for xorg that was generated in
> the system definition. I looked into
> /var/guix/profiles/system/profile/share/X11/ with no success. Where
> could I find it ? Could it also be possible to generate it directly in
> scheme in the guix repl ?
>
> Best,
>
> Théo
Hi Théo,
I'm not sure about a more direct way of determining the path to the final xorg config (I'm still trying to learn/discover how to find the right path to various generated configs like that where there are multiple versions in /gnu/store), but if you've (attempted to) run xorg with your current system profile you can find the paths in /var/log/Xorg.0.log. For example, lines 14-16 of my Xorg.0.log:
[ 30.068] (++) Using config file: "/gnu/store/w1zvqxc4vzkifpjrs07is7qs3h3x3g1x-xserver.conf"
[ 30.068] (++) Using config directory: "/gnu/store/srgk57icx1mv689ildw2937ik6pyw9q3-xorg.conf.d"
[ 30.068] (==) Using system config directory "/gnu/store/hllpqzv60p9vakrb2p98fvfksdqwcc9j-xorg-server-21.1.2/share/X11/xorg.conf.d"
HTH!
Cheers,
Kaelyn
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: see which X11 config is being used
2022-04-30 16:21 ` Kaelyn
@ 2022-05-03 9:07 ` Théo Maxime Tyburn
2022-05-23 15:12 ` Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: Théo Maxime Tyburn @ 2022-05-03 9:07 UTC (permalink / raw)
To: Kaelyn; +Cc: guix-devel
Hi Kaelyn,
thanks, that helped! I just learned by scrolling the guix-devel archives
that log files are conventionaly gathered in /var/log in guix. I wasn’t
aware of that. Is it documented somewhere ?
Cheers,
Théo
Kaelyn <kaelyn.alexi@protonmail.com> writes:
> ------- Original Message -------
> On Friday, April 29th, 2022 at 6:08 AM, Théo Maxime Tyburn <theo.tyburn@gmail.com> wrote:
>
>
>> Hi,
>>
>> I would like to look at the final config file for xorg that was generated in
>> the system definition. I looked into
>> /var/guix/profiles/system/profile/share/X11/ with no success. Where
>> could I find it ? Could it also be possible to generate it directly in
>> scheme in the guix repl ?
>>
>> Best,
>>
>> Théo
>
>
> Hi Théo,
>
> I'm not sure about a more direct way of determining the path to the
> final xorg config (I'm still trying to learn/discover how to find the
> right path to various generated configs like that where there are
> multiple versions in /gnu/store), but if you've (attempted to) run
> xorg with your current system profile you can find the paths in
> /var/log/Xorg.0.log. For example, lines 14-16 of my Xorg.0.log:
>
> [ 30.068] (++) Using config file: "/gnu/store/w1zvqxc4vzkifpjrs07is7qs3h3x3g1x-xserver.conf"
> [ 30.068] (++) Using config directory: "/gnu/store/srgk57icx1mv689ildw2937ik6pyw9q3-xorg.conf.d"
> [ 30.068] (==) Using system config directory
> "/gnu/store/hllpqzv60p9vakrb2p98fvfksdqwcc9j-xorg-server-21.1.2/share/X11/xorg.conf.d"
>
> HTH!
>
> Cheers,
> Kaelyn
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: see which X11 config is being used
2022-05-03 9:07 ` Théo Maxime Tyburn
@ 2022-05-23 15:12 ` Ludovic Courtès
2022-05-23 19:11 ` Théo Maxime Tyburn
0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2022-05-23 15:12 UTC (permalink / raw)
To: Théo Maxime Tyburn; +Cc: Kaelyn, guix-devel
Hi,
Théo Maxime Tyburn <theo.tyburn@gmail.com> skribis:
> thanks, that helped! I just learned by scrolling the guix-devel archives
> that log files are conventionaly gathered in /var/log in guix. I wasn’t
> aware of that. Is it documented somewhere ?
I don’t think it’s documented; it’s a traditional Unix convention I
think. Perhaps we should explain it somewhere in the manual, maybe next
to ‘syslog-service-type’?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: see which X11 config is being used
2022-05-23 15:12 ` Ludovic Courtès
@ 2022-05-23 19:11 ` Théo Maxime Tyburn
0 siblings, 0 replies; 5+ messages in thread
From: Théo Maxime Tyburn @ 2022-05-23 19:11 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: Kaelyn, guix-devel
Hi,
Ludovic Courtès <ludo@gnu.org> writes:
> Hi,
>
> Théo Maxime Tyburn <theo.tyburn@gmail.com> skribis:
>
>> thanks, that helped! I just learned by scrolling the guix-devel archives
>> that log files are conventionaly gathered in /var/log in guix. I wasn’t
>> aware of that. Is it documented somewhere ?
>
> I don’t think it’s documented; it’s a traditional Unix convention I
> think.
Yes it seems indeed. I have somehow missed that.
>Perhaps we should explain it somewhere in the manual, maybe next
> to ‘syslog-service-type’?
What about:
Following the Unix tradition, logs are generally put in
/var/log/. This is for exemple the case for the logs from Xorg, slim, mcron, lightdm,
gdm, and docker.
I am not sure where to put it though. Under Services for sure. Near syslog could make sense
but at the same time it is not where I would have looked. Also syslog
doesn’t determines where logs from all these programs are put. Or does
it? If not, maybe it could have a place directly on the Services page.
This is the content of %default-syslog.conf
--8<---------------cut here---------------start------------->8---
# Log all error messages, authentication messages of
# level notice or higher and anything of level err or
# higher to the console.
# Don't log private authentication messages!
*.alert;auth.notice;authpriv.none /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none /var/log/messages
# Like /var/log/messages, but also including "debug"-level logs.
*.debug;mail.none;authpriv.none /var/log/debug
# Same, in a different place.
*.info;mail.none;authpriv.none /dev/tty12
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* /var/log/maillog
--8<---------------cut here---------------end--------------->8---
Or maybe it could be even better to have a page where all the
similarities and particularities of guix are listed. Like what follows
the Unix convention and what doesn’t. Maybe the list of what follows
the Unix convention would be too long, but the particuliarities would
surely be nice to have.
>
> Thanks,
> Ludo’.
Cheers,
Théo
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-05-23 20:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-27 9:20 see which X11 config is being used Théo Maxime Tyburn
2022-04-30 16:21 ` Kaelyn
2022-05-03 9:07 ` Théo Maxime Tyburn
2022-05-23 15:12 ` Ludovic Courtès
2022-05-23 19:11 ` Théo Maxime Tyburn
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.