Re: [gentoo-user] ridiculously wide handbook pages

2010-10-04 Thread Mick
On Monday 04 October 2010 03:00:10 Renat Golubchyk wrote:
> On Sun, 3 Oct 2010 18:32:57 +0100 Peter Humphrey
> 
>  wrote:
> > On Saturday 02 October 2010 10:06:05 Renat Golubchyk wrote:
> > > Probleme kann man niemals mit derselben Denkweise loesen,
> > > durch die sie entstanden sind.
> > 
> > Please translate into English - thanks.
> 
> We can't solve problems by using the same kind of thinking we used when
> we created them.

Which is pretty apt, because the nested table with 99% width doesn't reflect 
best practice in web design these days ...
-- 
Regards,
Mick


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


[gentoo-user] Re: ntfs-3g access rights

2010-10-04 Thread James
Mick  gmail.com> writes:


> Of course Alan!  Neil sounds totally different ... 

(old hippies: Crosby, Stills, Nash n Young)

(hacks: Alan, Dale, Mick n Neil)

;-)   .couldn't resist  


cheers







Re: [gentoo-user] ridiculously wide handbook pages

2010-10-04 Thread Peter Humphrey
On Monday 04 October 2010 03:00:10 Renat Golubchyk wrote:
> On Sun, 3 Oct 2010 18:32:57 +0100 Peter Humphrey
> 
>  wrote:
> > On Saturday 02 October 2010 10:06:05 Renat Golubchyk wrote:
> > > Probleme kann man niemals mit derselben Denkweise loesen,
> > > durch die sie entstanden sind.
> > 
> > Please translate into English - thanks.
> 
> We can't solve problems by using the same kind of thinking we used
> when we created them.

Thank you.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] Re: ntfs-3g access rights

2010-10-04 Thread Mick
On Sunday 03 October 2010 20:48:09 Nganon wrote:
> On Sun, Oct 3, 2010 at 10:19 PM, Mick  wrote:
> > On Sunday 03 October 2010 20:00:23 Alan McKinnon wrote:
> [..]
> 
> > > Assuming your uid is 1000, primary group 1000, you can then use options
> > > something like:
> > > 
> > > uid=1000,gid=1000,dmask=0007,fmask=0117
> > > 
> > > which gives a sane unix-like set of permissions. Nothing close to
> > > windows but a) you don't have to be root to use it and b) the www user
> > > can't trash your files on the ntfs volume.
> > > 
> > > Like I said, I've never used ntfs-3g but the above is a pretty common
> > > permissions model and it's reasonable to assume ntfs-3g probably
> > > implements it or something similar. As always, read the fine docs and
> > > YMMV.
> > 
> > Thanks Neil, much appreciated.  I'll have a play with the dmask, fmask
> > settings as you suggest and see what gives.
> > --
> > Regards,
> > Mick
> 
> Here it is in action...
> 
> Sun Oct 03 | 22:38:57 ~ $ grep ntfs /etc/fstab
> #/dev/hda3   /mnt/hda3   ntfs-3g
> dmask=007,fmask=117,gid=6,locale=en_US.UTF-8 0 0
> Sun Oct 03 | 22:39:11 ~ $ ll /mnt/hda3/
> total 461
> -rw-rw 1 root disk  0 Mar  7  2004 AUTOEXEC.BAT
> -rw-rw 1 root disk   4952 Aug  4  2004 Bootfont.bin
> -rw-rw 1 root disk210 Apr 28 13:54 boot.ini
> -rw-rw 1 root disk  0 Mar  7  2004 CONFIG.SYS
> drwxrwx--- 1 root disk   4096 Feb 20  2010 Documents and Settings
> drwxrwx--- 1 root disk  32768 Dec 25  2009 f66ab2f450887cbdbce72b4ac54c5a
> -rw-rw 1 root disk  0 Mar  7  2004 IO.SYS
> drwxrwx--- 1 root disk   4096 Mar 27  2009 MinGW
> -rw-rw 1 root disk166 Dec 13  2009 mp4log.txt
> -rw-rw 1 root disk  0 Mar  7  2004 MSDOS.SYS
> drwxrwx--- 1 root disk  0 Mar 29  2010 My Photo
> drwxrwx--- 1 root disk  0 Mar 29  2010 My Video
> drwxrwx--- 1 root disk   4096 Jul 11  2009 nrn71
> -rw-rw 1 root disk  47564 Aug  4  2004 NTDETECT.COM
> -rw-rw 1 root disk 250560 Sep 28  2008 ntldr
> drwxrwx--- 1 root disk  28672 Apr 28 13:43 Program Files
> drwxrwx--- 1 root disk   4096 Mar  9  2004 pyqt
> drwxrwx--- 1 root disk  12288 Dec  7  2009 Python25
> drwxrwx--- 1 root disk   4096 Jul 10  2009 Python31
> drwxrwx--- 1 root disk  0 Sep 12  2008 Qt
> drwxrwx--- 1 root disk  0 Apr 28 13:35 RECYCLER
> drwxrwx--- 1 root disk   4096 Jan  7  2010 System Volume Information
> drwxrwx--- 1 root disk  61440 Apr 28 13:43 WINDOWS
> Sun Oct 03 | 22:39:42 ~ $
> 
> ..huh! I just noticed, it seems I havent booted the damn thing since
> August.. [snigger]
> 
> Btw, his name is Alan, not Neil. WB Alan. :)

