Re: [e-users] Enlightenment on Freebsd 11 - status and problems

2017-04-10 Thread Christopher Barry
On Mon, 10 Apr 2017 19:33:17 +0200
Quelrond  wrote:

>Hi,
>
>
>First of all, I would like to thank all the team – you are creating a 
>great desktop environment!
>
>
>I’ve just updated my laptop from PCBSD 10.1 to FreeBSD 11, and I’ve 
>reinstalled EFL, Enlightenment and some EFL apps. I don’t remember the 
>old version of EFL, but it was Enlightenment 0.19.x. Now I am on Efl 
>1.18.4 and Enlightenment 0.21.7, both installed from FreeBSD binary 
>packages.
>
>
>The most important thing I want to mention is that the stability of
>the DE is greatly improved. There is no freeze I had frequently on
>E19. The principal source of freeze – main menu – now works perfectly.
>Another important point – the file manager don’t freeze the whole
>system as before (I deactivated the module on E19 as the system was
>unusable with it), it’s fluid and fast. And the bonus – some modules
>are working now! ;)
>
>
>Unfortunately, there are still some problems I want to talk with the 
>developers.
>
>
>The most important problem – efreetd. We’ve already discussed this 
>problem in the mail list, I’ve opened the ticket on phab (T5130). One 
>MUST disable this daemon to be able to use a laptop, if not – the CPU 
>and HDD I/O are consumed permanently. I tried to search a little in 
>sources, but it’s really difficult to understand – how does it start
>and why is it started so frequently. I can try to debug it if someone
>helps me.
>
>
>Another problem (really important for me, but probably not visible for 
>99% of users) – mouse bindings. I’m using a Logitech mouse with 
>additional buttons on scroll wheel (right-click and left-click). These 
>buttons were perfectly recognized by E19 and I’m used to use them for 
>windows list scrolling (like alt-tab). Unfortunately, on E21 it works 
>ONLY if the mouse pointer is placed on desktop or on window title. The 
>“Action Context” is set to “Any”, but it still does not work inside
>any window. Note, that it was perfectly working on E19.
>
>
>As about modules – I’ve tried some ones:
>
>- Temperature is showing 25 degrees always, even when efreetd is 
>transforming my laptop to iron;
>
>- Mixer is perfectly working with PulseAudio… till restart of 
>Enlightenment, it freezes completely after ctrl-alt-end and restart of
>E;
>
>- Cpufreq is showing correctly the current CPU frequency, but the icon 
>stays always the same, with the pointer blocked on minimal position;
>
>- Battery works fine;
>
>- Keyboard works fine.
>
>
>It would be really nice if someone can recommend me something to solve 
>my problems. If you consider that additional tickets should be opened
>on phab – I’ll do it.
>
>
>Best regards,
>
>Peter
>

I'm not an Enlightenment developer, but I have used it since the mid
90s. I will tell you that I know it's a labor of love, and currently
almost all of the love is Linux bound out of necessity. I'll bet that
if you stood up a cloud vm running FreeBSD 11 with a full dev
environment setup on it, and admin'd it, and gave all e devs root on it
to develop and test on it, maybe you even get it into their CI setup,
your issues would get solved a lot quicker. And maybe you can also do
some more debugging to help steer developers toward the issues, as you
suggest above, and even help write some tests maybe.

How bad you need it?

-- 
Regards,
Christopher

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


[e-users] Enlightenment on Freebsd 11 - status and problems

2017-04-10 Thread Quelrond
Hi,


First of all, I would like to thank all the team – you are creating a 
great desktop environment!


I’ve just updated my laptop from PCBSD 10.1 to FreeBSD 11, and I’ve 
reinstalled EFL, Enlightenment and some EFL apps. I don’t remember the 
old version of EFL, but it was Enlightenment 0.19.x. Now I am on Efl 
1.18.4 and Enlightenment 0.21.7, both installed from FreeBSD binary 
packages.


The most important thing I want to mention is that the stability of the 
DE is greatly improved. There is no freeze I had frequently on E19. The 
principal source of freeze – main menu – now works perfectly. Another 
important point – the file manager don’t freeze the whole system as 
before (I deactivated the module on E19 as the system was unusable with 
it), it’s fluid and fast. And the bonus – some modules are working now! ;)


Unfortunately, there are still some problems I want to talk with the 
developers.


