Re: [gentoo-user] KDE 4.9.5 VERY slow to respond

2013-02-02 Thread Volker Armin Hemmann
Am 31.01.2013 14:24, schrieb Dale:
> Alan McKinnon wrote:
>> Can you log into a vt and tail ~/.xsession-errors and see anything
>> useful in there? I use a vt for this so konsole is not in the mix
>> while trying to tail stuff. I've historically found that lockups of
>> around 30 seconds are so are often DNS lookup failures, and lockups of
>> 1-2 minutes are often IO timeouts (in my case usually nfs or smb
>> mounts that went away when I did something stupid hehehehe ) You can
>> also try stracing the kdeinit process to see what they are doing and
>> where they are blocking. With KDE it's a lot harder to find the
>> process to trace (there are so *many* process), sorting top on the "S"
>> column can help - look for stuff listed as "D" in that column. While
>> we discuss KDE, any idea why my panel will occasionally stop receiving
>> mouse events and updates occasionally after coming out of suspend?
>> When this happnes, the clock stops ticking. Very annoying 
> I checked in /var/log but forgot about the one in the home directory for
> some reason.  That file you mentioned is FULL of stuff like this:
>
> QPainter::brush: Painter not active
> QPainter::font: Painter not active
> QPainter::pen: Painter not active
> QPainter::brush: Painter not active
> QPainter::font: Painter not active
> QPainter::pen: Painter not active
> QPainter::brush: Painter not active
> QPainter::pen: Painter not active
> QPainter::setPen: Painter not active
> QPainter::save: Painter not active
> QPainter::setRenderHint: Painter must be active to set rendering hints
> QPainter::pen: Painter not active
> QPainter::pen: Painter not active
> QPainter::setBrush: Painter not active
> QPainter::setPen: Painter not active
> QPainter::drawPath: Painter not active
> QPainter::restore: Unbalanced save/restore
> QPainter::setPen: Painter not active
> QPainter::save: Painter not active
> QPainter::setRenderHint: Painter must be active to set rendering hints
> QPainter::pen: Painter not active
> QPainter::pen: Painter not active
> QPainter::setBrush: Painter not active
> QPainter::setPen: Painter not active
> QPainter::drawPath: Painter not active
> QPainter::restore: Unbalanced save/restore
> QPainter::setPen: Painter not active
> QPainter::setWorldTransform: Painter not active
> QPainter::setOpacity: Painter not active
> QPainter::setBrush: Painter not active
>
> Trust me, I would NEVER torture you with the whole file.  When I say
> full, I mean it is HUGE.  I also found this interesting from that file:
>
> plasma-desktop(3354)/libplasma Plasma::isPluginVersionCompatible:
> unversioned plugin detected, may result in instability
> plasma-desktop(3354)/libplasma Plasma::isPluginVersionCompatible:
> unversioned plugin detected, may result in instability
> plasma-desktop(3354)/libplasma Plasma::isPluginVersionCompatible:
> unversioned plugin detected, may result in instability
> knotify(3352)/phonon (KDE plugin):
> QDBusError("org.freedesktop.DBus.Error.NoReply", "Did not receive a
> reply. Possible causes include: the remote application did not send a
> reply, the message bus security policy blocked the reply, the reply
> timeout expired, or the network connection was broken.")
> knotify(3352)/phonon (KDE plugin):
> QDBusError("org.freedesktop.DBus.Error.NoReply", "Did not receive a
> reply. Possible causes include: the remote application did not send a
> reply, the message bus security policy blocked the reply, the reply
> timeout expired, or the network connection was broken.")
> plasma-desktop(3354)/libplasma Plasma::isPluginVersionCompatible:
> unversioned plugin detected, may result in instability
> plasma-desktop(3354): ""geometry" - conversion of "560,4,0,51" to QRectF
> failed"
> plasma-desktop(3354): ""geometry" - conversion of "1813,4,0,51" to
> QRectF failed"
> plasma-desktop(3354): ""geometry" - conversion of "1809,4,0,51" to
> QRectF failed"
> plasma-desktop(3354): ""geometry" - conversion of "1805,4,0,51" to
> QRectF failed"
> plasma-desktop(3354)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned
> initialize() D-Bus call failed:  "Did not receive a reply. Possible
> causes include: the remote application did not send a reply, the message
> bus security policy blocked the reply, the reply timeout expired, or the
> network connection was broken."
>
> static bool QDeclarativeMetaType::isModule(const QByteArray&, int, int)
> Qt 4.7 import detected; please note that Qt 4.7 is directly reusable as
> QtQuick 1.x with no code changes. Continuing, but startup time will be
> slower.
> plasma-desktop(3354)/kdecore (KConfigSkeleton)
> KCoreConfigSkeleton::writeConfig:
> link XMLID_34_ hasn't been detected!
> link XMLID_34_ hasn't been detected!
> link XMLID_36_ hasn't been detected!
> file:///usr/share/apps/plasma/plasmoids/notifier/contents/ui/devicenotifier.qml:175:5:
> QML QDeclarativeListView_QML_20: Possible anchor loop detected on
> vertical anchor.
>
> And this too:
>
> plasma-desktop(3354)/libplasma Plasma::isPluginVersionCompatible

Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2

2013-02-02 Thread Stefan G. Weichinger
Am 2013-02-01 20:39, schrieb Canek Peláez Valdés:

> Having an empty log is also weird; mine says:
> 
> Jan 30 01:19:20 centurion polkitd[1614]: Started polkitd version 0.110
> Jan 30 01:19:22 centurion polkitd[1614]: Loading rules from directory
> /etc/polkit-1/rules.d
> Jan 30 01:19:22 centurion polkitd[1614]: Loading rules from directory
> /usr/share/polkit-1/rules.d
> Jan 30 01:19:22 centurion polkitd[1614]: Finished loading, compiling
> and executing 3 rules
> Jan 30 01:19:22 centurion polkitd[1614]: Acquired the name
> org.freedesktop.PolicyKit1 on the system bus
> Jan 30 01:19:30 centurion polkitd[1614]: Registered Authentication
> Agent for unix-session:1 (system bus name :1.30 [gnome-shell
> --mode=gdm], object path
> /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8)
> Jan 30 01:19:39 centurion polkitd[1614]: Unregistered Authentication
> Agent for unix-session:1 (system bus name :1.30, object path
> /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8)
> (disconnected from bus)
> Jan 30 01:19:55 centurion polkitd[1614]: Registered Authentication
> Agent for unix-session:2 (system bus name :1.58
> [/usr/bin/gnome-shell], object path
> /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8)

I removed and re-installed polkit, then followed your suggestions.

My polkit only logs this (yes, I tried to log in and got rejected):

# /usr/lib/polkit-1/polkitd --replace
Successfully changed to user polkitd
10:58:53.739: Loading rules from directory /etc/polkit-1/rules.d
10:58:53.739: Loading rules from directory /usr/share/polkit-1/rules.d
10:58:53.739: Finished loading, compiling and executing 3 rules
Entering main event loop
Connected to the system bus
10:58:53.741: Acquired the name org.freedesktop.PolicyKit1 on the system bus
10:59:25.755: Registered Authentication Agent for unix-session:c6
(system bus name :1.28 [gnome-shell --mode=gdm], object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8)

Nothing more.

The gdm.log is empty.

 thanks for you patience with this issue, btw!

S




Re: [gentoo-user] [SOLVED] KDE 4.9.5 VERY slow to respond

2013-02-02 Thread Dale
Volker Armin Hemmann wrote:
> you can ignore all that. there is something broken - have a look at
> htop while clicking, check with xev that your clicks are actually
> delivered on time. Check Xorg.0.log hat X is behaving the way it should. 

I posted it earlier but it turned out to be dbus needing a update.  It
appears dbus had a issue but the one with the fix was keyworded. 
Anyway, it is back to normal now.  Well, normal for me anyway.  lol 

Thanks.

Dale

:-)  :-) 

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




Re: [gentoo-user] List of base system packages

2013-02-02 Thread Nilesh Govindrajan
On Sat, Feb 2, 2013 at 8:39 AM, Nilesh Govindrajan  wrote:
> On Sat, Feb 2, 2013 at 5:01 AM, William Kenworthy  wrote:
>> On 01/02/13 23:52, Dustin C. Hatch wrote:
>>> On 2/1/2013 03:17, Nilesh Govindrajan wrote:
 So I finally got an SDHC card for my Raspberry Pi.
 I'll be preparing a base system on my desktop before booting the Pi
 with it (I know there's a stage3 available, but don't want to use it).

 How do I get the list of packages which are required for a complete
 successful boot?

 --
 Nilesh Govindrajan
 http://nileshgr.com

