Re: [gentoo-user] Running Gentoo infrastructure on MacOS

2017-04-11 Thread Ian Bloss
Look up Gentoo prefix

On Tue, Apr 11, 2017, 3:29 PM Viktar Patotski  wrote:

> Hi List,
>
> I know that it's possible to install Gentoo as a dual boot on a Mac Book.
> However I do like MacOs interface and it's power saving features. So, I
> have a question: Is there any way to have MacOs booted, but use Gentoo
> infrastructure (portage, packages etc.)? I'm aware of VirtualBox and
> similar options, but is there a way to be integrated in more easy way?
> Something similar to container based virtualisation?
>
> Thanks,
> Viktar
>


[gentoo-user] Running Gentoo infrastructure on MacOS

2017-04-11 Thread Viktar Patotski
Hi List,

I know that it's possible to install Gentoo as a dual boot on a Mac Book.
However I do like MacOs interface and it's power saving features. So, I
have a question: Is there any way to have MacOs booted, but use Gentoo
infrastructure (portage, packages etc.)? I'm aware of VirtualBox and
similar options, but is there a way to be integrated in more easy way?
Something similar to container based virtualisation?

Thanks,
Viktar


Re: [gentoo-user] gkrellm [Was: Something eats my memory - please help]

2017-04-11 Thread Alan McKinnon
On 11/04/2017 20:59, Peter Humphrey wrote:
> On Tuesday 11 Apr 2017 19:08:05 Neil Bothwick wrote:
>> On Tue, 11 Apr 2017 17:45:04 +0200, Miroslav Rovis wrote:
>>> Not sure I understand. I don't have anything in
>>> /usr/share/gkrellm2/
>>> let alone a file by the name
>>> /usr/share/gkrellm2/themes/invisible/gkrellmrc
>>
>> % qfile /usr/share/gkrellm2/themes/invisible/gkrellmrc
>> x11-themes/gkrellm-themes (/usr/share/gkrellm2/themes/invisible/gkrellmrc)
>>
>> It's part of gkrellm-themes.
> 
> Yes, I should have mentioned that. Perhaps I assumed that everyone who uses 
> gkrellm also uses its themes. Mea culpa.
> 


heh. I have all the themes installed and never used them :-)
I try various ones out from time to time and always go back to the
default...

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] gkrellm [Was: Something eats my memory - please help]

2017-04-11 Thread Peter Humphrey
On Tuesday 11 Apr 2017 19:08:05 Neil Bothwick wrote:
> On Tue, 11 Apr 2017 17:45:04 +0200, Miroslav Rovis wrote:
> > Not sure I understand. I don't have anything in
> > /usr/share/gkrellm2/
> > let alone a file by the name
> > /usr/share/gkrellm2/themes/invisible/gkrellmrc
> 
> % qfile /usr/share/gkrellm2/themes/invisible/gkrellmrc
> x11-themes/gkrellm-themes (/usr/share/gkrellm2/themes/invisible/gkrellmrc)
> 
> It's part of gkrellm-themes.

Yes, I should have mentioned that. Perhaps I assumed that everyone who uses 
gkrellm also uses its themes. Mea culpa.

-- 
Regards
Peter




Re: [gentoo-user] gkrellm [Was: Something eats my memory - please help]

2017-04-11 Thread Miroslav Rovis
On 170411-19:08+0100, Neil Bothwick wrote:
> On Tue, 11 Apr 2017 17:45:04 +0200, Miroslav Rovis wrote:
> 
> > Not sure I understand. I don't have anything in  
> > /usr/share/gkrellm2/
> > let alone a file by the name
> > /usr/share/gkrellm2/themes/invisible/gkrellmrc
> 
> % qfile /usr/share/gkrellm2/themes/invisible/gkrellmrc
> x11-themes/gkrellm-themes (/usr/share/gkrellm2/themes/invisible/gkrellmrc)
> 
> It's part of gkrellm-themes.
> 

Ah!...

But... Spartan austerity here. Default themes are just fine for me.

-- 
Miroslav Rovis
Zagreb, Croatia
https://www.CroatiaFidelis.hr


signature.asc
Description: Digital signature


