From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WJwnKj83gGJC+AAAbAwnHQ (envelope-from ) for ; Sun, 15 May 2022 01:11:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6NIgKT83gGLyZgAAG6o9tA (envelope-from ) for ; Sun, 15 May 2022 01:11:59 +0200 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 A57C715C47 for ; Sun, 15 May 2022 01:11:58 +0200 (CEST) Received: from localhost ([::1]:42818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nq0vV-0000ao-Sp for larch@yhetil.org; Sat, 14 May 2022 19:11:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nq0vI-0000aA-5j for help-guix@gnu.org; Sat, 14 May 2022 19:11:44 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:48208) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nq0vG-0003km-BF for help-guix@gnu.org; Sat, 14 May 2022 19:11:43 -0400 Received: from shelob.hcoop.net ([68.183.54.165] helo=webmail.hcoop.net) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nq0vF-0003Kg-8l for help-guix@gnu.org; Sat, 14 May 2022 19:11:41 -0400 MIME-Version: 1.0 Date: Sun, 15 May 2022 01:11:41 +0200 From: =?UTF-8?Q?=E7=99=BD=E3=81=84=E7=86=8A?= To: help-guix@gnu.org Subject: Re: IceWM for Guix System In-Reply-To: <48ceb9537c994d00dbed9071dae70824@sumou.com> References: <2178a6486451e86e18de745bfae1a61c@sumou.com> <878rr5eta2.fsf@gmail.com> <48ceb9537c994d00dbed9071dae70824@sumou.com> User-Agent: Roundcube Webmail/1.4.7 Message-ID: X-Sender: help-guix_gnu.org@sumou.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=104.248.1.95; envelope-from=help-guix_gnu.org@sumou.com; helo=minsky.hcoop.net X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_00=-1.9, LONGWORDS=2.035, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652569918; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=eDloqlw2Iw/Zt9T6QQ9otiaRGJpaPJ8f7FDDNgDQWdw=; b=IvNsqdZweJtN495oOxiyG22AuDtlqbxieRsqhhu6eHYOS8Vv1M7HNgPLcHLFyji3PrAl1a A+kAdBVSOqGvM3NbV2v/4US4NPGjCMp9zbazrZHhu+Arfj4Hj2SsOqcdTaT0XqiLWPmzxO nx8FALL190OUg6EZc4lX0rKzeNS5qYUe8+vqJ5lTTylKWstkGmZho2klRtRGPKc4sRt+5a cjSVXGoSBxj9RkJ0sE+hL118t3DPODVEhD+uM0YyqUSAahMgPfDmI0mw4JUTDEgor7T51A JrrPI35qOevHWjgpJYLmZu5kCdvLHXSFqfbb4G8PDHz3FKPHB+9tasxzYbn36w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652569918; a=rsa-sha256; cv=none; b=QRz1GsNroi77tiwq+6jI8n9K2KhBFKi3w7Hr7prsHKk1yny10JCRfMCUhGpK8bMqmMoq8v 0d/Gg42/A4RfyPn/QkUaDGnfCgFTu8qADassbOFGMsvcGS/HmTu44M1/byvX2Lq4W6WeWn nuD5aAH1nA3izhL+adjKnej0imWeqRDmuplV2tyTxT6hgWe3vQmcd1IhtK/MaMSA64kmFU YAlB0xxP12k4HO75F7963ltY3vfR0K+6IKJXg6a2ebC0M5incqMfek05p2j+3CQDwsRt/C BiBHgY9YjmuQvI2Dtah0XhWTzKDR6jBTBaHDWkvAnP2LMMGCm4OAV4vDLrRkXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.83 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A57C715C47 X-Spam-Score: -2.83 X-Migadu-Scanner: scn1.migadu.com X-TUID: jW/TQEDobohu On 2022-05-14 23:38, 白い熊 wrote: > Now I need to cons some icewm-desktop-service-type onto > %desktop-services in system config - am trying to find out how to > define it and where - so that I'd be able to reconfigure the system > and have icewm as one of the options for login among the available > session managers, so X could start a session in it. I think I figured it out - at least partially - it's really fun... Anyhow I added a #phases modification to the package definition, setup a local directory channel with the package definition. Then could add the package module and the icewm package to system config, reconfigure and it's there with other WMs. This is what I ended up with for reference: --8<---------------cut here---------------start------------->8--- (define-module (icewm) #:use-module (guix packages) #:use-module (gnu packages) #:use-module (guix build-system gnu) #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages autogen) #:use-module (gnu packages autotools) #:use-module (gnu packages compression) #:use-module (gnu packages fontutils) #:use-module (gnu packages fribidi) #:use-module (gnu packages gettext) #:use-module (gnu packages image) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages xorg) ) (define-public icewm (package (name "icewm") (version "2.9.7") (source (origin (method url-fetch) (uri (string-append "https://github.com/ice-wm/icewm/releases/download/2.9.7/icewm-" version ".tar.lz")) (sha256 (base32 "0an7h55sacikkvb7llz2n93dl7xds24ics8mqzmznjddygiphpy2")))) (build-system gnu-build-system) (arguments `(#:tests? #f #:phases (modify-phases %standard-phases (add-after 'install 'install-xsession (lambda* (#:key outputs #:allow-other-keys) ;; Add a .desktop file to xsessions. (let* ((output (assoc-ref outputs "out")) (xsessions (string-append output "/share/xsessions"))) (mkdir-p xsessions) (call-with-output-file (string-append xsessions "/icewm.desktop") (lambda (port) (format port "[Desktop Entry]~@ Name=icewm~@ Comment=IceWM window manager~@ Exec=~a/bin/icewm~@ TryExec=~@*~a/bin/icewm~@ Type=Application~%" output))) #t)))))) (inputs (list fontconfig fribidi imlib2 libice libjpeg-turbo libsm libxcomposite libxdamage libxext libxfixes libxft libxinerama libxpm libxrandr libxrender libx11 lzip perl pkg-config)) (home-page "https://ice-wm.org/") (synopsis " window manager for the X Window System") (description "IceWM is a window manager for the X Window System. The goal of IceWM is speed, simplicity, and not getting in the user’s way. It comes with a taskbar with pager, global and per-window keybindings and a dynamic menu system. Application windows can be managed by keyboard and mouse. Windows can be iconified to the taskbar, to the tray, to the desktop or be made hidden. They are controllable by a quick switch window (Alt+Tab) and in a window list. A handful of configurable focus models are menu-selectable. Setups with multiple monitors are supported by RandR and Xinerama. IceWM is very configurable, themeable and well documented. It includes an optional external background wallpaper manager with transparency support, a simple session manager and a system tray.") (license license:gpl2))) --8<---------------cut here---------------end--------------->8--- It might be incomplete though - maybe it's lacking some services or something, as the IceWM that starts up now does not have full Settings options - like Display settings for instance - as the IceWM from Ubuntu Mate has on the same machine from a parallel boot. It might be due to some concrete configurations etc - I'll explore. Or it might be due to having not declared something helpful in the package definition... If anyone has ideas, I'll be happy to hear those and test them... --- Best regards / 宜しく御願い致します / S pozdravem / C уважением / Z poważaniem / Mit freundlichen Grüßen 白い熊 ShiroiKuma