Of course Alan!  Neil sounds totally different ... Sorry, should have gone to 
bed earlier!
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: ntfs-3g access rights

2010-10-04 Thread Dale

James wrote:

Mick  gmail.com>  writes:


   

Of course Alan!  Neil sounds totally different ...
 

(old hippies: Crosby, Stills, Nash n Young)

(hacks: Alan, Dale, Mick n Neil)

;-)   .couldn't resist


cheers


   


Correction, old fart, stinky at that.  Dale

lol

Dale

:-)  :-)



Re: [gentoo-user] ridiculously wide handbook pages

2010-10-04 Thread Fatih Tümen
On Sat, Oct 2, 2010 at 1:18 AM, Renat Golubchyk  wrote:
> Unfortunately Gentoo documentation uses table layout instead of
> relying entirely on CSS. Therefore it is not easy to make the docs
> beautiful for everybody right now. But there is a simple workaround
> which you may find good enough. Add the following CSS rule into your
> ~/.mozilla/<...your profile...>/chrome/userContent.css or install the
> Stylish add-on [3] and create a style with the rule:
>
> -
> @namespace url(http://www.w3.org/1999/xhtml);
>
> @-moz-document domain("gentoo.org") {
>  td.content p {
>    width: 40em;
>  }
> }
> -
>
> Change "40em" to anything you like.
>
>

Thank you very much for this tip. I use chromium and fortunately there
exists the Stylish chrome extension. I got it working with the code
you gave by just snipping the moz-document line.

When I inspect the element and check the page source I understand
where td.content and p comes from but could you explain what 'em'
suffix to 40 means please?


--
Fatih



[gentoo-user] Re: ridiculously wide handbook pages

2010-10-04 Thread Grant Edwards
On 2010-10-04, Fatih T?men  wrote:

> When I inspect the element and check the page source I understand
> where td.content and p comes from but could you explain what 'em'
> suffix to 40 means please?

http://en.wikipedia.org/wiki/Em_%28typography%29

-- 
Grant Edwards   grant.b.edwardsYow! Look into my eyes and
  at   try to forget that you have
  gmail.coma Macy's charge card!




Re: [gentoo-user] ridiculously wide handbook pages

2010-10-04 Thread Derek Tracy
2010/10/4 Fatih Tümen >

> On Sat, Oct 2, 2010 at 1:18 AM, Renat Golubchyk  wrote:
> > Unfortunately Gentoo documentation uses table layout instead of
> > relying entirely on CSS. Therefore it is not easy to make the docs
> > beautiful for everybody right now. But there is a simple workaround
> > which you may find good enough. Add the following CSS rule into your
> > ~/.mozilla/<...your profile...>/chrome/userContent.css or install the
> > Stylish add-on [3] and create a style with the rule:
> >
> > -
> > @namespace url(http://www.w3.org/1999/xhtml);
> >
> > @-moz-document domain("gentoo.org") {
> >  td.content p {
> >width: 40em;
> >  }
> > }
> > -
> >
> > Change "40em" to anything you like.
> >
> >
>
> Thank you very much for this tip. I use chromium and fortunately there
> exists the Stylish chrome extension. I got it working with the code
> you gave by just snipping the moz-document line.
>
> When I inspect the element and check the page source I understand
> where td.content and p comes from but could you explain what 'em'
> suffix to 40 means please?
>
>
> --
> Fatih
>
>
The "em" is just a length measurement.

You can read more about it here:
http://www.w3.org/TR/CSS2/syndata.html#length-units


Re: [gentoo-user] ridiculously wide handbook pages

2010-10-04 Thread Fatih Tümen
On Mon, Oct 4, 2010 at 9:27 PM, Derek Tracy  wrote:
>
> 2010/10/4 Fatih Tümen 
>>
>> On Sat, Oct 2, 2010 at 1:18 AM, Renat Golubchyk  wrote:
>> > Unfortunately Gentoo documentation uses table layout instead of
>> > relying entirely on CSS. Therefore it is not easy to make the docs
>> > beautiful for everybody right now. But there is a simple workaround
>> > which you may find good enough. Add the following CSS rule into your
>> > ~/.mozilla/<...your profile...>/chrome/userContent.css or install the
>> > Stylish add-on [3] and create a style with the rule:
>> >
>> > -
>> > @namespace url(http://www.w3.org/1999/xhtml);
>> >
>> > @-moz-document domain("gentoo.org") {
>> >  td.content p {
>> >    width: 40em;
>> >  }
>> > }
>> > -
>> >
>> > Change "40em" to anything you like.
>> >
>> >
>>
>> Thank you very much for this tip. I use chromium and fortunately there
>> exists the Stylish chrome extension. I got it working with the code
>> you gave by just snipping the moz-document line.
>>
>> When I inspect the element and check the page source I understand
>> where td.content and p comes from but could you explain what 'em'
>> suffix to 40 means please?
>>
>>
>> --
>>    Fatih
>>
>
> The "em" is just a length measurement.
>
> You can read more about it here:
> http://www.w3.org/TR/CSS2/syndata.html#length-units
>

Thank you Grant and Derek.

--
Fatih



Re: [gentoo-user] Re: ntfs-3g access rights

2010-10-04 Thread Mick
On Monday 04 October 2010 15:11:03 Dale wrote:
> James wrote:
> > Mick  gmail.com>  writes:
> >> Of course Alan!  Neil sounds totally different ...
> > 
> > (old hippies: Crosby, Stills, Nash n Young)
> > 
> > (hacks: Alan, Dale, Mick n Neil)
> > 
> > ;-)   .couldn't resist
> > 
> > 
> > cheers
> 
> Correction, old fart, stinky at that.  Dale
> 
> lol
> 
> Dale

he, he, I used to have an old LP somewhere with their first greatest hits 
album, perhaps it's still in the attic ...
-- 
Regards,
Mick


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


[gentoo-user] kdm and pam issues after resume

2010-10-04 Thread Andrey Vul
Upon resuming my laptop from standby, kdm's screen locker does
nothing, and /bin/login lags a lot before "Password:" comes up.
Googling has led me to think that this might be a consolekit issue, as
the syslog has "cannot create /var/lib/kdm-4.5: Permission denied"
lines, in addition to the lag going away after Alt+Sysrq+{R,S,E,I} and
reappearing after running init 3 to restart the killed processes.
The lag in console mode is kinda like this:
agetty
\- login [lag]
\-\- bash [lag]

Apart from rebooting, are there any real solutions (apart from k-9ing
the screen locker)? bugs.gentoo/295376,295799 are kinda vague.

--
Andrey "m05hbear" Vul



Re: [gentoo-user] Re: X programs as root

2010-10-04 Thread Andrey Vul
sudoers(5):
...
## Run X applications through sudo
Defaults env_keep += "DISPLAY HOME"
...

sudo visudo; paste; done

--
Andrey "m05hbear" Vul



Re: [gentoo-user] Re: firefox-bin optimizations?

2010-10-04 Thread Walter Dnes
On Thu, Sep 30, 2010 at 12:37:10PM -0700, walt wrote
> On 09/30/2010 05:30 AM, Mark David Dumlao wrote:
> > On Thu, Sep 30, 2010 at 8:00 PM, Johannes Kimmel  
> > wrote:
> >> On 09/30/2010 12:58 PM, Mark David Dumlao wrote:
> >>>
> >>> Heya,
> >>> I noticed that my firefox-bin is a lot smaller in memory footprint
> >>> compared to ordinary gentoo-compiled firefox.
> >>>
> >>> Does anyone know what compiler flags upstream applies to their
> >>> firefox?
> 
> Try entering about:buildconfig in the URL bar.

  I tried it, and for good measure, did some spelunking in the
.configure file in the firefox tarball.  I have some questions, before
possibly tweaking the Firefox ebuild and/or .configure on my machine...

--enable-application=xulrunner
will Firefox run without this?

--enable-pango
will Firefox run without this?  I have the "moznopango" flag set, which
is supposed to speed things up, but about:buildconfig indicates that
pango is enabled.

--disable-strip --disable-strip-libs --disable-install-strip
Why?  I thought most packages stripped code after install.

--enable-default-toolkit=cairo-gtk2
will Firefox run without this?

--enable-oji
will Firefox run without this?  And what is "oji"?  I can't find any
mention of what it does.

--enable-mathml
I don't really need it right now.

--enable-storage
will Firefox run without this?  The help says...
"Enable mozStorage module and related components".  Can someone please
give a short explanation in plain English what this does?

--disable-ogg
One thing I might consider enabling.  Is there a problem with Firefox's
ogg support, or any other reason to disable it?

-- 
Walter Dnes