Re: [gentoo-user] gkrellm [Was: Something eats my memory - please help]

2017-04-11 Thread Neil Bothwick
On Tue, 11 Apr 2017 17:45:04 +0200, Miroslav Rovis wrote:

> Not sure I understand. I don't have anything in  
> /usr/share/gkrellm2/
> let alone a file by the name
> /usr/share/gkrellm2/themes/invisible/gkrellmrc

% qfile /usr/share/gkrellm2/themes/invisible/gkrellmrc
x11-themes/gkrellm-themes (/usr/share/gkrellm2/themes/invisible/gkrellmrc)

It's part of gkrellm-themes.


-- 
Neil Bothwick

A good pun is its own reword.


pgpgz8cKR0LcB.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] gkrellm [Was: Something eats my memory - please help]

2017-04-11 Thread Miroslav Rovis
On 170411-15:16+0100, Peter Humphrey wrote:
> On Tuesday 11 Apr 2017 03:50:38 Dale wrote:
> 
> > Another thing, at least this used to work, adjusting fonts and their
> > size. That generally affects the height some too.
> > 
> > I'm not aware of a way to do that as a whole with a single setting. If
> > someone knows of one, I'd be interested in it too.
> 
> Note this in the rc file of the theme I use:
> 
> $ grep _font /usr/share/gkrellm2/themes/invisible/gkrellmrc
> large_font = "-adobe-helvetica-medium-r-normal-*-*-100-*-*-p-*-*-*"
> normal_font = "-adobe-helvetica-medium-r-normal-*-*-100-*-*-p-*-*-*"
> small_font = "-adobe-helvetica-medium-r-normal-*-*-80-*-*-p-*-*-*"
> StyleChart *.font = normal_font
> StyleChart *.alt_font = small_font
> StylePanel *.font = normal_font
> StylePanel *.alt_font = normal_font
> StyleMeter *.font = normal_font
> StyleMeter *.alt_font = small_font
> StyleMeter cal.font = med_font
> StyleMeter cal.alt_font = large_font
> StyleMeter clock.font = large_font
> StyleMeter fs.alt_font = normal_font
> 
> I once tried playing about with the fonts specified in there, but I didn't 
> manage to make any worthwhile improvement so I put it back as before.
> 
> -- 
> Regards
> Peter
> 
Not sure I understand. I don't have anything in  
/usr/share/gkrellm2/
let alone a file by the name
/usr/share/gkrellm2/themes/invisible/gkrellmrc

Have a look at what:
# equery f gkrellm
told me, pls. open attachment:
equery_f_gkrellm.txt

