Re: simple song named "Guix"

2024-05-03 Thread Luis Felipe

Hi Gottfried,

El 3/05/24 a las 10:36, gfp escribió:

Hi Guix,

I am not a musician.

I understand almost nothing about music.

But God gave me a song with two different texts.
One text is for praising God,
the second text for supporting Guix / free software,

which is my contribution to free software.


That's alright by me :)




I don’t know much about the history of Guix,
so I beg your pardon,
if somebody dislikes the text
or if I have annoyed someone.
Changes are welcome.

An English native speaker,
or somebody who knows English well
and has some poetic and rhyming skills
can change the text to a nicer one.
Proposals are welcome, as it is in Guix:
teamwork brings the best results.


[...]

To make it easier for others to make those kinds of changes or any 
derivative work of your song, you can use, for example, a Creative 
Commons license (https://creativecommons.org/). They provide a tool to 
help you chose a license for your work: 
https://chooser-beta.creativecommons.org/.




I have no audio interface and don’t know how to use it in Guix.
Guix's blog has one post about music production that might be useful to 
you: https://guix.gnu.org/en/blog/2020/music-production-on-guix-system/


Anyways, licensed or not, I appreciate your gesture with this song :)

Cheers,



OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Gottfried Preihs hat »"Guix" song« mit dir geteilt

2024-05-02 Thread Luis Felipe

El 2/05/24 a las 20:14, keine-antwort-adresse--- via escribió:

Gottfried Preihs hat »"Guix" song« mit dir geteilt.

Öffne »"Guix" song«: https://www.mytuxedo.de/index.php/s/6PybfLjTx7LJNKr


Nice :) Thanks for sharing, Gottfried.

Speaking of sharing, do you plan to release it as a free cultural work 
(https://freedomdefined.org/)?





OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Pinyin in GNOME

2024-04-24 Thread Luis Felipe

Hello again,

El 22/04/24 a las 12:59, Luis Felipe escribió:

Hi Felix,

El 22/04/24 a las 0:47, Felix Lechner via escribió:

Hi Tomas,

On Mon, Nov 06 2023, Tomas Volf wrote:


Not sure about pinyin, but for ibus I need to set

 (simple-service
  'im-env-vars home-environment-variables-service-type
  '(("GTK_IM_MODULE" . "ibus")
   ("QT_IM_MODULE" . "ibus")
   ("XMODIFIERS" . "@im=ibus")
    ;; TODO: Are these still required?  If yes, try to get rid 
of them.

   ("GUIX_GTK2_IM_MODULE_FILE"
 . 
"$HOME/.guix-home/profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache")

   ("GUIX_GTK3_IM_MODULE_FILE"
 . 
"$HOME/.guix-home/profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache")))

That works locally under EXWM, but have been unable to get ibus working
under GNOME.  Would someone please post a complete recipe, including
what to install in which profile, and whether to start GNOME in X or
Wayland?


I use GNOME in X. In my system configuration I have this package:

  #| NOTE: I'd like to have ibus available to all users by default,

  but last time I checked, this didn't work as expected and I still
  had to install it in user profiles. |#
  (specification->package "ibus")

In the manifest for my user profile I have these packages:

  "ibus"
  "ibus-anthy"
  "ibus-libhangul"
  "ibus-libpinyin"
  "ibus-speech-to-text"

In my ~/.profile file I export these variables:

  # GUIX RELATED VARIABLES TO WORK AROUND BUG #35610
  # https://issues.guix.gnu.org/issue/35610
  # export 
GUIX_GTK2_IM_MODULE_FILE="$HOME/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache"
  export 
GUIX_GTK3_IM_MODULE_FILE="$HOME/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache"

  # These are needed only to work on Qt apps like TeXmacs.
  export XMODIFIERS="@im=ibus"  # Set X input method server (xim) to 
ibus.

  export QT_IM_MODULE="ibus"    # Set Qt input method module to ibus.

Finally, every time I start a GNOME desktop session, I have to run the 
following:


  ibus-daemon -drx

I input Japanese reliably using this. I don't use the other input 
methods often, but they work, as far as I can see.


Hope that helps,


Just to add that I upgraded my system to guix e2ba933 today, started the 
new GNOME 44.10 (Wayland) and I still can use ibus input methods 
normally with those same settings.




OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Pinyin in GNOME

2024-04-22 Thread Luis Felipe

Hi Felix,

El 22/04/24 a las 0:47, Felix Lechner via escribió:

Hi Tomas,

On Mon, Nov 06 2023, Tomas Volf wrote:


Not sure about pinyin, but for ibus I need to set

 (simple-service
  'im-env-vars home-environment-variables-service-type
  '(("GTK_IM_MODULE" . "ibus")
   ("QT_IM_MODULE" . "ibus")
   ("XMODIFIERS" . "@im=ibus")
;; TODO: Are these still required?  If yes, try to get rid of them.
   ("GUIX_GTK2_IM_MODULE_FILE"
 . "$HOME/.guix-home/profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache")
   ("GUIX_GTK3_IM_MODULE_FILE"
 . "$HOME/.guix-home/profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache")))

That works locally under EXWM, but have been unable to get ibus working
under GNOME.  Would someone please post a complete recipe, including
what to install in which profile, and whether to start GNOME in X or
Wayland?


I use GNOME in X. In my system configuration I have this package:

  #| NOTE: I'd like to have ibus available to all users by default,

  but last time I checked, this didn't work as expected and I still
  had to install it in user profiles. |#
  (specification->package "ibus")

In the manifest for my user profile I have these packages:

  "ibus"
  "ibus-anthy"
  "ibus-libhangul"
  "ibus-libpinyin"
  "ibus-speech-to-text"

In my ~/.profile file I export these variables:

  # GUIX RELATED VARIABLES TO WORK AROUND BUG #35610
  # https://issues.guix.gnu.org/issue/35610
  # export 
GUIX_GTK2_IM_MODULE_FILE="$HOME/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache"
  export 
GUIX_GTK3_IM_MODULE_FILE="$HOME/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache"

  # These are needed only to work on Qt apps like TeXmacs.
  export XMODIFIERS="@im=ibus"  # Set X input method server (xim) to ibus.
  export QT_IM_MODULE="ibus"    # Set Qt input method module to ibus.

Finally, every time I start a GNOME desktop session, I have to run the 
following:


  ibus-daemon -drx

I input Japanese reliably using this. I don't use the other input 
methods often, but they work, as far as I can see.


Hope that helps,


OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: file transfer

2024-04-07 Thread Luis Felipe

Hi gfp,

El 7/04/24 a las 10:41, gfp escribió:

Hi Guix,

if I want to transfer a file, because in Thunderbird/Email it doesn't 
work at the moment,

what are good possibilities?


If I were to send the file to another person, I'd try any of these

1. Use a web mail client
2. Try another desktop client (Geary, Evolution, ...)
3. Check if the other person uses Jami and send them the file

If I were to send the file to machines under my control

1. Use a USB stick or SD card (for local machines)
2. Use SSH plus rsync (for local or remote machines)

Also, for what it's worth, I'm on a Guix System with guix 76a3414, which 
provides Icedove 102.15.0 (64-bit), and I can attach files normally.




OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: [META] How to effectively ask for help with Guix?

2024-01-03 Thread Luis Felipe

El 3/01/24 a las 4:30, Ian Eure escribió:


I’d also note that the last three weeks are typically a much slower 
time of year for people in the US due to the holidays, and that almost 
certainly means that you’ll get slower responses (if any) for this 
type of thing.
I'd even say that this applies to continental America in general (and 
maybe parts of Europe too). It feels like a Sunday.


OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: A simple question about the Guix logo.

2023-12-28 Thread Luis Felipe

Hi DieRosedesNordens, Tobias,

El 28/12/23 a las 19:11, Tobias Geerinckx-Rice escribió:

Dear me,

On 26 December 2023 14:19:32 UTC, DieRosedesNordens via  
wrote:

It is notorious that the logo of this operating system called Guix is a letter 
V with a pair of horns on the sides.

You've been bamboozled.  There are no letters or other occult symbols hidden in 
the Guix logo.  Only a stylised gnu, as a nod to the GNU logo.


Ha, yeah, it is a stylized head of a young wildebeest. After drawing 
some thumbnails, I decided I wanted a simple shape, and the V shape 
worked for me when I started digitizing the idea, that's all.


Exploration thumbnails: 
https://luis-felipe.gitlab.io/media/2015/guixsd-logo-thumbnails.png


But you can read it as «V for Victory» or «Victorious Guix» if you want, 
I wouldn't mind :)





OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Evolution can't connect to mail server

2023-10-06 Thread Luis Felipe

El 5/10/23 a las 19:34, Caleb Herbert escribió:

Luis Felipe  wrote ..

As Roman suggests, installing the package "evolution-data-server" should
fix the problem.

I added "evolution-data-server" to my list of packages in my home configuration 
and got an error while trying to reconfigure:

Loading /gnu/store/2hwp7i1xn24rlsnwmcc8hpbdynznv4an-shepherd.conf.
herd: error: exception caught while executing 'load' on service 'root':
In procedure fport_write: Input/output error
Comparing /gnu/store/3jphbp9sisp54nshd8dimrnn4lks3p4d-home/profile/share/fonts 
and
   
/gnu/store/3jphbp9sisp54nshd8dimrnn4lks3p4d-home/profile/share/fonts... done 
(same)
Evaluating on-change gexps.

On-change gexps evaluation finished.

Hmm, I can't help with this one, I don't use guix home yet.

I installed it manually with `guix install`. I get a new error in Evolution.

Error while Retrieving folder list for “c...@bluehome.net”.

Source “c...@bluehome.net” doesn’t support prompt for credentials


But this one sounds like a problem with the source (?); maybe you need 
to modify Evolution settings to query the service in another way (?).


If Evolution gives you too much trouble, though, I'd recommend using 
Icedove instead. I've been using it for a long time and have had a good 
experience with it.





Personally, I add this package to my system
configuration because other GNOME apps also depend on it to work
correctly (e.g. GNOME Calendar).

I don't know/remember why "evolution-data-server" is not installed as
part of "gnome-desktop", but this is a known issue. See:

This should really be fixed...

Sorry if I'm being overly critical. I come from Fedora, where things are 
heavily polished.


I understand the frustration. In some areas related to desktop 
computing, moving from Fedora, or any other similar distribution, to the 
Guix System can feel like a downgrade. But that's usually because Guix 
works in a different way, and there are new challenges when it comes to 
incorporating certain software into the whole system, not to mention 
that the volunteer personnel is scarce (although tremendously helpful).


Anyway, I hope you find solutions.

Cheers,



OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Evolution can't connect to mail server

2023-10-05 Thread Luis Felipe

Hi Caleb,

El 5/10/23 a las 16:29, Caleb Herbert escribió:

Guix System, GNOME.

Configured email in Settings > Online Accounts > IMAP and SMTP.

Launched Evolution. Set up email with startup wizard.

Error:

The name org.gnome.evolution.dataserver.Sources5 was not provided by any 
.service files

No mail.


As Roman suggests, installing the package "evolution-data-server" should 
fix the problem. Personally, I add this package to my system 
configuration because other GNOME apps also depend on it to work 
correctly (e.g. GNOME Calendar).


I don't know/remember why "evolution-data-server" is not installed as 
part of "gnome-desktop", but this is a known issue. See:


https://issues.guix.gnu.org/35267
https://issues.guix.gnu.org/38142

Cheers,


OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Using ibus input methods in Emacs GTK+

2023-08-06 Thread Luis Felipe

Hello,

I upgraded my Guix system (currently on 17fadbb) and now I can type 
Japanese again (thanks, 宋文武). However, ibus input methods are working 
everywhere (GTK, GTK+, Qt) except in Emacs GTK+, which is unexpected 
because typing Japanese in Emacs used to just work before.  My current 
workaround is to start "emacs -nw" in a GNOME Console and then I can use 
ibus in it.


I thought that maybe something in Emacs 28.x had changed, but trying on 
a Debian 12 machine, I can use ibus normally in Emacs GTK+ without 
configuring anything.


If you're able to type Japanese (or use ibus input methods in general) 
in Emacs GTK+, did you have to do anything special?


Thanks,

--
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/



OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: ibus + ibus-libpinyin in Gnome

2023-07-20 Thread Luis Felipe

El 19/07/23 a las 21:45, Ricardo Wurmus escribió:

Hi,

Luis Felipe  writes:


The GTK_IM_MODULE environment variable is set to “ibus”.  I export it in
the shell and launch “soffice” or “icecat” from there.

Hmm, I don't have GTK_IM_MODULE set in my ~/.profile (don't remember
why I removed it...). I have these:

# GUIX RELATED VARIABLES TO WORK AROUND BUG #35610
# https://issues.guix.gnu.org/issue/35610
# export
   
GUIX_GTK2_IM_MODULE_FILE="$HOME/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache"
export
GUIX_GTK3_IM_MODULE_FILE="$HOME/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache"

Oh… I remember these from commit 234e7980b54ef37e9a24440ec7219c81d6288a71.
After setting GUIX_GTK3_IM_MODULE_FILE everything is good.

Thank you so much for reminding me about these variables!

I wonder if we can do better here to provide a working configuration out
of the box.  If even the author of the patch to add support for the
GUIX_GTK3_IM_MODULE_FILE variable cannot remember setting it then we
probably cannot expect users of input methods to figure this out by
themselves.

Perhaps some desktop service or home service should exist that sets
these variables for the user (either in /etc/environment or per
session)?


That would be nice. At least for me, as a desktop user, I don't wanna 
know anything about environment variables :)





OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: ibus + ibus-libpinyin in Gnome

2023-07-19 Thread Luis Felipe

Hi Ricardo,

El 18/07/23 a las 21:14, Ricardo Wurmus escribió:

Hi Guix,

I’m still struggling with ibus + ibus-libpinyin on Gnome.
ibus-libpinyin works in the gnome-shell input field, but the input
method doesn’t work in any of the applications such as icecat, console,
or soffice.


Surprisingly, it works for me (I haven't been able to type Japanese for 
months). I tried in icecat and console.



The GTK_IM_MODULE environment variable is set to “ibus”.  I export it in
the shell and launch “soffice” or “icecat” from there.


Hmm, I don't have GTK_IM_MODULE set in my ~/.profile (don't remember why 
I removed it...). I have these:


# GUIX RELATED VARIABLES TO WORK AROUND BUG #35610
# https://issues.guix.gnu.org/issue/35610
# export 
GUIX_GTK2_IM_MODULE_FILE="$HOME/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache"
export 
GUIX_GTK3_IM_MODULE_FILE="$HOME/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache"

# These are needed only to work on Qt apps like TeXmacs.
export XMODIFIERS="@im=ibus"  # Set X input method server (xim) to ibus.
export QT_IM_MODULE="ibus"    # Set Qt input method module to ibus.


ibus and ibus-libpinyin are installed in the system profile as well as
the user profile.  I previously had installed them only in the user
profile, but then added them to the system profile because I want to be
sure that any required environment variables are set in all contexts,
even when launching applications from the Gnome shell.


I install ibus engines in my profile. I tried installing them in the 
system profile, and that never worked for me. But I haven't tried recently.



Do you have any ideas how to best debug this?  I could strace the
applications and see if any of them mention a failure to talk to ibus,
but I’d like to avoid having to sift through all that noisy trace output
for massive GTK applications.


