all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bone Baboon <bone.baboon@disroot.org>
To: Julien Lepiller <julien@lepiller.eu>
Cc: help-guix@gnu.org
Subject: Re: How to create a service for contents of arbitrary file
Date: Sat, 10 Apr 2021 00:18:48 -0400	[thread overview]
Message-ID: <87zgy6epqv.fsf@disroot.org> (raw)
In-Reply-To: <3F5B823B-3B83-42DB-AFBE-5966CBB66E71@lepiller.eu>

I have been able to execute this command
`echo "0" > /sys/class/graphics/fbcon/cursor_blink`
with a system that was using `runit` as it's initialization
system. The command was executed during stage 1 of runit's system
initialization. 
http://smarden.org/runit/runit.8.html

Is there an equivalent to runit's stage 1 for Shepherd?

Julien Lepiller writes:

> I think this is because you cannot replace a file a /sys like guix tries to. Instead, it seems you can set a linux kernel argument on the command line run by grub at startup. According to the internet, that would be "vt.global_cursor_default=0"
>
> You can set it up in your config by adding a kernel-arguments field to you operating-system declaration, like this:
>
> (operating-system
>   (kernel-arguments (cons "vt.global_cursor_default=0" %default-kernel-argumentt)))

Thank you for bringing this kernel argument to my attention.

It looks like there are three settings to choose from:
https://www.kernel.org/doc/html/v4.15/admin-guide/kernel-parameters.html

`-1` and `1` both are blinking cursors. `0` is no cursor at all.  The
challenge with no cursor at all is that it lacks the visual feedback of
where the cursor is located.


  reply	other threads:[~2021-04-10  4:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-07  4:11 How to create a service for contents of arbitrary file Bone Baboon
2021-04-07 11:12 ` Julien Lepiller
2021-04-07 14:12   ` Gary Johnson
2021-04-08 23:26     ` Bone Baboon
2021-04-08 23:46   ` Bone Baboon
2021-04-09  0:06     ` Julien Lepiller
2021-04-10  4:18       ` Bone Baboon [this message]
2021-04-10 10:50         ` Julien Lepiller
2021-04-14 23:22           ` Bone Baboon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zgy6epqv.fsf@disroot.org \
    --to=bone.baboon@disroot.org \
    --cc=help-guix@gnu.org \
    --cc=julien@lepiller.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.