The most important problem – efreetd. We’ve already discussed this 
problem in the mail list, I’ve opened the ticket on phab (T5130). One 
MUST disable this daemon to be able to use a laptop, if not – the CPU 
and HDD I/O are consumed permanently. I tried to search a little in 
sources, but it’s really difficult to understand – how does it start and 
why is it started so frequently. I can try to debug it if someone helps me.


Another problem (really important for me, but probably not visible for 
99% of users) – mouse bindings. I’m using a Logitech mouse with 
additional buttons on scroll wheel (right-click and left-click). These 
buttons were perfectly recognized by E19 and I’m used to use them for 
windows list scrolling (like alt-tab). Unfortunately, on E21 it works 
ONLY if the mouse pointer is placed on desktop or on window title. The 
“Action Context” is set to “Any”, but it still does not work inside any 
window. Note, that it was perfectly working on E19.


As about modules – I’ve tried some ones:

- Temperature is showing 25 degrees always, even when efreetd is 
transforming my laptop to iron;

- Mixer is perfectly working with PulseAudio… till restart of 
Enlightenment, it freezes completely after ctrl-alt-end and restart of E;

- Cpufreq is showing correctly the current CPU frequency, but the icon 
stays always the same, with the pointer blocked on minimal position;

- Battery works fine;

- Keyboard works fine.


It would be really nice if someone can recommend me something to solve 
my problems. If you consider that additional tickets should be opened on 
phab – I’ll do it.


Best regards,

Peter

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Starting e with the correct access rights

2017-04-10 Thread The Rasterman
On Mon, 10 Apr 2017 11:25:16 +0100 Mick  said:

> On Monday 10 Apr 2017 18:41:05 Carsten Haitzler wrote:
> > stuff used to be so much simpler 20 years abck. you just had your login
> > manger run ~/.xsession. this script would run your wm last without & (with
> > exec before if u were smart) and anything u wanted launched on login before
> > that in the script.
> > 
> > today it's a forest of services and god knows what...
> 
> 
> Yes!  Services, service prerequisites upon dependencies, environment parsers, 
> etc, etc.
> 
> Now that you're mentioning using 'exec', I recall reading in this M/L that 
> /usr/bin/enlightenment_start does *not* need exec before it.  Is this correct?

exec is not needed... but it's a little wasteful not using it. exec REPLACES
the shell process with enlightenment_start. without it the parent shell that
runs enlightenment_start stays around with any memory and other state it needs
to just sit around and sleep forever until enlightenment_starts exits. that's a
bit of a waste of resources for a process that will do nothing after
enlightenment_start exits... :)

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


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread Mick
On Monday 10 Apr 2017 14:44:58 Gabriele Zaverio wrote:
> A strange thing something happen: a requester pop up saying
> 
> Bluez: error reading list of adapters

Check your bluetooth service is running on the PC.

then run:

$ bluetoothctl 
[bluetooth]# power on
[bluetooth]# agent on
[bluetooth]# scan on

and associate with the device you want to associate with, set its trust, etc.

In addition to the above, 'sudo hciconfig' will show if your bt controller is 
up & running or down, although bluetoothctl will also complain if your 
hardware is not on.

-- 
Regards,
Mick--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread Gabriele Zaverio
A strange thing something happen: a requester pop up saying

Bluez: error reading list of adapters

On 4/10/17, Mick  wrote:
> On Monday 10 Apr 2017 13:53:17 Gabriele Zaverio wrote:
>> >> I wanna get rid of it. It's unuseful and crappy. :(
>> >
>> > Uninstall it and configure alsa?
>>
>> yep, this is something I wanna do :)
>>
>> > Is your bt hardware up & running?
>>
>> Yes it is :)
>>
>> > What does hciconfig show?  Did you also
>> > try  to use bluetoothctl to associate your bt device with the PC?
>>
>> Yes, bluetoothctl associate it and it works. I'm just wondering how
>> can I have this automatically set up, without having to open terminal
>> and do the bluetoothctl stuff every time by hand. :)
>>
>> Maybe a pushbutton in E that I can press to associate this device,
>> launching the bluetoothctl shell command?
>
> OK, your problem seems simpler than mine because at least your PC hardware
> is
> more cooperative.  ;-)
>
> Create a script which will run the stanzas required to enable your bt
> controller and associate it with the bt audio device.  Make it executable.
>
> Then create a .desktop file in your ~/.local/share/applications/ and call
> the
> script from it, with e.g.:
>
> Exec=~/.myBTscript.sh
>
> --
> Regards,
> Mick


