Re: [gentoo-user] merging or fitting images together

2012-05-16 Thread Pandu Poluan
On May 17, 2012 1:07 PM, "Stroller"  wrote:
>
>
> On 17 May 2012, at 05:34, Philip Webb wrote:
> > ...
> > Please do (smile) & send me the result off-list
> > with the steps you followed to get there.
>
> I have been really enjoying following this thread.
>
> I felt sure from previous reading on Hugin that it was the correct
approach, but when I tried it my results were not very successful and I
never got around to improving on them.
>
> I would love it if this could be kept on-list.
>

Same!

Rgds,


Re: [gentoo-user] UN-subscribe -- Digest of gentoo-user@lists.gentoo.org

2012-05-16 Thread Mick
On Thursday 17 May 2012 05:49:58 KockKin Ko wrote:
> UN-subscribe -- Digest of gentoo-user@lists.gentoo.org

No way!  This list is for life!

  O_O


... only joking!  :-)


INSTRUCTIONS to "UN-subscribe" (sic.):

1. Go here:  http://www.gentoo.org/main/en/lists.xml

2. Read the first few paragraphs and apply what is suggested there for the 
digest lists.


Alternatively,

3. Go to your gmail account.

4. Open any message from this list, like this one for example.

5. Click on the drop down menu that says "More" when you hover your mouse over 
it (top right corner of the message frame).

6. Select "Show original".

7. Read the headers of the message, very carefully.

8. Do what it suggests next to "List-Unsubscribe:"


Good luck!
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] merging or fitting images together

2012-05-16 Thread Stroller

On 17 May 2012, at 05:34, Philip Webb wrote:
> ...
> Please do (smile) & send me the result off-list
> with the steps you followed to get there.

I have been really enjoying following this thread. 

I felt sure from previous reading on Hugin that it was the correct approach, 
but when I tried it my results were not very successful and I never got around 
to improving on them.

I would love it if this could be kept on-list.

Stroller.




Re: [gentoo-user] merging or fitting images together

2012-05-16 Thread Philip Webb
120516 Michael Mol wrote:
> On Mon, May 14, 2012 at 10:50 PM, Philip Webb  wrote:
>> I tried Hugin, but got nowhere.  I set  6  points on each picture,
>> which are  2  overlapping parts of a single original negative,
>> but all it offered was a black screen; I did follow the on-line help.
> Hugin can be tricky, especially if you're using the FastGL mode
> in an older version; that mode didn't really work for me until recently.

I'm using the latest testing 2011.4.0 ; I didn't try a "fast" mode.

> The other thing is that you should let its wizard
> automatically add the control points for you.

Ah yes : I set the corresponding points in each half myself,
eg the toe of someone's shoe or the top of the further tram's headlamp.

> Can you put up the originals somewhere?

They're at  http://www.chass.utoronto.ca/~purslow/test/ .

> I'd like to take a shot at stitching them with Hugin.
> I've done hundreds of panoramas and HDR stacks with it.

Please do (smile) & send me the result off-list
with the steps you followed to get there.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Listing the files of an un-/installed package...?

2012-05-16 Thread Stroller

On 17 May 2012, at 04:19, meino.cra...@gmx.de wrote:
> how can I list all files of packages which is
> 
>installed

eix -I --only-names > installed.txt

> and which is
> 
>not installed

eix --only-names > all_packages.txt

diff installed.txt all_packages.txt | grep --exercise --left --to --the --reader

Stroller.




Re: [gentoo-user] Listing the files of an un-/installed package...?

2012-05-16 Thread Dale
meino.cra...@gmx.de wrote:
> Hi,
> 
> how can I list all files of packages which is
> 
> installed
> 
> and which is
> 
> not installed
> 
> which uninstalling / installing the package in beforehand?
> 
> 
> Thankl you very much in advance for any help!
> 
> Best regards,
> mcc
> 
> 
> 
> 



For installed packages, these two should work:

equery f 

qlist 

Not installed, not sure how to do that.  You might could look it up on
this site:

http://www.portagefilelist.de/site/query/listPackageFiles

Depending on USE flags and such, that could vary a bit I guess.

Hope that helps.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"



[gentoo-user] Listing the files of an un-/installed package...?