>>> Depending on how much you want your Raspberry Pi to do, you may find my
>>> blog post on this subject useful `Minimalist Gentoo for the Raspberry
>>> Pi`__. I discuss how to cross-compile a minimal system (i.e. no Portage
>>> or gcc, just what you need to boot up). The first section lists the
>>> smallest set of packages you need for this.
>>>
>>>
>>> __
>>> http://dustinhatch.tumblr.com/post/38118003177/minimalist-gentoo-for-the-raspberry-pi
>>>
>>>
>>
>> Also worth keeping in mind is avoid the ext series of file  systems, on
>> a 4G card I ran out of inodes a few times when compiling add-on
>> packages.  Rather disastrous ... either create using options to maximise
>> inodes or use something better.
>>
>> BillK
>>
>>
>>
>
> ext never worked good for me, xfs fan here :D
>
> --
> Nilesh Govindrajan
> http://nileshgr.com

I'm getting a weird error while trying to compile pam:

 * ERROR: sys-libs/pam-1.1.6-r2 failed (configure phase):
 *   USE Flag 'hppa' not in IUSE for sys-libs/pam-1.1.6-r2
 *
 * Call stack:
 *  ebuild.sh, line   93:  Called src_configure
 *environment, line 3550:  Called use 'hppa'
 *   phase-helpers.sh, line  219:  Called die
 * The specific snippet of code:
 *  die "USE Flag '${u}' not in IUSE for
${CATEGORY}/${PF}"

How to fix this?

--
Nilesh Govindrajan
http://nileshgr.com



Re: [gentoo-user] List of base system packages

2013-02-02 Thread Alan McKinnon
On Sat, 2 Feb 2013 16:20:19 +0530
Nilesh Govindrajan  wrote:

> On Sat, Feb 2, 2013 at 8:39 AM, Nilesh Govindrajan 
> wrote:
> > On Sat, Feb 2, 2013 at 5:01 AM, William Kenworthy
> >  wrote:
> >> On 01/02/13 23:52, Dustin C. Hatch wrote:
> >>> On 2/1/2013 03:17, Nilesh Govindrajan wrote:
>  So I finally got an SDHC card for my Raspberry Pi.
>  I'll be preparing a base system on my desktop before booting the
>  Pi with it (I know there's a stage3 available, but don't want to
>  use it).
> 
>  How do I get the list of packages which are required for a
>  complete successful boot?
> 
>  --
>  Nilesh Govindrajan
>  http://nileshgr.com
> 
> >>> Depending on how much you want your Raspberry Pi to do, you may
> >>> find my blog post on this subject useful `Minimalist Gentoo for
> >>> the Raspberry Pi`__. I discuss how to cross-compile a minimal
> >>> system (i.e. no Portage or gcc, just what you need to boot up).
> >>> The first section lists the smallest set of packages you need for
> >>> this.
> >>>
> >>>
> >>> __
> >>> http://dustinhatch.tumblr.com/post/38118003177/minimalist-gentoo-for-the-raspberry-pi
> >>>
> >>>
> >>
> >> Also worth keeping in mind is avoid the ext series of file
> >> systems, on a 4G card I ran out of inodes a few times when
> >> compiling add-on packages.  Rather disastrous ... either create
> >> using options to maximise inodes or use something better.
> >>
> >> BillK
> >>
> >>
> >>
> >
> > ext never worked good for me, xfs fan here :D
> >
> > --
> > Nilesh Govindrajan
> > http://nileshgr.com
> 
> I'm getting a weird error while trying to compile pam:
> 
>  * ERROR: sys-libs/pam-1.1.6-r2 failed (configure phase):
>  *   USE Flag 'hppa' not in IUSE for sys-libs/pam-1.1.6-r2
>  *
>  * Call stack:
>  *  ebuild.sh, line   93:  Called src_configure
>  *environment, line 3550:  Called use 'hppa'
>  *   phase-helpers.sh, line  219:  Called die
>  * The specific snippet of code:
>  *  die "USE Flag '${u}' not in IUSE for
> ${CATEGORY}/${PF}"
> 
> How to fix this?

You should report that as a bug. "hppa" is not a USE flag, it is an
arch keyword.

Apart from modifying the ebuild there's not much you as a user can do -
the thing the error is complaining about is done in the ebuild.


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




Re: [gentoo-user] Gtkam getting on my nerves, again.

2013-02-02 Thread Mick
On Saturday 02 Feb 2013 07:50:45 Dale wrote:
> Howdy,
> 
> I use Gtkam to get pics from my Canon camera.  I already put up with the
> fact that it crashes a LOT.  It really gets on my nerves but sort of
> getting used to that.  Now I have a new issue.  When I tell it to save a
> picture to say /home/dale/Desktop/Documents/Camera-pics/2013/Yard/ it
> always saves them to /home/dale.  It does this regardless of what I have
> asked it to save them too.  

Is there a config file you can have a look at and see if it is hard coded in 
there as the default saving path?


> This used to work fine when I had this sort
> of thing mounted on a directory called /data.  It would go something
> like this:  /data/Camera-pics/2013/Yard/  That would work fine.  When I
> got my shiney new 3Tb drive, I moved all that over to my home directory
> and ever since then, Gtkam saves to the wrong place.
> 
> I have changed the permissions for /home/dale and EVERYTHING under it
> but still get the same thing.  I'm 99% sure it is not a permissions
> issue.  This is what permissions look like:
> 
> drwxrwxr-x 27 dale users 4096 Dec  9  2009 2009
> drwxrwxr-x 37 dale users 4096 Nov 16  2011 2010
> drwxrwxr-x 31 dale users 4096 Dec 30  2011 2011
> drwxrwxr-x 20 dale users 4096 Nov 12 01:20 2012
> drwxrwxr-x  4 dale users 4096 Jan 30 03:00 2013
> 
> [ebuild   R   ~] media-gfx/gtkam-0.2.0  USE="debug nls -gimp -gnome"
> 
> This is likely not Gtkam itself but some helper program.  

Not sure of helper programs involved, but Gtkam is just the GUI front for 
media-gfx/gphoto2.


> What could
> cause this?  Anyone else run into this?
> 
> While I'm at it, I have tried other programs too. DigiKam crashes when I
> try to connect to my Camera to download.  It can't even think about
> getting pics.
> 
> Thoughts?

Could this be a hardware fault with your camera; the USB cable; it's 
powersupply?

-- 
Regards,
Mick


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


[gentoo-user] Re: Gtkam getting on my nerves, again.

2013-02-02 Thread walt
On 02/01/2013 11:50 PM, Dale wrote:
> Howdy,
> 
> I use Gtkam to get pics from my Canon camera.  I already put up with the
> fact that it crashes a LOT.

I always start by running the problem program from a bash prompt so I can
look for error messages.  Then I check any config files in my ~/ directory,
usually using grep -ir to check for the name of the program or other strings
that the program would probably use for config stuff.

If that doesn't turn up anything useful I resort to running the program
with strace to see which files it's trying to open.  I think most newer
programs use gui file dialogs when you are asked to specify a default
directory, but a few older ones may ask you to type in a directory name
from the keyboard, and it's easy to misspell something.




Re: [gentoo-user] List of base system packages

