Re: A few questions about packages

2018-03-11 Thread Jone
>Your user’s profiles are not the only ones that can keep packages
>alive.
>You also have a system profile with potentially multiple generations.
>They are stored under /var/guix/profiles/system*

This we already figured out previously in this thread :) 
And:

"Label : GNU with Linux-Libre 4.15.7 (beta)
Prev. generation  : 0  
Current   : Yes
Number of packages: 88  Packages
File name: 
  /var/guix/profiles/system-4-link"

The question remains.



Re: A few questions about packages

2018-03-11 Thread Ricardo Wurmus

Jone  writes:

>> On 07/03/2018, Jone wrote:
>
>> Hello. Can I remove old package versions and other builds? On the
>> example of Icecat:
>>
>>   252.1 MiB [ ]
>> /5ym67s5vp1vmnc3y4ds4r3687vc3nl25-icecat-52.6.0-gnu1
>>   252.0 MiB [ ]
>> /360i9ca4gnm3rsjj8v43ih0j3mfrp40n-icecat-52.6.0-gnu1
>>   246.8 MiB [ ]
>> /kd0nnq3i0qarx4vqxcampxfj3igxn84h-icecat-52.3.0-gnu1
>
> Seems I has understood not until the end of..
> After running 'guix package -d && guix gc':
>
> ls -d /gnu/store/*gtk+*/ […]

Your user’s profiles are not the only ones that can keep packages alive.
You also have a system profile with potentially multiple generations.
They are stored under /var/guix/profiles/system*

> (guix gc --optimize not do anything)

As the manual says, this is for deduplicating files in the store.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net





Re: A few questions about packages

2018-03-11 Thread Jone
> On 07/03/2018, Jone wrote:

> Hello. Can I remove old package versions and other builds? On the 
> example of Icecat:
> 
>      252.1 MiB [  ] 
> /5ym67s5vp1vmnc3y4ds4r3687vc3nl25-icecat-52.6.0-gnu1
>      252.0 MiB [  ] 
> /360i9ca4gnm3rsjj8v43ih0j3mfrp40n-icecat-52.6.0-gnu1
>      246.8 MiB [  ] 
> /kd0nnq3i0qarx4vqxcampxfj3igxn84h-icecat-52.3.0-gnu1

Seems I has understood not until the end of..
After running 'guix package -d && guix gc':

ls -d /gnu/store/*gtk+*/

/gnu/store/9kv6d924wcii38zwd4jbkxzlaz8hsl4z-gtk+-3.22.26/
/gnu/store/baps67ax5wj5njl7mcpg825v7wvcd1g6-gtk+-3.22.21/
/gnu/store/blxcjvmcpm4h80wmzrjh8z8hxjp6a7cj-gtk+-2.24.31/
/gnu/store/gfz7znplsbgsw2npdbz5vgfl90q222hv-gtk+-3.22.26/
/gnu/store/j74pvcwvx93fnaq3j6jj1rxzhj80bk16-gtk+-2.24.31/
/gnu/store/jwaxdxsxfd220dx5a1crcbw3nh2nnpmy-gtk+-2.24.31/
/gnu/store/kx3p64ff6pnyj2wppj78s3d41a49d4lp-gtk+-3.22.26-bin/
/gnu/store/lf7379mdvch8y1i1ds4lqblm43sfzlbf-gtk+-2.24.31/
/gnu/store/mnxrb9zgbdglhsr98h7r2skn6wv7zvsp-gtk+-2.24.31/
/gnu/store/rbzlcg13vpabvj2sr6c67icd15wq0vhz-gtk+-2.24.31/
/gnu/store/wsdqwpm22l8dgqqibzbgx5zn4bnkz0ci-gtk+-3.22.26/Can be as something 
optimize?
/gnu/store/z23h6jgiyv180gxvmdc8xnpaqxd2bm7k-gtk+-2.24.31/
/gnu/store/zpvxja0ajxddyxjc1lsnhz53j0ysh822-gtk+-2.24.31/

How can I verify if these paths are needed and for what purpose? Can be
as something optimize (guix gc --optimize not do anything)?



Re: Wayland setup

2018-03-11 Thread Thorsten Wilms

Hi!

Thank you, Andreas and Oleg.


Aside of additional services, this seems to be the way to get Weston 
with a minimum of stuff installed:


---

(use-modules (gnu)
 (gnu packages freedesktop) ; for wayland
 (gnu packages xorg)) ; for xorg-server-xwayland
(use-service-modules networking)

(operating-system
  ...

  ;; Trying weston-launch as plain user: got told to either run it from
  ;; an active and local (systemd) session, or add the user to  weston-
  ;; launch. weston-launch needs to be created, first:
  (groups (cons (user-group (system? #t) (name "weston-launch"))
%base-groups))

  (users (cons (user-account
(name "thorwil")
(group "users")
(supplementary-groups '("audio"
"netdev"
"video"
"weston-launch"
"wheel"))
(home-directory "/home/thorwil"))
   %base-user-accounts))

  ;; Globally-installed packages.
  (packages (cons* xorg-server-xwayland wayland weston %base-packages))

  ;; Add service to the baseline
  (services (cons* (console-keymap-service "de-latin1-nodeadkeys")
   (dhcp-client-service)
   (simple-service 'etc-additions
   etc-service-type
   (list `("inputrc" ,(plain-file 
"inputrc" "set bell-style none"

   (gpm-service) ; mouse on the console
   %base-services)))

---

From my reading, the command to launch Weston outside of an X session 
is weston-launch. The first attempt led to a message about the 
"weston-launch" group. It would have been nice to have that taken care 
of automatically, though I don't see how that could happen in harmony 
with hand-edited configuration.


The next error: XDG_RUNTIME_DIR not set. 
https://wayland.freedesktop.org/building.html offers this script, which 
I used:


if test -z "${XDG_RUNTIME_DIR}"; then
export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
if ! test -d "${XDG_RUNTIME_DIR}"; then
mkdir "${XDG_RUNTIME_DIR}"
chmod 0700 "${XDG_RUNTIME_DIR}"
fi
fi

So now "weston-launch" will lead to no (obvious) effect, except printing 
this one mangled line:
"t it.org/wiki/Specifications/basedir-specis not 
set.n2-weston-3.0.0/bin/weston 2t=weston=3.0.0"


Specifying a TTY like "weston-launch -t 2" makes no difference, except 
for "7", in which case the whole system becomes unresponsive after an 
Alt-F7.


I tried with and without this ~/.config/weston.ini:
---
[core]
xwayland=true

[keyboard]
keymap_layout=de-latin1-nodeadkeys

[output]
name=WL1
mode=2560x1600
---

Any ideas? Success stories with any other Wayland compositor outside of 
Gnome?



--
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/



VLC could not decode the format "ssa " (SubStation Alpha subtitles)

2018-03-11 Thread Dang Duong
I have installed the latest version of VLC (2.2.8) on Trisquel 7.0 using
Guix. It works normally with .srt files but cannot open .ass files. I tried
installing libass but it still doesn't work.