Re: Problem with Guix install with openbox

2019-07-22 Thread Timothy Sample
Hi Alex,

Alexander Asteroth  writes:

> Dear Timothy,
>
> Thank you for the hint. Unfortunately “~/.config/openbox/menu.xml”
> does not exists and "find ~/.config -name openbox” does not yield any
> result.

I would guess that Openbox has a default menu somewhere, and if you copy
that to “~/.config/openbox/menu.xml”, you will be able to use it to
change the menu you see.  You can probably find it by running
“guix build openbox” and looking around it the directory that gets
printed as output.  For example, when I run “guix build openbox”, Guix
prints “/gnu/store/9cayp0c39v8xnwwhai0jgp0rd56arai4-openbox-3.6.1” (you
might get something different if we are running different versions of
Guix).  In that folder, there is a file, “./etc/xdg/openbox/menu.xml”,
which is the default menu.  Copy it to “~/.config/openbox/menu.xml”, and
then you will be able to edit the menu.  I’m sorry I can’t be more
helpful, but I haven’t used Openbox for a few years, and I’ve never used
it on Guix.

> Also my ~/.guix-profile/bin is very unpopulated. Also at command line
> prompt I don’t have emacs. Shouldn’d this be installed by the install
> process?

If you run “guix install emacs”, Guix will install Emacs into your user
profile, which gets linked from “~/.guix-profile”.  It’s not installed
by default.

> W.r.t. how I “installed” lxde (just by guix install lxde). Do I need
> to reconfigure every time I install something?

Only for “system” stuff.  If you want to change things like which
daemons are running you need to reconfigure.

The reason I asked is that I wanted to know if LXDE was in your user
profile or in the system profile.  Do you use GDM?  If so, you’ll need
to add LXDE to your system profile for GDM to find it and provide it as
an option when logging in.

To do so, you need to edit your operating system configuration file.
First, you need to use the “lxde” module so that Guile knows where to
find the “lxde” package:

(use-modules (gnu packages lxde))

Then, you can add “lxde” to your other system packages:

(operating-system
  ...
  (packages (cons* lxde
   ...
   %base-packages))
  ...)

After this, you will need to reconfigure.

I’m not an LXDE user either, but if I wanted to become one, that’s what
I’d do.

Hope that helps!


-- Tim



Re: Trying to install Guix System on a nonfree computer, the system frezees at booting, bug?

2019-07-22 Thread Jan
I suppose this is a common problem with AMD GPUs.Is this something that 
could be reported as a bug and fixed or is this issue related to nonfree 
software and can't be fixed?I had more success on my old AMD GPU after 
changing /etc/config.scm to use ...I've just tried this, but 'guix system init' 
failed I used the exact same code as in the manual, but it threw an error, 
don't remember what exactly it was, but it complained about 'field' being 
incorrect. I'll attach the config file below - tried different options there 
cons*, list append and just service field, but it never worked.
 --Jan On Mon, Jul 22, 2019 at 12:35:23AM +0200, Jan wrote:
  Hi, I'm trying to install Guix System on the following computer:Ryzen 
5 1600MSI pcmate B350ADATA SX7000NP - it's a NVMe SSDThe problem is 
installation finishes successfully, but after rebooting and trying to start the 
system it freezes like on a screenshot attached below. I asked on the IRC and a 
person told me Guix System often works on almost all machines and I should 
check /var/log/messages, but then the person disappeared, but I have the log. I 
don't know if it's a bug or that's my nonfree hardware, so I posted the issue 
here. --Jan
 
 
 I suppose this is a common problem with AMD GPUs.  I had more success
 on my old AMD GPU after changing /etc/config.scm to use
 
 (service slim-service-type)
 (remove (lambda (service)
   (eq? (service-kind service) gdm-service-type))
 %desktop-services)
 
 or similar and then reconfiguring, see `info guix`, section on
 slim-service-type.
 
 In order to edit /etc/config.scm using the virtual console, you may
 need to when booting in GRUB press e and add modprobe.blacklist=radeon
 or modprobe.blacklist=amdgpu to GRUB’s linux line.
 


config-2.scm
Description: Lotus Screencam


Re: Problem with Guix install with openbox

2019-07-22 Thread Alexander Asteroth
That was it actually. No program was installed - at least not for my user. A 
simple Guix install xterm/emacs/… solved the issue.

Thanks,
Alex

> On 22. Jul 2019, at 16:57, Julien Lepiller  wrote:
> 
> Le 22 juillet 2019 15:15:08 GMT+02:00, Alexander Asteroth 
>  a écrit :
>> Hi there,
>> 
>> As a former Guile programmer I like the idea to configure my system
>> using guile.
>> I installed Guix in a vm (VmwareFusion I have to admit) and everything
>> worked fine. 
>> I used the graphical installer and chose Openbox as a
>> Windowmanager-Option.
>> Unfortunately after Installation the desktop is empty and right-click
>> menu contains only dead links.
>> I also tride installing lxde afterwards with no options effect. 
>> Any hint what I can do to solve the issue?
>> Thanks! 
>> 
>>  Alex
> 
> If you log in as a user in a tty, you should be able to install xterm with 
> guix. Thcn, from openbox, you should be able to use xterm from the menu and 
> configure it to your liking.
> 




Re: Problem with Guix install with openbox

2019-07-22 Thread Alexander Asteroth
Dear Timothy,

Thank you for the hint. Unfortunately “~/.config/openbox/menu.xml” does not 
exists and "find ~/.config -name openbox” does not yield any result.