2013-02-02 Thread Nilesh Govindrajan
On Sat, Feb 2, 2013 at 4:59 PM, Alan McKinnon  wrote:
> On Sat, 2 Feb 2013 16:20:19 +0530
> Nilesh Govindrajan  wrote:
>
>> On Sat, Feb 2, 2013 at 8:39 AM, Nilesh Govindrajan 
>> wrote:
>> > On Sat, Feb 2, 2013 at 5:01 AM, William Kenworthy
>> >  wrote:
>> >> On 01/02/13 23:52, Dustin C. Hatch wrote:
>> >>> On 2/1/2013 03:17, Nilesh Govindrajan wrote:
>>  So I finally got an SDHC card for my Raspberry Pi.
>>  I'll be preparing a base system on my desktop before booting the
>>  Pi with it (I know there's a stage3 available, but don't want to
>>  use it).
>> 
>>  How do I get the list of packages which are required for a
>>  complete successful boot?
>> 
>>  --
>>  Nilesh Govindrajan
>>  http://nileshgr.com
>> 
>> >>> Depending on how much you want your Raspberry Pi to do, you may
>> >>> find my blog post on this subject useful `Minimalist Gentoo for
>> >>> the Raspberry Pi`__. I discuss how to cross-compile a minimal
>> >>> system (i.e. no Portage or gcc, just what you need to boot up).
>> >>> The first section lists the smallest set of packages you need for
>> >>> this.
>> >>>
>> >>>
>> >>> __
>> >>> http://dustinhatch.tumblr.com/post/38118003177/minimalist-gentoo-for-the-raspberry-pi
>> >>>
>> >>>
>> >>
>> >> Also worth keeping in mind is avoid the ext series of file
>> >> systems, on a 4G card I ran out of inodes a few times when
>> >> compiling add-on packages.  Rather disastrous ... either create
>> >> using options to maximise inodes or use something better.
>> >>
>> >> BillK
>> >>
>> >>
>> >>
>> >
>> > ext never worked good for me, xfs fan here :D
>> >
>> > --
>> > Nilesh Govindrajan
>> > http://nileshgr.com
>>
>> I'm getting a weird error while trying to compile pam:
>>
>>  * ERROR: sys-libs/pam-1.1.6-r2 failed (configure phase):
>>  *   USE Flag 'hppa' not in IUSE for sys-libs/pam-1.1.6-r2
>>  *
>>  * Call stack:
>>  *  ebuild.sh, line   93:  Called src_configure
>>  *environment, line 3550:  Called use 'hppa'
>>  *   phase-helpers.sh, line  219:  Called die
>>  * The specific snippet of code:
>>  *  die "USE Flag '${u}' not in IUSE for
>> ${CATEGORY}/${PF}"
>>
>> How to fix this?
>
> You should report that as a bug. "hppa" is not a USE flag, it is an
> arch keyword.
>
> Apart from modifying the ebuild there's not much you as a user can do -
> the thing the error is complaining about is done in the ebuild.
>
>
> --
> Alan McKinnon
> alan.mckin...@gmail.com
>
>

Quite interestingly, the ebuild for pam 1.1.5 also checks for 'use
hppa', so is it really a bug? :S

--
Nilesh Govindrajan
http://nileshgr.com



Re: [gentoo-user] List of base system packages

2013-02-02 Thread Daniel Pielmeier
Nilesh Govindrajan schrieb am 02.02.2013 14:42:
> On Sat, Feb 2, 2013 at 4:59 PM, Alan McKinnon  wrote:
>> On Sat, 2 Feb 2013 16:20:19 +0530
>> Nilesh Govindrajan  wrote:
>>
>>>
>>> I'm getting a weird error while trying to compile pam:
>>>
>>>  * ERROR: sys-libs/pam-1.1.6-r2 failed (configure phase):
>>>  *   USE Flag 'hppa' not in IUSE for sys-libs/pam-1.1.6-r2
>>>  *
>>>  * Call stack:
>>>  *  ebuild.sh, line   93:  Called src_configure
>>>  *environment, line 3550:  Called use 'hppa'
>>>  *   phase-helpers.sh, line  219:  Called die
>>>  * The specific snippet of code:
>>>  *  die "USE Flag '${u}' not in IUSE for
>>> ${CATEGORY}/${PF}"
>>>
>>> How to fix this?
>>
>> You should report that as a bug. "hppa" is not a USE flag, it is an
>> arch keyword.
>>
>> Apart from modifying the ebuild there's not much you as a user can do -
>> the thing the error is complaining about is done in the ebuild.
>>
>>
>>
> 
> Quite interestingly, the ebuild for pam 1.1.5 also checks for 'use
> hppa', so is it really a bug? :S
> 

pam-1.1.5.ebuild uses EAPI=4 and pam-1.1.6 uses EAPI=5. IIRC there were
some changes in IUSE calculation between those EAPI's.

So I think this warrants a bug just to clarify this.

Strange thing is pam-1-1-6 compiles fine here and I think it should fail
anywhere if the above mentioned eapi changes are the reason for this
failure. Maybe there is something wrong with your configuration.

-- 
Regards
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Gtkam getting on my nerves, again.

2013-02-02 Thread Dale
walt wrote:
> On 02/01/2013 11:50 PM, Dale wrote:
>> Howdy,
>>
>> I use Gtkam to get pics from my Canon camera.  I already put up with the
>> fact that it crashes a LOT.
> I always start by running the problem program from a bash prompt so I can
> look for error messages.  Then I check any config files in my ~/ directory,
> usually using grep -ir to check for the name of the program or other strings
> that the program would probably use for config stuff.
>
> If that doesn't turn up anything useful I resort to running the program
> with strace to see which files it's trying to open.  I think most newer
> programs use gui file dialogs when you are asked to specify a default
> directory, but a few older ones may ask you to type in a directory name
> from the keyboard, and it's easy to misspell something.
>
>
>


I get this:

(gtkam:10897): Gtk-WARNING **: Unable to locate theme engine in
module_path: "clearlooks",

(gtkam:10897): Gtk-WARNING **: Unable to locate theme engine in
module_path: "clearlooks",

(gtkam:10897): Gtk-WARNING **: GtkSpinButton: setting an adjustment with
non-zero page size is deprecated

