Re: [e-users] libeina and efreet errors

2016-05-21 Thread The Rasterman
On Sat, 21 May 2016 17:15:54 +0100 Mick  said:

> On Saturday 21 May 2016 11:57:47 Mick wrote:
> > On Saturday 21 May 2016 17:45:13 you wrote:
> > > On Sat, 21 May 2016 08:53:03 +0100 Mick  said:
> > > > On Saturday 21 May 2016 13:34:37 you wrote:
> > > > > your screen setup config has a screen depending on itself eg
> > > > > 
> > > > > VGA1 right of VGA1
> > > > > 
> > > > > or
> > > > > 
> > > > > VGA1 rightof HDMI0
> > > > > HDMI0 right of VGA1
> > > > > 
> > > > > ...  loop. it detects and breaks out.
> > > > 
> > > > Hmm ... I must have defined the two monitors the wrong way then.  :-/
> > > > 
> > > > I had set up DVI-0 as 'none' and HDMI-0 as 'right of' DVI-0.  DVI-0 is
> > > > the
> > > > primary monitor and this is the way I always remember setting them up. 
> > > > In
> > > > previous versions I recall a graphical GUI to set them up by dragging
> > > > them
> > > > around.
> > > > 
> > > > I have now set up DVI-0 'left of' HDMI-0 and HDMI-0 'right of' DVI-0. 
> > > > Is
> > > > this the correct way to set them up?  Specifying each of them in
> > > > relation
> > > > to the other?
> > > 
> > > you NOw do have a loop. a depends on b. b depends on a...
> > 
> > OK, so I reverted to how I had it originally configured:
> > 
> > DVI-0 none
> > HDMI-0 right of DVI-0
> > 
> > > it's found some kind of loop. i'ts recursing too far and is stopping
> > > itself. either way it's handled nicely and doesnt cause any issues
> > > generally unless you notice screens not being configured - then it may be
> > > due to a loop.
> > The screens are being configured and I can use them nicely, but I still get
> > this :e src/bin/e_randr2.c:867 _screen_config_do() screen config loop!
> > xsession-error.
> > 
> > I tried with a different user account and I am getting the same error.
> 
> I have uploaded the .xsession-error here, because it is rather long:
> 
> http://pastebin.com/RCp5NRZQ
> 
> It sure goes through a loop again and again, but I am not sure why it does 
> this ...
> 
> Grateful for any pointers.

err. what loop where?it starts up - does stuff... and quiets down. i dont see
endless looping...

-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] libeina and efreet errors

2016-05-21 Thread Mick
On Saturday 21 May 2016 11:57:47 Mick wrote:
> On Saturday 21 May 2016 17:45:13 you wrote:
> > On Sat, 21 May 2016 08:53:03 +0100 Mick  said:
> > > On Saturday 21 May 2016 13:34:37 you wrote:
> > > > your screen setup config has a screen depending on itself eg
> > > > 
> > > > VGA1 right of VGA1
> > > > 
> > > > or
> > > > 
> > > > VGA1 rightof HDMI0
> > > > HDMI0 right of VGA1
> > > > 
> > > > ...  loop. it detects and breaks out.
> > > 
> > > Hmm ... I must have defined the two monitors the wrong way then.  :-/
> > > 
> > > I had set up DVI-0 as 'none' and HDMI-0 as 'right of' DVI-0.  DVI-0 is
> > > the
> > > primary monitor and this is the way I always remember setting them up. 
> > > In
> > > previous versions I recall a graphical GUI to set them up by dragging
> > > them
> > > around.
> > > 
> > > I have now set up DVI-0 'left of' HDMI-0 and HDMI-0 'right of' DVI-0. 
> > > Is
> > > this the correct way to set them up?  Specifying each of them in
> > > relation
> > > to the other?
> > 
> > you NOw do have a loop. a depends on b. b depends on a...
> 
> OK, so I reverted to how I had it originally configured:
> 
> DVI-0 none
> HDMI-0 right of DVI-0
> 
> > it's found some kind of loop. i'ts recursing too far and is stopping
> > itself. either way it's handled nicely and doesnt cause any issues
> > generally unless you notice screens not being configured - then it may be
> > due to a loop.
> The screens are being configured and I can use them nicely, but I still get
> this :e src/bin/e_randr2.c:867 _screen_config_do() screen config loop!
> xsession-error.
> 
> I tried with a different user account and I am getting the same error.