Also my ~/.guix-profile/bin is very unpopulated. Also at command line prompt I 
don’t have emacs. Shouldn’d this be installed by the install process?

W.r.t. how I “installed” lxde (just by guix install lxde). Do I need to 
reconfigure every time I install something?

Cheers,

Alex

> On 22. Jul 2019, at 16:03, Timothy Sample  wrote:
> 
> Hi Alexander,
> 
> Alexander Asteroth  writes:
> 
>> Hi there,
>> 
>> As a former Guile programmer I like the idea to configure my system using 
>> guile.
>> I installed Guix in a vm (VmwareFusion I have to admit) and everything
>> worked fine.
>> I used the graphical installer and chose Openbox as a Windowmanager-Option.
>> Unfortunately after Installation the desktop is empty and right-click
>> menu contains only dead links.
> 
> The last time I looked at our Openbox package, I noticed that it uses a
> default menu configuration.  That means it has links to stuff like
> Firefox, even though we don’t have a Firefox package.
> 
> You will have to edit the Openbox menu configuration to point to
> programs that you have in your profile.  If memory serves, it’s at
> “~/.config/openbox/menu.xml”.  There, you can tell it how to launch
> programs, so you could fix the “emacs” entry to point to
> “~/.guix-profile/bin/emacs”, for example.  :)
> 
> You will have to get started from the console, because Openbox will not
> know how to open any terminal emulators.
> 
>> I also tride installing lxde afterwards with no options effect. 
>> Any hint what I can do to solve the issue?
>> Thanks! 
> 
> Unfortunately, I don’t know about LXDE.  Just to be sure, how did you
> “install” LXDE?  Did you include it in your operating system
> configuration and then run “guix system reconfigure config.scm”?
> 
> 
> -- Tim
> 




Re: Trying to install Guix System on a nonfree computer, the system frezees at booting, bug?

2019-07-22 Thread Jovany Leandro G.C
On 2019-07-21 22:35, Jan wrote:
> Hi, I'm trying to install Guix System on the following computer:Ryzen
> 5 1600MSI pcmate B350ADATA SX7000NP - it's a NVMe SSDThe problem is
> installation finishes successfully, but after rebooting and trying to
> start the system it freezes like on a screenshot attached below. I
> asked on the IRC and a person told me Guix System often works on
> almost all machines and I should check /var/log/messages, but then the
> person disappeared, but I have the log. I don't know if it's a bug or
> that's my nonfree hardware, so I posted the issue here. --Jan
hi, try install without encryption and see if works,
and then again try install with encryption.

-- 
Jovany Leandro G.C
Desarrollador Software Libre
Cel: (57) 3165387562 - (574) 4809000
Git: https://github.com/bit4bit
Fossil: https://efossils.somxslibres.net
E-Sitio: https://www.somxslibres.net



Re: Problem with Guix install with openbox

2019-07-22 Thread Julien Lepiller
Le 22 juillet 2019 15:15:08 GMT+02:00, Alexander Asteroth 
 a écrit :
>Hi there,
>
>As a former Guile programmer I like the idea to configure my system
>using guile.
>I installed Guix in a vm (VmwareFusion I have to admit) and everything
>worked fine. 
>I used the graphical installer and chose Openbox as a
>Windowmanager-Option.
>Unfortunately after Installation the desktop is empty and right-click
>menu contains only dead links.
>I also tride installing lxde afterwards with no options effect. 
>Any hint what I can do to solve the issue?
>Thanks! 
>
>   Alex

If you log in as a user in a tty, you should be able to install xterm with 
guix. Thcn, from openbox, you should be able to use xterm from the menu and 
configure it to your liking.



Re: Problem with Guix install with openbox

2019-07-22 Thread Timothy Sample
Hi Alexander,

Alexander Asteroth  writes:

> Hi there,
>
> As a former Guile programmer I like the idea to configure my system using 
> guile.
> I installed Guix in a vm (VmwareFusion I have to admit) and everything
> worked fine.
> I used the graphical installer and chose Openbox as a Windowmanager-Option.
> Unfortunately after Installation the desktop is empty and right-click
> menu contains only dead links.

The last time I looked at our Openbox package, I noticed that it uses a
default menu configuration.  That means it has links to stuff like
Firefox, even though we don’t have a Firefox package.

You will have to edit the Openbox menu configuration to point to
programs that you have in your profile.  If memory serves, it’s at
“~/.config/openbox/menu.xml”.  There, you can tell it how to launch
programs, so you could fix the “emacs” entry to point to
“~/.guix-profile/bin/emacs”, for example.  :)

You will have to get started from the console, because Openbox will not
know how to open any terminal emulators.

> I also tride installing lxde afterwards with no options effect. 
> Any hint what I can do to solve the issue?
> Thanks! 

Unfortunately, I don’t know about LXDE.  Just to be sure, how did you
“install” LXDE?  Did you include it in your operating system
configuration and then run “guix system reconfigure config.scm”?


-- Tim



Problem with Guix install with openbox

2019-07-22 Thread Alexander Asteroth
Hi there,

As a former Guile programmer I like the idea to configure my system using guile.
I installed Guix in a vm (VmwareFusion I have to admit) and everything worked 
fine. 
I used the graphical installer and chose Openbox as a Windowmanager-Option.
Unfortunately after Installation the desktop is empty and right-click menu 
contains only dead links.
I also tride installing lxde afterwards with no options effect. 
Any hint what I can do to solve the issue?
Thanks! 

Alex