(gtkam:10897): Gtk-CRITICAL **:
gtk_file_chooser_default_set_current_name: assertion `impl->action ==
GTK_FILE_CHOOSER_ACTION_SAVE || impl->action ==
GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER' failed


The first two lines are repeated, a lot.  I tried google, it wasn't in
english so I let it convert which usually doesn't end well.  Anyway, it
didn't help any since it seems they were having some sort of boot
troubles. 

Does that last bit make sense to anyone?  It shouldn't have to create
the folder since it is already there. 

Dale

:-)  :-) 

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




Re: [gentoo-user] Gtkam getting on my nerves, again.

2013-02-02 Thread Dale
Mick wrote:
> On Saturday 02 Feb 2013 07:50:45 Dale wrote:
>> Howdy,
>>
>> I use Gtkam to get pics from my Canon camera. I already put up with the
>> fact that it crashes a LOT. It really gets on my nerves but sort of
>> getting used to that. Now I have a new issue. When I tell it to save a
>> picture to say /home/dale/Desktop/Documents/Camera-pics/2013/Yard/ it
>> always saves them to /home/dale. It does this regardless of what I have
>> asked it to save them too.
>
> Is there a config file you can have a look at and see if it is hard
coded in
> there as the default saving path?
>
>
>> This used to work fine when I had this sort
>> of thing mounted on a directory called /data. It would go something
>> like this: /data/Camera-pics/2013/Yard/ That would work fine. When I
>> got my shiney new 3Tb drive, I moved all that over to my home directory
>> and ever since then, Gtkam saves to the wrong place.
>>
>> I have changed the permissions for /home/dale and EVERYTHING under it
>> but still get the same thing. I'm 99% sure it is not a permissions
>> issue. This is what permissions look like:
>>
>> drwxrwxr-x 27 dale users 4096 Dec 9 2009 2009
>> drwxrwxr-x 37 dale users 4096 Nov 16 2011 2010
>> drwxrwxr-x 31 dale users 4096 Dec 30 2011 2011
>> drwxrwxr-x 20 dale users 4096 Nov 12 01:20 2012
>> drwxrwxr-x 4 dale users 4096 Jan 30 03:00 2013
>>
>> [ebuild R ~] media-gfx/gtkam-0.2.0 USE="debug nls -gimp -gnome"
>>
>> This is likely not Gtkam itself but some helper program.
>
> Not sure of helper programs involved, but Gtkam is just the GUI front for
> media-gfx/gphoto2.
>

I found the config file, it was in .gphoto instead of gtkam.  That
helped.  I renamed it and it still does the same thing.  I played with
it a bit, it seems to just recall whatever was last used.  If I change
to a different directory, it just changes to the new location but still
saves to /home/dale even tho that is not what is recorded in the file. 
So, it accepts what I tell it but does its own thing.  Weird.  This is
the new error with a shiney new config:

(gtkam:12081): Gtk-WARNING **: Unable to locate theme engine in
module_path: "clearlooks",

(gtkam:12081): Gtk-WARNING **: Unable to locate theme engine in
module_path: "clearlooks",

(gtkam:12081): Gtk-WARNING **: GtkSpinButton: setting an adjustment with
non-zero page size is deprecated

(gtkam:12081): Gtk-WARNING **: GtkSpinButton: setting an adjustment with
non-zero page size is deprecated

Google was no help on this error either.

I noticed something else tho.  I don't have gphoto2 installed here.  I
have libgphoto2 tho.  Should I have gphoto2 installed too?

root@fireball / # emerge -pv gphoto2

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N ] dev-libs/cdk-5.0.20090215  USE="-examples" 420 kB
[ebuild  N ] media-gfx/gphoto2-2.4.14  USE="exif ncurses nls
readline -aalib" 654 kB

Total: 2 packages (2 new), Size of downloads: 1,073 kB
root@fireball / #  equery list *photo*
 * Searching for *photo* ...
[IP-] [  ] media-gfx/kphotoalbum-4.2:4
[IP-] [  ] media-libs/libgphoto2-2.5.0:0
root@fireball / # equery b gtkam
 * Searching for gtkam ...
media-gfx/gtkam-0.2.0 (/usr/share/images/gtkam)
media-gfx/gtkam-0.2.0 (/usr/share/gtkam)
media-gfx/gtkam-0.2.0 (/usr/bin/gtkam)
media-gfx/gtkam-0.2.0 (/usr/share/omf/gtkam)
media-gfx/gtkam-0.2.0 (/usr/share/gnome/help/gtkam)
root@fireball / # equery d libgphoto2
 * These packages depend on libgphoto2:
kde-base/kamera-4.9.5 (media-libs/libgphoto2)
media-gfx/digikam-2.9.0 (gphoto2 ? media-libs/libgphoto2)
media-gfx/gtkam-0.2.0 (>=media-libs/libgphoto2-2.5.0)
root@fireball / #

So, gtkam pulled in libgphoto2 but should it also pull in gphoto2?

>
>> What could
>> cause this? Anyone else run into this?
>>
>> While I'm at it, I have tried other programs too. DigiKam crashes when I
>> try to connect to my Camera to download. It can't even think about
>> getting pics.
>>
>> Thoughts?
>
> Could this be a hardware fault with your camera; the USB cable; it's
> powersupply?
>

I wondered the same thing, everything else works fine.  I have a printer
and a cell phone that I use with it and I have used other cameras with
the same results.  So, it is weird that other devices work error free
but cameras have issues.  It does make one wonder what is up with that. 
I may try one of the older style ports that is for USB1 devices.  Then
again, I think the camera is for the newer ports.  May have to look in
the manual again to be sure.

Open to ideas still.

Dale

:-)  :-)

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



Re: [gentoo-user] udev-191 bit me. Insufficient ptys

2013-02-02 Thread Alex Schuster
Michael Mol writes:

> So, I botched the upgrade to udev-191. I thought I'd followed the
> steps, but I apparently only covered them for one machine, not both.

[...]

> Udev also complained about DEVTMPFS not being enabled in the
> kernel.[2]  I couldn't get into X, but I could log in via getty and a
> plain old vt, so I enabled it, rebuilt the kernel, installed it and
> rebooted...and now that's presumably covered.

Ran into the same problem, with my sister's PC. Which I had updated from
remote, so I did not see the elogs. I do not think it is correct
behaviour to continue building udev although the system wouldn't boot
with that kernel option missing. I would expect the udev ebuild to check
the running kernel for that option, and refuse to build until it has it
set. Or until building is forced by some USE flag or an environment
variable.

Had these things not been handled better in the past?

Alex



Re: [gentoo-user] List of base system packages

2013-02-02 Thread Nilesh Govindrajan
On Sat, Feb 2, 2013 at 7:23 PM, Daniel Pielmeier  wrote:
> Nilesh Govindrajan schrieb am 02.02.2013 14:42:
>> On Sat, Feb 2, 2013 at 4:59 PM, Alan McKinnon  
>> wrote:
>>
>> Quite interestingly, the ebuild for pam 1.1.5 also checks for 'use
>> hppa', so is it really a bug? :S
>>
>
> pam-1.1.5.ebuild uses EAPI=4 and pam-1.1.6 uses EAPI=5. IIRC there were
> some changes in IUSE calculation between those EAPI's.
>
> So I think this warrants a bug just to clarify this.
>
> Strange thing is pam-1-1-6 compiles fine here and I think it should fail
> anywhere if the above mentioned eapi changes are the reason for this
> failure. Maybe there is something wrong with your configuration.
>

It is a bug. Will file it later on b.g.o. pam 1.1.5 compiled.

--
Nilesh Govindrajan
http://nileshgr.com



[gentoo-user] Re: Gtkam getting on my nerves, again.

2013-02-02 Thread walt
On 02/02/2013 06:45 AM, Dale wrote:
> walt wrote:
>> On 02/01/2013 11:50 PM, Dale wrote:
>>> Howdy,
>>>
>>> I use Gtkam to get pics from my Canon camera.  I already put up with the
>>> fact that it crashes a LOT.

>> I always start by running the problem program from a bash prompt so I can
>> look for error messages.

> 
> I get this:
> 
> (gtkam:10897): Gtk-WARNING **: Unable to locate theme engine in
> module_path: "clearlooks",

clearlooks is the name of a gnome theme, and so you wouldn't have it on
your kde machine.  You can ignore that and other gtk "warnings".

> (gtkam:10897): Gtk-CRITICAL **:
> gtk_file_chooser_default_set_current_name: assertion `impl->action ==
> GTK_FILE_CHOOSER_ACTION_SAVE || impl->action ==
> GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER' failed

Now that one looks suspicious. The only idea that comes to mind is that
gtkam for some reason is trying to save to some place you don't have
write privileges, like / or /run, maybe.  That's where I would trot out
strace, which will allow you to see exactly where gtkam is trying to
write when it fails.

The other trick I use is to create a new user with a new home directory
and try running gtkam from that account.  Often I find that the new user
doesn't see the same bug as my normal user, so at least I know the problem
is somewhere in my home directory, and strace will narrow the scope of
my debugging even more.

The "-y" and "-e file" flags for strace are very handy for this kind of
debugging problem.





[gentoo-user] [OT] Nigerian spam coming through google calendar invitations

2013-02-02 Thread walt
I thought I'd been rooted when I saw a notification pop up on my desktop
with no previous actions on my part -- it just appeared out of nowhere
for no apparent reason, offering to sell me gold dust (cheap!).

Turns out that evolution (a gnome clone of MS Outook) was checking my
google calendar account automatically and I didn't even know it.  I
use gmail every day, but never use the google calendar app that comes
bundled with the gmail account.

I do use the evolution calendar function on this local machine for
popup reminders of birthdays, etc, but never do I publish my calendar
on the internet.

So, be aware that some calendar apps are set to do this insane stuff
by default -- and google calendar accepts unsolicited invitations by
default(!).  Maybe you should turn that off if you're not expecting
a Nigerian offer you can't refuse?




Re: [gentoo-user] Gtkam getting on my nerves, again.

2013-02-02 Thread Mick
On Saturday 02 Feb 2013 15:16:02 Dale wrote:
> Mick wrote:
> > On Saturday 02 Feb 2013 07:50:45 Dale wrote:

> I found the config file, it was in .gphoto instead of gtkam.  That
> helped.  I renamed it and it still does the same thing.  I played with
> it a bit, it seems to just recall whatever was last used.  If I change
> to a different directory, it just changes to the new location but still
> saves to /home/dale even tho that is not what is recorded in the file.
> So, it accepts what I tell it but does its own thing.  Weird.  

Did it have a path in there for saving your photos?


> I noticed something else tho.  I don't have gphoto2 installed here.  I
> have libgphoto2 tho.  Should I have gphoto2 installed too?

No.

gphoto2 is the CLI application for using libgphoto2.

gtkam is the GUI application for using libgphoto2.


> So, gtkam pulled in libgphoto2 but should it also pull in gphoto2?

No.  Both gtkam and gphoto2 depend on the libgphoto2 library.  Just different 
user fronts to access the same engine. 


> > Could this be a hardware fault with your camera; the USB cable; it's
> > powersupply?
> 
> I wondered the same thing, everything else works fine.  I have a printer
> and a cell phone that I use with it and I have used other cameras with
> the same results.  So, it is weird that other devices work error free
> but cameras have issues.  It does make one wonder what is up with that.
> I may try one of the older style ports that is for USB1 devices.  Then
> again, I think the camera is for the newer ports.  May have to look in
> the manual again to be sure.
> 
> Open to ideas still.

I would do some simple series of dd read/write tests to see how the flash card 
of the camera behaves compared to other USB devices.  If there is a 
significant difference then the problem is probably device/hardware related, 
rather than the application you use to access it with.