I have uploaded the .xsession-error here, because it is rather long:

http://pastebin.com/RCp5NRZQ

It sure goes through a loop again and again, but I am not sure why it does 
this ...

Grateful for any pointers.

-- 
Regards,
Mick--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] enlightenment shutdown scripts

2016-05-21 Thread The Rasterman
On Sat, 21 May 2016 11:11:01 +0100 Mick  said:

> On Saturday 21 May 2016 17:42:51 you wrote:
> > On Sat, 21 May 2016 08:04:08 +0100 Mick  said:
> > > On Saturday 21 May 2016 13:35:57 you wrote:
> > > > On Fri, 20 May 2016 23:59:30 +0100 Mick  
> said:
> > > > > I run kmail with its akonadi database and noticed that if I shut down
> > > > > kmail
> > > > > and then log out from elightenment, akonadi which does not shutdown
> > > > > with
> > > > > kmail, crashes.  Where can I add a shutdown script so that before
> > > > > enlightenment exits akonadi can shutdown gracefully, wait for a couple
> > > > > of
> > > > > seconds and then enlightenment finally exits?
> > > > 
> > > > no - no shutdown directory. only start and restart.
> > > > 
> > > > if you shutdown or logout e will close every window "nicely". if a
> > > > window
> > > > refuses to close (and has asked for a delete request and e sent that
> > > > with no responds for a while) e will complain and let you know.
> > > 
> > > The thing is akonadi is running as a service between kmail or similar PIM
> > > applications and the back end database server (mysql of postgresql).  So
> > > it
> > > is not a window as such to be shut down.  Is there another way I could
> > > achieve this?
> > 
> > i was letting you know so you can perhaps change to something that has a
> > window - it is shut down nicely then. :)
> > 
> > you could simply use a ~/.xsession or ~/.xinitrc file to launch
> > enlightenment_start and then after enlightenment_start exits do whatever you
> > like:
> > 
> > #!/bin/sh
> > enlightenment_start
> > killall whatever-daemon
> > 
> > :)
> 
> Thanks Carsten, I am using sddm as a display manager, which I understand uses 
> the contents of /usr/share/xsessions to start enlightenment with.  Could I
> set up in /usr/share/xsessions/enlightenment.desktop something like this?
> 
> [snip...]
> Icon=/usr/share/enlightenment/data/images/enlightenment.png
> TryExec='/usr/bin/enlightenment_start && /usr/bin/akonadictl stop && wait 3'
> Exec=/usr/bin/enlightenment_start
> 
> Will this stop akonadi and wait for three seconds before it exits 
> enlightenment?

all display managers support ~/.xinitrc and/or ~/.xsession that i have ever
seen. it's been a standard since the 1980's. edit one of them. chmod a+x it. ln
-s the other name to the one u edited just in case and ensue the display
manager is set up to use whatever custom login script you have instead of the
xsession .desktop file.

fyi in desktop files TryExec is not what is executed. it's what is used to
figure out if the executable exists. the Exec line is what is executed.

-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] enlightenment shutdown scripts