Regards
-- 
Miroslav Rovis
Zagreb, Croatia
https://www.CroatiaFidelis.hr
/etc
/etc/conf.d
/etc/conf.d/gkrellmd
/etc/gkrellmd.conf
/etc/init.d
/etc/init.d/gkrellmd
/usr
/usr/bin
/usr/bin/gkrellm
/usr/bin/gkrellmd
/usr/include
/usr/include/gkrellm2
/usr/include/gkrellm2/gkrellm-public-proto.h
/usr/include/gkrellm2/gkrellm.h
/usr/include/gkrellm2/gkrellmd.h
/usr/include/gkrellm2/log.h
/usr/lib
/usr/lib64
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/gkrellm.pc
/usr/share
/usr/share/applications
/usr/share/applications/gkrellm-gkrellm-2.desktop
/usr/share/doc
/usr/share/doc/gkrellm-2.3.10
/usr/share/doc/gkrellm-2.3.10/CREDITS.bz2
/usr/share/doc/gkrellm-2.3.10/Changelog.bz2
/usr/share/doc/gkrellm-2.3.10/README.bz2
/usr/share/doc/gkrellm-2.3.10/html
/usr/share/doc/gkrellm-2.3.10/html/Changelog-plugins.html
/usr/share/doc/gkrellm-2.3.10/html/Changelog-themes.html
/usr/share/doc/gkrellm-2.3.10/html/Themes.html
/usr/share/locale
/usr/share/locale/bg
/usr/share/locale/bg/LC_MESSAGES
/usr/share/locale/bg/LC_MESSAGES/gkrellm.mo
/usr/share/locale/cs
/usr/share/locale/cs/LC_MESSAGES
/usr/share/locale/cs/LC_MESSAGES/gkrellm.mo
/usr/share/locale/da
/usr/share/locale/da/LC_MESSAGES
/usr/share/locale/da/LC_MESSAGES/gkrellm.mo
/usr/share/locale/de
/usr/share/locale/de/LC_MESSAGES
/usr/share/locale/de/LC_MESSAGES/gkrellm.mo
/usr/share/locale/es
/usr/share/locale/es/LC_MESSAGES
/usr/share/locale/es/LC_MESSAGES/gkrellm.mo
/usr/share/locale/fr
/usr/share/locale/fr/LC_MESSAGES
/usr/share/locale/fr/LC_MESSAGES/gkrellm.mo
/usr/share/locale/it
/usr/share/locale/it/LC_MESSAGES
/usr/share/locale/it/LC_MESSAGES/gkrellm.mo
/usr/share/locale/ja
/usr/share/locale/ja/LC_MESSAGES
/usr/share/locale/ja/LC_MESSAGES/gkrellm.mo
/usr/share/locale/nl
/usr/share/locale/nl/LC_MESSAGES
/usr/share/locale/nl/LC_MESSAGES/gkrellm.mo
/usr/share/locale/pl
/usr/share/locale/pl/LC_MESSAGES
/usr/share/locale/pl/LC_MESSAGES/gkrellm.mo
/usr/share/locale/pt
/usr/share/locale/pt/LC_MESSAGES
/usr/share/locale/pt/LC_MESSAGES/gkrellm.mo
/usr/share/locale/pt_BR
/usr/share/locale/pt_BR/LC_MESSAGES
/usr/share/locale/pt_BR/LC_MESSAGES/gkrellm.mo
/usr/share/locale/ru
/usr/share/locale/ru/LC_MESSAGES
/usr/share/locale/ru/LC_MESSAGES/gkrellm.mo
/usr/share/locale/sl
/usr/share/locale/sl/LC_MESSAGES
/usr/share/locale/sl/LC_MESSAGES/gkrellm.mo
/usr/share/locale/sv
/usr/share/locale/sv/LC_MESSAGES
/usr/share/locale/sv/LC_MESSAGES/gkrellm.mo
/usr/share/locale/uk
/usr/share/locale/uk/LC_MESSAGES
/usr/share/locale/uk/LC_MESSAGES/gkrellm.mo
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/gkrellm.1.bz2
/usr/share/man/man1/gkrellmd.1.bz2
/usr/share/pixmaps
/usr/share/pixmaps/gkrellm.xpm


signature.asc
Description: Digital signature


Re: [gentoo-user] gkrellm [Was: Something eats my memory - please help]

2017-04-11 Thread Peter Humphrey
On Tuesday 11 Apr 2017 03:50:38 Dale wrote:

> Another thing, at least this used to work, adjusting fonts and their
> size. That generally affects the height some too.
> 
> I'm not aware of a way to do that as a whole with a single setting. If
> someone knows of one, I'd be interested in it too.

Note this in the rc file of the theme I use:

$ grep _font /usr/share/gkrellm2/themes/invisible/gkrellmrc
large_font = "-adobe-helvetica-medium-r-normal-*-*-100-*-*-p-*-*-*"
normal_font = "-adobe-helvetica-medium-r-normal-*-*-100-*-*-p-*-*-*"
small_font = "-adobe-helvetica-medium-r-normal-*-*-80-*-*-p-*-*-*"
StyleChart *.font = normal_font
StyleChart *.alt_font = small_font
StylePanel *.font = normal_font
StylePanel *.alt_font = normal_font
StyleMeter *.font = normal_font
StyleMeter *.alt_font = small_font
StyleMeter cal.font = med_font
StyleMeter cal.alt_font = large_font
StyleMeter clock.font = large_font
StyleMeter fs.alt_font = normal_font

I once tried playing about with the fonts specified in there, but I didn't 
manage to make any worthwhile improvement so I put it back as before.

-- 
Regards
Peter




[gentoo-user] gnome language issue