Make sure you do not unplug it in haste.  It takes time for the I/O buffer to 
empty when you are writing to it, despite what your terminal/GUI is telling 
you.  If you have Gkrellms keep an eye on the Disk access to see when it 
finished doing it and then unmount it cleanly.  I know you know all this, but 
having been impatient myself and losing data I'd rather repeat it here, just 
as a cautionary tale.  ;-)

-- 
Regards,
Mick


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


Re: [gentoo-user] [OT] Nigerian spam coming through google calendar invitations

2013-02-02 Thread Mick
On Saturday 02 Feb 2013 16:39:55 walt wrote:
> I thought I'd been rooted when I saw a notification pop up on my desktop
> with no previous actions on my part -- it just appeared out of nowhere
> for no apparent reason, offering to sell me gold dust (cheap!).
> 
> Turns out that evolution (a gnome clone of MS Outook) was checking my
> google calendar account automatically and I didn't even know it.  I
> use gmail every day, but never use the google calendar app that comes
> bundled with the gmail account.
> 
> I do use the evolution calendar function on this local machine for
> popup reminders of birthdays, etc, but never do I publish my calendar
> on the internet.
> 
> So, be aware that some calendar apps are set to do this insane stuff
> by default -- and google calendar accepts unsolicited invitations by
> default(!).  Maybe you should turn that off if you're not expecting
> a Nigerian offer you can't refuse?

I guess it's treated as another imap folder (but I may be wrong).  Couldn't 
you manage this through the imap subscriptions?
-- 
Regards,
Mick


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


Re: [gentoo-user] List of base system packages

2013-02-02 Thread Dustin C. Hatch

On 2/2/2013 04:50, Nilesh Govindrajan wrote:


I'm getting a weird error while trying to compile pam:

  * ERROR: sys-libs/pam-1.1.6-r2 failed (configure phase):
  *   USE Flag 'hppa' not in IUSE for sys-libs/pam-1.1.6-r2
  *
  * Call stack:
  *  ebuild.sh, line   93:  Called src_configure
  *environment, line 3550:  Called use 'hppa'
  *   phase-helpers.sh, line  219:  Called die
  * The specific snippet of code:
  *  die "USE Flag '${u}' not in IUSE for
${CATEGORY}/${PF}"

How to fix this?

I encountered these types of errors when building as well. It is because 
the "embedded" profile, which is the profile crossdev selects by 
default, is missing a huge amount of information. I tried defining it 
all in ${PORTAGE_CONFIG_ROOT}/profile but it got to be a chore. I ended 
up switching to the default Linux profile for ARM, which worked much better.


--
♫Dustin



[gentoo-user] Re: [OT] Nigerian spam coming through google calendar invitations

2013-02-02 Thread walt
On 02/02/2013 09:20 AM, Mick wrote:
> On Saturday 02 Feb 2013 16:39:55 walt wrote:
>> I thought I'd been rooted when I saw a notification pop up on my desktop
>> with no previous actions on my part -- it just appeared out of nowhere
>> for no apparent reason, offering to sell me gold dust (cheap!).
>>
>> Turns out that evolution (a gnome clone of MS Outook) was checking my
>> google calendar account automatically and I didn't even know it.  I
>> use gmail every day, but never use the google calendar app that comes
>> bundled with the gmail account.
>>
>> I do use the evolution calendar function on this local machine for
>> popup reminders of birthdays, etc, but never do I publish my calendar
>> on the internet.
>>
>> So, be aware that some calendar apps are set to do this insane stuff
>> by default -- and google calendar accepts unsolicited invitations by
>> default(!).  Maybe you should turn that off if you're not expecting
>> a Nigerian offer you can't refuse?

> I guess it's treated as another imap folder (but I may be wrong).  Couldn't 
> you manage this through the imap subscriptions?

Yes, I've already fixed the problem by changing the default settings in
both evolution and at the google website.  Another example of the tyranny
of the default (a phrase I learned from Leo Laporte).



Re: [gentoo-user] [SOLVED] KDE 4.9.5 VERY slow to respond

2013-02-02 Thread Volker Armin Hemmann
Am 02.02.2013 11:19, schrieb Dale:
> Volker Armin Hemmann wrote:
>> you can ignore all that. there is something broken - have a look at
>> htop while clicking, check with xev that your clicks are actually
>> delivered on time. Check Xorg.0.log hat X is behaving the way it should. 
> I posted it earlier but it turned out to be dbus needing a update.  It
> appears dbus had a issue but the one with the fix was keyworded. 
> Anyway, it is back to normal now.  Well, normal for me anyway.  lol 
>
> Thanks.
>
> Dale
>
> :-)  :-) 
>

yeah, we probably should have a look at your 'Dale being Dale' problem
in the near future

;)



Re: [gentoo-user] KDE 4.9.5 VERY slow to respond

2013-02-02 Thread Francisco Ares
Hi, Dale.

There is something else.  I have upgraded gcc, done an "emerge -evuDN
world", even recompiled the kernel, and the graphic system has stuck again
a while ago.

I will try to post later something more specific, but as far as could see,
it is not just KDE.  But the text terminals still work, just can't kill
anything.

Good to know someone is happy again ;-)

Francisco


2013/1/31 Dale 

> Dale wrote:
> > Francisco Ares wrote:
> >> Hello,
> >>
> >> When i saw your message, it was something of a relief, I was even
> >> thinking about a hardware problem, sometimes it freezes for so long
> >> and so much it even doesn't allow me to switch to one of the consoles.
> >> Sometimes I could not wait, and just reset the computer.
> >>
> >> Now I know it might be something else besides hardware (I have run
> >> Memtest+ for more than 24h and nothing showed up).
> >>
> >> Francisco
> >>
> >> --
> >> "If you have an apple and I have an apple and we exchange apples then
> >> you and I will still each have one apple. But if you have an idea and
> >> I have one idea and we exchange these ideas, then each of us will have
> >> two ideas." - George Bernard Shaw
> > Well, it is not just you.  I'm trying some things so if I find a fix,
> > I'll certainly post it.  I may resync and see if there is any updates
> > too.  By the way, when was your last sync?  Mine was about midnight CST
> > on the 29th.
> >
> > Dale
> >
> > :-)  :-)
> >
>
>
> OK.  This seems to be working.  Yeppie !!!  Try this package:
>
> sys-apps/dbus-1.6.8-r1
>
> I had to add that to my keyword file to get it tho.
>
> Yeppie !!!  Even my little temperature thingy is working now.  K menu,
> check.  Copy and paste in Konsole, check.  Oh yea.  lol  I could get
> used to this.
>
> Dale
>
> :-)  :-)
>
> --
> I am only responsible for what I said ... Not for what you understood or
> how you interpreted my words!
>
>
>


-- 
"If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have
one idea and we exchange these ideas, then each of us will have two ideas."
- George Bernard Shaw


Re: [gentoo-user] udev-191 bit me. Insufficient ptys

2013-02-02 Thread Alan McKinnon
On Sat, 2 Feb 2013 16:21:10 +0100
Alex Schuster  wrote:

> Michael Mol writes:
> 
> > So, I botched the upgrade to udev-191. I thought I'd followed the
> > steps, but I apparently only covered them for one machine, not both.
> 
> [...]
> 
> > Udev also complained about DEVTMPFS not being enabled in the
> > kernel.[2]  I couldn't get into X, but I could log in via getty and
> > a plain old vt, so I enabled it, rebuilt the kernel, installed it
> > and rebooted...and now that's presumably covered.
> 
> Ran into the same problem, with my sister's PC. Which I had updated
> from remote, so I did not see the elogs. I do not think it is correct
> behaviour to continue building udev although the system wouldn't boot
> with that kernel option missing. I would expect the udev ebuild to
> check the running kernel for that option, and refuse to build until
> it has it set. Or until building is forced by some USE flag or an
> environment variable.
> 
> Had these things not been handled better in the past?

There's a furious debate going on in -dev about this very thing, and
the bottom line is that your statements above are way too simplistic.

- there is no guarantee that /proc/config.gz represents the kernel the
  binary will actually run on (this emerge might well be the last
  process you ever run on that kernel)