2016-05-21 Thread Mick
On Saturday 21 May 2016 11:22:08 you wrote:
> On Saturday 21 May 2016 11:11:01 Mick wrote:
> > On Saturday 21 May 2016 17:42:51 you wrote:
> > > On Sat, 21 May 2016 08:04:08 +0100 Mick  
said:
> > > > On Saturday 21 May 2016 13:35:57 you wrote:
> > > > > On Fri, 20 May 2016 23:59:30 +0100 Mick 
> > 
> > said:
> > > > > > I run kmail with its akonadi database and noticed that if I shut
> > > > > > down
> > > > > > kmail
> > > > > > and then log out from elightenment, akonadi which does not
> > > > > > shutdown
> > > > > > with
> > > > > > kmail, crashes.  Where can I add a shutdown script so that before
> > > > > > enlightenment exits akonadi can shutdown gracefully, wait for a
> > > > > > couple
> > > > > > of
> > > > > > seconds and then enlightenment finally exits?
> > > > > 
> > > > > no - no shutdown directory. only start and restart.
> > > > > 
> > > > > if you shutdown or logout e will close every window "nicely". if a
> > > > > window
> > > > > refuses to close (and has asked for a delete request and e sent that
> > > > > with no responds for a while) e will complain and let you know.
> > > > 
> > > > The thing is akonadi is running as a service between kmail or similar
> > > > PIM
> > > > applications and the back end database server (mysql of postgresql). 
> > > > So
> > > > it
> > > > is not a window as such to be shut down.  Is there another way I could
> > > > achieve this?
> > > 
> > > i was letting you know so you can perhaps change to something that has a
> > > window - it is shut down nicely then. :)
> > > 
> > > you could simply use a ~/.xsession or ~/.xinitrc file to launch
> > > enlightenment_start and then after enlightenment_start exits do whatever
> > > you like:
> > > 
> > > #!/bin/sh
> > > enlightenment_start
> > > killall whatever-daemon
> > > 
> > > :)
> > 
> > Thanks Carsten, I am using sddm as a display manager, which I understand
> > uses the contents of /usr/share/xsessions to start enlightenment with.
> > Could I set up in /usr/share/xsessions/enlightenment.desktop something
> > like
> > this?
> > 
> > [snip...]
> > Icon=/usr/share/enlightenment/data/images/enlightenment.png
> > TryExec='/usr/bin/enlightenment_start && /usr/bin/akonadictl stop && wait
> > 3' Exec=/usr/bin/enlightenment_start
> > 
> > Will this stop akonadi and wait for three seconds before it exits
> > enlightenment?
> 
> OK, this seems to be working:
> 
> TryExec=/usr/bin/enlightenment_start "&" /usr/bin/akonadictl stop "&" wait 3

Hmm ... upon closer inspection, it doesn't; e.g.

KCrash: Attempting to start  directly
ProcessControl: Application '/usr/bin/akonadi_agent_launcher' returned with 
exit code 1 (Unknown error)
KCrash failed to exec(), errno = 2
KCrash failed to exec(), errno = 2
KCrash failed to exec(), errno = 2
ProcessControl: Application '/usr/bin/akonadi_migration_agent' returned with 
exit code 253 (Unknown error)
Invalid MIT-MAGIC-COOKIE-1 keyakonadi_imap_resource: cannot connect to X 
server :0.0
ProcessControl: Application '/usr/bin/akonadi_mailfilter_agent' returned with 
exit code 253 (Unknown error)
Invalid MIT-MAGIC-COOKIE-1 keyakonadi_maildispatcher_agent: cannot connect to 
X server :0.0
ProcessControl: Application '/usr/bin/akonadi_imap_resource' returned with 
exit code 1 (Unknown error)
"/usr/bin/akonadi_imap_resource" crashed too often and will not be restarted! 
akonadi_birthdays_resource(17434)/kdeui (kdelibs): Session bus not found 
To circumvent this problem try the following command (with Linux and bash) 
export $(dbus-launch) 
ProcessControl: Application '/usr/bin/akonadi_sendlater_agent' returned with 
exit code 253 (Unknown error)
KCrash: Application 'akonadi_birthdays_resource' crashing...
KCrash: Attempting to start  from kdeinit

I think the PIM client closes and akonadi is trying to re-establish a 
connection to it, but various sockets are no longer there.  It tries a few 
times and then it crashes.  I hope this won't lead to a database corruption.
-- 
Regards,
Mick--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] libeina and efreet errors