For what it's worth, I was suggested to run the engine directly when I 
was having trouble with ibus-stt 
(https://github.com/PhilippeRo/IBus-Speech-To-Text/discussions/7). So maybe


/gnu/store/1s0p8fk1bgp0v2gv5dgjgpq1v4p3nwji-ibus-libpinyin-1.15.2/libexec/ibus-engine-libpinyin 
--gapplication-replace -g


That helped me fix some ibus-stt errors. (And actually, I see an error 
when running the ibus-anthy engine, which might be why I can't even find 
the engine listed in input options).


Good luck,

--
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/



OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Guix home - 'pinning' ?

2023-06-13 Thread Luis Felipe

Hi Fenix,

El 13/06/23 a las 15:06, Fenix Lopez escribió:
In order to give some more context , may i add the fact that the 
package in question is not being compiled/derived when entering the 
build phase ? In consquence, the whole 'guix home reconfigure' gets 
stopped...


That's the underlaying reason why i was wondering how to pin that 
'offending' package.


   Umh... leaving package version 'pinning' aside, umh...   Is there 
another way to prevent such described scenario ? how to get ' guix 
home reconfigure'


finish the whole process regardless the issue described ?


If I understand correctly, you could add the following option to "guix 
home reconfigure":


-k, --keep-going   keep going when some of the derivations fail




OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: image converter and resizer

2023-03-18 Thread Luis Felipe


El 18/03/23 a las 16:43, Gottfried escribió:

I prefer a graphical programme,
at the moment it is easier for me.


Gottfried, I think the program called photoflare might be close to what 
you want. Try the following:


1. guix install photoflare
2. Start the program
3. In the main menu, go to Tools → Automate/Batch...

You will see a new window opens where you can select all the files you 
want to transform, the transformations you'd like to apply, the folder 
where you want to save the results, and so on.


Using the GIMP graphically for the same purpose seems to require a 
plugin that is not in Guix 
(https://github.com/alessandrofrancesconi/gimp-plugin-bimp/).


Hope that helps.



OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: image converter and resizer

2023-03-18 Thread Luis Felipe

El 18/03/23 a las 11:13, Gottfried escribió:

I need only a small programme
to convert images to a smaller size. (image converter and resizer)

I installed converseen on an other laptop in Trisquel
and it works.
converseen can resize more images at once.


Ah, I see now that converseen is a graphical program for batch 
processing of images. I'm not aware of any equivalent program in Guix.




Imagemagick can only one image resize at once.


No, it does batch processing as well. I don't know what's your exact 
need, but there is an example of batch resizing in 
https://stackoverflow.com/questions/56305138/.




Can gimp resize more images at once?
From a quick search on the Web, it seems it can, but apparently not as 
straightforwardly as with converseen.


OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: image converter and resizer

2023-03-17 Thread Luis Felipe

Ah, Felix beat me to it :)

El 17/03/23 a las 16:55, Felix Lechner via escribió:

Hi Gottfried,

On Fri, Mar 17, 2023 at 9:44 AM Gottfried  wrote:

which package is useful and easy to use to convert and resize images in
Guix?

The generic way to manipulate images in Linux (especially with
scripts) is probably imagemagick, but your time is probably better
spent learning GIMP, if you haven't. It's great!

Kind regards
Felix Lechner



OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: image converter and resizer

2023-03-17 Thread Luis Felipe

El 17/03/23 a las 16:43, Gottfried escribió:

Hi,
which package is useful and easy to use to convert and resize images 
in Guix?

I mean to reduce the size of the photo.


Hi, Gottfried.

You can use imagemagick or GIMP. You can find examples of resizing in 
the following links:


 * https://imagemagick.org/Usage/resize/
 * https://www.gimp.org/tutorials/GIMP_Quickies/

They can also convert between formats and many more things.

Hope that helps,

--
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/



OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: open config.scm with sudo and gedit or emacs

2023-03-12 Thread Luis Felipe

Hello people,

El 12/03/23 a las 11:00, Sergiu Ivanov escribió:

Hi SeerLite,

SeerLite  [2023-03-12T00:42:42+0100]:

On March 11, 2023 2:05:01 PM GMT-03:00, Sergiu Ivanov  
wrote:

Gottfried  [2023-03-11T11:33:33+0100]:

because of my limited knowledge
when opening my config.scm file with sudo
I can do it only with nano

The strategy I personally prefer is to edit a file in my home directory
and then sudo cp to /etc/config.scm.

More concretely, I store my system configuration in
~/.config/guix/system-config.scm. I edit it with Emacs, as I would edit
any other normal file. When I am done editing, I do what essentially is

sudo cp ~/.config/guix/system-config.scm /etc/config.scm

Why not use the configuration from ~/.config directly? Why copy at all? I do

 sudo guix system reconfigure ~/.config/guix/system-config.scm

You are right, it's probably even better.

I prefer keeping my system config in /etc/config.scm because this is
what everyone seems to do, but that's probably a bad reason, supported
by unreliable data :D
I don't think there is any need to edit /etc/config.scm at all (maybe 
something in the manual needs clarification?). Once you have installed 
the Guix System, you can


1. Open /etc/config.scm with any text editor you want
2. Copy its contents and save them to a file in any location in your
   home folder. For example: ~/Documents/my-guix-things/production-os.scm.

From that moment on, you can edit production-os.scm as your regular 
user in any way you like and only use "sudo" to apply the configuration 
to your system:


   guix pull  # Recommended.
   sudo guix system reconfigure
   ~/Documents/my-guix-things/production-os.scm

You can even create copies of "production-os.scm" and shape different 
systems you'd like to try out separately (e.g. gnome-os.scm, 
sway-os.scm, some-server.scm, etc.).


In fact, the Guix manual says: "The normal way to change the system 
configuration is by updating this file [a file like the 
production-os.scm] and re-running ‘[sudo] guix system reconfigure’.  One 
should never have to touch files in ‘/etc’" (see System Configuration).


Hope that helps,


--
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/



OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Mysteries of channel configuration during system reconfigure

2023-03-09 Thread Luis Felipe
Hi Kyle,


On Thursday, March 9th, 2023 at 02:50, Kyle Andrews  wrote:

> [...]
> 

> One of the selling points in Guix marketing for me is that the system
> configuration should be self contained within /etc/config.scm and
> channels.scm. However, this appears to not be the case. There seems a
> third element hidden away which prevents me from running:
> 

> `guix system reconfigure /etc/config.scm`

This should be:

sudo guix system reconfigure /etc/config.scm

Also, the manual recommends the following:

"Note: It is highly recommended to run guix pull once before you run guix 
system reconfigure for the first time (see Invoking guix pull). Failing to do 
that you would see an older version of Guix once reconfigure has completed."


publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Icecat and Chromium don't activate the right color scheme of websites

2023-03-08 Thread Luis Felipe
Hi Timo,


On Wednesday, March 8th, 2023 at 15:12, Timo Wilken  wrote:

> > QUESTIONS
> > 

> > Do you know of any defaults in Icecat or Chromium that might be preventing 
> > the expected functionality from working correctly? As far as I understand 
> > the versions of both Icecat and Chromium in Guix are supposed to support 
> > all the features required for automatic color scheme activation to work.
> 

> It works for me if I disable IceCat's "resist fingerprinting" option (search 
> for "fingerprint" on about:preferences). I assume that sites can fingerprint 
> your browser based on its theme (light or dark), which is presumably why this 
> option disables the CSS feature.

Aha, indeed.

The option is also available from the Application menu → IceCat Settings → 
Privacy and Security.

Thanks for checking, Timo, I'll check for similar settings in Chromium.

Cheers,

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Icecat and Chromium don't activate the right color scheme of websites

2023-03-08 Thread Luis Felipe
Hi,

I was wondering if any of you can reproduce the following issue using either 
Icecat or Chromium (ungoogled). I'm using the Guix System ab6e434 and the 
official Guix channel, Icecat 102.8.0esr and Chromium 109.0.5414.119.

STEPS TO REPRODUCE

1. Set your desktop environment or web browser to use a dark theme.
2. Visit https://luis-felipe.gitlab.io/texinfo-css/


EXPECTED RESULT

The visited page is displayed using its dark style.


UNEXPECTED RESULT

The visited page is displayed using its light style.


ADDITIONAL INFORMATION

The light/dark themes provided by the visited page are activated correctly when 
using Epiphany browser in Guix or other web browsers in vaious mobile devices.


QUESTIONS

Do you know of any defaults in Icecat or Chromium that might be preventing the 
expected functionality from working correctly? As far as I understand the 
versions of both Icecat and Chromium in Guix are supposed to support all the 
features required for automatic color scheme activation to work.

Thanks,


---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Problems with Gnome Authenticator 2FA

2023-02-23 Thread Luis Felipe
Hi Gary,

For what it's worth, I see the same error you see when I run 


guix shell authenticator -- authenticator

I'm using Guix System 2b1383c with GNOME as the desktop environment.



publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Understanding config.scm Modules

2023-02-08 Thread Luis Felipe
On Wednesday, February 8th, 2023 at 14:07, Simon Tournier 
 wrote:

> On jeu., 02 févr. 2023 at 19:02, "mhrunn...@yahoo.com" mhrunn...@yahoo.com 
> wrote:
> 

> > 4) Where does the manual list the modules and module options for quick
> > reference?
> 

> I do not understand this question but I guess it is because the question
> #2.

I guess mhrunnels refers to an index of modules, something that is commonly 
found in API documents. As far as I know, Guix doesn't provide such an index or 
separate API reference documentation. The Guix manual mentions modules and what 
they provide in the context of sections.