- there is no guarantee that /usr/src/linux corresponds to anything at
  all (it's a symlink and can point to anything, even invalid stuff)
- there is no guarantee that the build host will run the code (think
  build farms, crossdev etc, so every available config cannot possibly
  be valid)
- and a couple more

Basically, the only thing left for the ebuild devs is to notify the
user with the important information.

The question is not whether to halt the build or not (that cannot and
will not be done) but how to do the communication:

- news item
- elog
- README
- some arb notice on a web site somewhere
.

This is gentoo, the distro that does not hold your hand and gives you
every opportunity to keep both pieces. This is a good example of such. 


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




[gentoo-user] Re: imapproxy init script doesn't exit

2013-02-02 Thread Grant
> Has anyone tried the up-imapproxy from portage?  It seems to be
> working fine here and the log doesn't indicate any problems, but
> Gentoo's init script doesn't exit:
>
> # /etc/init.d/imapproxy start
>  * Starting up-imapproxy ...
>
> I tried switching to 'foreground_mode yes' in /etc/imapproxy.conf with
> no luck.  Any ideas?
>
> - Grant

If I add imapproxy to the default runlevel in its current state, will
it prevent my system from booting all the way up?

BTW, imapproxy took my webmail response time from about 3 seconds to
about .5 seconds so I highly recommend it.  Setup also couldn't be
easier.

- Grant



Re: [gentoo-user] Gtkam getting on my nerves, again.

2013-02-02 Thread Dale
Mick wrote:
> On Saturday 02 Feb 2013 15:16:02 Dale wrote:
>> Mick wrote:
>>> On Saturday 02 Feb 2013 07:50:45 Dale wrote:
>> I found the config file, it was in .gphoto instead of gtkam.  That
>> helped.  I renamed it and it still does the same thing.  I played with
>> it a bit, it seems to just recall whatever was last used.  If I change
>> to a different directory, it just changes to the new location but still
>> saves to /home/dale even tho that is not what is recorded in the file.
>> So, it accepts what I tell it but does its own thing.  Weird.  
> Did it have a path in there for saving your photos?

It did but it changes when I try to save to another directory.  It sees
and stores the change but saves it to /home/dale/ no matter what.  I
tried saving some random pics to different places and it updates the
config file each time.  It ignores it but it does change the file
correctly. 

>
>
>> I noticed something else tho.  I don't have gphoto2 installed here.  I
>> have libgphoto2 tho.  Should I have gphoto2 installed too?
> No.
>
> gphoto2 is the CLI application for using libgphoto2.
>
> gtkam is the GUI application for using libgphoto2.
>
>
>> So, gtkam pulled in libgphoto2 but should it also pull in gphoto2?
> No.  Both gtkam and gphoto2 depend on the libgphoto2 library.  Just different 
> user fronts to access the same engine. 
>

OK.  That's not the problem then.  Moving on to something else. 

>>> Could this be a hardware fault with your camera; the USB cable; it's
>>> powersupply?
>> I wondered the same thing, everything else works fine.  I have a printer
>> and a cell phone that I use with it and I have used other cameras with
>> the same results.  So, it is weird that other devices work error free
>> but cameras have issues.  It does make one wonder what is up with that.
>> I may try one of the older style ports that is for USB1 devices.  Then
>> again, I think the camera is for the newer ports.  May have to look in
>> the manual again to be sure.
>>
>> Open to ideas still.
> I would do some simple series of dd read/write tests to see how the flash 
> card 
> of the camera behaves compared to other USB devices.  If there is a 
> significant difference then the problem is probably device/hardware related, 
> rather than the application you use to access it with.
>
> Make sure you do not unplug it in haste.  It takes time for the I/O buffer to 
> empty when you are writing to it, despite what your terminal/GUI is telling 
> you.  If you have Gkrellms keep an eye on the Disk access to see when it 
> finished doing it and then unmount it cleanly.  I know you know all this, but 
> having been impatient myself and losing data I'd rather repeat it here, just 
> as a cautionary tale.  ;-)
>

Well, I also have a card reader and it works fine.  I don't have any USB
hard drives tho.  I do have a couple USB sticks and they work fine as
well.  The ONLY thing that gives me problems is cameras and the camera
software.  Everything else works fine.  I do find it odd that two
totally separate programs crash when accessing the camera tho.  Thing
is, I have used different cameras with the same results. 

I always tell it before I disconnect so it can sync and make sure
everything is safe. 

Any more ideas?  Thanks for the help.

Dale

:-)  :-) 

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




Re: [gentoo-user] udev-191 bit me. Insufficient ptys

2013-02-02 Thread Neil Bothwick
On Sat, 2 Feb 2013 21:17:38 +0200, Alan McKinnon wrote:

> The question is not whether to halt the build or not (that cannot and
> will not be done) but how to do the communication:

I may be suffering from fault wetRAM, but I'm sure I've seen ebuilds bail
because f incorrect kernel configuration in the past.


-- 
Neil Bothwick

A good pun is its own reword.


signature.asc
Description: PGP signature


Re: [gentoo-user] Firefox no-sound problem (was local overlay problem)

2013-02-02 Thread Neil Bothwick
On Fri, 1 Feb 2013 22:54:07 -0500, Philip Webb wrote:

> (1) rename the local ebuild '-r99', copy the regular Manifest
> & delete the 17.0.2 line, recreate it, try to emerge ;
> this fails with the same msg as I reported in Bug 454330 :
> 
>   checking for alsa...
> Package alsa was not found in the pkg-config search path.
>   ... configure: error: Need alsa for Ogg, Wave or WebM decoding on
> Linux. Disable with --disable-ogg --disable-wave --disable-webm.
> 
> (2) put 'alsa-lib' in  package.provided : it starts to emerge alsa-lib .
> 
> (3) try '--nodeps' with regular ebuild : fails to configure as with (1).
> 
> Is there any way to apply the raw flags in (1)

With most ebuilds, you can define EXTRA_ECONF with these options and they
will be passed to configure.


-- 
Neil Bothwick

I backed up my hard drive and ran into a bus.


signature.asc
Description: PGP signature


Re: [gentoo-user] udev-191 bit me. Insufficient ptys

2013-02-02 Thread Alan McKinnon
On 02/02/2013 22:31, Neil Bothwick wrote:
> On Sat, 2 Feb 2013 21:17:38 +0200, Alan McKinnon wrote:
>
>> The question is not whether to halt the build or not (that cannot and
>> will not be done) but how to do the communication:
> I may be suffering from fault wetRAM, but I'm sure I've seen ebuilds bail
> because f incorrect kernel configuration in the past.
>
>
Just because the ebuild does it, does not mean it's correct to do it.

p.s & OT: please let me know if this mail is grossly malformed (trying
Thunderbird for the first time)



Re: [gentoo-user] Gtkam getting on my nerves, again.

2013-02-02 Thread Bruce Hill
On Sat, Feb 02, 2013 at 01:50:45AM -0600, Dale wrote:
> Howdy,
> 
> I use Gtkam to get pics from my Canon camera.  I already put up with the
> fact that it crashes a LOT.  It really gets on my nerves but sort of
> getting used to that.  Now I have a new issue.  When I tell it to save a
> picture to say /home/dale/Desktop/Documents/Camera-pics/2013/Yard/ it
> always saves them to /home/dale.  It does this regardless of what I have
> asked it to save them too.  This used to work fine when I had this sort
> of thing mounted on a directory called /data.  It would go something
> like this:  /data/Camera-pics/2013/Yard/  That would work fine.  When I
> got my shiney new 3Tb drive, I moved all that over to my home directory
> and ever since then, Gtkam saves to the wrong place. 
> 
> I have changed the permissions for /home/dale and EVERYTHING under it
> but still get the same thing.  I'm 99% sure it is not a permissions
> issue.  This is what permissions look like:
> 
> drwxrwxr-x 27 dale users 4096 Dec  9  2009 2009
> drwxrwxr-x 37 dale users 4096 Nov 16  2011 2010
> drwxrwxr-x 31 dale users 4096 Dec 30  2011 2011
> drwxrwxr-x 20 dale users 4096 Nov 12 01:20 2012
> drwxrwxr-x  4 dale users 4096 Jan 30 03:00 2013
> 
> [ebuild   R   ~] media-gfx/gtkam-0.2.0  USE="debug nls -gimp -gnome"
> 
> This is likely not Gtkam itself but some helper program.  What could
> cause this?  Anyone else run into this?
> 
> While I'm at it, I have tried other programs too. DigiKam crashes when I
> try to connect to my Camera to download.  It can't even think about
> getting pics. 
> 
> Thoughts?
> 
> Dale

Being partial to CLI, and haven't experienced goofy GUI apps like that in the
past, my choice is to remove the card from the camera (or use USB cable
attached to the camera), plug the card into a card reader, and rsync the
photos to my desired directory.