2016-05-21 Thread Mick
On Saturday 21 May 2016 17:45:13 you wrote:
> On Sat, 21 May 2016 08:53:03 +0100 Mick  said:
> > On Saturday 21 May 2016 13:34:37 you wrote:
> > > your screen setup config has a screen depending on itself eg
> > > 
> > > VGA1 right of VGA1
> > > 
> > > or
> > > 
> > > VGA1 rightof HDMI0
> > > HDMI0 right of VGA1
> > > 
> > > ...  loop. it detects and breaks out.
> > 
> > Hmm ... I must have defined the two monitors the wrong way then.  :-/
> > 
> > I had set up DVI-0 as 'none' and HDMI-0 as 'right of' DVI-0.  DVI-0 is the
> > primary monitor and this is the way I always remember setting them up.  In
> > previous versions I recall a graphical GUI to set them up by dragging them
> > around.
> > 
> > I have now set up DVI-0 'left of' HDMI-0 and HDMI-0 'right of' DVI-0.  Is
> > this the correct way to set them up?  Specifying each of them in relation
> > to the other?
> 
> you NOw do have a loop. a depends on b. b depends on a...

OK, so I reverted to how I had it originally configured:

DVI-0 none
HDMI-0 right of DVI-0

> it's found some kind of loop. i'ts recursing too far and is stopping itself.
> either way it's handled nicely and doesnt cause any issues generally unless
> you notice screens not being configured - then it may be due to a loop.

The screens are being configured and I can use them nicely, but I still get 
this :e src/bin/e_randr2.c:867 _screen_config_do() screen config loop! 
xsession-error.

I tried with a different user account and I am getting the same error.

-- 
Regards,
Mick--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] enlightenment shutdown scripts

2016-05-21 Thread Mick
On Saturday 21 May 2016 11:11:01 Mick wrote:
> On Saturday 21 May 2016 17:42:51 you wrote:
> > On Sat, 21 May 2016 08:04:08 +0100 Mick  said:
> > > On Saturday 21 May 2016 13:35:57 you wrote:
> > > > On Fri, 20 May 2016 23:59:30 +0100 Mick 
> 
> said:
> > > > > I run kmail with its akonadi database and noticed that if I shut
> > > > > down
> > > > > kmail
> > > > > and then log out from elightenment, akonadi which does not shutdown
> > > > > with
> > > > > kmail, crashes.  Where can I add a shutdown script so that before
> > > > > enlightenment exits akonadi can shutdown gracefully, wait for a
> > > > > couple
> > > > > of
> > > > > seconds and then enlightenment finally exits?
> > > > 
> > > > no - no shutdown directory. only start and restart.
> > > > 
> > > > if you shutdown or logout e will close every window "nicely". if a
> > > > window
> > > > refuses to close (and has asked for a delete request and e sent that
> > > > with no responds for a while) e will complain and let you know.
> > > 
> > > The thing is akonadi is running as a service between kmail or similar
> > > PIM
> > > applications and the back end database server (mysql of postgresql).  So
> > > it
> > > is not a window as such to be shut down.  Is there another way I could
> > > achieve this?
> > 
> > i was letting you know so you can perhaps change to something that has a
> > window - it is shut down nicely then. :)
> > 
> > you could simply use a ~/.xsession or ~/.xinitrc file to launch
> > enlightenment_start and then after enlightenment_start exits do whatever
> > you like:
> > 
> > #!/bin/sh
> > enlightenment_start
> > killall whatever-daemon
> > 
> > :)
> 
> Thanks Carsten, I am using sddm as a display manager, which I understand
> uses the contents of /usr/share/xsessions to start enlightenment with. 
> Could I set up in /usr/share/xsessions/enlightenment.desktop something like
> this?
> 
> [snip...]
> Icon=/usr/share/enlightenment/data/images/enlightenment.png
> TryExec='/usr/bin/enlightenment_start && /usr/bin/akonadictl stop && wait 3'
> Exec=/usr/bin/enlightenment_start
> 
> Will this stop akonadi and wait for three seconds before it exits
> enlightenment?

OK, this seems to be working:

TryExec=/usr/bin/enlightenment_start "&" /usr/bin/akonadictl stop "&" wait 3

-- 
Regards,
Mick--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] enlightenment shutdown scripts