-- 
73 de IW9HGS - Gabriele "Asbesto Molesto" Zaverio
Museo dell'Informatica funzionante - Freaknet Computer Museum
http://museum.freaknet.org || http://freaknet.org/asbesto
GPG Fingerprint: 8935 5586 7F2D 9C5E 51B6  BBC5 EA15 9A4E 613D 44D7

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread Mick
On Monday 10 Apr 2017 13:53:17 Gabriele Zaverio wrote:
> >> I wanna get rid of it. It's unuseful and crappy. :(
> > 
> > Uninstall it and configure alsa?
> 
> yep, this is something I wanna do :)
> 
> > Is your bt hardware up & running?
> 
> Yes it is :)
> 
> > What does hciconfig show?  Did you also
> > try  to use bluetoothctl to associate your bt device with the PC?
> 
> Yes, bluetoothctl associate it and it works. I'm just wondering how
> can I have this automatically set up, without having to open terminal
> and do the bluetoothctl stuff every time by hand. :)
> 
> Maybe a pushbutton in E that I can press to associate this device,
> launching the bluetoothctl shell command?

OK, your problem seems simpler than mine because at least your PC hardware is 
more cooperative.  ;-)

Create a script which will run the stanzas required to enable your bt 
controller and associate it with the bt audio device.  Make it executable.  
Then create a .desktop file in your ~/.local/share/applications/ and call the 
script from it, with e.g.:

Exec=~/.myBTscript.sh

-- 
Regards,
Mick--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread Gabriele Zaverio
>> I wanna get rid of it. It's unuseful and crappy. :(

> Uninstall it and configure alsa?

yep, this is something I wanna do :)

> Is your bt hardware up & running?

Yes it is :)

> What does hciconfig show?  Did you also
> try  to use bluetoothctl to associate your bt device with the PC?

Yes, bluetoothctl associate it and it works. I'm just wondering how
can I have this automatically set up, without having to open terminal
and do the bluetoothctl stuff every time by hand. :)

Maybe a pushbutton in E that I can press to associate this device,
launching the bluetoothctl shell command?

-- 
73 de IW9HGS - Gabriele "Asbesto Molesto" Zaverio
Museo dell'Informatica funzionante - Freaknet Computer Museum
http://museum.freaknet.org || http://freaknet.org/asbesto
GPG Fingerprint: 8935 5586 7F2D 9C5E 51B6  BBC5 EA15 9A4E 613D 44D7

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Starting e with the correct access rights

2017-04-10 Thread Mick
On Monday 10 Apr 2017 20:15:07 Simon Lees wrote:
> On 04/10/2017 07:55 PM, Mick wrote:
> > On Monday 10 Apr 2017 18:41:05 Carsten Haitzler wrote:
> >> stuff used to be so much simpler 20 years abck. you just had your login
> >> manger run ~/.xsession. this script would run your wm last without &
> >> (with
> >> exec before if u were smart) and anything u wanted launched on login
> >> before
> >> that in the script.
> >> 
> >> today it's a forest of services and god knows what...
> > 
> > Yes!  Services, service prerequisites upon dependencies, environment
> > parsers, etc, etc.
> > 
> > Now that you're mentioning using 'exec', I recall reading in this M/L that
> > /usr/bin/enlightenment_start does *not* need exec before it.  Is this
> > correct?
> Are you running a policykit agent? If not that could cause some issues.
> Under a systemd user session its done automatically for you but if not
> you'll need another application. lxde has one that doesn't require many
> deps https://wiki.archlinux.org/index.php/Polkit#Authentication_agents
> (there is a efl one listed but I doubt thats maintained well by anyone
> as most don't need it). That will probably atleast fix your mount issues.

I tried with and without polkit, with and without console-kit, but it made no 
difference.
-- 
Regards,
Mick--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread Mick
On Monday 10 Apr 2017 12:32:35 Gabriele Zaverio wrote:
> On 4/10/17, Carsten Haitzler  wrote:
> > for pulse using cpu to mix... try edit /etc/pulseaudio/daemon.conf
> > and change resample-method. try "trivial" instead of speex-float-1
> 
> I wanna get rid of it. It's unuseful and crappy. :(

Not completely so.  If you have multiple inputs it allows you to adjust volume 
per application that generates it.  So music via media player can stay at 
background levels, while VoIP remains audible and desktop notifications don't 
make your ears bleed.  :-)