Whereas GUI photo apps work good in the darkside, we're lacking in Gentoo.

For my Canon EOS 20D this script is great:

mingdao@workstation ~ $ cat scripts/transfer-photos.sh
#!/bin/bash
mount /Canon-EOS
rsync -av /Canon-EOS/dcim/ /photos/
umount /Canon-EOS


There is a directory /photos/, and the following in /etc/fstab:

LABEL=EOS_DIGITAL   /Canon-EOS   vfat
noauto,users,rw,gid=1000,dmask=0002,fmask=0113,shortname=lower  0 0

Works great here.

Bruce
-- 
Happy Penguin Computers   >')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] Re: Gtkam getting on my nerves, again.

2013-02-02 Thread Dale
walt wrote:
> On 02/02/2013 06:45 AM, Dale wrote:
>
>> (gtkam:10897): Gtk-CRITICAL **:
>> gtk_file_chooser_default_set_current_name: assertion `impl->action ==
>> GTK_FILE_CHOOSER_ACTION_SAVE || impl->action ==
>> GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER' failed
> Now that one looks suspicious. The only idea that comes to mind is that
> gtkam for some reason is trying to save to some place you don't have
> write privileges, like / or /run, maybe.  That's where I would trot out
> strace, which will allow you to see exactly where gtkam is trying to
> write when it fails.
>
> The other trick I use is to create a new user with a new home directory
> and try running gtkam from that account.  Often I find that the new user
> doesn't see the same bug as my normal user, so at least I know the problem
> is somewhere in my home directory, and strace will narrow the scope of
> my debugging even more.
>
> The "-y" and "-e file" flags for strace are very handy for this kind of
> debugging problem.
>
>

Just so happens I have a test user.  I logged out and then logged in
with the test user.  It did the same thing.  I can say, I have never
even tried to use gtkam as that user.  I told it to save some pics to
/home/dale2/Desktop and it saved them to /home/dale2/ again.  It still
ignores my settings. 

I tried something else too.  I have a separate partition for my
backups.  I changed the permissions for it and tried to save some pics
to that, it still tries to save to /home/dale/ and even complains that
they already exist, since they are their from the last time.  So, saving
to /backup doesn't work either.  It still wants to save to /home/dale no
matter what I do. 

So, since it does this as two different users, is this a program error? 
I'm going to google some more but not real sure what to look for.  I'm
also going to check the group file to see if something has been added
there that I need to be a member of.  I'm going to try a older version
of gtkam too. 

Any more ideas?

Thanks.

Dale

:-)  :-) 

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




Re: [gentoo-user] udev-191 bit me. Insufficient ptys

2013-02-02 Thread Michael Mol
On Sat, Feb 2, 2013 at 2:17 PM, Alan McKinnon  wrote:
> On Sat, 2 Feb 2013 16:21:10 +0100
> Alex Schuster  wrote:
>
>> Michael Mol writes:
>>
>> > So, I botched the upgrade to udev-191. I thought I'd followed the
>> > steps, but I apparently only covered them for one machine, not both.
>>
>> [...]
>>
>> > Udev also complained about DEVTMPFS not being enabled in the
>> > kernel.[2]  I couldn't get into X, but I could log in via getty and
>> > a plain old vt, so I enabled it, rebuilt the kernel, installed it
>> > and rebooted...and now that's presumably covered.
>>
>> Ran into the same problem, with my sister's PC. Which I had updated
>> from remote, so I did not see the elogs. I do not think it is correct
>> behaviour to continue building udev although the system wouldn't boot
>> with that kernel option missing. I would expect the udev ebuild to
>> check the running kernel for that option, and refuse to build until
>> it has it set. Or until building is forced by some USE flag or an
>> environment variable.
>>
>> Had these things not been handled better in the past?
>
> There's a furious debate going on in -dev about this very thing, and
> the bottom line is that your statements above are way too simplistic.
>
> - there is no guarantee that /proc/config.gz represents the kernel the
>   binary will actually run on (this emerge might well be the last
>   process you ever run on that kernel)
> - there is no guarantee that /usr/src/linux corresponds to anything at
>   all (it's a symlink and can point to anything, even invalid stuff)
> - there is no guarantee that the build host will run the code (think
>   build farms, crossdev etc, so every available config cannot possibly
>   be valid)
> - and a couple more
>
> Basically, the only thing left for the ebuild devs is to notify the
> user with the important information.
>
> The question is not whether to halt the build or not (that cannot and
> will not be done) but how to do the communication:
>
> - news item
> - elog
> - README
> - some arb notice on a web site somewhere
> .
>
> This is gentoo, the distro that does not hold your hand and gives you
> every opportunity to keep both pieces. This is a good example of such.

I'm no longer subscribed to -dev, so I must have missed that
thread.[1] My *preference* in these matters is twofold:

1) Don't depend on the running kernel. I'd like to be able to use
portage to cross-compile from one amd64 box to another[2], and the
running kernel will be different from the kernel I'm compiling for.
2) Just as we have autounmask-write to force us through a manual
confirmation step if we have to change USE flags or unmask something,
I'd like autounmask to be able to service an "are you sure you want to
override this particular serious warning?" behavior. It'd actually be
pretty simple to do with per-package USE flags, and, since autounmask
only operates on exact versions of packages, you'd be asked for
confirmation on every upgrade. Yes, autounmask makes a mess of
/etc/portage/package.use over time, but that's why you should
periodically go through and sweep the cobwebs out of there.

[1] What with unexpectedly losing my job, I suddenly had even less
time than I already had, since I needed to dive full-bore into job
hunting.
[2] Different CFLAGS, distcc isn't a good option in my circumstance,
and I'd risk an "illegal instruction" error a binary in a chroot used
an instruction available on the target machine's CPU, but not on the
source machine's CPU.

-- 
:wq



Re: [gentoo-user] Gtkam getting on my nerves, again.

2013-02-02 Thread Dale
Bruce Hill wrote:
> On Sat, Feb 02, 2013 at 01:50:45AM -0600, Dale wrote:
>> Howdy,
>>
>> I use Gtkam to get pics from my Canon camera.  I already put up with the
>> fact that it crashes a LOT.  It really gets on my nerves but sort of
>> getting used to that.  Now I have a new issue.  When I tell it to save a
>> picture to say /home/dale/Desktop/Documents/Camera-pics/2013/Yard/ it
>> always saves them to /home/dale.  It does this regardless of what I have
>> asked it to save them too.  This used to work fine when I had this sort
>> of thing mounted on a directory called /data.  It would go something
>> like this:  /data/Camera-pics/2013/Yard/  That would work fine.  When I
>> got my shiney new 3Tb drive, I moved all that over to my home directory
>> and ever since then, Gtkam saves to the wrong place. 
>>
>> I have changed the permissions for /home/dale and EVERYTHING under it
>> but still get the same thing.  I'm 99% sure it is not a permissions
>> issue.  This is what permissions look like:
>>
>> drwxrwxr-x 27 dale users 4096 Dec  9  2009 2009
>> drwxrwxr-x 37 dale users 4096 Nov 16  2011 2010
>> drwxrwxr-x 31 dale users 4096 Dec 30  2011 2011
>> drwxrwxr-x 20 dale users 4096 Nov 12 01:20 2012
>> drwxrwxr-x  4 dale users 4096 Jan 30 03:00 2013
>>
>> [ebuild   R   ~] media-gfx/gtkam-0.2.0  USE="debug nls -gimp -gnome"
>>
>> This is likely not Gtkam itself but some helper program.  What could
>> cause this?  Anyone else run into this?
>>
>> While I'm at it, I have tried other programs too. DigiKam crashes when I
>> try to connect to my Camera to download.  It can't even think about
>> getting pics. 
>>
>> Thoughts?
>>
>> Dale
> Being partial to CLI, and haven't experienced goofy GUI apps like that in the
> past, my choice is to remove the card from the camera (or use USB cable
> attached to the camera), plug the card into a card reader, and rsync the
> photos to my desired directory.
>
> Whereas GUI photo apps work good in the darkside, we're lacking in Gentoo.
>
> For my Canon EOS 20D this script is great:
>
> mingdao@workstation ~ $ cat scripts/transfer-photos.sh
> #!/bin/bash
> mount /Canon-EOS
> rsync -av /Canon-EOS/dcim/ /photos/
> umount /Canon-EOS
>
>
> There is a directory /photos/, and the following in /etc/fstab:
>
> LABEL=EOS_DIGITAL   /Canon-EOS   vfat
> noauto,users,rw,gid=1000,dmask=0002,fmask=0113,shortname=lower  0 0
>
> Works great here.
>
> Bruce

Well, one reason I use gtkam is that I can rename the pics as it
transfers them over.  I date code mine and sometimes add other hints to
the name.  If I just copy them over from the card reader, it uses the
same name as the camera uses and that doesn't let me keep track as I
like too. 

I may see if digikam will import from the card reader thingy tho.  That
*may* work.  Still prefer to plug in my camera tho. 

Thanks.

Dale

:-)  :-) 

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




Re: [gentoo-user] [SOLVED] KDE 4.9.5 VERY slow to respond

2013-02-02 Thread Dale
Volker Armin Hemmann wrote:
> Am 02.02.2013 11:19, schrieb Dale:
>> Volker Armin Hemmann wrote:
>>> you can ignore all that. there is something broken - have a look at
>>> htop while clicking, check with xev that your clicks are actually
>>> delivered on time. Check Xorg.0.log hat X is behaving the way it should. 
>> I posted it earlier but it turned out to be dbus needing a update.  It
>> appears dbus had a issue but the one with the fix was keyworded. 
>> Anyway, it is back to normal now.  Well, normal for me anyway.  lol 
>>
>> Thanks.
>>
>> Dale
>>
>> :-)  :-) 
>>
> yeah, we probably should have a look at your 'Dale being Dale' problem
> in the near future
>
> ;)
>

Well, I do run into problems from time to time.  I got a thread on here
about gtkam that is a real head scratcher.  I don't know tho, maybe I
don't have any more problems than anyone else.  I don't start to many
threads with problems so maybe it just feels like Murphy picks on me a
lot.  :/

I wasn't the only one with this problem either.  So this time, it was
not just me.  lol   I just had the nerve to post about it.  O-o

Dale

:-)  :-) 

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




Re: [gentoo-user] Re: [OT] Nigerian spam coming through google calendar invitations

2013-02-02 Thread Dale
walt wrote:
> Yes, I've already fixed the problem by changing the default settings
> in both evolution and at the google website. Another example of the
> tyranny of the default (a phrase I learned from Leo Laporte). 

I miss seeing Leo on TechTV.  Him and Kate was quite a pair.  :-( 

Dale

:-)  :-) 

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




Re: [gentoo-user] List of base system packages

2013-02-02 Thread Nilesh Govindrajan
On Sat, Feb 2, 2013 at 11:07 PM, Dustin C. Hatch  wrote:
> On 2/2/2013 04:50, Nilesh Govindrajan wrote:
>>
>>
>> I'm getting a weird error while trying to compile pam:
>>
>>   * ERROR: sys-libs/pam-1.1.6-r2 failed (configure phase):
>>   *   USE Flag 'hppa' not in IUSE for sys-libs/pam-1.1.6-r2
>>   *
>>   * Call stack:
>>   *  ebuild.sh, line   93:  Called src_configure
>>   *environment, line 3550:  Called use 'hppa'
>>   *   phase-helpers.sh, line  219:  Called die
>>   * The specific snippet of code:
>>   *  die "USE Flag '${u}' not in IUSE for
>> ${CATEGORY}/${PF}"
>>
>> How to fix this?
>>
> I encountered these types of errors when building as well. It is because the
> "embedded" profile, which is the profile crossdev selects by default, is
> missing a huge amount of information. I tried defining it all in
> ${PORTAGE_CONFIG_ROOT}/profile but it got to be a chore. I ended up
> switching to the default Linux profile for ARM, which worked much better.
>
> --
> ♫Dustin
>

Which means /usr/armv6j-hardfloat-linux-gnueabi/etc/portage/make.profile?

--
Nilesh Govindrajan
http://nileshgr.com



Re: [gentoo-user] List of base system packages

2013-02-02 Thread Dustin C. Hatch

On 2/2/2013 19:43, Nilesh Govindrajan wrote:

On Sat, Feb 2, 2013 at 11:07 PM, Dustin C. Hatch  wrote:

On 2/2/2013 04:50, Nilesh Govindrajan wrote:



I'm getting a weird error while trying to compile pam:

   * ERROR: sys-libs/pam-1.1.6-r2 failed (configure phase):
   *   USE Flag 'hppa' not in IUSE for sys-libs/pam-1.1.6-r2
   *
   * Call stack:
   *  ebuild.sh, line   93:  Called src_configure
   *environment, line 3550:  Called use 'hppa'
   *   phase-helpers.sh, line  219:  Called die
   * The specific snippet of code:
   *  die "USE Flag '${u}' not in IUSE for
${CATEGORY}/${PF}"

How to fix this?


I encountered these types of errors when building as well. It is because the
"embedded" profile, which is the profile crossdev selects by default, is
missing a huge amount of information. I tried defining it all in
${PORTAGE_CONFIG_ROOT}/profile but it got to be a chore. I ended up
switching to the default Linux profile for ARM, which worked much better.

--
♫Dustin



Which means /usr/armv6j-hardfloat-linux-gnueabi/etc/portage/make.profile?

--
Nilesh Govindrajan
http://nileshgr.com


Yeah, change that to point to /usr/portage/profiles/default/linux/arm/10.0

--
♫Dustin



Re: [gentoo-user] KDE 4.9.5 VERY slow to respond

2013-02-02 Thread Dale
Francisco Ares wrote:
> Hi, Dale.
>
> There is something else.  I have upgraded gcc, done an "emerge -evuDN
> world", even recompiled the kernel, and the graphic system has stuck
> again a while ago.
>
> I will try to post later something more specific, but as far as could
> see, it is not just KDE.  But the text terminals still work, just
> can't kill anything.
>
> Good to know someone is happy again ;-)
>
> Francisco
>

I ran into this once before and it turned out to be a DNS or hostname
issue if I recall correctly.  I can't for the life of me figure out why
that would matter but it did.  It's been a while so I can't remember
what I did but I have ran into that on both my machines.  It also makes
the login on a Console take longer too.  It makes a fast system act like
a old Mac Classic.  O_O 

May want to check on that sort of stuff too.  May not be it but if you
don't check it, it will be.  lol 

Dale

:-)  :-) 

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




Re: [gentoo-user] Gtkam getting on my nerves, again.

2013-02-02 Thread Dale
Dale wrote:
> Well, one reason I use gtkam is that I can rename the pics as it
> transfers them over. I date code mine and sometimes add other hints to
> the name. If I just copy them over from the card reader, it uses the
> same name as the camera uses and that doesn't let me keep track as I
> like too. I may see if digikam will import from the card reader thingy
> tho. That *may* work. Still prefer to plug in my camera tho. Thanks.
> Dale :-) :-) 

OK.  I can get digikam to import from the card with a reader thingy.  It
took me a while, some hair pulling, a few threats of using a hammer but
I got it to name them like I want.  So, in the meantime I can get my
pics.  Thing is, to get to my card, I have to about disassemble the
camera.  I have to remove the mount for the tri-pod, the bottom and the
battery to get it out.  Well, it gives me a good excuse to charge the
battery.  Thing lasts for months on a charge tho.  That battery is
really long lasting. 

I still want to get gtkam fixed tho.  It's much faster and simpler for
me.  Digikam has lots of bells and whistles I don't need. 

Dale

:-)  :-) 


P. S.  For everyone else, never a crash or problem reading the card in
the card reader thingy using the exact same cable.  Worked like a
charm.  It seems USB just does not like cameras. 

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




Re: [gentoo-user] Firefox won't compile without sound

2013-02-02 Thread Philip Webb
130202 Sebastian Beßler wrote:
> On 02.02.2013 04:54, Philip Webb wrote:
>>   checking for alsa...
>> Package alsa was not found in the pkg-config search path.
>>   ... configure: error: Need alsa for Ogg, Wave or WebM decoding on Linux.
>> Disable with --disable-ogg --disable-wave --disable-webm.
> It should be enough to set
>   mozconfig_annotate '' --disable-ogg
>   mozconfig_annotate '' --disable-wave
>   mozconfig_annotate '' --disable-webm
> in the src_configure() part of the ebuild.

I did that & avoided the cfg stumble & FF begins to compile.
However, it fails with an error :

  fatal error : nsAudioStream.h : no such file

I tried again with  'USE="gstreamer" ... --nodeps ... '
-- this is the way to get Kdelibs to compile without sound -- ,
but the same error hit again.

It looks as if this is a bug to report upstream.

Further comments or suggestions welcome.

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