2012-05-16 Thread meino . cramer
Hi,

how can I list all files of packages which is

installed

and which is

not installed

which uninstalling / installing the package in beforehand?


Thankl you very much in advance for any help!

Best regards,
mcc





Re: [gentoo-user] merging or fitting images together

2012-05-16 Thread Michael Mol
On Mon, May 14, 2012 at 10:50 PM, Philip Webb  wrote:
> I tried Hugin, but got nowhere.  I set  6  points on each picture,
> which are  2  overlapping parts of a single original negative,
> but all it offered was a black screen; I did follow the on-line help.

Hugin can be tricky, especially if you're using the FastGL mode in an
older version; the FastGL mode didn't really work for me until
recently. The other thing is that you should let its wizard
automatically add the control points for you.

Can you put up the originals somewhere? I'd like to take a shot at
stitching them with Hugin. I've done hundreds of panoramas and HDR
stacks with it.

-- 
:wq



Re: [gentoo-user] ffmpeg and libav

2012-05-16 Thread Stroller

On 16 May 2012, at 23:29, john wrote:
> ...
> I have changed by use flag for ffmpeg to include theora. When i try
> emerge I get the following
> 
> [blocks B  ] media-video/ffmpeg ("media-video/ffmpeg" is blocking
> media-video/libav-0.8.2)
> 
> * Error: The above package list contains packages which cannot be
> * installed at the same time on the same system.
> 
>  (media-video/ffmpeg-0.10.2::gentoo, ebuild scheduled for merge)
>  pulled in by media-video/ffmpeg required by @selected
> 
>  (media-video/libav-0.8.2::gentoo, ebuild scheduled for merge) pulled
>  in by
>> =media-video/libav-0.8.1[X,encode,-jpeg2k,-mp3,-sdl,-theora,-threads,-truetype,-vaapi,-vdpau,-x264]
>  required by (virtual/ffmpeg-0.10.2-r1::gentoo, ebuild scheduled for
>  merge)

In addition to Alan's answer, note here that the above output lists 
media-video/ffmpeg and also virtual/ffmpeg.

Unless you only installed ffmpeg for the first time recently then I'd guess you 
originally installed media-video/ffmpeg (and that's what you have in your world 
file).

If you were to install ffmpeg today you would install virtual/ffmpeg instead, 
which is provided by either media-video/ffmpeg or media-video/libav.

Best thing to do is to remove video/ffmpeg from world in favour of 
virtual/ffmpeg so that Portage can work things out for itself. 

Stroller.




Re: [gentoo-user] merging or fitting images together

2012-05-16 Thread Philip Webb
120516 Urs Schutz wrote:
> On Wed, 16 May 2012 00:12:25 -0400
> Philip Webb  wrote:
>> I can't find out how to turn it into a rectangle.
> Transform -> Unbend Image
> Play with the vertical values, this is very easy, fast and
> intuitive. With brum-3.jpg the best combination was:
> vertical linear 5, vertical curved -16, Done
> and after that
> Transform -> Trim Image or even easier
> Transform -> Auto-Trim Image to get rid of the black areas.
> In the case of brum-3.jpg apply a little bit of
> Retouch -> Gamma Curves, (bend the left part of the curve
> a little bit to the bottom, and the right part to the top)
> to enhance the image contrast.
> Normally the image looses a little bit of sharpness during
> the panorama stitching. You can correct this with:
> Retouch -> Sharpen Image.

Thanks ! -- I tried unbending, but it seemed rather clumsy;
clearly, I need to take more time to get the hang of how it works.

> But: If you would like to make an exhibit, then you get
> better image quality if you bring the negatives to an old-fashioned
> photographer for direct enlargement on B&W photo paper.

I may submit some of them to rail/transit journals for publication,
but won't have a use for hardcopies nor did I know anyone still did that ...

I checked all the apps in media-gfx , but very few are relevant :

  Graphicsmagick -- a long-ago fork of Imagemagick ;
  Digikam -- mb an alternative, but has  39  deps &  155 MB  download ;
  Enblend -- removes dark/light line from .tiff's made eg by Hugin.

Anyway, I have  3  apps to play with & will see where I get to.

Thanks again for your very helpful advice & I HTH others.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Re: Runlevels, ordering initscripts and running them in background

