Re: xmodmap doesn't before pressing any button keyboard

2021-07-18 Thread stuebinm
I also use EXWM, and made good experiences with setting keyboard 
remapping options directly in my system's config.scm (via the :options 
of keyboard-layout, which sets XKB options; see the manual for examples: 
https://guix.gnu.org/de/manual/en/html_node/Keyboard-Layout.html).


However, I just use it to remap capslock to escape (for vim/evil-mode), 
so if you need more, I'm not sure if it'll work for you — I've never 
used xmodmap, I'm not sure if you can do everything using XKB options 
that xmodmap can do — at first glance xmodmap seems more general.


~stuebinm

On 18.07.21 16:41, Akib Azmain Turja wrote:

I have setup my Emacs iwth EXWM.  I am trying to remap several keys to
avoid repetitive strain injury (RSI), also known as Emacs pinky.  To
accomplish that, I am using xmodmap.  It works perfectly when I invoke
the command directly.  However it doesn't work when I put it in Emacs
startup files.  After several days of research, I discovered that
xmodmap only works when I have pressed atleast one key in my keyboard.
Any solutions?





OpenPGP_signature
Description: OpenPGP digital signature


Re: guix system docker-image: nix not found

2021-05-09 Thread stuebinm

On Sun, May 09, 2021 at 08:58:59PM +0200, stuebinm wrote:

When trying with dummy values (taken from my own system config),
`guix system docker-image system.scm` fails to build the
guix-docker-image.tar.gz.drv, and the build log contains

   /gnu/store/...bash-5.0.16/bin/bash: nix: command not found


It would help if you sent the entire log file as an attachment.


nevermind; I thought that /was/ the entire logfile, but it turns out 
that I had the emacs nix-mode installed, which recognised the logfile as 
a derivation and tried to call nix to parse it, and apparently its 
failure mode (since I don't have nix installed) was to write its own 
stderr into the buffer without giving any indication that wasn't the 
real content of the file …


The actual logfile is of the vm running out of memory, which is a known 
issue [1]; I'll look into how to solve that.


Sorry for the unnecessary message, but thanks anyways for responding :)

~stuebinm

[1] https://issues.guix.gnu.org/48178



OpenPGP_signature
Description: OpenPGP digital signature


guix system docker-image: nix not found

2021-05-09 Thread stuebinm

Hi all,

I've been playing around with docker containers and guix (both to 
package software, and to eventually fit "building guix packages" into a 
docker-based CI pipeline).


The guix manual mentions that apart from `guix pack`, `guix system` can 
also build docker images of whole system configs, which seemed fitting, 
but it lacks an example, and I'm a bit unclear on some points. In 
particular, I don't know what to set for the bootloader and file-systems 
options in the system config, as neither really applies to a docker 
container (I tried not setting them at all, but guix doesn't allow that).


When trying with dummy values (taken from my own system config),
`guix system docker-image system.scm` fails to build the
guix-docker-image.tar.gz.drv, and the build log contains

  /gnu/store/...bash-5.0.16/bin/bash: nix: command not found

which doesn't really help.

I'm on a current guix system, i.e. `guix describe` gives:

  guix 069399e
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 069399ee9dbf75b7c89583f03346a63b2cfe4ac6

Thanks!

~stuebinm

[1] https://guix.gnu.org/manual/en/html_node/Invoking-guix-system.html



OpenPGP_signature
Description: OpenPGP digital signature


guix workflow not found?

2021-04-28 Thread stuebinm

Hi,

(I hope this is the right place for this question)

I'm on a newly installed Guix machine, and have done the following:

  guix pull
  guix install gwl
  guix workflow

The output of the last is:

  guix: workflow: command not found
  Try `guix --help' for more information

As far as I can see from the gwl installation instructions [1], this 
should work out of the box. However, from inside guix repl I also cannot 
load the (guix scripts workflow) module, so I assume that perhaps the 
GUIX_EXTENSIONS_PATH variable is set incorrectly, even if it says it 
shouldn't be necessary to set it manually when on a guix system (I don't 
really know what to set it to, however ...).


But I'm relatively new to both guix and guile, so I may have also just 
missed something obvious. Can anyone help me out?


Thanks!

~stuebinm

[1] https://guixwl.org/manual/html_node/Installation.html#Installation



OpenPGP_signature
Description: OpenPGP digital signature