From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yJkPDEAncWDqFgEAgWs5BA (envelope-from ) for ; Sat, 10 Apr 2021 06:19:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YFbLBUAncWB6XAAAbx9fmQ (envelope-from ) for ; Sat, 10 Apr 2021 04:19:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 362DD1B37F for ; Sat, 10 Apr 2021 06:19:11 +0200 (CEST) Received: from localhost ([::1]:52776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lV55Q-0003ml-Mh for larch@yhetil.org; Sat, 10 Apr 2021 00:19:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lV55H-0003mY-9M for help-guix@gnu.org; Sat, 10 Apr 2021 00:18:59 -0400 Received: from knopi.disroot.org ([178.21.23.139]:51490) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lV55C-0007zN-2O for help-guix@gnu.org; Sat, 10 Apr 2021 00:18:58 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B2B3B50D0E; Sat, 10 Apr 2021 06:18:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1qBPIEJe_VFH; Sat, 10 Apr 2021 06:18:50 +0200 (CEST) References: <87a6qag2dh.fsf@disroot.org> <5F18EF49-1BC9-49E3-AEC7-21B7C8361F52@lepiller.eu> <874kggfigv.fsf@disroot.org> <3F5B823B-3B83-42DB-AFBE-5966CBB66E71@lepiller.eu> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1618028330; bh=z/4m0XidgdA2MXpQtocn9oF64XxPneZZu05nKXi/fhY=; h=References:From:To:Cc:Subject:In-reply-to:Date; b=GtHaPrdw6lloBX+qUbHOA34XPIA5396UXN8p1Hall/H5EqQ5uRcyLuC6BMIorAgG8 Uicb3gYHJoBa+wQSJFSqMYkkgyShJF6HWP2938Nira94yDzbTbvloJXhSm/64/tbQz JZB4kX4InpGKf/sRMHdRT/9b+WZ8mCjnTtVoI1+VyMgluptKH3pFvhd/4+BlIGrL93 UtCHKpx690oaxLtIKrv0Kybfh4aQ9QhDZ4iO6+c1KR0tqapC0nt83VMkorlWMVnnKF cHKiiSbvNdJlRHohAWkgcZPYKcPnMkfaJoJOj3ICYT1rnO3F0g+ifd/p1kizlN4SCg +m3CWcU+dm4oQ== From: Bone Baboon To: Julien Lepiller Cc: help-guix@gnu.org Subject: Re: How to create a service for contents of arbitrary file In-reply-to: <3F5B823B-3B83-42DB-AFBE-5966CBB66E71@lepiller.eu> Date: Sat, 10 Apr 2021 00:18:48 -0400 Message-ID: <87zgy6epqv.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=bone.baboon@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618028351; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=WXA8+PNa7Un/uolXxYJp+KX9ukASP2qpF0C9UHBScVg=; b=fWjICIaVs6RewcCpGgb6ajQMFdguEcjklNa9rSAvmxqVte+skL4pd/h36fwz1FUheF/OiY 3v2/Pmm2i5iI4EBrathtDZ0ZxPDkIQCjMUF5XfiETb1l8VCq2J7nBAIa4derdLTV1wwcii yiPBx8sUqWmljJ1jCbkhmqVuA3U7HM5d1+EJpRin8b8djn6f9coqoFtRhR+IcA29eNlK5/ GscFXi9oiJXTu+0SgMmc+mgJQ8si+quwVps6imGPQP5JJMuLdLEzy51+lbH+7hTVKU/+xf hGEHbeaXu8pCMZfrADhKc0GII7XaBwhfpazTOwe//hWly8UL3Uo6wPq+ApWNLg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618028351; a=rsa-sha256; cv=none; b=m8cOwok0ETZUjJhNb4vZghTa1Vx330c4DGO0uGOlqYcL60NGUndVNHlzUowyMhiOo1nab6 wcqAoWmhD7N5HD6dQVUpgIVXsRuIw6m+F3NKLPPQ/Dxb93hYm2yXf0FfXLOJou64x4k+Ft NctUskdQTNZF9ZgvRdSNOwZhsMEKTmaZFmiD3VPqFSjjBICKNn/3PIgEnuv0PNqNMUxbFJ OubW7+sid6gohyjnIBVadF6E7MJ5iU5/6dS6PU7pebG0/U8hBxZzCG10sg007TPLS1HPfS qRl+5QswbPlbF3MlcSMzONwWn21L3mgpLUh6YtSecOb+i1EEtQQ8asETdh3Vmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=GtHaPrdw; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=GtHaPrdw; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 362DD1B37F X-Spam-Score: -1.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: I1YA1ifK98D6 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.