It doesn't always work as advertised on my desktop systems, but it's work in 
progress.


> > and i know of no other way to just go redirect your audio from normal out
> > to bt speakers other than to have a daemon in between do it... and that
> > is what pulse is for.
> 
> It was working without pulse some time ago, so why now I had to use
> pulseshit? That's my question - how to get rid of it and use bluetooth
> without it :)

Uninstall it and configure alsa?


> > you have bluez installed? i cont know what should cause connman to start
> > offering bt as a connect option - i always say it listed if i had a bt
> > device and bluez running...
> 
> I have bluez and utils installed but nothing happens. bluetoothd is running.

On some systems the bt hardware is not always happy to coexist with other USB 
controllers.  I'm thinking of Broadcom which on my system at least requires me 
to use rfkill to block my WiFi, before bluetooth can be used!  O_O

Is your bt hardware up & running?  What does hciconfig show?  Did you also try 
to use bluetoothctl to associate your bt device with the PC?

-- 
Regards,
Mick--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread Gabriele Zaverio
On 4/10/17, Simon Lees  wrote:

> Well if you want low latency you don't use bluetooth, I use jack for my
> low latency audio use, however my audio only works when I have my

I don't need low latency, I just need something that work smooth - and
pa doesn't. :)

And we're OT, any hint about my BT problem and how to solve / have
some automation in pairing? :)

-- 
73 de IW9HGS - Gabriele "Asbesto Molesto" Zaverio
Museo dell'Informatica funzionante - Freaknet Computer Museum
http://museum.freaknet.org || http://freaknet.org/asbesto
GPG Fingerprint: 8935 5586 7F2D 9C5E 51B6  BBC5 EA15 9A4E 613D 44D7

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread Simon Lees


On 04/10/2017 05:00 PM, Gabriele Zaverio wrote:
> Hi there,
> 
> I'm in need of pairing a bluetooth speaker to my laptop, and I'm
> wondering if this is possible WITHOUT using pulseaudio. (because
> pulseaudio is using sometimes a lot of cpu, add a lot of latency, and
> ALSA is every time fine for me - in short I believe pulseaudio is an
> unuseful piece of CRAP and I don't wanna use it, but that's another
> topic :) )
> 
Well if you want low latency you don't use bluetooth, I use jack for my
low latency audio use, however my audio only works when I have my
recording interface plugged in and it uses considerably more CPU then
pulse but it is much lower latency.

-- 

Simon Lees (Simotek)http://simotek.net

Emergency Update Team   keybase.io/simotek
SUSE Linux   Adelaide Australia, UTC+10:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Starting e with the correct access rights

2017-04-10 Thread Simon Lees


On 04/10/2017 07:55 PM, Mick wrote:
> On Monday 10 Apr 2017 18:41:05 Carsten Haitzler wrote:
>> stuff used to be so much simpler 20 years abck. you just had your login
>> manger run ~/.xsession. this script would run your wm last without & (with
>> exec before if u were smart) and anything u wanted launched on login before
>> that in the script.
>>
>> today it's a forest of services and god knows what...
> 
> 
> Yes!  Services, service prerequisites upon dependencies, environment parsers, 
> etc, etc.
> 
> Now that you're mentioning using 'exec', I recall reading in this M/L that 
> /usr/bin/enlightenment_start does *not* need exec before it.  Is this correct?
> 

Are you running a policykit agent? If not that could cause some issues.
Under a systemd user session its done automatically for you but if not
you'll need another application. lxde has one that doesn't require many
deps https://wiki.archlinux.org/index.php/Polkit#Authentication_agents
(there is a efl one listed but I doubt thats maintained well by anyone
as most don't need it). That will probably atleast fix your mount issues.

-- 

Simon Lees (Simotek)http://simotek.net

Emergency Update Team   keybase.io/simotek
SUSE Linux   Adelaide Australia, UTC+10:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread Gabriele Zaverio
On 4/10/17, Carsten Haitzler  wrote:

> for pulse using cpu to mix... try edit /etc/pulseaudio/daemon.conf
> and change resample-method. try "trivial" instead of speex-float-1

I wanna get rid of it. It's unuseful and crappy. :(

> and i know of no other way to just go redirect your audio from normal out to
> bt speakers other than to have a daemon in between do it... and that is what
> pulse is for.

It was working without pulse some time ago, so why now I had to use
pulseshit? That's my question - how to get rid of it and use bluetooth
without it :)

