Re: [Nix-dev] Adding xfce4 panel plugins

2012-10-12 Thread Eduard Carreras i Nadal
On Fri, Oct 12, 2012 at 8:38 AM, Eduard Carreras i Nadal < ecarre...@gmail.com> wrote: > > El 12/10/2012 1:39, "Eelco Dolstra" va > escriure: > > > > > Hi, > > > > On 11/10/12 19:32, Eelco Dolstra wrote: > > > > > However, a much cleaner solution would be to make the panel use > $XDG_DATA_DIRS >

Re: [Nix-dev] Adding xfce4 panel plugins

2012-10-11 Thread Eduard Carreras i Nadal
El 12/10/2012 1:39, "Eelco Dolstra" va escriure: > > Hi, > > On 11/10/12 19:32, Eelco Dolstra wrote: > > > However, a much cleaner solution would be to make the panel use $XDG_DATA_DIRS > > for finding the *.desktop files of the plugins. That would be more general > > because it would allow users

Re: [Nix-dev] Adding xfce4 panel plugins

2012-10-11 Thread Eelco Dolstra
Hi, On 11/10/12 19:32, Eelco Dolstra wrote: > However, a much cleaner solution would be to make the panel use $XDG_DATA_DIRS > for finding the *.desktop files of the plugins. That would be more general > because it would allow users to have their own plugins in their home > directories > (so up

Re: [Nix-dev] Adding xfce4 panel plugins

2012-10-11 Thread Eelco Dolstra
Hi, On 11/10/12 18:42, Eduard Carreras i Nadal wrote: > How can I do that xfce4-panel uses /run/current-system/sw/ as a prefix instead > of its own prefix? In panel/panel-module-factory there is a line > #define PANEL_PLUGINS_DATA_DIR (DATADIR G_DIR_SEPARATOR_S "panel" > G_DIR_SEPARATOR_S

Re: [Nix-dev] Adding xfce4 panel plugins

2012-10-11 Thread Eduard Carreras i Nadal
On Fri, Oct 12, 2012 at 12:55 AM, Marc Weber wrote: > Excerpts from Eduard Carreras i Nadal's message of Fri Oct 12 00:42:55 > +0200 2012: > > How can I do that xfce4-panel uses /run/current-system/sw/ as a prefix > > instead of its own prefix? > look at the source code. Sometimes there are optio

Re: [Nix-dev] Adding xfce4 panel plugins

2012-10-11 Thread Marc Weber
Excerpts from Eduard Carreras i Nadal's message of Fri Oct 12 00:42:55 +0200 2012: > How can I do that xfce4-panel uses /run/current-system/sw/ as a prefix > instead of its own prefix? look at the source code. Sometimes there are options, sometimes you have to patch it. Quicker way: Use a symlink

Re: [Nix-dev] Adding xfce4 panel plugins

2012-10-11 Thread Eduard Carreras i Nadal
On Thu, Oct 11, 2012 at 11:53 PM, Eduard Carreras i Nadal < ecarre...@gmail.com> wrote: > [...] > >> Then I tried to install this package with nix-env -i /nix/store/**gas9rjahhdxkksv7k3fbq4kwgp17xr** vf-xfce4-cpufreq-plugin-1.0.0 but when I try to add the plugin there is not cpufre

Re: [Nix-dev] Adding xfce4 panel plugins

2012-10-11 Thread Eduard Carreras i Nadal
[...] > Then I tried to install this package with nix-env -i >>> /nix/store/**gas9rjahhdxkksv7k3fbq4kwgp17xr** >>> vf-xfce4-cpufreq-plugin-1.0.0 >>> but when I try to add the plugin there is not cpufreq plugin in the list >>> of xfce4 panel plugins. >>> >> Starting xfce4-panel with debugging: $ x

Re: [Nix-dev] Adding xfce4 panel plugins

2012-10-10 Thread Eduard Carreras i Nadal
On Wed, Oct 10, 2012 at 9:18 AM, Vladimír Čunát wrote: > Hello. > > > On 10/09/2012 03:32 PM, Eduard Carreras i Nadal wrote: > >> Hello, >> I'm trying to add some goodies to xfce4 like panel plugins. I've done >> the nix expression [1][2], then added to >> pkgs/desktops/xfce-4.8/**default.nix[3].

Re: [Nix-dev] Adding xfce4 panel plugins

2012-10-10 Thread Vladimír Čunát
Hello. On 10/09/2012 03:32 PM, Eduard Carreras i Nadal wrote: Hello, I'm trying to add some goodies to xfce4 like panel plugins. I've done the nix expression [1][2], then added to pkgs/desktops/xfce-4.8/default.nix[3]. [...] > Then I tried to install this package with nix-env -i /nix/store/ga