What you can do is explore the "gnu" and "guix" directories in Guix's source 
(https://git.savannah.gnu.org/cgit/guix.git/tree/), which provide all those 
modules and submodules you see imported everywhere. You might also check this 
video for an explanation of the source tree: 
https://10years.guix.gnu.org/program/#guixy-guile-the-derivation-factory-a-tour-of-the-guix-source-tree.

Also, You can explore modules using Emacs Geiser and its "Module documentation" 
option.

Personally, though, I'd like to see a complete Guix API index on the web 
(that's on my project manager).

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Can't type Japanese anymore

2023-01-29 Thread Luis Felipe
On Wednesday, December 28th, 2022 at 21:14, Luis Felipe 
 wrote:


> Hi Maxim,
> 

> On Tuesday, December 27th, 2022 at 03:42, Maxim Cournoyer 
> maxim.courno...@gmail.com wrote:
> 

> > I just tried, and it doesn't work for me either :-/. Not sure if it's
> > cache related, or a more serious issue.
> 

> I don't know..., removing ~/.cache/ibus didn't seem to have any effect here 
> anymore. It used to. I tried in two different machines.

It's been a month since I wrote this. Today, I came across a ".anthy" folder in 
my home directory, I trashed it, ran "ibus-daemon -dr" and Japanese is back 
(よかった~!).

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Tilix launches fine from a terminal but fails to launch from GNOME main app launcher (window key press tilix)

2023-01-22 Thread Luis Felipe
Hi jgart

On Sunday, January 22nd, 2023 at 03:03, jgart  wrote:

> Tilix launches fine from a terminal (I tested on gnome-terminal) but fails to 
> launch from the GNOME main app launcher (window key press tilix).

I'm not sure I understand what "window key press tilix" means, but, for what 
it's worth, I just installed tilix in guix fb3085e and I can go to the list of 
applications, click on Tilix, and it starts normally. For example:

1. Open the applications view (press the Super key twice quickly on the 
keyboard)
2. Page through the list until you find Tilix icon 

3. Click on Tilix icon

The application starts. 


The only problem I see is that the app icon is not displayed correctly; 
instead, you see a generic application launcher icon. Although this problem is 
not specific to Tilix.



publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Seahorse does not start up when invoked via Gnome shell

2023-01-14 Thread Luis Felipe
Hi Daniel,


On Friday, January 13th, 2023 at 21:49, Daniel Meißner 
 wrote:

> Hi Guix,
> 

> when I invoke Seahorse, the password manager, via Gnome shell it does
> not start up. It does not even show up in the activity panel at the
> top. However, when I spawn a terminal and enter `seahorse' at the
> command-line it starts up instantly. Does anyone have a clue what's
> going on?

I use Seahorse in guix 9cb42f7 and it works alright. It is in the list of 
applications and I can launch it from Alt+F2 normally.

Could you provide the information provided by the "guix describe" command?

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Can't type Japanese anymore

2022-12-28 Thread Luis Felipe
On Wednesday, December 28th, 2022 at 21:07, Luis Felipe 
 wrote:

> But then I changed to my machine, went to GNOME Keyboard settings to see if I 
> could try adding and using any of the other Japanese input methods and, lo 
> and behold, Japanese (Anthy) was listed magically. But adding it and 
> switching to it doesn't let me type Japanese, even with Hiragana input mode 
> selected.
> 

> I'll restart my desktop session and hope for more magic events :)

Now Japanese (Anthy) is gone again, both from the switcher and the list of 
input methods in ibus-settings and GNOME Keyboard settings...

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Can't type Japanese anymore

2022-12-28 Thread Luis Felipe
Hi Maxim,

On Tuesday, December 27th, 2022 at 03:42, Maxim Cournoyer 
 wrote:

> I just tried, and it doesn't work for me either :-/. Not sure if it's
> cache related, or a more serious issue.

I don't know..., removing ~/.cache/ibus didn't seem to have any effect here 
anymore. It used to. I tried in two different machines.

At least it's not just me :)

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Can't type Japanese anymore

2022-12-28 Thread Luis Felipe
Hi Yasu,

On Monday, December 26th, 2022 at 22:17, Yasuaki Kudo  wrote:

> It has been a long time since I switched to Ubuntu (and I use Guix as an 
> additional package manager in Ubuntu - this way I get maximum mainstream 
> compatibility, which is very helpful for work, and the flexibility that comes 
> with Guix! ) but just one thing I vaguely remember for situations like this - 
> if you create another fresh user and try with almost no specific 
> configuration in /home/another-user , would the problem still persist?

Unfortunatelly, yes. Although I tried on another Guix System that didn't have 
ibus set up yet. I did the ibus dance, could add input methods like Spanish, 
English, and switch between them normally with Super+Space, but Japanese 
(Anthy) was not listed as an available input method, even though it is 
installed.

But then I changed to my machine, went to GNOME Keyboard settings to see if I 
could try adding and using any of the other Japanese input methods and, lo and 
behold, Japanese (Anthy) was listed magically. But adding it and switching to 
it doesn't let me type Japanese, even with Hiragana input mode selected.

I'll restart my desktop session and hope for more magic events :)

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Can't type Japanese anymore

2022-12-26 Thread Luis Felipe
Hello,

After upgrading recently to Guix System 9cb42f7, I can't type Japanese anymore. 
It disappeared from the list, even though I still have ibus-anthy installed.

Also, the workaround in https://issues.guix.gnu.org/35610 does not work anymore.

If you are using a more recent version of the system, can you type Japanese 
normally?


---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: GNU Guix 1.4.0rc1 available for testing!

2022-12-01 Thread Luis Felipe
Hello Guix :)

Just to report that I installed the Guix System successfully in my new-old 
machine using 
https://alpha.gnu.org/gnu/guix/guix-system-install-1.4.0rc1.x86_64-linux.iso:

OS: Guix System x86_64
Host: 20324 Lenovo IdeaPad Flex 10
Kernel: 6.0.10-gnu
Uptime: 26 mins
Packages: 59 (guix-system), 2 (guix-user)
Shell: bash 5.1.8
Resolution: 1366x768
DE: GNOME 42.4
Theme: Adwaita [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: .kgx-real
CPU: Intel Celeron N2806 (2) @ 1.999GHz
GPU: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Memory: 1109MiB / 1871MiB

Thanks a lot for the hard work!

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: GNU Guix 1.4.0rc1 available for testing!

2022-12-01 Thread Luis Felipe
Hello,


On Thursday, December 1st, 2022 at 09:17, Ludovic Courtès  wrote:


> system installation:
> https://alpha.gnu.org/gnu/guix/guix-system-install-1.4.0rc1.i686-linux.iso
> https://alpha.gnu.org/gnu/guix/guix-system-install-1.4.0rc1.x86_64-linux.iso

I get 404 for the latter :)

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Guix System Latest: Installation report

2022-11-20 Thread Luis Felipe
Hi,

This is to report my experience installing the Guix System yesterday on a new 
old machine. In general, the installation went almost flawlessly and I'm happy 
to have another machine with the Guix System around.

Installer: w0wi4jvanaddk1zcvwzhlnn7fkfwab82-image.iso

Host: 20324 Lenovo IdeaPad Flex 10
Kernel: 6.0.8-gnu
Resolution: 1366x768
CPU: Intel Celeron N2806 (2) @ 1.999GHz
GPU: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Memory: 690MiB / 1871MiB



1. DOWNLOADING THE INSTALLER

I already knew my way through the Guix website, but I was thinking that I still 
see people unsure about what installer they should download: Standard or Latest?

Personally, I think the Latest should be prescribed somehow. Maybe add some 
hints to make people be sure that that one is the recommended installer? I 
don't know...

But then I think what to do with the Standard, and I don't know. Because, as I 
see it, standard, versioned releases are useful to

+ Let contributors wind down, enjoy and reflect
+ Let current users know what's new and what's next
+ Spread the word about Guix around new neighbourhoods


2. INSTALLER: KEYBOARD LAYOUT SELECTION

I was wondering if it is possible to provide a text box to let people try out 
the selected distribution. Because, for example, Spanish has many options and 
I'm always unsure about whether I selected the right one, and whether selecting 
a wrong one could affect password creations in later steps during the 
installation (although one can enable the "show password" option).


3. INSTALLER: PRINTING AND DOCUMENT SERVICES SELECTION

I pretty much skipped that step because I didn't understand exactly what it was 
about (I've never used CUPS, I think). After looking up CUPS on Wikipedia just 
now, I'd propose that installation step to read along the lines of:

  Enable CUPS if this machine is going to provide printing services to other 
devices in your network.


4. INSTALLER: AFTER INSTALLING ALL PACKAGES

After the whole process of downloading, grafting and installation of packages, 
the installation of the system seemed to be frozen in

  Inicializando el sistema operativo en /mnt

I don't know the source English string for that. Maybe

  Initializing operating system in /mnt

It took around 30 minutes in my case to continue. I thought it had failed or 
something. But, finally, the little success window appeared telling me to 
remove the installation media and restart.


5. INSTALLER: INSTALLATION COMPLETE STEP

I clicked the Restart button in the installer window, removed the installation 
media, and then saw a kernel panic message. The machine didn't restart. I had 
to restart it manually.

Unfortunatelly, I didn't took a picture of the message, and I don't remember 
anything else (I panicked myself :)).

I wonder if not following the exact instructions caused this. Because I pressed 
the Restart button and then removed the media, instead of doing it the other 
way around...


6. LOGGING IN TO GNOME DESKTOP FOR THE FIRST TIME

I saw two things:

6.1. The desktop background is a flat blue background. I was expecting to see a 
default GNOME background, or a Guix background.

(I have some Guix backgrounds that I've been planning to package. Maybe one of 
them could be used by default?).

6.2. WiFi was activated, but not connected to any network. I was expecting it 
to be already connected to the same network I used during the installation. Is 
it not supposed to work like that currently?

But now that I think about it, I saw some network related message when the 
kernel panicked...

Anyways, thanks for all the work on improving the installer and booting time. 



Cheers,


---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: What is the latest kernel release for Guix?

2022-11-19 Thread Luis Felipe
On Saturday, November 19th, 2022 at 18:38, Tobias Geerinckx-Rice 
 wrote:


> Yep, I just tried it out earlier today, after seeing DNS changes. Nice!
> 

> (Is the background colour meant to indicate betaness, or do you intend to 
> keep it?)

I'd keep it if people don't complain about it :)

But I'm planning to add a dark theme that's enabled automatically depending on 
users desktop or browser preferences (using CSS prefers-color-scheme).

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: What is the latest kernel release for Guix?

2022-11-19 Thread Luis Felipe
Hi Stephen, Tobias,

On Wednesday, November 16th, 2022 at 14:39, Tobias Geerinckx-Rice 
 wrote:


> Hi Stephen,
> 

> Stephen Snow 写道:
> 

> > I am
> > curious
> > what
> > is the current Kernel level?
> 

> 

> 6.0.8.
> 

> There is no great Web alternative to ‘guix show linux-libre@6’,
> yet, but you can use https://hpc.guix.info/browse to search for
> 

> ‘^linux-libre’.

Just to add that you can now search for packages in 
https://packages.guix.gnu.org/ as well.

And linux-libre versions are also listed in this page:

https://packages.guix.gnu.org/packages/linux-libre/

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: translation programm

2022-11-19 Thread Luis Felipe
Hi Florian :)


On Saturday, November 19th, 2022 at 11:36, pelzflorian (Florian Pelz) 
 wrote:

> Hello,
> 

> Francis francis...@gmail.com writes:
> 

> > Is there a translation programm in Guix, you can use for offline
> > translation?
> 

> If you want to edit translation files in .po file format (as used by
> Guix), I prefer https://www.emacswiki.org/emacs/PoMode that gets
> mentioned in the Guix manual. Alternatively there exist other programs
> for PO files, like GNOME Translation Editor (“guix install
> gtranslator”).

I think Francis is talking about something more like a combination of Google 
translation and bilingual dictionaries?

If that's the case, I don't know of any options...

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Emacs and Geiser: Completion for Guix specific code?

2022-11-16 Thread Luis Felipe
On Wednesday, November 16th, 2022 at 16:41, Mekeor Melire  
wrote:

> Yippie, it works! I just needed to run geiser-eval-buffer, bound to C-c
> C-b. Now it completes imported identifiers as well, yay! :) Thank you
> very much.

Great :)


> Still, a pity/bummer that it completion does not consider record-fields.
> E.g. within the (operating-system) record, the completion could know
> that I want to specify one of the record-fields, rather than suggesting
> arbitrary identifiers. (Maybe it's because Scheme is not a typed
> language.) Nevertheless, it's very helpful and nice.

I don't the reason, but I'd like that too.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Emacs and Geiser: Completion for Guix specific code?

2022-11-16 Thread Luis Felipe
Hi Mekeor,


--- Original Message ---
On Wednesday, November 16th, 2022 at 11:07, Mekeor Melire  
wrote:

> Hello,
> 

> when editing a Guix system declaration (system.scm) with GNU Emacs and
> Geiser (and corfu.el), can I get completion for Guix specific code?

You should be able to. I can get completion for Guix or any other library, 
although not automatically as with IDEs for other languages.


> Right now, I only get completion suggestions based on generic Guile
> modules. E.g. completing "(ope" (by pressing C-M-i) does not offer
> "(operating-system", but only "(open" etc. from module (guile). Is there
> any way to get completion for the Guix-specific code?

As far as I know, you can only get completion for symbols defined in other 
modules and libraries if

1. The library is in Guile's load path and
2. The module import is evaluated

The first requirement is handled automatically when the library is installed 
with Guix. The second one too, if you are typing in a REPL. If you are typing 
in a file, it isn't; you have to command the evaluation yourself. For example, 
in Guix System, I start Emacs, visit a file, and run geiser-guile. Then, to 
call Guix's "package-direct-inputs", I type the following

  (use-modules (guix packages))

  ;;; C-c C-B to evaluate the buffer and get completion for symbols in (guix 
packages)
  ;;; Then, start typing and press C-M-i. It should complete.
  (package-di

  ;;; If you don't evaluate the module imports, completion won't work.

Does that work for you?

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Can't reconnect to WiFi easily

2022-11-03 Thread Luis Felipe
Hi,

--- Original Message ---
On Wednesday, November 2nd, 2022 at 21:42, Felix Lechner 
 wrote:


> Hi Felipe,
> 

> On Wed, Nov 2, 2022 at 12:45 PM Luis Felipe
> luis.felipe...@protonmail.com wrote:
> 

> > 2 11:18:55 localhost gnome-keyring-daemon[796]: couldn't access control 
> > socket: /run/user/1001/keyring/control/: file or directory not found
> > 2 11:18:55 localhost gnome-keyring-daemon[797]: couldn't access control 
> > socket: /run/user/1001/keyring/control/: file or directory not found
> > 2 11:18:55 localhost gnome-keyring-daemon[795]: couldn't access control 
> > socket: /run/user/1001/keyring/control/: file or directory not found
> 

> 

> I don't use Gnome anymore, but if your numerical user id is 1001 it
> could be that Gnome cannot access your keyring, which may contain your
> Wifi password.
> 

> Last time I checked, however, Gnome simply used NetworkManager.
> Someone with more recent Gnome experience will be able to help you
> better here.
> 

> > Then I changed to TTY2 and tried to reboot, but, as expected, "sudo reboot" 
> > hanged.
> 

> 

> I might issue those commands as 'sudo bash' and then separately, as
> root, 'reboot' to make sure the sudo isn't hanging. (It probably
> isn't.)

I'll try that next time.

 

> When the system is stuck I would try to unload and reload the ath9k
> kernel module. This can be done with 'modprobe' or, more aggressively,
> with 'insmod' and 'rmmod'.

I forgot to use modprobe, but will do next time. I'm taking note.


> I once had a Wifi card, also an Atheros, that needed to be unloaded
> when my system was suspended via ACPI.

Thanks for the help, Felix.

Cheers,

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Can't reconnect to WiFi easily

2022-11-02 Thread Luis Felipe
hi,

I've been using Jami again for about a day and I haven't had any network 
issues. Still, I'd like to find out why my guix system can't reconnect 
automatically when the internet goes down in the local gateway device, while 
other devices in the network do reconnect. So I turned off and on the gateway.

All client devices lost connection, as expected. To my surprise, when the WiFi 
service was up again, all devices, including my guix system, reconnected 
automatically. I could browse the web normally, and could chat through Jami. 
However, I noticed the GNOME WiFi icon indicating a problem: the little waves 
appeared grayed out and there was a question mark in the middle. I don't know 
what that state indicates and GNOME Help didn't helped regarding that. In any 
case, I decided to try and restart the networking service in my machine to see 
if everything, including the WiFi icon, went back to normal. So I ran

#+begin_example
$ sudo herd restart networking
Service avahi-daemon has been stopped.
Service ntpd has been stopped.
Service networking has been stopped.
Service networking has been started.
Service ntpd has been started.
Service avahi-daemon has been started.
#+end_example

Apparently, all went well, but, actually, the networking service went down: 
GNOME's WiFi icon disappeared, and I couldn't access the Internet from any 
application. At this point, I decided to look at dmesg's, as Petr suggested:

#+begin_example
$ sudo dmesg -H

[...]

[nov 2 10:03] wlp2s0: authenticate with cc:03:fa:d7:16:e2
[  +0,30] wlp2s0: bad VHT capabilities, disabling VHT
[  +0,16] wlp2s0: 80 MHz not supported, disabling VHT
[  +0,013859] wlp2s0: send auth to cc:03:fa:d7:16:e2 (try 1/3)
[  +0,066280] wlp2s0: send auth to cc:03:fa:d7:16:e2 (try 2/3)
[  +0,073524] wlp2s0: send auth to cc:03:fa:d7:16:e2 (try 3/3)
[  +0,053114] wlp2s0: authentication with cc:03:fa:d7:16:e2 timed out
[nov 2 10:04] wlp2s0: authenticate with cc:03:fa:d7:16:e2
[  +0,30] wlp2s0: bad VHT capabilities, disabling VHT
[  +0,03] wlp2s0: 80 MHz not supported, disabling VHT
[  +0,015354] wlp2s0: send auth to cc:03:fa:d7:16:e2 (try 1/3)
[  +0,003144] wlp2s0: authenticated
[  +0,004155] wlp2s0: associate with cc:03:fa:d7:16:e2 (try 1/3)
[  +0,009404] wlp2s0: RX AssocResp from cc:03:fa:d7:16:e2 (capab=0x1411 
status=0 aid=1)
[  +0,000309] wlp2s0: associated
[  +0,082609] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
[nov 2 10:12] wlp2s0: deauthenticating from cc:03:fa:d7:16:e2 by local choice 
(Reason: 3=DEAUTH_LEAVING)
#+end_example

Those are the messages during the time I turned off and on the gateway and then 
ran "sudo herd restart networking". At the time of the last message, the guix 
system machine lost access to the Internet. That message seems useful, but I 
don't know what it means.

Trying to restart networking a second time:

#+begin_example
$ sudo herd restart networking
Service networking is not running.
Service networking is currently disabled.
#+end_example

So, the networking service got disabled the first time I ran "sudo herd 
restart", and now I couldn't restart it, even though herd informed that the 
"Service networking has been started". Then, I thought that if it was not 
running, I could simply start it (instead of restart it):

#+begin_example
$ sudo herd start networking
Service networking is currently disabled.
herd: failed to start service networking
#+end_example

No luck. Fortunatelly, in this scenario, as you can see, the herd commands were 
not hanging (as it happens when the WiFi goes down by itself), so I rebooted:

#+begin_example
sudo reboot
#+end_example

Unfortunatelly, after rebooting, the machine still had no network connection 
and GNOME's WiFi icon still gone. Also, the problem of hanging commands arose. 
And it turns out it's not just herd's commands that hang but also others like 
the following (many other commands worked, though):

#+begin_example
$ sudo dmesg -H
$ ip addr
#+end_example

I changed to TTY1 hoping to be able to see something there. I saw the following 
messages (transcribed by hand, there may be mistakes):

#+begin_example
This is the GNU System. Welcome.
login: [23.186510] Error: Driver 'pcspkr' is already registered, aborting
[23.543492] 1-14: Missing Free firmware (non-free firmware loading is disable
[23.870892] Bluetooth: Patch file not found /*(DEBLOBBLED)*/
[23.870928] Bluetooth: Loading patch file failed
[25.439346] :00:02.0: Missing Free firmware (non-free firmware loading is 
disabled)
[36.999123] :01:00.0: Missing Free firmware (non-free firmware loading is 
disabled)
[36.999173] r8169 :01:00.0: Unable to load firmware /*(DEBLOBBLED)*/ (-2)
2 11:18:55 localhost gnome-keyring-daemon[796]: couldn't access control socket: 
/run/user/1001/keyring/control/: file or directory not found
2 11:18:55 localhost gnome-keyring-daemon[797]: couldn't access control socket: 
/run/user/1001/keyring/control/: file or directory not found
2 11:18:55 localhost 

Re: Errors running kicad GUI package in container

2022-11-01 Thread Luis Felipe
--- Original Message ---
On Tuesday, November 1st, 2022 at 15:09, Peter Polidoro  
wrote:


> > For what it's worth, kicad seems to work for me in a container.
> > I'm using Guix System with GNOME (guix 4716cea):
> > 

> > __
> > guix shell kicad -E "^DISPLAY$" -E "^XAUTHORITY$"
> > --expose="$XAUTHORITY"
> > --expose=/tmp/.X11-unix/ --expose=$HOME/.Xauthority
> > --expose=/etc/machine-id
> > --expose=$HOME/Descargas --expose=/tmp/dbus-fnAz1hb4to
> > ‾‾
> 

> 

> Thanks! Although when I try this, I still get the warning about
> failing to connect to the accessibility bus and I still get the
> gdk-pixbuf-error.

Bah. So does "/run/user/1000/at-spi/bus_0" exists in your system? If it does 
exposing it would probably make the accessibility warning go away. I see 
similar messages myself when running GUI apps but need to expose a different 
file (see below).

I don't know what's the best way to fix the pixbuf error; I'd simply do what 
you already did: included the gdk-pixbuf package in the command. I don't know 
if that would mean the kicad package should be modified to include it.


> What are the last two directories that you are exposing? Is the
> first just your home directory or is it some kicad specific
> directory in your home directory? How do you find the name of the
> second directory and is that for the accessibility bus or
> something else?

You can ignore "--expose=$HOME/Descargas" which is just a directory from which 
I read files when using my application.

As for "--expose=/tmp/dbus-fnAz1hb4to", it's the file I always have to provide 
to avoid this error:

(mazo.py:3): Gtk-CRITICAL **: 15:22:47.557: Unable to connect to the 
accessibility bus at 
'unix:path=/tmp/dbus-fnAz1hb4to,guid=7edf085d4bc4b153351b79bb635ea1b4': Could 
not connect: No such file or directory

This file changes when you reboot the system, so you always have to update your 
container command. I looked for possible environment variables that could 
define it, but could not find anything.

I also migrated my application to GTK 4 recently and found a new warnings, and 
they can't be ignored because the application misbehaves if you don't fix them 
(some GUI interactions freeze interaction with the whole GNOME Shell):

libEGL warning: MESA-LOADER: failed to retrieve device information
libEGL warning: DRI2: could not open /dev/dri/card0 (No such file or directory)
libGL error: MESA-LOADER: failed to retrieve device information

My current fix is to expose "/dev/dri/card0". I haven't investigated what's the 
best thing to do.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Can't reconnect to WiFi easily

2022-10-31 Thread Luis Felipe
--- Original Message ---
On Friday, October 21st, 2022 at 19:27, Luis Felipe 
 wrote:

> § The problem(s)
> 

> I lose connection twice or three times a day and the system can't connect 
> back automatically when/if it loses connection.

Some annecdotal information: I stopped Jami a few days ago and the networking 
service in my computer stopped giving me trouble. I thought that was odd, so I 
started using Jami again to check. I had some new messages from contacts, 
answered to them, and then started to have the same problems indicated below:

> When this happens, many times GNOME's WiFi indicator fails to tell me the 
> real state of the connection. Sometimes there is no connection and it says 
> there is, and vice versa.
> 

> I used to be able to restart the networking service as follows:
> 

> ❚ sudo herd stop networking
> ❚ sudo herd start networking
> 

> But after upgrading my system (currently 4716cea), the first command just 
> seems to hang and never returns, no matter the terminal I run it on. Ctrl+C 
> does nothing.

Actually, after the networking service appears to goes down, all the following 
commands hang:

#+begin_example
sudo herd status
sudo herd stop networking
sudo herd start networking
sudo herd restart networking
sudo reboot
sudo halt
sudo shepherd --help
#+end_example

Pressing =Ctrl+C= has no other effect but to print ^C. It's as if the shepherd 
itself were down.

So I guess that's why I can't restart or turn the machine off from GNOME Shell 
either, because GNOME's buttons call "halt" and "reboot" (?).

Is it really possible for an application like Jami to cause this problem or am 
I just going loco? (Jami was upgraded with my profile at the same time I 
upgraded my system)

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Errors running kicad GUI package in container

2022-10-31 Thread Luis Felipe
Hi Peter,


--- Original Message ---
On Monday, October 31st, 2022 at 16:50, Peter Polidoro  
wrote:


> I am trying to run a GUI package (kicad) in a container on a
> foreign distro (xubuntu) and I am running into several errors.
> 

> When I run the command:
> 

> guix shell kicad --container --preserve='^DISPLAY$'
> --share=/tmp/.X11-unix -- kicad
> 

> I get a warning about the accessibility bus:
> 

> (kicad:1): dbind-WARNING **: 16:51:56.694: Couldn't connect to
> accessibility bus: Failed to connect to socket
> /run/user/1000/at-spi/bus_0: No such file or directory
> 

> Do I need to expose a directory or set some environmental variable
> to properly handle this warning?

For what it's worth, kicad seems to work for me in a container. I'm using Guix 
System with GNOME (guix 4716cea):

__
guix shell kicad -E "^DISPLAY$" -E "^XAUTHORITY$" --expose="$XAUTHORITY" 
--expose=/tmp/.X11-unix/ --expose=$HOME/.Xauthority --expose=/etc/machine-id 
--expose=$HOME/Descargas --expose=/tmp/dbus-fnAz1hb4to
‾‾

The command above is what I use to try out an application I'm developing (GTK 
4). You should at least change the values to the last two "--expose".

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Package renpy broken?

2022-10-29 Thread Luis Felipe
Hi Christian,

It seems to be broken, yes...


--- Original Message ---
On Thursday, October 27th, 2022 at 06:58, Christian Gelinek 
 wrote:

> Dear Guix community,
> 

> I couldn't get the GUI `renpy-launcher` GUI to do anything useful.

Same for me (I'm using Guix System with guix 4716cea).

When running renpy-launcher I also noticed that the sample projects "Tutorial" 
and "The Question" are listed but grayed out, you can't launch them. Then I 
found out that these two are provided as separate outputs of the renpy package 
in Guix, so I installed them. However, after that, they are still disabled in 
the launcher (even after clicking the "Refresh" button).


> It says "The selected projects directory is not writable" for any
> meaningful action I attempted. Under "preferences" -> General, there is
> a Projects Directory setting which (for me) displays as "Not Set".
> Clicking that again shows the above error.

Same here. I saw the same error when clicking on "+ Create new project" in the 
first screen of the launcher, and when trying to set a projects directory in 
the preferences screen.


> I'm new to Ren'Py (and GuixSD), so there may be a way of specifying this
> directory on the command line or via a config file somewhere, but I
> haven't found it.

I don't know, but I think this is a bug and should be reported to 
https://issues.guix.gnu.org/. I don't see any open issues about renpy there.

I think the launcher should just work, as you say, and you should use the GUI 
to set any preferences.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: export LC_ALL=C

2022-10-24 Thread Luis Felipe
Hi Gottfried,


--- Original Message ---
On Monday, October 24th, 2022 at 12:17, Gottfried  wrote:


> Hi Guixers,
> 

> somebody wrote to me to do a:
> 

> export LC_ALL=C
> 

> to get the output in English, because I am using German.
> 

> Unfortunatelly I lost this email.

What I do is set the LANG variable to C. For example, in a terminal, you'd run:

  LANG=C guix describe

And you'd get the output in English only for that command. If you run it again 
without the "LANG=C" part, you should see the output in German.

I see the value C as "the language or locale in which programs were originally 
written". In this case it is English because Guix is written in English.

You can use the same trick to use programs in any of the languages they are 
localized to. For example, the following prints the output in French:

  LANG=fr_FR.utf8 guix describe

To find out what kind of values you can pass to LANG, you can run the following 
command:

  locale --all

That command is provided by the package "gcc-toolchain".

Hope that helps,



publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Can't reconnect to WiFi easily

2022-10-23 Thread Luis Felipe
Hi Felix,


On Saturday, October 22nd, 2022 at 00:23, Felix Lechner 
 wrote:

> I use a non-free kernel. The Wifi drops very rarely if at all; once a
> week at most. My remedy in Gnome 3 is to disable the Wifi and to
> re-enable it again. I never restart the Shepherd service.

I only use Guix's official channel, so I have linux-libre. Disabling the WiFi 
does not work for me when connection is lost. That part of the GUI hangs. So, 
if I click on the top-right widget in GNOME Shell, click on the currently 
active network, and then try to turn it off, nothing happens, it remains on, 
and the GUI doesn't change state. The same happens if I try to turn it off from 
GNOME Settings, I can't switch off.


> Your problems could be related to recent linux-libre updates such as
> commit 92a71b46. Which kernel do you use currently?

linux-libre 5.19.16-gnu


> > I know WiFi networks are not that stable, but my system/machine
> > seems to be the only one that can't recover from connection failure.
> 

> 

> The output of 'lsusb' or 'lspci' might tell readers more about your
> Wifi endpoint.

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 
PCI Express Gigabit Ethernet Controller (rev 15)
02:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network 
Adapter (rev 01)


> It's also possible your central equipment is failing, although that
> seems less likely. Last year, I replaced a flaky Cisco E2500 that had
> run well under OpenWRT for ten years. It started disconnecting in the
> summers, when it got hot. Maybe you are in the Southern hemisphere. Is
> everyone using 5 GHz or are you still on 2.5GHz while the other folks
> have upgraded?

The central equipment is owned and managed by the ISP (is a Technicolor 
Gateway, several years old).

The connection details in the Guix machine and a Debian machine say:
__
Signal Strenght: Good
Link Speed: 26-57 MB/s (2.4 GHz)
Supported Frequences: 2.4 GHz
‾‾
An Android says 65 MB/s (2.4 GHz), other Androids don't display the frequency.

(Checking for the details of the WiFi connection in GNOME Settings, I noticed 
that the option "Make available to other users" is activated, which I would not 
expect to be on by default, but I'm pretty much new to WiFi, I've always used a 
UTP cable until recently).


> Since you are using Gnome, I should point out that I see some strange
> behaviour from GDM, or perhaps elogind. All my NFS clients and servers
> will block any NFS traffic after about 20 minutes when GDM is active.
> I usually try to switch to a virtual console but when I forget, a
> reboot is my sole remedy.
> 

> > I see no other option but rebooting. But that also fails.
> > For example, when I tell GNOME to reboot, the process
> > hangs in a black screen
> 

> 

> Do you use or did you recently enable any suspension features? Some
> Wifi cards do not wake up properly and require a reload of the kernel
> module. You can try unloading manually with 'modprobe -r'.

No, I don't use suspension. But I'll try "modprobe" next time. Is the module 
name the same as the driver name (the latter is driver=ath9k in my case)?

Thanks,

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Can't reconnect to WiFi easily

2022-10-21 Thread Luis Felipe
§ Summary

Recently, I had to switch to using WiFi to access the Internet and it hasn't 
been a nice experience. I don't know the root of the problem or problems, but I 
notice that I'm the only one affected by these (I'm the only Guix System user 
in the local network).

I don't do anything special to connect to WiFi; I use GNOME, so I simply select 
the local network in GNOME Configuration and connect to it.

I'm using Guix System 4716cea, and whatever the GNOME desktop uses to connect 
to the Internet.


§ The problem(s)

I lose connection twice or three times a day and the system can't connect back 
automatically when/if it loses connection.

When this happens, many times GNOME's WiFi indicator fails to tell me the real 
state of the connection. Sometimes there is no connection and it says there is, 
and vice versa.

I used to be able to restart the networking service as follows:

❚ sudo herd stop networking
❚ sudo herd start networking

But after upgrading my system (currently 4716cea), the first command just seems 
to hang and never returns, no matter the terminal I run it on. Ctrl+C does 
nothing.

I see no other option but rebooting. But that also fails. For example, when I 
tell GNOME to reboot, the process hangs in a black screen displaying two 
messages that read

❚ ModemManager[416]:  caught signal, shutting down...
❚ ModemManager[416]:  could not acquire the 
'org.freedesktop.ModemManager1' service name

After this, I have to restart the machine physically.

I know WiFi networks are not that stable, but my system/machine seems to be the 
only one that can't recover from connection failure.

Any help is very welcome,


---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Ibus does not work with GTK 4 applications (?)

2022-10-20 Thread Luis Felipe
On Thursday, October 20th, 2022 at 06:23, Liliana Marie Prikler 
 wrote:

> Am Mittwoch, dem 19.10.2022 um 16:50 + schrieb Luis Felipe:
> 

> > > それで日本語を書きできる。
> > 

> > 僕もできるけど、GTK4で何もできない。
> > 

> > Liliana, so you can type Japanese normally in GNOME Music or any
> > other GTK 4 app?
> 

> I can type normally in gnome-text-editor or in the search bar.

I upgraded my system to 4716cea and now I can type Spanish and Japanese 
normally in GTK 4 apps too (although the app I migrated refuses to accept 
Japanese...).


> > > You should take this with a grain of salt however. It might still
> > > be that you need to restart ibus or gnome-shell from time to time
> > > because they lost sight of each other. I'm not sure how this
> > > relates to reboot cycles, but it might be a clue.
> > 

> > Yep, at least since my last system upgrade, I have to restart ibus
> > from time to time during my desktop session because Spanish and
> > Japanese stop working out of the blue. I also have to restart ibus
> > everytime after a reboot, otherwise I can't enter UNICODE with
> > Ctrl+Shift+U nor type 日本語, although Spanish works. It's weird :)

Restarting ibus is till necessary, though.


> Spanish only requires xkb, whereas C-S-u and C-S-e (now s-. by default)
> require ibus.

Thanks, Liliana, have a nice day :)

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Ibus does not work with GTK 4 applications (?)

2022-10-19 Thread Luis Felipe
Hi Liliana,

On Wednesday, October 19th, 2022 at 07:09, Liliana Marie Prikler 
 wrote:

> You don't need a similar variable for GTK4. GTK4 has its own logic for
> locating immodules, which works without Guix needing to patch it.
> Note, that as of [1] ibus has GTK4 support, so on this side things
> should be fine. However...
>
> [...]
>
> IBus is one of these annoying packages that may cause stale caches on
> the user's side. I recommend you rm -rf ~/.cache/ibus and then restart
> it.

Yeah, I do this too :)


> それで日本語を書きできる。

僕もできるけど、GTK4で何もできない。

Liliana, so you can type Japanese normally in GNOME Music or any other GTK 4 
app?


> You should take this with a grain of salt however. It might still be
> that you need to restart ibus or gnome-shell from time to time because
> they lost sight of each other. I'm not sure how this relates to reboot
> cycles, but it might be a clue.

Yep, at least since my last system upgrade, I have to restart ibus from time to 
time during my desktop session because Spanish and Japanese stop working out of 
the blue. I also have to restart ibus everytime after a reboot, otherwise I 
can't enter UNICODE with Ctrl+Shift+U nor type 日本語, although Spanish works. 
It's weird :)


publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Guitar-to-USB cable in Guix System

2022-10-17 Thread Luis Felipe
Felix, Ricardo, thanks for the info.

I'm a bit cautious now because I've bought other kinds of USB 
adapters/converters before that are advertised as "just plug-and-play", don't 
say anything about requiring special drivers, but once you plug them in, you 
see they've been prepared to autorun some executable to install windows 
drivers. One time I even bought one that said that it supported Linux, and it 
did, but not linux-libre :)

I wonder if the LinuxMint person on LinuxMusicians was using a "pure" Mint...

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Guitar-to-USB cable in Guix System

2022-10-16 Thread Luis Felipe
Hi,

I recently found that these kinds of cables exist. Apparently, they allow you 
to connect the guitar very easily and cheaply to the computer, and you could 
simply start recording in applications like Audacity or Ardour.

Anyone knows if these kinds of cables work on Guix System (or any other libre 
distribution)?

Thanks,

---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Problems with tracker-miners(?)

2022-09-22 Thread Luis Felipe
Hi Trev,

I'm using Guix System (guix 77e768a), which comes with GNOME 42.4.


On Thursday, September 22nd, 2022 at 04:57, Trev  wrote:


> Hey Guix,
> 

> Please forgive my ignorance here. I am not fully with it in terms of
> how GNOME works.
> 

> It seems to me that many aspects of GNOME are just broken since the day
> I installed it with my Guix System. More specifically, those that might
> be related to tracker-miners.

That's my experience too, although some things have improved.


> A few immediate examples are gnome-music, totem and gnome-photos.
> None of these are able to find/use my media.

In my case, only gnome-photos lists images from my ~/Images folder (and only 
that folder). Totem and gnome-music display a blank view. Music and Photos seem 
to be useless without autodiscovery because they don't seem to have any button 
to load media manually (or at least I can't find it).


> A different, probably unrelated issue is that Nautilus doesn't show any
> thumbnails.

This one has a corresponding bug report that I see you already found 
(https://issues.guix.gnu.org/issue/39117).


> Any suggestions are appreciated. Thank you all

Unfortunately I don't know how to fix that myself.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Setting up a development environment for guile-g-golf based software in KDE

2022-09-03 Thread Luis Felipe
On Saturday, September 3rd, 2022 at 10:29, Ricardo Wurmus  
wrote:

> I had to run the guile-gi example under “dbus-launch” to make the errors
> disappear. guile-gi works fine with grafts and GTK4; g-golf requires
> grafts to be disabled because it doesn’t address problems with gobject
> introspection that is triggered by the presence of grafts.

Didn't know about dbus-launch, thanks :)


publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Setting up a development environment for guile-g-golf based software in KDE

2022-09-02 Thread Luis Felipe
On Friday, September 2nd, 2022 at 18:30, Luis Felipe 
 wrote:

> In my case (guix 16a6cbe), the example doesn't work at all, regardless of the 
> desktop environment or whether I use a pure environment or container without 
> grafts.

Hmm, I changed "gtk" to "gtk@4" and now it runs. Which is weird.

I noticed, though, that there are several GLib-GIO-CRITICAL errors related to 
dbus. Adding "dbus" to the package list make them go away.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: gpg: problem with the agent: No pinentry

2022-09-02 Thread Luis Felipe
Reza, Sébastien, Cairn, thanks to your help it works now.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Setting up a development environment for guile-g-golf based software in KDE

2022-09-02 Thread Luis Felipe
Hi Jérémy,


On Friday, September 2nd, 2022 at 10:25, Jérémy Korwin-Zmijowski 
 wrote:

> Dear Guixters,
> 

> I want to build a GUI for Gnome (using guile-g-golf (and gtk)).
> 

> When under Gnome my small "Hello World" (from the manual example script)
> window shows up.
> 

> When under KDE (Plasma) nothing shows up but errors in the terminal :

In my case (guix 16a6cbe), the example doesn't work at all, regardless of the 
desktop environment or whether I use a pure environment or container without 
grafts.

I wonder if g-golf really works with GTK 4 (the guix package depends on gtk+, 
which is GTK+ 3)? It's a similar situation with guile-gi...

Also, the "Hello World" example in the documentation is written usin GTK+ API 
as far as I can see. For example, it uses GtkWidget.show(), which was removed 
in GTK 4, as far as I know, because widgets now show themselves by default.

I see that I can launch the program in a pure environment or container if I add 
gtk+ instead gtk. So, given the following program

;; Load Gtk
(use-modules (g-golf))
(gi-import "Gtk")

;; When the application is launched..
(define (activate app)
  ;; - Create a new window and a new button
  (let ((window (make 
  #:title "Hello"
  #:application app))
(button (make 
  #:label "Hello, World!")))
;; - Which closes the window when clicked
(connect button
 'clicked
 (lambda (b)
   (close window)))
;; (set-child window button)  ; FIXME: Unbound variable: set-child
(show window)))

;; Create a new application
(let ((app (make 
 #:application-id "org.example.GtkApplication")))
  (connect app 'activate activate)
  ;; Run the application
  (run app 0 '()))

I run it as Ricardo indicates

  guix shell --pure --no-grafts guile gtk+ guile-g-golf

and it works. Although I see this warning:

(guile:2): dbind-WARNING **: 18:16:30.514: Couldn't connect to accessibility 
bus: Failed to connect to socket /tmp/dbus-hqCQ04xgN8: No such file or directory

Anyways, just my 2¢ :)

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


gpg: problem with the agent: No pinentry

2022-09-01 Thread Luis Felipe
Hi,

I'm on Guix system 16a6cbe and I'm having trouble using gpg from the terminal 
because pretty much every command I run fails with the message "No pinentry" 
(creating new keys, encrypting files, etc.).

Tab-completing "pinentry" on a terminal I see I have:

  pinentry
  pinentry-curses
  pinentry-gnome3
  pinentry-gtk-2

I don't recall this happening to me before. Anyone has had this issue or any 
clue about how to solve it?

For what it's worth, creating GPG keys from GNOME Seahorse does work.

---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [EXT] Unable to reconfigure guix system (wrong type to apply)

2022-08-31 Thread Luis Felipe
Hey, David, good to see you around again :)


On Wednesday, August 31st, 2022 at 12:41, Thompson, David 
 wrote:

> This looks like the problem described in
> https://issues.guix.gnu.org/issue/57480 in which the regression was
> identified and reverted. Try 'guix pull' again and see if your system
> reconfigure works this time.
> 

> Hope this helps,

Yeah, that was it. Thanks.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Unable to reconfigure guix system (wrong type to apply)

2022-08-30 Thread Luis Felipe
Hi,

I'm using Guix system. I guix pull yesterday. This is my new guix:

★★
Generation 61   Aug 29 2022 18:41:13(current)
  guix 9b8507d
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 9b8507df11f5ca3d13e49dc0588d3522d28fa9e4
★★


I have a ~/.config/guix/channels.scm with the following lines for a long time:

★★
(use-modules (guix ci))

(list
 ;; Saves my machine compiling package definitions when running
 ;; "guix pull", because it uses the latest commit with available
 ;; package definition substitutes in ci.guix.gnu.org.
 ;;
 ;; https://guix.gnu.org/manual/en/guix.html#Channels-with-Substitutes

 (channel-with-substitutes-available
  %default-guix-channel
  "https://ci.guix.gnu.org;))
★★


But now I'm getting the following error when I try to reconfigure the system:

★★
sudo guix system reconfigure my-system.scm 


Backtrace:
  16 (primitive-load "/home/yo/.config/guix/current/bin/guix")
In guix/ui.scm:
   2263:7 15 (run-guix . _)
  2226:10 14 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 13 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
835:3 12 (_)
815:4 11 (call-with-status-report _ _)
In guix/scripts/system.scm:
   1274:4 10 (_)
In ice-9/boot-9.scm:
  1752:10  9 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   659:37  8 (thunk)
   1298:8  7 (call-with-build-handler # …)
  2168:25  6 (run-with-store # …)
In guix/scripts/system.scm:
  1298:15  5 (_ _)
829:5  4 (perform-action reconfigure #< name: #f format:…> …)
In guix/scripts/system/reconfigure.scm:
375:4  3 (check-forward-update _ #:current-channels _)
375:4  2 (check-forward-update _ #:current-channels _)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Wrong type to apply: (#< name: guix url: 
"https://git.savannah.gnu.org/git/guix.git; branch: "master" commit: 
"3f171587bc6a47bb056f3e699e17e05f5832aea5" introduction: #f location: 
((filename . "gnu/services.scm") (line . 466) (column . 5))>)
★★

Is this a problem in Guix's channel definition?


---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: What Python IDE are you using?

2022-08-28 Thread Luis Felipe
Hi Maxim,

On Friday, August 26th, 2022 at 17:53, Maxim Cournoyer 
 wrote:

> For what it's worth, I used Emacs with Elpy.
> 

> I have python-ipython, python-ipdb, and python-pdbpp installed, and to
> debug I use put 'breakpoint()' in the code, along the
> PYTHONBREAKPOINT=ipdb.sset_trace environment variable.
> 

> As an IPython configuration I have the lines:
> 

> --8<---cut here---start->8---
> 

> ## lines of code to run at IPython startup.
> c.InteractiveShellApp.exec_lines = ['%autoreload 2']
> 

> ## A list of dotted module names of IPython extensions to load.
> c.InteractiveShellApp.extensions = ['autoreload']
> --8<---cut here---end--->8---
> 

> 

> Enabled in a ~/.ipython/profile_default/ipython_config.py file.
> 

> It works decently for me.

Yeah, I like it. I'm glad I have autocompletion back.


> HTH,

It does help me to see that I don't know much about debugging techniques :)

Cheers,

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: What Python IDE are you using?

2022-08-28 Thread Luis Felipe
Hi David,


On Thursday, August 25th, 2022 at 18:33, david larsson 
 wrote:

> I use emacs with plugins like jupyter, flake8, magit, and jedi that
> gives autocompletion for Python, including from org-mode files and
> org-src buffers - see attached screenshot. It works nicely so far.

Thanks. Actually, Emacs Elpy uses several common packages used to program 
Python in Emacs. It's just that it started failing for me a couple of months 
ago for different reasons so I thought it would be good to find a fallback 
editor.

However, I found out that there was something in my monolithic Emacs init.el 
causing autocompletion to fail. I haven't been able to pinpoint the 
configuration snippet that is causing the problem though. So I just ditched 
that init.el and started using different, short initialization files depending 
on the need, and now I can use Emacs Elpy again normaly.


> I have modified some emacs plugins a bit, and am currently working on
> refining things for a setup that gives nice auto-completion for Python,
> Javascript and Guile, which can be used from Emacs with a simple
> installation of a manifest, and maybe a home-configuration in the
> future.

Oh, yeah, I use Emacs launched from guix shell environments specific to my 
projects.


> I use a custom channel, waiting to also have related packages be refined
> enough to be submitted to guix master.
> 

> https://gitlab.com/methuselah-0/my-guix-packages
> 

> My current emacs config will almost certainly see some new commits be
> pushed to https://gitlab.com/methuselah-0/my-guix-packages in the
> following weeks.
> 

> Auto-completion, with code-signatures, jump-to-definition etc is working
> and possible, but not with a simple out-of-the-box installation from
> Guix yet. Though Im working on it :-)

I think it is already possible. As far as I know, Emacs Elpy enables those 
features: linting, autocompletion, function signatures displayed for the 
function at point, displaying function documentation, and jumping to 
definition, some refactoring, ...

My current Elpy configuration is just this:

;; Enable Elpy IDE.
;; https://elpy.readthedocs.io/
;;
(elpy-enable)
(setq elpy-rpc-python-command "python3")  ; Is this still needed?

;; Use Flycheck instead of Flymake
;; (Flymake makes Emacs unresponsive unpredictably).
;;
(when (load "flycheck" t t)
  (setq elpy-modules (delq 'elpy-module-flymake elpy-modules))
  (add-hook 'elpy-mode-hook 'flycheck-mode))


Cheers,

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: What Python IDE are you using?

2022-08-25 Thread Luis Felipe
On Thursday, August 25th, 2022 at 07:57, Csepp  wrote:

> Luis Felipe luis.felipe...@protonmail.com writes:
> 

> > [[PGP Signed Part:Undecided]]
> > On Tuesday, August 23rd, 2022 at 16:52, Luis Felipe 
> > luis.felipe...@protonmail.com wrote:
> > 

> > > Hi raingloom,
> > 

> > > On Tuesday, August 23rd, 2022 at 11:34, Csepp raingl...@riseup.net wrote:
> > 

> > > > kakoune + kak-lsp + python-lsp-server + python-black + mypy, maybe a
> > > > kakoune editorconfig plugin too
> > 

> > > > I load it in a guix shell and blamo, nice editor with pretty much every
> > > > IDE functionality you could dream of.
> > 

> > > > I've used this for multiple projects at uni, IMHO it works pretty well.
> > 

> > > Oh, I didn't know about kakoune. I'll put it on the list. Thanks, 
> > > raingloom :)
> > 

> > I think I'm going to explore vim further as my fallback editor. It
> > seems like that's the first step to understand kakoune (I couldn't get
> > started with kakoune Get started! document :]).
> > 

> > raingloom, did you move from vim to kakoune? If that was the case, did you 
> > found something annoying when programming Python in vim?
> > 

> > [2. application/pgp-keys; publickey - luis.felipe...@protonmail.com - 
> > 0x12DE1598.asc]...
> > 

> > [[End of PGP Signed Part]]
> 

> 

> I went through the vim tutorial a few years ago, tried neovim for a
> while, but haven't used it in years. I tend to switch between editors.
> Before Kakoune I used Acme for a long time, which inspired some features
> of Kakoune. I also use Emacs quite a bit.
> I tried Kakoune mostly because I really liked the ideas in Acme but
> didn't like how anti-keyboard it was. The simple orthogonal
> configuration language and its focus on multiple selections were very
> appealing too. I don't like old editors with crusted up config
> languages and UX conventions. I could never really "git gud" at neovim,
> so I abandoned it, but Kakoune just "clicked" after 1-2 afternoons of
> noodling around in it.

I see... Thanks again, raingloom :)

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: What Python IDE are you using?

2022-08-24 Thread Luis Felipe
On Tuesday, August 23rd, 2022 at 16:52, Luis Felipe 
 wrote:

> Hi raingloom,
> 

> On Tuesday, August 23rd, 2022 at 11:34, Csepp raingl...@riseup.net wrote:
> 

> > kakoune + kak-lsp + python-lsp-server + python-black + mypy, maybe a
> > kakoune editorconfig plugin too
> > 

> > I load it in a guix shell and blamo, nice editor with pretty much every
> > IDE functionality you could dream of.
> > 

> > I've used this for multiple projects at uni, IMHO it works pretty well.
> 

> Oh, I didn't know about kakoune. I'll put it on the list. Thanks, raingloom :)

I think I'm going to explore vim further as my fallback editor. It seems like 
that's the first step to understand kakoune (I couldn't get started with 
kakoune Get started! document :]).

raingloom, did you move from vim to kakoune? If that was the case, did you 
found something annoying when programming Python in vim?

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: What Python IDE are you using?

2022-08-24 Thread Luis Felipe
On Wednesday, August 24th, 2022 at 01:09, Fredrik Salomonsson 
 wrote:
> 

> Yeah, sounds like something in your config is breaking the autocomplete.
> I don't use company anymore but instead I use corfu. I am using guix
> 92b25a0 on a foreign distro, with emacs-eglot@1.8 and emacs-corfu@0.26.
> And emacs-pgtk-native-comp@28.1.90-224.03fe258 from the flat channel
> d95204c. And autocomplete works fine on my end.

I didn't know about corfu, I'm going to try it out.


> > I think I found emacs-lsp-mode faster than eglot, and the 
> > autodocumentation/help in the latter was kind of distracting because it 
> > displays too much information for the symbol
> > at point, which makes the minibuffer change hight frequently.
> 

> try
> 

> (setf eldoc-echo-area-use-multiline-p nil)
> 

> That should take care of the minibuffer issue. As I also was quite
> annoyed with that.

Thanks again, Fredrik.


publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: What Python IDE are you using?

2022-08-23 Thread Luis Felipe
On Tuesday, August 23rd, 2022 at 23:39, Luis Felipe 
 wrote:

> On Tuesday, August 23rd, 2022 at 21:20, Fredrik Salomonsson 
> platt...@posteo.net wrote:
> 

> > I generally use emacs + eglot [0]. It works great out of the box for me,
> > zero configuration on my part. I can't speak much about speed as the
> > python programming I do is over tramp, which tends to slow things down.
> 

> I tried both emacs-lsp-mode and eglot today, but autocompletion didn't work 
> in any of them. They both seem to use company-mode by default, the same as 
> emacs-elpy. Is autocompletion working for you? If yes, what version of Guix 
> are you using? (I'm on Guix System 3f17158, emacs-company 0.9.13).

Hmm, I just ran Emacs in three separate guix containers, one for an LSP 
mode-based IDE, one for an Eglot-based IDE and one for an Elpy-based IDE. In 
each of these containers, I ran "emacs -q -l CONFIG.el" to avoid loading any 
"init.el" file, and instead load a specific, minimal configuration file for 
each IDE. Autocompletion worked in all of them.

So it seems something in my "~/.congig/emacs/init.el" is not right anymore for 
my current generation of Emacs packages...


publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: What Python IDE are you using?

2022-08-23 Thread Luis Felipe
Hi Fredrik,

On Tuesday, August 23rd, 2022 at 21:20, Fredrik Salomonsson 
 wrote:

> I generally use emacs + eglot [0]. It works great out of the box for me,
> zero configuration on my part. I can't speak much about speed as the
> python programming I do is over tramp, which tends to slow things down.

Thanks, Fredrik :)

I tried both emacs-lsp-mode and eglot today, but autocompletion didn't work in 
any of them. They both seem to use company-mode by default, the same as 
emacs-elpy. Is autocompletion working for you? If yes, what version of Guix are 
you using? (I'm on Guix System 3f17158, emacs-company 0.9.13).

Using M-x completion-at-point works though, but I prefer autocompletion. 


I think I found emacs-lsp-mode faster than eglot, and the 
autodocumentation/help in the latter was kind of distracting because it 
displays too much information for the symbol at point, which makes the 
minibuffer change hight frequently.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: What Python IDE are you using?

2022-08-23 Thread Luis Felipe
Hi raingloom,

On Tuesday, August 23rd, 2022 at 11:34, Csepp  wrote:

> kakoune + kak-lsp + python-lsp-server + python-black + mypy, maybe a
> kakoune editorconfig plugin too
> 

> I load it in a guix shell and blamo, nice editor with pretty much every
> IDE functionality you could dream of.
> 

> I've used this for multiple projects at uni, IMHO it works pretty well.

Oh, I didn't know about kakoune. I'll put it on the list. Thanks, raingloom :)

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: What Python IDE are you using?

2022-08-23 Thread Luis Felipe
Hello Dr. Arne

On Tuesday, August 23rd, 2022 at 05:28, Dr. Arne Babenhauserheide 
 wrote:

> I also experience problems with autocompletion at the moment. I’m
> considering to switch back from company to auto-complete-mode, but I shy
> away from the re-configuration effort at the moment.

Good to know it's not just me.


> I have not checked lsp for Python. My experience with lsp for Javascript
> is that they are a bit sluggish — I prefer an Emacs native solution
> where it exists.
> 

> Example for that (though other language): Working with js2-mode+eslint
> via flycheck is superior to lsp/tide-mode in my opinion. I feel the
> difference, because I’m in a codebase transitioning to Typescript, and
> the user experience in plain Javascript with js2-mode is better. lsp has
> more bells and whistles, but js2-mode is precise and instantly at my
> fingers.

That's good to know too. I'll give LSP a try anyways and see. I really don't 
want to leave Emacs, but it would be nice to have a decent backup editor.

Thanks for commenting, Dr. Arne :)

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


What Python IDE are you using?

2022-08-22 Thread Luis Felipe
Hi,

I've been using Emacs Elpy as my Python IDE for a long time now, but it's been 
failing to work properly for a while (currently, autocompletion doesn't work; 
before that linting was not working).

What do you use to program in Python? Is the IDE you use dependable or does it 
present these kinds of frequent problems too?

So far I've tried GNOME Builder, but it's pretty much like using Gedit: just 
syntax highlighting. GNOME Builder's features have never worked when I've tried 
them out.

I'm currently checking an IDE called Pyzo. And next will try Emacs lsp-mode. So 
if you have had a good/bad experience with these, I'd appreciate if you could 
comment about it.

Thanks in advance,


---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Cantarell font with the gnome desktop interface

2022-08-15 Thread Luis Felipe
I forgot one step,

On Monday, August 15th, 2022 at 14:15, Luis Felipe 
 wrote:

> I checked in my system (guix system 3f17158, kernel 5.18.12), and saw the 
> same: No font appears selected in GNOME Tweaks. That seems like a bug to me.
> 

> As a workaround, I did the following:
> 

> 1. guix install font-abattis-cantarell
> 2. fc-cache -rv (see 
> https://guix.gnu.org/en/manual/devel/en/html_node/Application-Setup.html#X11-Fonts)

3. Reload GNOME Shell (press Alt+F2, type the letter r in the command box, and 
press Enter)

After this, the boldish font in the shell should change.

> Then, launch GNOME Tweaks again and cantarell should be selected.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Cantarell font with the gnome desktop interface

2022-08-15 Thread Luis Felipe
Hello Christophe,

On Monday, August 15th, 2022 at 03:22, Christophe Pisteur 
 wrote:

> Hello,
> Since I use a profile based on kernel 5.18, the cantarell font is not
> available in the gnome desktop interface (gnome-tweak / fonts): the
> cantarell font is not listed in the list of available interface fonts.
> When I revert to a profile based on a 5.17 kernel, the cantarell font
> is available in the gnome desktop interface (and selected by default).
> What can I do to find the cantarell font with a profile based on kernel
> 5.18?

I checked in my system (guix system 3f17158, kernel 5.18.12), and saw the same: 
No font appears selected in GNOME Tweaks. That seems like a bug to me.

As a workaround, I did the following:

1. guix install font-abattis-cantarell
2. fc-cache -rv (see 
https://guix.gnu.org/en/manual/devel/en/html_node/Application-Setup.html#X11-Fonts)

Then, launch GNOME Tweaks again and cantarell should be selected.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: substitute for Skype

2022-08-01 Thread Luis Felipe
Hi Gottfried,

On Monday, August 1st, 2022 at 15:47, Gottfried  wrote:

> Has somebody got experience with Jami or Mumble?

I've used Jami until recently. As other people already mentioned, installing 
the "jami" package should be enough.

I only used it to converse with one person at a time, not group 
[audio|video]chats. When it worked, it was enjoyable. Unfortunately, most of 
the time it didn't.

I tried it for several months at different times, checking if upgrades would 
improve the experience, but the experience wasn't good enough to grow a list of 
contacts that included people from mainstream culture (people used to WhatsApp 
and proprietary software in general). The few contacts I had (~5) eventually 
stopped using the application because of its constant malfunctioning. Some 
contacts left making harsh comments about it.

Most noticeable problems:

• Missing messages
• Sharing images, voice messages and files seldom worked

This was pretty much people on Windows and Android devices and only me on a 
Guix System. The problems were not limited to communication with me, though, 
they were also present in android-to-android and windows-to-android 
communication.

There were a couple of times though were I could stablish audio communication 
for more than one hour without problems. But those times were exceptions.

That said, please try it out. Maybe things have changed. I hope.

Also, if you'd like to try it out, make sure there are substitutes available. 
Last time I upgraded my profile (10 days ago) there were no substites for 
"libjami", I think, and my computer was not powerful enough to build it.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


New "GNU Guix Packaged" badge

2022-07-16 Thread Luis Felipe
Hi,

I made a badge you can use to let people know that your software is packaged 
for Guix.

See the picture for an example rendering on GitLab with a dark theme (the badge 
should work on a light theme too).

https://luis-felipe.gitlab.io/media/2022/07/gnu-guix-guile-hall-badges-2022-07-16.png

Grab the source SVG from my website:

https://luis-felipe.gitlab.io/media/badges/gnu-guix-packaged.svg

I sent a patch to guix-artwork too:

https://issues.guix.gnu.org/56575

The Guile and Hall badges are available too:

https://luis-felipe.gitlab.io/media/badges/gnu-guile-made.svg

https://luis-felipe.gitlab.io/media/badges/guile-hall-managed.svg


Enjoy 


---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: gnome shell crashes after ~1m

2022-07-13 Thread Luis Felipe
Hi Thomas,


On Wednesday, July 13th, 2022 at 09:28, Thomas Danckaert 
 wrote:


> Dear mailing list,
> 

> after 5 months without updating my system (I know!), I just ran guix
> pull and reconfigured my system with the latest gnome desktop.
> Unfortunately, when I start this latest system generation, gnome
> shell crashes after about 1 minute (I get the “oops, something went
> wrong” grey screen of death).

This has happened to me several times when I upgrade the system but not my user 
profile. Upgrading my profile and rebooting has solved the problem for me in 
the past.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Guix logo re-use

2022-07-11 Thread Luis Felipe
On Monday, July 11th, 2022 at 06:27, Benson Muite  
wrote:


> Hi Luis-Felipe,
> 

> > > Would like to use the Guix logo[0] modified to have a single color
> > > without gradients to make an embroidered Polo-shirt[1]. Is this ok?
> > 

> > Of course :)
> > 

> > I don't know if you already adjusted the logo to your needs, but if you 
> > haven't, maybe check the SVG icon in 
> > https://gitlab.com/luis-felipe/guix-backgrounds. I did that one thinking 
> > partly in embroidery but haven't actually tried it (don't know if the gaps 
> > are wide enough).
> 

> Had done an initial conversion. Attached are preview images, including
> one using the icon.
> 

> > > It
> > > is under a CC-BY-4.0 license. What is appropriate attribution on an
> > > embroidered polo shirt? For example is the Guix name enough, should
> > > CC-BY-4.0 and/or LFL Acevedo/sirgazil be added?
> > 

> > You don't have to comply with the attribution requirement if you are 
> > printing the original logo or modified versions of it in your own clothes 
> > for personal use (you don't have to credit me nor indicate the changes you 
> > made to the logo anywhere in your clothes nor anywhere else).
> > 

> > If you plan to sell items with the original logo or modified versions of 
> > it, you must give attribution as indicated in 
> > https://creativecommons.org/licenses/by-sa/4.0/.
> 

> The shirt is for a free software enthusiast who is paying a fee. What
> is the procedure followed for the FSF store:
> https://shop.fsf.org

I don't know what's the procedure in FSF's store, but in your particular case 
you can simply use the logo in the shirt and accept the money for your work. 
You don't have to put my name in the design :)

My understanding is that stores selling items with the logo would have to give 
proper credit somewhere: in the item's page and/or in labels in the apparel.


> There is no GUIX swag yet. It may be nice to have more embroidered
> items - these can be made in Africa, possibly custom fitted.

I could check what's the process to get items in FSF's store, but I also plan 
to sell those kinds of items in my store (https://um4no.creator-spring.com/) at 
some point (mainly hats and sweaters).

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Guix logo re-use

2022-07-10 Thread Luis Felipe
Hi Benson,

On Sunday, July 10th, 2022 at 04:53, Benson Muite  
wrote:

> Would like to use the Guix logo[0] modified to have a single color
> without gradients to make an embroidered Polo-shirt[1]. Is this ok?

Of course :)

I don't know if you already adjusted the logo to your needs, but if you 
haven't, maybe check the SVG icon in 
https://gitlab.com/luis-felipe/guix-backgrounds. I did that one thinking partly 
in embroidery but haven't actually tried it (don't know if the gaps are wide 
enough).


> It
> is under a CC-BY-4.0 license. What is appropriate attribution on an
> embroidered polo shirt? For example is the Guix name enough, should
> CC-BY-4.0 and/or LFL Acevedo/sirgazil be added?

You don't have to comply with the attribution requirement if you are printing 
the original logo or modified versions of it in your own clothes for personal 
use (you don't have to credit me nor indicate the changes you made to the logo 
anywhere in your clothes nor anywhere else).

If you plan to sell items with the original logo or modified versions of it, 
you must give attribution as indicated in 
https://creativecommons.org/licenses/by-sa/4.0/.

Hope that helps,

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Anyone using Guix + Gnome + Japanese-Input, please let me know!

2022-05-31 Thread Luis Felipe
Hi yasu,

On Tuesday, May 31st, 2022 at 10:47, yasu  wrote:

> It must has been a while since I last used Japanese input on my Linux
> system - I have just realized that I can no longer select Japanese
> Input (Anthy) from Gnome on my Guix OS.
> 

> It use to be there but no longer.

I recently reported an issue where one of the symptoms is that Japanese Anthy 
disappears as an input option. See https://issues.guix.gnu.org/55098.

What Dominic suggests used to fix some issues for me too, but not in this case.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: PySide2 not found when installing from PyPI

2022-05-26 Thread Luis Felipe
Hi Matt,

> Could it be because only wheel files are hosted and not any source?

I often have to change the source of Python packages to use the source 
repository instead of fetching from pypi because the latter doesn't include 
test suites.

However, the build still fails in the sanity-check phase even using the source 
repository as source and disabling tests (because the app doesn't have tests 
yet).

Here is the modified package:

~~~
(use-modules
 (guix packages)
 (guix download)
 (guix git-download)
 (gnu packages python)
 (gnu packages qt)
 (guix build-system python)
 ((guix licenses) #:prefix license:))


(define-public python-t-rex-typer
(package
  (name "python-t-rex-typer")
  (version "0.1.5")
  (source
 (origin
   (method git-fetch)
   (uri (git-reference
 (url "https://github.com/excalamus/t_rex_typer;)
 (commit "e9e23cf")))
   (file-name (git-file-name name version))
   (sha256
(base32 "1vw6c7p7yzl5rza2cmgiwyfxkr868i7mv3wnqvmyapy4p97axyc1"
  #;
  (source
   (origin
 (method url-fetch)
 (uri (pypi-uri "t_rex_typer" version))
 (sha256
  (base32 "0y08zacchwkx95dla1lbrqkxfnsknhm8ymr6ad08vijbwf5xircp"
  (build-system python-build-system)
  (arguments '(#:tests? #f))  ; There are no tests to run.
  (propagated-inputs (list python-pyside-2))
  (home-page "https://github.com/excalamus/t_rex_typer;)
  (synopsis "Steno practice")
  (description "Steno practice")
  (license license:gpl3+)))

python-t-rex-typer
~~~

And the result of "guix build -f t-rex-typer.scm"

~~~
starting phase `set-SOURCE-DATE-EPOCH'
phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
starting phase `set-paths'
environment variable `PATH' set to 
`/gnu/store/j3cx0yaqdpw0mxizp5bayx93pya44dhn-python-wrapper-3.9.9/bin:/gnu/store/g2ajyl8xk9aarxrgjbng2hkj3qm2v0z2-tar-1.34/bin:/gnu/store/iixwcv3k49ks1rf34pjgfzmzyhhgwng3-gzip-1.10/bin:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/bin:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/bin:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/bin:/gnu/store/ahmmvw21p11ik80lg1f953y7fd8bqkjm-diffutils-3.8/bin:/gnu/store/z39hnrwds1dgcbpfgj8dnv2cngjb2xbl-patch-2.7.6/bin:/gnu/store/39rsx3nl4c31952jybbjb8d6idr5hx7r-findutils-4.8.0/bin:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/bin:/gnu/store/wxgv6i8g0p24q5gcyzd0yr07s8kn9680-sed-4.8/bin:/gnu/store/xjwp2hsd9256icjjybfrmznppjicywf6-grep-3.6/bin:/gnu/store/d251rfgc9nm2clzffzhgiipdvfvzkvwi-coreutils-8.32/bin:/gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/bin:/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin:/gnu/store/s2pg5k98fl2g2szg9dykxyd9zl3xihv9-ld-wrapper-0/bin:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/bin:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/bin:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/bin:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/sbin:/gnu/store/b6j1qw1a5rkbfvcy7lc9fm95abbzpa4x-python-3.9.9/bin:/gnu/store/i20kq00ymvnsjzawbrxy4qd3ps24zw0w-python-shiboken-2-5.15.2/bin'
environment variable `GUIX_PYTHONPATH' set to 
`/gnu/store/6mpbm01w1hmajb70g8b2b8bbfjjci4sh-python-pyside-2-5.15.2/lib/python3.9/site-packages:/gnu/store/b6j1qw1a5rkbfvcy7lc9fm95abbzpa4x-python-3.9.9/lib/python3.9/site-packages:/gnu/store/i20kq00ymvnsjzawbrxy4qd3ps24zw0w-python-shiboken-2-5.15.2/lib/python3.9/site-packages'
environment variable `PYTHONTZPATH' unset
environment variable `BASH_LOADABLES_PATH' unset
environment variable `C_INCLUDE_PATH' set to 
`/gnu/store/6mpbm01w1hmajb70g8b2b8bbfjjci4sh-python-pyside-2-5.15.2/include:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/include:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/include:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/include:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/include:/gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/include:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/include:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/include:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/include:/gnu/store/b6j1qw1a5rkbfvcy7lc9fm95abbzpa4x-python-3.9.9/include:/gnu/store/i20kq00ymvnsjzawbrxy4qd3ps24zw0w-python-shiboken-2-5.15.2/include:/gnu/store/6mjww4iz4xdan74d5bbjfh7il8rngfkk-linux-libre-headers-5.10.35/include'
environment variable `CPLUS_INCLUDE_PATH' set to 

Re: guile-dbi from guix not working

2022-05-07 Thread Luis Felipe
Hi Zelphir,

On Saturday, May 7th, 2022 at 11:26 AM, Zelphir Kaltstahl 
 wrote:

> Is it really broken, or am I doing something wrong?

For what it's worth, it fails in the same way for me too. Trying to open a 
connection results in a handle with "file not found" status.

If you just need to work with SQLite databases, I tried guile-sqlite3 and it 
worked (connecting, inserting records, etc). It is not documented, but the 
tests help discover how to use some things 
(https://notabug.org/guile-sqlite3/guile-sqlite3.git).

For example, I don't know what I'm doing, but this works:

~~~
(import (sqlite3))

;; Log into the database.
(define db (sqlite-open "database.sqlite3"))

;; Create a table.
(sqlite-exec db "create table hellotable(id int, name varchar(15))")

;; Populate the table with values.
(sqlite-exec db "insert into hellotable ('id', 'name') values('33', 'ola')")
(sqlite-exec db "insert into hellotable ('id', 'name') values('34', 'dzien 
dobre')")
(sqlite-exec db "insert into hellotable ('id', 'name') values('44', 'annyong 
haseyo')")

;; Display each of the rows of the table, in turn.
(let* [(stmt (sqlite-prepare db "select * from hellotable"))
   (result (sqlite-map identity stmt))]

  (for-each
   (lambda (row) (begin (display row) (newline)))
   result))

;; Close connection.
(sqlite-close db)
~~~

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


10 Years of Guix t-shirts, hoodies, and mugs

2022-05-04 Thread Luis Felipe
Hello Guix,

Here are some new collections of t-shirts, hoodies, and other items featuring 
the 10 Years of Guix. (available in many colors).

1. Dark 10: https://um4no.creator-spring.com/listing/10-years-of-guix-ng
2. Light 10: https://um4no.creator-spring.com/listing/10-years-of-guix-bl
3. Blue 10: https://um4no.creator-spring.com/listing/10-years-of-guix-az
4. Green 10: https://um4no.creator-spring.com/listing/10-years-of-guix-vr
5. Purple 10: https://um4no.creator-spring.com/listing/10-years-of-guix-pu
6. Pink 10: https://um4no.creator-spring.com/listing/10-years-of-guix-rj
7. Yellow 10: https://um4no.creator-spring.com/listing/10-years-of-guix-am
8. Primary 10: https://um4no.creator-spring.com/listing/10-years-of-guix-pr
9. Secondary 10: https://um4no.creator-spring.com/listing/10-years-of-guix-sc
10. Trigon 10: https://um4no.creator-spring.com/listing/10-years-of-guix-tr

Mugs: https://um4no.creator-spring.com/mugs

Or, if you prefer, get these and other Guix-related designs from the 
guix-artwork repository and print your own stuff:

git clone https://git.savannah.gnu.org/git/guix/guix-artwork.git

I hope you enjoy the new items. And for those who will wear them, I hope they 
will give you the strength to keep contributing for another decade  


See you around,

---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Help: Packaging Bottles

2022-04-25 Thread Luis Felipe
Hi,

On Monday, April 25th, 2022 at 11:33 AM, phodina via  wrote:

> Hi,
> 

> could I ask for help packaging Bottles? Patch provided below.
> 

> When I attempt to run the binary I get this message:
> 

> /gnu/store/a9h7l5g0zcvfsx8vi7yq3wc4k72i3i49-bottles-2022.4.14/bin/bottles
> Traceback (most recent call last):
> File 
> "/gnu/store/a9h7l5g0zcvfsx8vi7yq3wc4k72i3i49-bottles-2022.4.14/bin/.bottles-real",
>  line 42, in 
> 

> from bottles import main
> File 
> "/gnu/store/a9h7l5g0zcvfsx8vi7yq3wc4k72i3i49-bottles-2022.4.14/share/bottles/bottles/main.py",
>  line 28, in 
> 

> gi.require_version('WebKit2', '4.0')
> File 
> "/gnu/store/li6pai7xjn0xwc99rvdz29mx25ifznac-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/init.py",
>  line 129, in require_version
> raise ValueError('Namespace %s not available for version %s' %ValueError: 
> Namespace WebKit2 not available for version 4.0
> 

> How should I wrap the binary to fix this error?

It seems like the same problem I came across recently with gfeeds (see 
https://issues.guix.gnu.org/55085). 


I fixed this by making the program require WebKit 4.1 instead of 4.0, but I'm 
not sure if that's the right way to do it.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Impressions after 4 years of using Guix ( + guix-hurd logo ?) :)

2022-04-23 Thread Luis Felipe
Hi Hubert,

On Thursday, April 21st, 2022 at 5:34 PM, Hubert Lombard 
 wrote:

> Congratulations to Luis Felipe for the "10 Years ..." logo
> https://guix.gnu.org/static/blog/img/10-years-of-guix_colorful-10.gif

Thanks :)

> I paint pictures with oil and acrylic paint. Once photographed, the
> image processing is done with Gimp. If I put some of them under a free
> license, it might be a good idea to decorate some native Guix video
> games...

I think they could work for many things. I particularly liked these:

https://www.hubert-lombard.website/image5.php#grand-format
https://www.hubert-lombard.website/image8.php#grand-format
https://www.hubert-lombard.website/image12.php#grand-format
https://www.hubert-lombard.website/image13.php#grand-format


> Also, I love the Hurd (without knowing much about it). I was amazed to
> successfully install K9 in 2004, on real hardware. Without having
> really used it for a long time, I was able to live some moments of pure
> enchantment. A few years later, I also had the chance to exchange a few
> words with Samuel Thibault at the RMLL in Bordeaux.
> 

> That's why I sometimes dream of contributing (it would be graphic
> works) to guix-hurd!

I don't paint much but looking at your landscapes I could picture a warm 
savanna and a herd of wildebeest running in the distance. I think that could 
make for a nice background.


> What do you think? Guix is a great adventure to contribute to at any
> level, and I would be happy to participate again.

I don't see why not. Traditional and digital media can be mixed :)

Personally, what I do is sketch ideas (pencil/pen on paper) whenever Guile or 
Guix activity makes me imagine something. I keep them around. When the time 
comes (a Guix event, a request from Guix people, etc.), I go through the 
sketches, sketch more if necessary, scan the ones I think that could work and 
develop them further in Inkscape (and MyPaint and GIMP). When one of the pieces 
passes my own quality standards, I send a proposal. 


One part where I think graphics help a lot is when posting on the Fediverse, 
for example. There's a lot of activity over there and text-only posts may just 
look like water in the stream. Posts with graphics, screenshots, etc., stand 
out. I sometimes propose graphics to Guix users and contributors posting about 
their own initiatives there (packaging meetups, documentation meetups). And I 
post independently too.

Hope that helps,

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: gajim fails to run

2022-04-10 Thread Luis Felipe
Hi, jgart

For what it's worth, I tried on my Guix System (guix ab98b51):

On Sunday, April 10th, 2022 at 5:09 PM, jgart  wrote:

> λ guix install gajim gajim-omemo
> The following packages will be installed:
> gajim 1.3.3
> gajim-omemo 2.7.14

I did the same, and the same versions were installed.

> λ gajim

And gajim starts without problem.

I do have a /etc/machine-id.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Latam keyboard layout changed, how can I get the old one back?

2022-04-08 Thread Luis Felipe
On Friday, April 8th, 2022 at 9:47 AM, pelzflorian (Florian Pelz) 
 wrote:

> On Thu, Apr 07, 2022 at 04:55:11PM +0000, Luis Felipe wrote:
> 

> > I found a bug report upstream that may be related to this: 
> > https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/267
> >  .
> 

> 

> I guess there’s no way around `info "(guix) Using a Custom Guix Channel"` 
> with (url "/home/luis/src/guix") and reverting bcfff754.

I think I'll keep entering UNICODE for now :)

Thanks again, Florian.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Latam keyboard layout changed, how can I get the old one back?

2022-04-07 Thread Luis Felipe
On Thursday, April 7th, 2022 at 3:22 PM, Luis Felipe 
 wrote:

> Hi, Florian,
> 

> On Thursday, April 7th, 2022 at 9:50 AM, pelzflorian (Florian Pelz) 
> pelzflor...@pelzflorian.de wrote:
> 

> > On Wed, Apr 06, 2022 at 10:00:55PM +, Luis Felipe wrote:
> 

> > > I'm currently using Guix System (guix ab98b51), and noticed that I
> > > can't type less-than (<) and greater-than (>) signs anymore, even
> > > though I didn't change the keyboard-layout in my system definition
> > > (or anywhere else):
> 

> > Perhaps a bug in xkeyboard-config, but there are no recent commits
> > changing xkeyboard-config. If so, the virtual Linux console
> > (Ctrl+Alt+F2 etc.) should be affected too. Is it?
> 

> Yes, I get the same behavior in that console.
> 

> > Except you could try a commit before and after bcfff754? But I
> > don’t see relevant changes in
> 

> > less /gnu/store/-xkeyboard-config/share/X11/xkb/symbols/latam
> 

> If I understand correctly, bcfff754 occurred inbetween generations 75 and 76 
> of my system:
> 

> Generation 75 Sep 13 2021 17:51:59
> file name: /var/guix/profiles/system-75-link
> canonical file name: /gnu/store/fpxad4s3iwixqsdcrf47pblh7r5znrdh-system
> label: GNU with Linux-Libre 5.13.15
> bootloader: grub-efi
> root device: UUID: 3f651226-f53e-4944-8bf8-a0b8c28cfac5
> kernel: 
> /gnu/store/y9r7physjpa23znb7r6rg38wpmxrkp0s-linux-libre-5.13.15/bzImage
> channels:
> guix:
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: 13c3fcb3ed2f7c68dfd473479b26929046a97075
> configuration file: 
> /gnu/store/y83wr1m9qcfzgahzrcny68yc76cd1sbg-configuration.scm
> Generation 76 Dec 16 2021 12:37:52
> file name: /var/guix/profiles/system-76-link
> canonical file name: /gnu/store/lr06hmhrc5g1574dpdpgpmxh8lda6ri7-system
> label: GNU with Linux-Libre 5.15.7
> bootloader: grub-efi
> root device: UUID: 3f651226-f53e-4944-8bf8-a0b8c28cfac5
> kernel: /gnu/store/8vss0dkfda6rsjdx58bh2fp6nn4zvi5x-linux-libre-5.15.7/bzImage
> channels:
> guix:
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: 94836b215630ad0f4a7c06b8e4284d923ac1197f
> configuration file: 
> /gnu/store/64rz9n8hd1np1aljjiwvy2347abjv04w-configuration.scm
> 

> but I could type these signs normally during that period.
> 

> The last generation were things worked fine for me was
> 

> Generation 80 Feb 07 2022 11:06:06
> file name: /var/guix/profiles/system-80-link
> canonical file name: /gnu/store/75zlnfl5qmap83csa0jgm5iwdxdpzjgm-system
> label: GNU with Linux-Libre 5.15.19
> bootloader: grub-efi
> root device: UUID: 3f651226-f53e-4944-8bf8-a0b8c28cfac5
> kernel: 
> /gnu/store/8w9v4dka10cv0r5fyw9f0pc14fszbl03-linux-libre-5.15.19/bzImage
> channels:
> guix:
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: 579e9e9509f45fdc8543323b3c9f662b53dbfc6d
> configuration file: 
> /gnu/store/64rz9n8hd1np1aljjiwvy2347abjv04w-configuration.scm

I was wrong about the generation where the problem started. It seems the 
mapping change did occur after bcfff754, where xkeyboard-config version changed 
to 2.34.

I switched generations to check. In my Generation 75 (guix 13c3fcb3), I could 
type the signs normally. Generation 76 (guix 94836b21) had the login bug, so I 
couldn't check there, but in Generation 77 I was already unable to type 
normally:

Generación 77   21 dic 2021 19:44:33
  nombre de archivo: /var/guix/profiles/system-77-link
  nombre canónico de archivo: /gnu/store/6xf3y3fp0zq0fcbpa328vkq5c7swl2l2-system
  etiqueta: GNU with Linux-Libre 5.15.10
  cargador de arranque: grub-efi
  dispositivo raíz: UUID: 3f651226-f53e-4944-8bf8-a0b8c28cfac5
  núcleo: 
/gnu/store/39vhbxpsa5byrbrqx7k7092ywlmwcbim-linux-libre-5.15.10/bzImage
  canales:
guix:
  URL del repositorio: https://git.savannah.gnu.org/git/guix.git
  rama: wip-fix-52051
  revisión: 18bc928078f10e2433b3410c30cf103f8f544540
  archivo de configuración: 
/gnu/store/64rz9n8hd1np1aljjiwvy2347abjv04w-configuration.scm

I found a bug report upstream that may be related to this: 
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/267 .

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Latam keyboard layout changed, how can I get the old one back?

2022-04-07 Thread Luis Felipe
Hi, Florian,

On Thursday, April 7th, 2022 at 9:50 AM, pelzflorian (Florian Pelz) 
 wrote:

> On Wed, Apr 06, 2022 at 10:00:55PM +0000, Luis Felipe wrote:
> 

> > I'm currently using Guix System (guix ab98b51), and noticed that I
> > can't type less-than (<) and greater-than (>) signs anymore, even
> > though I didn't change the keyboard-layout in my system definition
> > (or anywhere else):
> 

> 

> Perhaps a bug in xkeyboard-config, but there are no recent commits
> changing xkeyboard-config. If so, the virtual Linux console
> (Ctrl+Alt+F2 etc.) should be affected too. Is it? 


Yes, I get the same behavior in that console.

> Except you could try a commit before and after bcfff754? But I
> don’t see relevant changes in
> 

> less /gnu/store/-xkeyboard-config/share/X11/xkb/symbols/latam

If I understand correctly, bcfff754 occurred inbetween generations 75 and 76 of 
my system:

Generation 75   Sep 13 2021 17:51:59
  file name: /var/guix/profiles/system-75-link
  canonical file name: /gnu/store/fpxad4s3iwixqsdcrf47pblh7r5znrdh-system
  label: GNU with Linux-Libre 5.13.15
  bootloader: grub-efi
  root device: UUID: 3f651226-f53e-4944-8bf8-a0b8c28cfac5
  kernel: 
/gnu/store/y9r7physjpa23znb7r6rg38wpmxrkp0s-linux-libre-5.13.15/bzImage
  channels:
guix:
  repository URL: https://git.savannah.gnu.org/git/guix.git
  branch: master
  commit: 13c3fcb3ed2f7c68dfd473479b26929046a97075
  configuration file: 
/gnu/store/y83wr1m9qcfzgahzrcny68yc76cd1sbg-configuration.scm
Generation 76   Dec 16 2021 12:37:52
  file name: /var/guix/profiles/system-76-link
  canonical file name: /gnu/store/lr06hmhrc5g1574dpdpgpmxh8lda6ri7-system
  label: GNU with Linux-Libre 5.15.7
  bootloader: grub-efi
  root device: UUID: 3f651226-f53e-4944-8bf8-a0b8c28cfac5
  kernel: /gnu/store/8vss0dkfda6rsjdx58bh2fp6nn4zvi5x-linux-libre-5.15.7/bzImage
  channels:
guix:
  repository URL: https://git.savannah.gnu.org/git/guix.git
  branch: master
  commit: 94836b215630ad0f4a7c06b8e4284d923ac1197f
  configuration file: 
/gnu/store/64rz9n8hd1np1aljjiwvy2347abjv04w-configuration.scm

but I could type these signs normally during that period.

The last generation were things worked fine for me was

Generation 80   Feb 07 2022 11:06:06
  file name: /var/guix/profiles/system-80-link
  canonical file name: /gnu/store/75zlnfl5qmap83csa0jgm5iwdxdpzjgm-system
  label: GNU with Linux-Libre 5.15.19
  bootloader: grub-efi
  root device: UUID: 3f651226-f53e-4944-8bf8-a0b8c28cfac5
  kernel: 
/gnu/store/8w9v4dka10cv0r5fyw9f0pc14fszbl03-linux-libre-5.15.19/bzImage
  channels:
guix:
  repository URL: https://git.savannah.gnu.org/git/guix.git
  branch: master
  commit: 579e9e9509f45fdc8543323b3c9f662b53dbfc6d
  configuration file: 
/gnu/store/64rz9n8hd1np1aljjiwvy2347abjv04w-configuration.scm


> Xorg is using xf86-input-libinput now (guix commit 2e55a4c6b915), but
> that cannot be at fault, because ab98b51ef is older … I see no other
> changes to Xorg in recent commits.

Hmm, thanks for taking a look, FLorian :)

I'll read more about xkeyboard-config.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Latam keyboard layout changed, how can I get the old one back?

2022-04-06 Thread Luis Felipe
Hi,

I'm currently using Guix System (guix ab98b51), and noticed that I can't type 
less-than (<) and greater-than (>) signs anymore, even though I didn't change 
the keyboard-layout in my system definition (or anywhere else):

(keyboard-layout "latam" #:options '("ctrl:nocaps"))

Using this layout, I used to get less-than and greater-than by typing 
Alt+Shift+Z and Alt+Shift+X, respectively, but when I upgraded to guix ab98b51, 
I started getting single angle quotation marks instead (‹›, the sisters of «»).

Checking the layout in GNOME, I saw a 105-keys keyboard, but mine is 104 keys, 
so I reconfigured my system with

(keyboard-layout "latam" #:model "pc104" #:options '("ctrl:nocaps"))

but that didn't do much: less-than and greater-than are still nowhere to be 
found:

https://luis-felipe.gitlab.io/media/2022/04/gnome-41-distribución-de-teclado-español-latinoamericano-104-teclas.png

In the meantime, I've been typing the lost signs entering their UNICODE 
directly (Shift+U+UNICODE), but if anyone knows how to get the old mapping 
back, that'll be great.

Thanks in advance,

---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Inkscape icons missing

2022-03-23 Thread Luis Felipe
On Wednesday, March 23rd, 2022 at 6:27 PM, Zelphir Kaltstahl 
 wrote:

> The tree command yields the following:
> 

> 
> $ guix shell inkscape -- which inkscape
> /gnu/store/x4q0vb1m3mfi3kpngdzawfw4iwkncxvr-profile/bin/inkscape
> 

> $ guix shell inkscape -- tree 
> /gnu/store/x4q0vb1m3mfi3kpngdzawfw4iwkncxvr-profile/
> /gnu/store/x4q0vb1m3mfi3kpngdzawfw4iwkncxvr-profile/
> ├── bin -> /gnu/store/bbyssrx6lkg69lp61njsinvp19nssyc4-inkscape-1.1.1/bin

Oh, this won't print the whole thing (278 directories, 3343 files in my case).

So what about running "tree 
/gnu/store/bbyssrx6lkg69lp61njsinvp19nssyc4-inkscape-1.1.1" instead? It is that 
tree which shows me a lot of icon themes, including cursors.





publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Inkscape icons missing

2022-03-23 Thread Luis Felipe
Hi Zelphir,

On Wednesday, March 23rd, 2022 at 11:11 AM, Zelphir Kaltstahl 
 wrote:

> Hello Guix users!
> 

> I've noticed an issue with Inkscape installed via Guix and wonder whether 
> only I
> have this issue, or it is more wide spread:
> 

> When I install Inkscape using the following command:
> 

> guix shell inkscape -- inscape
> 

> I get a running Inkscape and it seems to work fine, but all the icons of 
> buttons
> of the UI are missing and the icons for cursors are also missing. For example,
> when I hover over a frame border, which I can drag to the right or left to
> change size of frames that make the UI, like for example the alignment frame
> border (or area or whatever you want to call it).

Out of curiosity, you still see no icons when you change the Appearance in the 
Quick Setup tab in the Welcome screen that is shown when you start Inkscape?

I'm using the following Inkscape in a Guix System with GNOME (guix from 
February, though), but icons work fine.

inkscape 1.1.1 out /gnu/store/zlcsrryyhl9h7r29m71lhrbwbfbm371k-inkscape-1.1.1

> I do not remember this problem happening before, but I also changed my desktop
> environment to XFCE on this machine (from Cinnamon), so that might change 
> things
> with the icon locations perhaps. I think though, that probably the icons 
> should
> be a dependency of the application.

In my case, it seems all necessary icons are included in the inkscape tree when 
I run:

tree /gnu/store/zlcsrryyhl9h7r29m71lhrbwbfbm371k-inkscape-1.1.1


publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: information about new packages in guix available

2022-03-05 Thread Luis Felipe
Hi, Gottfried,

On Friday, March 4th, 2022 at 8:44 PM, Gottfried  wrote:

> Hi,
> 

> I would like to know when new packages, (I don't mean updates to
> packages), in guix are available.

I was thinking about this too yesterday. I wanted to know which games were 
added recently.

> Is it the same to new packages in GNU, which I could know through the 
> "info-...@gnu.org mailing list or is there a difference between GNU packages 
> and guix packages?

As far as I know info-gnu is for GNU Projects only, while Guix packages libre 
software and libre cultural works from any project, including GNU.

> It would safe time to be informed and not look sometimes at the guix packages 
> available in https://guix.gnu.org/de/packages/

It would be a nice service to have.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Running graphical apps with guix shell --container

2022-01-29 Thread Luis Felipe
On Friday, January 28th, 2022 at 4:01 PM, Luis Felipe 
 wrote:
> 

> So this worked:
> 

> EXAMPLE:
> guix shell -C -E "^DISPLAY$" -E "^XAUTHORITY$" --expose="$XAUTHORITY" 
> --share=/tmp/.X11-unix/ --share=$HOME/.Xauthority
> END EXAMPLE
> 

> But I'm just typing things without much consideration and hoping for the best 
> :) For example, the application now starts but it has no icons. So I guess 
> I'll go find some information about all the fundamental variables and 
> resources required by GTK apps to run.

I took a shortcut and just added "gnome" package to the manifest. After this, I 
also noticed a dbind-related warning¹ when starting the app and lots of 
dconf-related warnings² when using a file chooser dialog from the app. I got 
rid of the former by exposing the socket mentioned in the warning, while the 
latter went away after exposing the machine-id. So the command now looks like 
this:

EXAMPLE:
guix shell -C -E "^DISPLAY$" -E "^XAUTHORITY$" --expose="$XAUTHORITY" 
--expose=/tmp/.X11-unix/ --expose=$HOME/.Xauthority 
--expose=/tmp/dbus-P03C3WeCs0 --expose=/etc/machine-id
END EXAMPLE

At this point, the app is displayed and works as expected :)


1. dbind-WARNING **: 19:19:29.619: Couldn't connect to accessibility bus: 
Failed to connect to socket /tmp/dbus-P03C3WeCs0: No such file or director
2. dconf-WARNING **: 19:39:19.279: failed to commit changes to dconf: Cannot 
spawn a message bus without a machine-id: Unable to load 
/gnu/store/qqs98rxwjrji6aaf6dqwp7q4m545g2sn-glib-2.70.0/var/lib/dbus/machine-id 
or /etc/machine-id: Failed to open file 
?/gnu/store/qqs98rxwjrji6aaf6dqwp7q4m545g2sn-glib-2.70.0/var/lib/dbus/machine-id?:
 No such file or directory

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Running graphical apps with guix shell --container

2022-01-28 Thread Luis Felipe
Hi Edouard,

On Friday, January 28th, 2022 at 10:11 AM, Edouard Klein  
wrote:

> I won't be specifically helpful, but I never managed to get chromium to
> run in a container. It crashes almost immediately. If you ever manage
> it, I'd be happy to know the magic command that allows it.

Could you try the command shared by Daniel in 
https://lists.gnu.org/archive/html/help-guix/2022-01/msg00167.html ? It worked 
for me. At least chromium runs and I could browse a couple of websites without 
crashes (didn't test for too long, though).

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Running graphical apps with guix shell --container

2022-01-28 Thread Luis Felipe
On Friday, January 28th, 2022 at 3:22 PM, Luis Felipe 
 wrote:
> On Friday, January 28th, 2022 at 7:42 AM, Daniel Meißner 
> daniel.meissner-...@ruhr-uni-bochum.de wrote:

> > Maybe for your example (I couldn't check since I didn't find any package
> > called mazo or python-mazo) this would work:
> 

> Yeah, sorry, I should have mentioned that "mazo" is an application I'm 
> writing. It's not in Guix yet.
> 

> > --8<---cut here---start->8---
> > guix shell -C --preserve='^DISPLAY$' --preserve='^XAUTHORITY$' \
> > --expose=$XAUTHORITY
> > --8<---cut here---end--->8---
> 

> Unfortunately, this didn't work. I got the same result as before.

I managed to launch the app by mixing the command above with some parts of the 
command used in another message about the same subject 
(https://lists.gnu.org/archive/html/help-guix/2020-07/msg00012.html). So this 
worked:

EXAMPLE:
guix shell -C -E "^DISPLAY$" -E "^XAUTHORITY$" --expose="$XAUTHORITY" 
--share=/tmp/.X11-unix/ --share=$HOME/.Xauthority
END EXAMPLE

But I'm just typing things without much consideration and hoping for the best 
:) For example, the application now starts but it has no icons. So I guess I'll 
go find some information about all the fundamental variables and resources 
required by GTK apps to run.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Running graphical apps with guix shell --container

2022-01-28 Thread Luis Felipe
Hi Daniel,

On Friday, January 28th, 2022 at 7:42 AM, Daniel Meißner 
 wrote:

> > Also, trying the following example from Guix manual, the browser does not 
> > start:
> > 

> > EXAMPLE:
> > $ guix shell --container --network --no-cwd ungoogled-chromium
> > --preserve='^DISPLAY$' -- chromium
> > Authorization required, but no authorization protocol specified
> 

> This example only works on foreign distros. See the mails [1-3] on
> help-guix. However, this seems to be known much longer [4]. However,
> IMHO it is not really documented in the manual. Maybe it's time to do
> something about it since this question has now come up three times in
> the last two months. I am willing to write something but I do not feel
> compentent enough since I don't really know much about X.

Somehow I missed those messages... Daniel, I think it would be good to report 
the issue to https://issues.guix.gnu.org/ with the information in 
https://lists.gnu.org/archive/html/help-guix/2021-12/msg00088.html, and provide 
the command below as a proposed replacement, which I can confirm launches 
chromium in Guix System. I think that would be a start at least. Would you like 
to do that, or should I do it?

> Concerning the chromium example, for me this works:
> 

> --8<---cut here---start->8---
> guix shell --container --network --no-cwd ungoogled-chromium \
> --preserve='^DISPLAY$' --preserve='^XAUTHORITY$' \
> --expose=$XAUTHORITY -- chromium
> --8<---cut here---end--->8---
> 

> Maybe for your example (I couldn't check since I didn't find any package
> called mazo or python-mazo) this would work:

Yeah, sorry, I should have mentioned that "mazo" is an application I'm writing. 
It's not in Guix yet.

> --8<---cut here---start->8---
> guix shell -C --preserve='^DISPLAY$' --preserve='^XAUTHORITY$' \
> --expose=$XAUTHORITY
> --8<---cut here---end--->8---

Unfortunately, this didn't work. I got the same result as before.

Daniel, thanks for taking a look at this.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Running graphical apps with guix shell --container

2022-01-27 Thread Luis Felipe
Hi,

I'm trying to run a GTK application in an isolated environment, but the 
application seems to fail when trying to be displayed. I'm running these 
commands:

EXAMPLE:
$ guix shell -C --preserve='^DISPLAY$'
$ python3 mazo
INFO: No database found. Creating it.
INFO: Database created.
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

(mazo:2): Gtk-WARNING **: 23:24:28.154: cannot open display: :1
END EXAMPLE

Also, trying the following example from Guix manual, the browser does not start:

EXAMPLE:
$ guix shell --container --network --no-cwd ungoogled-chromium 
--preserve='^DISPLAY$' -- chromium
Authorization required, but no authorization protocol specified
END EXAMPLE

I'm using Guix System 037c2b6.


---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [ASK] Failed Installing GTK+ Software Development Kit on GuixSD

2021-12-06 Thread Luis Felipe
On Monday, December 6th, 2021 at 2:03 AM, Ade Malsasa Akbar via 
 wrote:

> Hello, GNU Community!

Hi :) 


What you describe is a known reality (see https://issues.guix.gnu.org/37940). 
As Mark indicates in that report, you can work around the issue by using 
manifests.

For instance, to work on your Application project, you can do more or less 
something like this:

$ cd my-app
$ guix shell -m manifest.scm
$ RUN_YOUR_APP

That way Guix will create an augmented environment with all the packages listed 
in the manifest.scm file, where you can develop your application.

I have a real example if you would like to try: 
https://gitlab.com/luis-felipe/geteka

Hope that helps,


publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Status of GNOME?

2021-11-23 Thread Luis Felipe
On Tuesday, November 23rd, 2021 at 8:30 PM, zimoun  
wrote:

> Hi Luis,
> 

> On Tue, 23 Nov 2021 at 21:09, Luis Felipe luis.felipe...@protonmail.com wrote:
> 

> > Is there a way to see this information on the web 
> > (https://ci.guix.gnu.org/)? Say, substitute availability for packages in 
> > core-updates-frozen (x86_64-linux).
> 

> An entry point is: https://ci.guix.gnu.org/jobset/core-updates-frozen.
> 

> Otherwise, try in search field: spec:core-updates-frozen
> 

> system:x86_64-linux julia-1.6.3 (replace julia-1.6.3 by your
> 

> interest).

Uh, I forgot the search box displays help on how to search once you focus it, 
thanks. 


The last build of gnome-desktop succeeded:

https://ci.guix.gnu.org/search?query=spec%3Acore-updates-frozen+system%3Ax86_64-linux+gnome-desktop

And there seems to be 88% substitute availability for the packages in my 
profile. I think I'll give this branch a try.

Thanks,

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Status of GNOME?

2021-11-23 Thread Luis Felipe
Hi, zimoun :)

On Tuesday, November 23rd, 2021 at 2:32 PM, zimoun  
wrote:
> 

> You can run:
> 

> guix pull --branch=core-updates-frozen
> 

> and upgrade your system. Report the failures. Note that it is
> 

> possible that substitutes are missing; maybe check using "guix
> 

> weather" the availability if you cannot or do not want to burn CPU.

Is there a way to see this information on the web (https://ci.guix.gnu.org/)? 
Say, substitute availability for packages in core-updates-frozen (x86_64-linux).

The machine I use is not capable of building much, and running "guix weather -s 
x86_64-linux" takes a lot of time.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Freely available Jami video-conference channel for those interested

2021-11-21 Thread Luis Felipe
Hi, Maxim.

On Saturday, November 20th, 2021 at 5:04 AM, Maxim Cournoyer 
 wrote:

> As some kind of technology preview, I'd like to offer a freely available
> 

> Jami rendezvous point. Using either the jami-gnome or jami-qt client
> 

> available in Guix, you can connect to it by searching for the
> 

> 'rdv-jami-guix' contact and initiating a call.

Thanks. I just added it to my contacts. I hope I can get a mic [and camera] 
soon to try it out.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Using IceCat/geckodriver with Selenium (Python)

2021-11-05 Thread Luis Felipe
Hi, Maxim :)

On Friday, November 5th, 2021 at 6:48 PM, Maxim Cournoyer 
 wrote:

> Hello,
> 

> I'm sharing this bit of knowledge as it was not obvious at all.
> 

> Selenium is hard-coded to look for 'firefox' in a couple places, even in
> 

> the serialized settings it sends to the browser instance controlled by
> 

> geckodriver.
> 

> Here's the initialization that worked using Guix on the
> 

> core-updates-frozen-batched-changes branch (where 'geckodriver' was
> 

> recently added to IceCat):
> 

> --8<---cut here---start->8---
> 

> from selenium.webdriver import Firefox, FirefoxOptions
> 

> Monkey patch the KEY string for IceCat.
> ===
> 

> FirefoxOptions.KEY = "moz:icecatOptions"
> 

> options = FirefoxOptions()
> 

> options.headless = False
> 

> options.binary = 'icecat'
> 

> options.set_capability('browserName', 'icecat')
> 

> self.driver = Firefox(options=options)# TODO:
> 

> --8<---cut here---end--->8---
> 

> The non-obvious was monkey patching the 'moz:icecatOptions' string of
> 

> the FirefoxOptions object, and having to set the 'browserName'
> 

> capability; otherwise a capability/invalid argument execption would be
> 

> raised.

Thanks, good to know about the options and that geckodriver is there now. 



> If you use chromedriver (included with) our ungoogled-chromium instead,
> 

> it is more straightforward as there is nothing to rename/monkey patch:

Yeah, this one just works.

publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


  1   2   >