> you have bluez installed? i cont know what should cause connman to start
> offering bt as a connect option - i always say it listed if i had a bt
> device and bluez running...

I have bluez and utils installed but nothing happens. bluetoothd is running.

-- 
73 de IW9HGS - Gabriele "Asbesto Molesto" Zaverio
Museo dell'Informatica funzionante - Freaknet Computer Museum
http://museum.freaknet.org || http://freaknet.org/asbesto
GPG Fingerprint: 8935 5586 7F2D 9C5E 51B6  BBC5 EA15 9A4E 613D 44D7

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Starting e with the correct access rights

2017-04-10 Thread Mick
On Monday 10 Apr 2017 18:41:05 Carsten Haitzler wrote:
> stuff used to be so much simpler 20 years abck. you just had your login
> manger run ~/.xsession. this script would run your wm last without & (with
> exec before if u were smart) and anything u wanted launched on login before
> that in the script.
> 
> today it's a forest of services and god knows what...


Yes!  Services, service prerequisites upon dependencies, environment parsers, 
etc, etc.

Now that you're mentioning using 'exec', I recall reading in this M/L that 
/usr/bin/enlightenment_start does *not* need exec before it.  Is this correct?

-- 
Regards,
Mick

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread The Rasterman
On Mon, 10 Apr 2017 09:30:53 +0200 Gabriele Zaverio  said:

> Hi there,
> 
> I'm in need of pairing a bluetooth speaker to my laptop, and I'm
> wondering if this is possible WITHOUT using pulseaudio. (because
> pulseaudio is using sometimes a lot of cpu, add a lot of latency, and
> ALSA is every time fine for me - in short I believe pulseaudio is an
> unuseful piece of CRAP and I don't wanna use it, but that's another
> topic :) )

for pulse using cpu to mix... try edit /etc/pulseaudio/daemon.conf

and change resample-method. try "trivial" instead of speex-float-1

and i know of no other way to just go redirect your audio from normal out to bt
speakers other than to have a daemon in between do it... and that is what pulse
is for.

> I'm using E as desktop manager, I add the "technology" in connman, but
> "scan" does nothing into the connman gui, and I have to manually use
> "bluetoothctl" every time.
> 
> Am I missing something?
> 
> Any help is appreciated :)

you have bluez installed? i cont know what should cause connman to start
offering bt as a connect option - i always say it listed if i had a bt device
and bluez running...

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


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Starting e with the correct access rights

2017-04-10 Thread The Rasterman
On Mon, 10 Apr 2017 09:59:16 +0100 Mick  said:

> Thanks Carsten for looking into this.
> 
> On Monday 10 Apr 2017 16:19:21 you wrote:
> > On Sun, 26 Mar 2017 16:03:13 +0100 Mick  said:
> > > Hi All,
> > > 
> > > I've been launching enlightenment using SDDM for some years now without a
> > > problem.  Recently I updated sddm to 0.14.0-r2 and weird things started
> > > happening.  I was no longer able to mount USB sticks.  A single attempt to
> > 
> > something changed in sddm? :) i have no idea. never even heard of sddm... :)
> 
> It's just another DM which does not bring in a tonne of big desktop 
> dependencies.  It was working fine here for a couple of years or so.
> 
> 
> > > log out brings me straight back into my e desktop.  A second attempt to
> > > log out, logs me out as it should.
> > > 
> > > Then I updated to sddm-0.14.0-r3 and now in addition e complains the
> > > compositor cannot run with OpenGL and will fall back on software
> > > rendering.
> > > 
> > > :-/
> > 
> > stop using sddm or go back to an older version? :( opengl could be due to
> > changes in LD_LIBRARY_PATH that sddm could be modifying when it launches the
> > login session. it could be due to ownership of /dev/dri/* or /dev/nvidia*
> > device nodes? i don't know.
> 
> Interesting, I'll look into this.
> 
> 
> > mounting and unmounting could be something else entirely... i'm not sure.
> > could it be using cgroups, selinux or something else to deny access? i'm
> > not sure.
> > 
> > but what you had before did work going back to it should be the easiest
> > path. :(
> 
> Yes, this was the first thing I tried to prove the point these anomalies were 
> introduced by the sddm package update alone and not something else on my 
> system.
> 
> 
> > > Here's some errors from ~/.xession-errors:
> > > ==
> > > ERR<5100>:eina_safety lib/efreet/efreet_ini.c:299 efreet_ini_string_get()
> > > safety check failed: ini->section == NULL
> > > 
> > > (gkrellm:5117): Gtk-CRITICAL **: IA__gtk_box_reorder_child: assertion
> > > 'GTK_IS_WIDGET (child)' failed
> > > ERR<5141>:eldbus lib/eldbus/eldbus_proxy.c:818 _props_get_all() Error
> > > getting all properties of
> > > org.freedesktop.UDisks2/org/freedesktop/UDisks2/block_devices/s
> > > da1, error message: org.enlightenment.DBus.Canceled Canceled by user.
> > > ==
> > > 
> > > 
> > > Strangely, I have the same access rights symptoms if I try to login
> > > without a DM, using 'startx /usr/bin/enlightenment_start' on a console.
> > > 
> > > This is what I have in my ~/.xsession file:
> > > ===
> > > cat ~/.xsession
> > > #!/bin/sh
> > > if [ -x /usr/bin/gpg-agent ]; then
> > > 
> > > kill $(ps ux | awk '/gpg-agent/ && !/awk/ {print $2}') >/dev/null
> > > 2>&1
> > > 
> > > fi
> > > 
> > > if [ -x /usr/bin/gpg-agent ]; then
> > > 
> > >   eval "$(/usr/bin/gpg-agent --daemon)"
> > > 
> > > fi
> > > 
> > > if [ -x /usr/bin/urxvtd ]; then
> > > 
> > > /usr/bin/urxvtd --opendisplay --fork --quiet
> > > 
> > > fi
> > > 
> > > /usr/bin/enlightenment_start
> > > 
> > > 
> > > Using lightdm works as expected, I can login, OpenGL works, mounting USB
> > > sticks works and log out only need to be activated once.
> > > 
> > > I tried entrance some time ago, with mixed results, especially on shut
> > > down - it would not return to a console.  Also SLiM would fail to log me
> > > in whatsoever, so I abandoned it.
> > > 
> > > Any idea what is missing from my set up to cause these access rights
> > > problems with sddm or using startx?  What is considered a
> > > distro-independent orthodox way to start e these days?
> > 
> > dunno. maybe systemd related with the user session/logind? i am unsure how
> > this might affect opengl access - it shoudn't... :/
> 
> Thanks Carsten, I am using openrc, instead of systemd.  As I mentioned above
> I reverted to the old sddm and it works as expected, so clearly the problem
> was introduced with later versions of the sddm.
> 
> I am now running lightdm which solves these problems, but requires Gnome 
> dependencies to be installed.  I am still curious why sddm, or running startx 
> from a console won't work as expected.

i really don't know. i might imagine something to do with the startup scripts
that may or may not have run dbus-launch but e will run this anyway if it finds
it doesnt have a dbus user session... but really i don't know what's up given
your information. it'd be interesting to find out why.

stuff used to be so much simpler 20 years abck. you just had your login manger
run ~/.xsession. this script would run your wm last without & (with exec before
if u were smart) and anything u wanted launched on login before that in the
script.

today it's a forest of services and god knows what... :)


-- 
- Codito, ergo sum - "I 

Re: [e-users] Starting e with the correct access rights

2017-04-10 Thread Mick
Thanks Carsten for looking into this.

On Monday 10 Apr 2017 16:19:21 you wrote:
> On Sun, 26 Mar 2017 16:03:13 +0100 Mick  said:
> > Hi All,
> > 
> > I've been launching enlightenment using SDDM for some years now without a
> > problem.  Recently I updated sddm to 0.14.0-r2 and weird things started
> > happening.  I was no longer able to mount USB sticks.  A single attempt to
> 
> something changed in sddm? :) i have no idea. never even heard of sddm... :)

It's just another DM which does not bring in a tonne of big desktop 
dependencies.  It was working fine here for a couple of years or so.


> > log out brings me straight back into my e desktop.  A second attempt to
> > log out, logs me out as it should.
> > 
> > Then I updated to sddm-0.14.0-r3 and now in addition e complains the
> > compositor cannot run with OpenGL and will fall back on software
> > rendering.
> > 
> > :-/
> 
> stop using sddm or go back to an older version? :( opengl could be due to
> changes in LD_LIBRARY_PATH that sddm could be modifying when it launches the
> login session. it could be due to ownership of /dev/dri/* or /dev/nvidia*
> device nodes? i don't know.

Interesting, I'll look into this.


> mounting and unmounting could be something else entirely... i'm not sure.
> could it be using cgroups, selinux or something else to deny access? i'm
> not sure.
> 
> but what you had before did work going back to it should be the easiest
> path. :(

Yes, this was the first thing I tried to prove the point these anomalies were 
introduced by the sddm package update alone and not something else on my 
system.


> > Here's some errors from ~/.xession-errors:
> > ==
> > ERR<5100>:eina_safety lib/efreet/efreet_ini.c:299 efreet_ini_string_get()
> > safety check failed: ini->section == NULL
> > 
> > (gkrellm:5117): Gtk-CRITICAL **: IA__gtk_box_reorder_child: assertion
> > 'GTK_IS_WIDGET (child)' failed
> > ERR<5141>:eldbus lib/eldbus/eldbus_proxy.c:818 _props_get_all() Error
> > getting all properties of
> > org.freedesktop.UDisks2/org/freedesktop/UDisks2/block_devices/s
> > da1, error message: org.enlightenment.DBus.Canceled Canceled by user.
> > ==
> > 
> > 
> > Strangely, I have the same access rights symptoms if I try to login
> > without a DM, using 'startx /usr/bin/enlightenment_start' on a console.
> > 
> > This is what I have in my ~/.xsession file:
> > ===
> > cat ~/.xsession
> > #!/bin/sh
> > if [ -x /usr/bin/gpg-agent ]; then
> > 
> > kill $(ps ux | awk '/gpg-agent/ && !/awk/ {print $2}') >/dev/null
> > 2>&1
> > 
> > fi
> > 
> > if [ -x /usr/bin/gpg-agent ]; then
> > 
> >   eval "$(/usr/bin/gpg-agent --daemon)"
> > 
> > fi
> > 
> > if [ -x /usr/bin/urxvtd ]; then
> > 
> > /usr/bin/urxvtd --opendisplay --fork --quiet
> > 
> > fi
> > 
> > /usr/bin/enlightenment_start
> > 
> > 
> > Using lightdm works as expected, I can login, OpenGL works, mounting USB
> > sticks works and log out only need to be activated once.
> > 
> > I tried entrance some time ago, with mixed results, especially on shut
> > down - it would not return to a console.  Also SLiM would fail to log me
> > in whatsoever, so I abandoned it.
> > 
> > Any idea what is missing from my set up to cause these access rights
> > problems with sddm or using startx?  What is considered a
> > distro-independent orthodox way to start e these days?
> 
> dunno. maybe systemd related with the user session/logind? i am unsure how
> this might affect opengl access - it shoudn't... :/

Thanks Carsten, I am using openrc, instead of systemd.  As I mentioned above I 
reverted to the old sddm and it works as expected, so clearly the problem was 
introduced with later versions of the sddm.

I am now running lightdm which solves these problems, but requires Gnome 
dependencies to be installed.  I am still curious why sddm, or running startx 
from a console won't work as expected.
-- 
Regards,
Mick--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


[e-users] bluetooth pairing without pulseaudio / automatic pairing?

2017-04-10 Thread Gabriele Zaverio
Hi there,

I'm in need of pairing a bluetooth speaker to my laptop, and I'm
wondering if this is possible WITHOUT using pulseaudio. (because
pulseaudio is using sometimes a lot of cpu, add a lot of latency, and
ALSA is every time fine for me - in short I believe pulseaudio is an
unuseful piece of CRAP and I don't wanna use it, but that's another
topic :) )

I'm using E as desktop manager, I add the "technology" in connman, but
"scan" does nothing into the connman gui, and I have to manually use
"bluetoothctl" every time.

Am I missing something?

Any help is appreciated :)


-- 
73 de IW9HGS - Gabriele "Asbesto Molesto" Zaverio
Museo dell'Informatica funzionante - Freaknet Computer Museum
http://museum.freaknet.org || http://freaknet.org/asbesto
GPG Fingerprint: 8935 5586 7F2D 9C5E 51B6  BBC5 EA15 9A4E 613D 44D7

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Starting e with the correct access rights

2017-04-10 Thread The Rasterman
On Sun, 26 Mar 2017 16:03:13 +0100 Mick  said:

> Hi All,
> 
> I've been launching enlightenment using SDDM for some years now without a 
> problem.  Recently I updated sddm to 0.14.0-r2 and weird things started 
> happening.  I was no longer able to mount USB sticks.  A single attempt to

something changed in sddm? :) i have no idea. never even heard of sddm... :)

> log out brings me straight back into my e desktop.  A second attempt to log
> out, logs me out as it should.
> 
> Then I updated to sddm-0.14.0-r3 and now in addition e complains the 
> compositor cannot run with OpenGL and will fall back on software rendering.  
> :-/

stop using sddm or go back to an older version? :( opengl could be due to
changes in LD_LIBRARY_PATH that sddm could be modifying when it launches the
login session. it could be due to ownership of /dev/dri/* or /dev/nvidia*
device nodes? i don't know.

mounting and unmounting could be something else entirely... i'm not sure. could
it be using cgroups, selinux or something else to deny access? i'm not sure.

but what you had before did work going back to it should be the easiest
path. :(

> Here's some errors from ~/.xession-errors:
> ==
> ERR<5100>:eina_safety lib/efreet/efreet_ini.c:299 efreet_ini_string_get() 
> safety check failed: ini->section == NULL
> 
> (gkrellm:5117): Gtk-CRITICAL **: IA__gtk_box_reorder_child: assertion 
> 'GTK_IS_WIDGET (child)' failed
> ERR<5141>:eldbus lib/eldbus/eldbus_proxy.c:818 _props_get_all() Error getting 
> all properties of 
> org.freedesktop.UDisks2/org/freedesktop/UDisks2/block_devices/s
> da1, error message: org.enlightenment.DBus.Canceled Canceled by user.
> ==
> 
> 
> Strangely, I have the same access rights symptoms if I try to login without a 
> DM, using 'startx /usr/bin/enlightenment_start' on a console.
> 
> This is what I have in my ~/.xsession file:
> ===
> cat ~/.xsession
> #!/bin/sh
> if [ -x /usr/bin/gpg-agent ]; then
> kill $(ps ux | awk '/gpg-agent/ && !/awk/ {print $2}') >/dev/null 2>&1
> fi
> 
> if [ -x /usr/bin/gpg-agent ]; then
>   eval "$(/usr/bin/gpg-agent --daemon)"
> fi 
> 
> if [ -x /usr/bin/urxvtd ]; then
> /usr/bin/urxvtd --opendisplay --fork --quiet
> fi
> 
> /usr/bin/enlightenment_start
> 
> 
> Using lightdm works as expected, I can login, OpenGL works, mounting USB 
> sticks works and log out only need to be activated once.
> 
> I tried entrance some time ago, with mixed results, especially on shut down - 
> it would not return to a console.  Also SLiM would fail to log me in 
> whatsoever, so I abandoned it.
> 
> Any idea what is missing from my set up to cause these access rights problems 
> with sddm or using startx?  What is considered a distro-independent orthodox 
> way to start e these days?

dunno. maybe systemd related with the user session/logind? i am unsure how this
might affect opengl access - it shoudn't... :/

> PS. I am running e-0.21.7 with efl-1.18.4 on different gentoo systems.
> -- 
> Regards,
> Mick


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


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] edje_decc on an old .edj

2017-04-10 Thread Simon Lees


On 04/10/2017 02:08 PM, Daniel Kasak wrote:
> I've tried both Sparky-3.5 ( with e-18.x ) and Bodhi ( fork of e-17.x
> ), and they *both* give the same error :(
> 
> Any other options?
> 
> Dan
> 
Modern Bodhi would be using a newish version of efl and edje_cc so it
wouldn't work. The best option is probably to download the edje 1.0.0
tarball (and whatever it needed to build) and compile it from source
somewhere in /opt, that might be old enough for you.


> On Mon, Apr 10, 2017 at 10:12 AM, Simon Lees  wrote:
>>
>>
>> On 04/09/2017 08:43 PM, Daniel Kasak wrote:
>>> Hi all.
>>>
>>> I just tried loading up some old .edj files ( animated backgrounds )
>>> that I made, quite a long time ago ( around 2006 ). E no longer shows
>>> a preview for them, and also doesn't let me select them.
>>
>> Yeah Enlightenment has code to block loading anything that is too old
>> and not compatible with it.
>>
>> --
>>
>> Simon Lees (Simotek)http://simotek.net
>>
>> Emergency Update Team   keybase.io/simotek
>> SUSE Linux   Adelaide Australia, UTC+10:30
>> GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
>>
>>
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> enlightenment-users mailing list
>> enlightenment-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
>>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 

-- 

Simon Lees (Simotek)http://simotek.net

Emergency Update Team   keybase.io/simotek
SUSE Linux   Adelaide Australia, UTC+10:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users