2016-05-21 Thread Mick
On Saturday 21 May 2016 17:42:51 you wrote:
> On Sat, 21 May 2016 08:04:08 +0100 Mick  said:
> > On Saturday 21 May 2016 13:35:57 you wrote:
> > > On Fri, 20 May 2016 23:59:30 +0100 Mick  
said:
> > > > I run kmail with its akonadi database and noticed that if I shut down
> > > > kmail
> > > > and then log out from elightenment, akonadi which does not shutdown
> > > > with
> > > > kmail, crashes.  Where can I add a shutdown script so that before
> > > > enlightenment exits akonadi can shutdown gracefully, wait for a couple
> > > > of
> > > > seconds and then enlightenment finally exits?
> > > 
> > > no - no shutdown directory. only start and restart.
> > > 
> > > if you shutdown or logout e will close every window "nicely". if a
> > > window
> > > refuses to close (and has asked for a delete request and e sent that
> > > with no responds for a while) e will complain and let you know.
> > 
> > The thing is akonadi is running as a service between kmail or similar PIM
> > applications and the back end database server (mysql of postgresql).  So
> > it
> > is not a window as such to be shut down.  Is there another way I could
> > achieve this?
> 
> i was letting you know so you can perhaps change to something that has a
> window - it is shut down nicely then. :)
> 
> you could simply use a ~/.xsession or ~/.xinitrc file to launch
> enlightenment_start and then after enlightenment_start exits do whatever you
> like:
> 
> #!/bin/sh
> enlightenment_start
> killall whatever-daemon
> 
> :)

Thanks Carsten, I am using sddm as a display manager, which I understand uses 
the contents of /usr/share/xsessions to start enlightenment with.  Could I set 
up in /usr/share/xsessions/enlightenment.desktop something like this?

[snip...]
Icon=/usr/share/enlightenment/data/images/enlightenment.png
TryExec='/usr/bin/enlightenment_start && /usr/bin/akonadictl stop && wait 3'
Exec=/usr/bin/enlightenment_start

Will this stop akonadi and wait for three seconds before it exits 
enlightenment?

-- 
Regards,
Mick--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] libeina and efreet errors

2016-05-21 Thread The Rasterman
On Sat, 21 May 2016 08:53:03 +0100 Mick  said:

> On Saturday 21 May 2016 13:34:37 you wrote:
> > your screen setup config has a screen depending on itself eg
> > 
> > VGA1 right of VGA1
> > 
> > or
> > 
> > VGA1 rightof HDMI0
> > HDMI0 right of VGA1
> > 
> > ...  loop. it detects and breaks out.
> 
> Hmm ... I must have defined the two monitors the wrong way then.  :-/
> 
> I had set up DVI-0 as 'none' and HDMI-0 as 'right of' DVI-0.  DVI-0 is the 
> primary monitor and this is the way I always remember setting them up.  In 
> previous versions I recall a graphical GUI to set them up by dragging them 
> around.
> 
> I have now set up DVI-0 'left of' HDMI-0 and HDMI-0 'right of' DVI-0.  Is
> this the correct way to set them up?  Specifying each of them in relation to
> the other?

you NOw do have a loop. a depends on b. b depends on a...

it's found some kind of loop. i'ts recursing too far and is stopping itself.
either way it's handled nicely and doesnt cause any issues generally unless you
notice screens not being configured - then it may be due to a loop.

> BTW, I'm guessing that Lid/Lid events do not need to be selected on a desktop 
> PC?

no - it doesn't... but on a desktop pc it does zero harm as you wont get any
lid events.

> -- 
> Regards,
> Mick


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] libeina and efreet errors

2016-05-21 Thread Mick
On Saturday 21 May 2016 13:34:37 you wrote:
> your screen setup config has a screen depending on itself eg
> 
> VGA1 right of VGA1
> 
> or
> 
> VGA1 rightof HDMI0
> HDMI0 right of VGA1
> 
> ...  loop. it detects and breaks out.

Hmm ... I must have defined the two monitors the wrong way then.  :-/

I had set up DVI-0 as 'none' and HDMI-0 as 'right of' DVI-0.  DVI-0 is the 
primary monitor and this is the way I always remember setting them up.  In 
previous versions I recall a graphical GUI to set them up by dragging them 
around.

I have now set up DVI-0 'left of' HDMI-0 and HDMI-0 'right of' DVI-0.  Is this 
the correct way to set them up?  Specifying each of them in relation to the 
other?

BTW, I'm guessing that Lid/Lid events do not need to be selected on a desktop 
PC?
-- 
Regards,
Mick--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users