2012-05-16 Thread Walter Dnes
On Wed, May 16, 2012 at 05:43:50AM -0700, walt wrote

On 05/16/2012 01:40 AM__Ignas Anikevicius wrote:
_(  )   __  
> I want to do ( )s, s\ (ha(  \do n()e to wait while non-crucial
> services are__)\ng __) \ed) (   __)  /
  __   __(   (__/ )(   \ ( )
I can(  \ (  (__)  ( y) \ou_h to care about saving
a few )  \_))/   )( )
   _ (__'   (_/(__   ___
Ha(_)y__) )n(   )cy spawned by
Lenna(___S P L O R F   _ /cou)  )of old fossils
(like ma(   ___   /f))ro(__/s.
_(\  ) _   (   )  __    __)  _ ( \_
htt(___)(_/i)   \i(  (g/\(yste)(   _/ ) \__)
   (_) \  ) (   __)  / /  (  (_
My evil twin_ Walter)(nes\ (as b(_/ agi)   )g for systemd in this
mailing lis(_)or mo(__). (  )actually (___/ how systemd works and
can be persuaded to... wel)/ I(_)pect he'll be along shortly to
tell you about it.'

-- 
Walter Dnes 



Re: [gentoo-user] Re: In X: wants to "save screenshot". How do I stop this?

2012-05-16 Thread G.Wolfe Woodbury

On 05/16/2012 07:08 PM, walt wrote:
You did me a huge favor by asking that question, thanks! While poking 
around in the keyboard settings applet I discovered a well-hidden 
option to disable the Caps-Lock key. I hit that stupid thing by 
accident at least ten times/hour and say very vulgar things when it 
happens ;) The keyboard-shortcuts applet does have an option to change 
the screenshot hotkey, so maybe something changed it behind your back? 
Could you amplify a little bit and reveal exactly what applet you used 
and where the little option is located?


Thanks,
--
G.Wolfe Woodbury
aka redwolfe




Re: [gentoo-user] merging or fitting images together

2012-05-16 Thread Urs Schutz
On Wed, 16 May 2012 00:12:25 -0400
Philip Webb  wrote:

> 120515 Philip Webb wrote:
> > 120515 Urs Schutz wrote:
> >> I just tried with fotoxx.
> >> This is a semi-manual process, but I liked the
> >> resulting image.
> 
> I've installed Fotoxx & it does a very good job !
> 
> >> The joint is less visible than on brum-2.jpg.
> 
> There's no sign of it on my version :
>   http://www.chass.utoronto.ca/~purslow/test/brum-3.jpg
> 
> >> It was easy to do an "unbend" after merging
> >> and therefore the clock and the face on the image
> >> borders stay in the image.
> 
> They're on my image, but I can't find out how to turn it
> into a rectangle. NB there are noticeable curves at the
> R-hand edge not in the original: look at the sidewalk
> curve & at the building pediment. Any suggestions ? --
> otherwise, this looks like the tool to use.
> 

Transform -> Unbend Image
Play with the vertical values, this is very easy, fast and
intuitive. With brum-3.jpg the best combination was:
vertical linear 5, vertical curved -16, Done
and after that
Transform -> Trim Image or even easier
Transform -> Auto-Trim Image to get rid of the black areas.

In the case of brum-3.jpg apply a little bit of
Retouch -> Gamma Curves, (bend the left part of the curve
a little bit to the bottom, and the right part to the top)
to enhance the image contrast.
Normally the image looses a little bit of sharpness during
the panorama stitching. You can correct this with:
Retouch -> Sharpen Image.

But: If you would like to make an exhibit, then you get
better image quality if you bring the negatives to an old
fashioned photographer for direct enlargement on B&W photo
paper.

Urs



[gentoo-user] Re: In X: wants to "save screenshot". How do I stop this?

2012-05-16 Thread walt
On 05/16/2012 03:00 PM, Alan Mackenzie wrote:
> Hi, Gentoo!
> 
> Just this past hour, I've noticed that in Gnome 2, any depression of
>  wants to create a .png image of my current desktop.  This is
> regardless of which application is currently active.  This is
> particularly irritating in Firefox, where I want  to scroll the
> screen.
> 
> I suspect this might have been caused by a recent update to the ?event
> library (I can't remember exactly what this was).
> 
> I hate it when people do "clever" things like this.  How can I make it
> stop?

You did me a huge favor by asking that question, thanks!  While poking
around in the keyboard settings applet I discovered a well-hidden option
to disable the Caps-Lock key.  I hit that stupid thing by accident at
least ten times/hour and say very vulgar things when it happens ;)

The keyboard-shortcuts applet does have an option to change the screenshot
hotkey, so maybe something changed it behind your back?






Re: [gentoo-user] In X: wants to "save screenshot". How do I stop this?

2012-05-16 Thread Paul Hartman
On Wed, May 16, 2012 at 5:00 PM, Alan Mackenzie  wrote:
> Hi, Gentoo!
>
> Just this past hour, I've noticed that in Gnome 2, any depression of
>  wants to create a .png image of my current desktop.  This is
> regardless of which application is currently active.  This is
> particularly irritating in Firefox, where I want  to scroll the
> screen.
>
> I suspect this might have been caused by a recent update to the ?event
> library (I can't remember exactly what this was).
>
> I hate it when people do "clever" things like this.  How can I make it
> stop?

I would downgrade to previous version of the evdev driver and see if
it helps. Or disable/change the shortcut for print screen as a
temporary workaround.



[gentoo-user] In X: wants to "save screenshot". How do I stop this?

2012-05-16 Thread Alan Mackenzie
Hi, Gentoo!

Just this past hour, I've noticed that in Gnome 2, any depression of
 wants to create a .png image of my current desktop.  This is
regardless of which application is currently active.  This is
particularly irritating in Firefox, where I want  to scroll the
screen.

I suspect this might have been caused by a recent update to the ?event
library (I can't remember exactly what this was).

I hate it when people do "clever" things like this.  How can I make it
stop?

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] ffmpeg and libav

2012-05-16 Thread Alan McKinnon
On Wed, 16 May 2012 22:29:11 +
john  wrote:

> 
> Hello,
> 
> I have changed by use flag for ffmpeg to include theora. When i try
> emerge I get the following
> 
> [blocks B  ] media-video/ffmpeg ("media-video/ffmpeg" is blocking
> media-video/libav-0.8.2)
> 
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.
> 
>   (media-video/ffmpeg-0.10.2::gentoo, ebuild scheduled for merge)
>   pulled in by media-video/ffmpeg required by @selected
> 
>   (media-video/libav-0.8.2::gentoo, ebuild scheduled for merge) pulled
>   in by
>   
> >=media-video/libav-0.8.1[X,encode,-jpeg2k,-mp3,-sdl,-theora,-threads,-truetype,-vaapi,-vdpau,-x264]
>   required by (virtual/ffmpeg-0.10.2-r1::gentoo, ebuild scheduled for
>   merge)
> 
> 
> This happens for several use flags (mp3 aac)
> 
> 
> Does this mean that ffmpeg no longer supports mp3 x264 theora etc?

No, it means that ffmpeg and libav provide the same functionalityand
thus cannot both be installed on the same machine at the same time,
you need to pick one (libav is actually a fork of ffmpeg). See here:

http://blogs.gentoo.org/scarabeus/2012/05/14/media-videolibav-stable-on-most-important-archs/#utm_source=feed&utm_medium=feed&utm_campaign=feed


> 
> And if I need to codecise an mp3 I cannot use ffmpeg?
> 
> Or have I lost the plot?



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




[gentoo-user] ffmpeg and libav

2012-05-16 Thread john

Hello,

I have changed by use flag for ffmpeg to include theora. When i try
emerge I get the following

[blocks B  ] media-video/ffmpeg ("media-video/ffmpeg" is blocking
media-video/libav-0.8.2)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (media-video/ffmpeg-0.10.2::gentoo, ebuild scheduled for merge)
  pulled in by media-video/ffmpeg required by @selected

  (media-video/libav-0.8.2::gentoo, ebuild scheduled for merge) pulled
  in by
  
>=media-video/libav-0.8.1[X,encode,-jpeg2k,-mp3,-sdl,-theora,-threads,-truetype,-vaapi,-vdpau,-x264]
  required by (virtual/ffmpeg-0.10.2-r1::gentoo, ebuild scheduled for
  merge)


This happens for several use flags (mp3 aac)


Does this mean that ffmpeg no longer supports mp3 x264 theora etc?

And if I need to codecise an mp3 I cannot use ffmpeg?

Or have I lost the plot?
-- 
John D Maunder



Re: [gentoo-user] Runlevels, ordering initscripts and running them in background

2012-05-16 Thread Ignas Anikevicius
On 16/05/12 13:13, Canek Peláez Valdés wrote:
> On Wed, May 16, 2012 at 3:40 AM, Ignas Anikevicius
>  wrote:
>> Hello everybody,
>>
>> I was wondering if the following is possible:
>>- Add a lot of daemons to a newly created runlevel post-default
>>- Switch to it after the xdm is started (or after some time)
>>
>> I want to do this, so that I do not have to wait while non-crucial
>> services are being started (e.g. fcron, bitlbee, ntpd to name a few).
>> Maybe it is possible to somehow prioritize the initscripts?
>>
>> Another related question is that I come from Arch and there I could just
>> give the *order* of the daemons/initscripts to start and some of them
>> could be started and 'in background'. Is it possible to do that with
>> openrc? I saw the rc_parallel option in rc.conf, but I do not know,
>> whether I need anything else.
> 
> Be aware that the rc_parallel option has never been really supported,
> and it actually doesn't appear in the /etc/rc.conf of the one machine
> I have access to that still uses OpenRC.
> 
> You may want to try systemd, it sounds like it does (out of the box)
> exactly what you want to.
> 
> Regards.

I did know, that this was removed. If I experience problems I'll remove
the option, but maybe I'll remove it all together.

I have systemd installed as I wanted to try, but I do not like the way
everything is managed. I like the idea of simple bash initscripts, which
can be easily extended if needed. I can also write bash scripts, which
configure my system the way I want (i.e. set battery charging thresholds
or something similar).

I do not care for a split second advantage, but I just do not see a lot
of point in waiting for bitlbee to start before xdm so that I might need
maybe a while after I boot into my computer.

Thanks for suggestions to everybody.

Cheers,
Ignas



Re: [gentoo-user] Runlevels, ordering initscripts and running them in background

2012-05-16 Thread Ignas Anikevicius
On 16/05/12 14:15, Neil Bothwick wrote:
> On Wed, 16 May 2012 09:40:26 +0100, Ignas Anikevicius wrote:
> 
>> I want to do this, so that I do not have to wait while non-crucial
>> services are being started (e.g. fcron, bitlbee, ntpd to name a few).
>> Maybe it is possible to somehow prioritize the initscripts?
> 
> Yes it is. The initscripts themselves have such a mechanism, using the
> before and after statements, for example making sure that network
> services are started after the network is brought up. You can add your
> own rules to the daemons' config files in /etc/conf.d or to /etc/rc.conf.
> 
> To have bitlbee start after xdm either add
> 
> rc_after="xdm" 
> 
> to /etc/conf.d/bitlbee or put
> 
> rc_bitlbee_after="xdm"
> 
> in /etc/rc.conf. Both have the same effect, it depends on whether you
> want to put all these settings together or in the individual services'
> config files.
> 

Thanks for the tip!, I will use this to see how much difference do I
get. :)

Cheers,
Ignas



Re: [gentoo-user] Runlevels, ordering initscripts and running them in background

2012-05-16 Thread Neil Bothwick
On Wed, 16 May 2012 09:40:26 +0100, Ignas Anikevicius wrote:

> I want to do this, so that I do not have to wait while non-crucial
> services are being started (e.g. fcron, bitlbee, ntpd to name a few).
> Maybe it is possible to somehow prioritize the initscripts?

Yes it is. The initscripts themselves have such a mechanism, using the
before and after statements, for example making sure that network
services are started after the network is brought up. You can add your
own rules to the daemons' config files in /etc/conf.d or to /etc/rc.conf.

To have bitlbee start after xdm either add

rc_after="xdm" 

to /etc/conf.d/bitlbee or put

rc_bitlbee_after="xdm"

in /etc/rc.conf. Both have the same effect, it depends on whether you
want to put all these settings together or in the individual services'
config files.


-- 
Neil Bothwick

Tact is for people who don't understand sarcasm.


signature.asc
Description: PGP signature


[gentoo-user] gem install linecache19 fails

2012-05-16 Thread 1126
Hello, 

I do need the ruby-gem linecache19-0.5.12. Usually, there are two ways to 
install a gem, right? Via emerge and via gem install. But here, only one way 
works. dev-ruby/linecache only builds the 
ruby18-version 
of 
this gem, so I'm stuck with gem install. But gem install fails with the 
following error:

trace_nums.c:(.text+0x22): undefined reference to `ruby_current_thread'


I am using ruby-1.9.3p194, but tried with different versions as well. 

Does anyone have a clue what I can do to solve the problem and get 
linecache19-0.5.12 installed?

Thanks in advance,

Christian.



[gentoo-user] Re: Runlevels, ordering initscripts and running them in background

2012-05-16 Thread walt
On 05/16/2012 01:40 AM, Ignas Anikevicius wrote:

> I want to do this, so that I do not have to wait while non-crucial
> services are being started 

I can barely remember when I was young enough to care about saving
a few seconds.  (But, good for you :)

Have you heard of systemd?  Yet another evil conspiracy spawned by
Lennart Poettering, father of pulseaudio and scourge of old fossils
(like many of us here) who avoid any form of progress.

http://en.wikipedia.org/wiki/Systemd

My evil twin, Walter Dnes, has been agitating for systemd in this
mailing list for months.  He actually knows how systemd works and
can be persuaded to... well, I expect he'll be along shortly to
tell you about it.




Re: [gentoo-user] Runlevels, ordering initscripts and running them in background

2012-05-16 Thread Dale
Canek Peláez Valdés wrote:
> On Wed, May 16, 2012 at 3:40 AM, Ignas Anikevicius
>  wrote:
>> Hello everybody,
>>
>> I was wondering if the following is possible:
>>- Add a lot of daemons to a newly created runlevel post-default
>>- Switch to it after the xdm is started (or after some time)
>>
>> I want to do this, so that I do not have to wait while non-crucial
>> services are being started (e.g. fcron, bitlbee, ntpd to name a few).
>> Maybe it is possible to somehow prioritize the initscripts?
>>
>> Another related question is that I come from Arch and there I could just
>> give the *order* of the daemons/initscripts to start and some of them
>> could be started and 'in background'. Is it possible to do that with
>> openrc? I saw the rc_parallel option in rc.conf, but I do not know,
>> whether I need anything else.
> 
> Be aware that the rc_parallel option has never been really supported,
> and it actually doesn't appear in the /etc/rc.conf of the one machine
> I have access to that still uses OpenRC.
> 
> You may want to try systemd, it sounds like it does (out of the box)
> exactly what you want to.
> 
> Regards.


Just to add for the OP, this was discussed on -dev and it was removed,
although you can still try it if you want, a good while back because it
was causing problems.  I don't know anything much about systemsd but
according to the devs, you shouldn't use the parallel option with openRC
unless you want to keep up with the problems.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"



Re: [gentoo-user] Runlevels, ordering initscripts and running them in background

2012-05-16 Thread Canek Peláez Valdés
On Wed, May 16, 2012 at 3:40 AM, Ignas Anikevicius
 wrote:
> Hello everybody,
>
> I was wondering if the following is possible:
>    - Add a lot of daemons to a newly created runlevel post-default
>    - Switch to it after the xdm is started (or after some time)
>
> I want to do this, so that I do not have to wait while non-crucial
> services are being started (e.g. fcron, bitlbee, ntpd to name a few).
> Maybe it is possible to somehow prioritize the initscripts?
>
> Another related question is that I come from Arch and there I could just
> give the *order* of the daemons/initscripts to start and some of them
> could be started and 'in background'. Is it possible to do that with
> openrc? I saw the rc_parallel option in rc.conf, but I do not know,
> whether I need anything else.

Be aware that the rc_parallel option has never been really supported,
and it actually doesn't appear in the /etc/rc.conf of the one machine
I have access to that still uses OpenRC.

You may want to try systemd, it sounds like it does (out of the box)
exactly what you want to.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] Socks-ifying an application

2012-05-16 Thread Mick
On 15 May 2012 23:19, Mick  wrote:
> On Tuesday 15 May 2012 22:08:17 you wrote:

>> I don't see anything wrong with the rest of your config. I honestly
>> think you are dealing with a chromium feature not a chromium bug.
>>
>> Have you searched chromium-specific sites to see what others have to
>> say?
>
> I haven't yet, because it is not just Chromium that's not working as it is
> supposed to (although it is the most vocal app on the terminal when called
> with tsocks).  I haven't yet found an app which will work with tsocks at all.

OK, I just noticed that launching chromium from a terminal brings up
this error, so it is not tsocks specific:

$ chromium
[4163:4174:213397467:ERROR:object_proxy.cc(239)] Failed to call
method: org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.NetworkManager was not provided by any .service files


> The fact that proxychains does not work at all (applications completely ignore
> it and run outside the tunnel) made me question the sanity of my set up.  Is
> there anything other than coincidence that would cause both apps to fail?

Yep, it is a coincidence it seems:

  https://bugs.gentoo.org/show_bug.cgi?id=408427

-- 
Regards,
Mick



[gentoo-user] Runlevels, ordering initscripts and running them in background

2012-05-16 Thread Ignas Anikevicius
Hello everybody,

I was wondering if the following is possible:
- Add a lot of daemons to a newly created runlevel post-default
- Switch to it after the xdm is started (or after some time)

I want to do this, so that I do not have to wait while non-crucial
services are being started (e.g. fcron, bitlbee, ntpd to name a few).
Maybe it is possible to somehow prioritize the initscripts?

Another related question is that I come from Arch and there I could just
give the *order* of the daemons/initscripts to start and some of them
could be started and 'in background'. Is it possible to do that with
openrc? I saw the rc_parallel option in rc.conf, but I do not know,
whether I need anything else.

Thanks for help,
Ignas A.



Re: [gentoo-user] Grub2, chroot, initramfs

2012-05-16 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 16.05.2012 04:37, Paul Hartman wrote:
> Hi,
> 
> I'm trying out grub2 for the first time on my old laptop. I'm 
> following the guide at:
> https://wiki.gentoo.org/wiki/GRUB2_Quick_Start which seems easy
> enough. Basically just emerge it, install and go.
> 
> However... two different questions:
> 
> When I did this from a chroot, I just got the GRUB> prompt upon 
> rebooting... no menu or anything. I can manually type "linux 
> /boot/vmlinuz root=/dev/sda3" and then boot into my system. When I
> run grub2-mkconfig from within the chroot, I don't get any "Found
> linux image" lines. It does not create /boot/grub2/grub.cfg but
> rather grub.cfg.new. So I don't know if it's confused about where
> /boot is or what. Is there a trick to installing/updating grub2
> config from within a chroot?
> 
> Second, when running grub2-mkconfig from within my working gentoo 
> system, it fails with "error: failed to get canonical path of 
> /dev/root." which is apparently because I don't use an initramfs.
> I must manually run "ln -s /dev/sda3 /dev/boot" before it will
> work. Is there any trick to avoid having to do that every time? For
> now I have simply added that to my after-kernel-update script but
> I'm curious to know if grub2 knows how to handle this on its own
> somehow.
> 
> Thanks, Paul
> 

If I recall correctly you need to mount /sys for grub2 to sucessfully
detect devices.
mount -o bind /sys http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPs2UIAAoJEJwwOFaNFkYcgrcIALVB1QY/HOX/xkDesJkRSLjS
rvK4m/WDde6FsmT2B3XSSZ9W6aVAfdJO8+GM+0MolpRT64fp7wNtAr0yaV4ALRr8
tNxk0YqWXPcSmh4LIsagKKnMuCCajHXZMK7AWPqnyAtifKPlP14j4H2T9cNegPvz
doR9DF2sU/TPyCzVrvq1ouMelXkao9EC7ejQ39nnZ12PrxrdqapITpkqjJ2OuTOn
NylZS6HQnZw+A8uLVuUD+Mclu/Z+sRbSEUAQelHSDe3knA7MZTkeXBrUoKj4g63r
2YRnrJACxeeJkIVxGOuVTQIT7a0A5TZHzMiv8wWTbIfDstPUBkGd3iV6Jvl3ndM=
=tTo+
-END PGP SIGNATURE-