From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, NICE_REPLY_A,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 25603 invoked from network); 24 Aug 2022 05:03:47 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 24 Aug 2022 05:03:47 -0000 Received: from mail.posixcafe.org ([45.76.19.58]) by 9front; Wed Aug 24 01:02:24 -0400 2022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posixcafe.org; s=20200506; t=1661317340; h=from:from: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; bh=FD4npBe35GsE0J2rvCxDHu1cA0I8zrmasgTnFu8U+OE=; b=X+QVuOtr+bHljiJ5azgPNPVJ4JoU9MyZACUc2n900ftZ6ImCBmitClQPneUbKyaKPhoxGM pwPD2ickAyDjFB3ivsqyUPVfo0uRM7c655yb65yP9S7FttGoN62Y9C4zhBZLIeOG5Os7Rl A3xoI6HClpJCdu08osFlmsxAISHFAoo= Received: from [192.168.168.200] (161-97-228-135.mynextlight.net [161.97.228.135]) by mail.posixcafe.org (OpenSMTPD) with ESMTPSA id 46fc9d0a (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <9front@9front.org>; Wed, 24 Aug 2022 00:02:20 -0500 (CDT) Message-ID: <8885320d-32ec-c2a4-a9d5-45f00dae080a@posixcafe.org> Date: Tue, 23 Aug 2022 23:02:18 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Content-Language: en-US To: 9front@9front.org References: <8ECB371116CD8727E72BFEDF79BC5405@eigenstate.org> From: Jacob Moody In-Reply-To: <8ECB371116CD8727E72BFEDF79BC5405@eigenstate.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: proven progressive cloud-based proxy Subject: Re: [9front] [PATCH] programmable menus for rio Reply-To: 9front@9front.org Precedence: bulk On 8/23/22 20:46, ori@eigenstate.org wrote: > Quoth Jacob Moody : >> Something I've been playing with is a way of exposing part of the rio >> menu to the programs running within it. This is a bit of a simple >> approach, but I would like to gauge interest that people have in >> something along these lines before continuing. >> >> This adds a /dev/menu file that can be written to >> to add new entries to the button3menu. The file >> can be read to get the text string of an added >> menu entry when hit by the user. >> >> Thanks, >> moody >> > > It seems like an interesting trick -- but, the > programs that might use it would already likely > be graphical, no? > Switching languages via special character in ktrans doesn't feel quite right to me. I wanted a graphical way of switching them, and it seemed like something I wanted on the rio menu. I considered making ktrans itself graphical, but then this complicates combining it with other filters. This was the next step in iterating ways of getting something I liked. Perhaps ktrans is special in this regard. I think it could be generalized to programs that are aiming to kind of slot in to rio instead of run as a graphic program like ktrans is. Maybe the solution is that ktrans serves an interface like kbdmap optionally with a flag or the like. Just kind of thinking aloud here.