2017-04-11 Thread Raffaele Belardi
I'd like to have the gnome UI and the shell man/messages in English while paper, monetary 
and time I'd like to see in Euro format.


Problem: the gnome 'language and region' applet only displays United States in the 
Language and Formats entries. There is no '+' to add new formats.


I have:
  LINGUAS="en it"
  L10N="en it"
in make.conf.

locale shows all variables set to en_US, and

$ locale --all
C
en_US
en_US.iso88591
en_US.utf8
it_IT@euro
it_IT.iso885915@euro
it_IT.iso88591@euro
POSIX

Is there anything else I need to do to make the applet list other 
languages/formats?

I suppose that once the above is fixed gnome will set the LC_ variables accordingly; to 
see the same variables in a non-GUI environment I suppose I should also set them through 
the localectl systemd command, correct?


thanks,

raffaele



[gentoo-user] Re: systemd questions: hdparm unit file, OpenRC packages

2017-04-11 Thread Kai Krakow
Am Tue, 11 Apr 2017 09:40:04 +0200
schrieb Raffaele Belardi :

> Kai Krakow wrote:
>  [...]  
> >>
> >> You might want to also look at sys-process/systemd-cron as a
> >> bridge. It basically generates timer units from your crontab and
> >> also runs the stuff in /etc/cron.*.d/.  But, timer scripts also
> >> work just fine and I do that for stuff that I want a bit more
> >> control over.  
> >
> > I don't suggest so. Services don't spawn session which cronjobs may
> > depend upon (most don't, tho). Cron spawns a session in the system
> > context. Both is not the same, so you should carefully decide which
> > cronjob to convert to a timer. Everything in /etc/cron* should work,
> > but timers are not a replacement for cron.
> >  
> 
> Thanks for all the hints, I'll test them in the next weeks.
> 
> I used cron mainly for backup scripts and log rotation, it should be
> fairly easy to convert to one of the above (cron session vs. timer)
> once I fully digest the implications.

I'm doing so, too: I use the timers for backup.

-- 
Regards,
Kai

Replies to list-only preferred.




Re: [gentoo-user] Re: systemd questions: hdparm unit file, OpenRC packages

2017-04-11 Thread Raffaele Belardi

Kai Krakow wrote:

- cron/anacron after transition to systemd timers


You might want to also look at sys-process/systemd-cron as a bridge.
It basically generates timer units from your crontab and also runs the
stuff in /etc/cron.*.d/.  But, timer scripts also work just fine and I
do that for stuff that I want a bit more control over.


I don't suggest so. Services don't spawn session which cronjobs may
depend upon (most don't, tho). Cron spawns a session in the system
context. Both is not the same, so you should carefully decide which
cronjob to convert to a timer. Everything in /etc/cron* should work,
but timers are not a replacement for cron.



Thanks for all the hints, I'll test them in the next weeks.

I used cron mainly for backup scripts and log rotation, it should be fairly easy to 
convert to one of the above (cron session vs. timer) once I fully digest the implications.


raffaele



Re: [gentoo-user] Re: systemd questions: hdparm unit file, OpenRC packages

2017-04-11 Thread Raffaele Belardi

Kai Krakow wrote:

Am Mon, 10 Apr 2017 09:27:57 +0200
schrieb Raffaele Belardi :


Looks like systemd does not provide a unit file for hdparm yet,
right? If so I suppose I'll have to write my own.
In general I suppose the same holds for everything that was
under /etc/local.d/


I've put the hdparm stuff in /etc/local.d:

$ cat /etc/local.d/hdparm.start
#!/bin/sh

for device in /sys/bus/scsi/devices/[012345]:0:0:0/block/*; do
hdparm -W1B254S241M254 /dev/$(basename $device)
done

Make it chmod +x.

Then install the gentoo integration packet for systemd which creates
the proper units on the fly during boot:

$ emerge -a sys-apps/gentoo-systemd-integration

After restart, you should see units started for each local.d script.
It's implemented as a systemd generator. To see how it works, look at
"equery f gentoo-systemd-integration" and have a look at the generator
files.


Worked perfectly, thank you. gentoo-systemd-integration was already present in the system, 
I just invoked directly the generator script that it installs.


raffaele