Carsten Haitzler (The Rasterman) ha scritto il 23/03/2017 alle 00:29:
> On Wed, 22 Mar 2017 12:49:09 +0100 Massimo Maiurana said:
>
>> Carsten Haitzler (The Rasterman) ha scritto il 21/03/2017 alle 00:11:
>>> On Mon, 20 Mar 2017 22:50:13 +0100 Massimo Maiurana
>>> said:
>>>
Carsten Haitzler (The Rasterman) ha scritto il 20/03/2017 alle 04:02:
> On Sun, 19 Mar 2017 21:49:00 +0100 Massimo Maiurana
> said:
>
>> Massimo Maiurana ha scritto il 19/03/2017 alle 14:29:
>>> Mick ha scritto il 19/03/2017 alle 13:23:
On Sunday 19 Mar 2017 09:44:23 Massimo Maiurana wrote:
> Hi,
> I finally bought a brand new laptop :)
>
> Of course I installed E, building from source as I've always did but I
> have two problems to solve.
>
> The first is regarding acpi events: closing lid the laptop should
> suspend, and indeed it is what happens under gnome (there also lid
> open resumes it) but does not happen under E. Acpid is not installed
> so probably that's what I need, but I wonder why it works in gnome.
I don't run gnome, but from a more generic perspective you will need
to install acpid and make sure it is running as a service when you boot
up. Closing the lid then generates an event captured by acpid which by
default will suspend to ram. Check what you have at Settings >
Settings Panel > Input
> ACPI Bindings > Lid Closed. I have set mine to 'Suspend
> Intelligently' and
it works as advertised.
>>>
>>> Hmh, well, i'm not sure acpid is required for this to work. I think
>>> acpid is for managing acpi events, not for exposing them, or lid close
>>> wouldn't work even under other environments. I'll try installing it and
>>> see if it solves the problem.
>>
>> Well, I installed acpid, now lid events are recognized but an old issue
>> is back: dpms.
>> Before installing acpid screen blanking did work as expected, after
>> reaching timeout the screen was really blanked out, with acpid installed
>> the backlight is never turned off so it is more an obscuring than a
>> blanking. Indeed "xset q" says that dmps is off :/
>
> e enables dpms no matter what (unless blanking is off). unless something
> else modified dpms after e changed it... it should stay there. if you
> restart e it should go back to being set (ctrl+alt+end not log out and
> log in). acpid itself would not do this at all as it doesn't know about
> x. i suspect something like gnome-settings-daemon is doing this. poke
> there.
Indeed that does the trick, dpms is enabled if I restart E. And yes,
gnome-settings-daemon is running, probably because gdm pulls it in. Is
there a way I can prevent gsd from starting and/or make it not mess with
dpms settings?
>>>
>>> kill it before e starts? :) use a ~/.xsession to do it then run
>>> enlightenment_start ?
>>
>> I can't kill it as a user, don't have permissions to do it because it is
>> launched by user Debian-gdm :(
>
> then stop using gdm... use lightdm, xdm, slim ... something else...?
I tried both lightdm and slim, gsd is not running but E always starts
with dpms disabled :(
There is another gnome related process which is launched at startup:
at-spi2-registryd, the accessibility daemon, launched with the option
--use-gnome-session. Maybe it could control dpms settings but I don't
know how to prevent it from running. Someone said that the env variable
NO_AT_BRIDGE=1 should do it, but that's not true at least here.
> The second is about icons: Applications menu is full populated with
> all applications, including my own in ~/.local/share/applications,
> but only 3 of them have an icon associated (a custom of mine,
> gnome-font-viewer and the E filemanager). Also, much more annoying,
> evry doesn't list desktop applications in the list that appears when
> I start typing, only executables and directories are listed.
Settings > Settings Panel > Menu Settings > Applications, should give
you some options. One of these ought to make all/most application
icons to show up. Also check Settings > Settings Panel > Menu Settings
> Miscellaneous, does not have 'Disable icons in menus' selected.
>>>
>>> I DO have applications in menu, my problem is not that. What I miss is
>>> icons for applications, but for that three applications mentioned above
>>> that have an icon in their own menu entry. If "disable icons" was
>>> checked I wouldn't have any icon neither for those three ;)
>>>
>>> Also, as said, I don't have applications displayed in evry.
>>> E.g. on the other laptop if I type "ice" in evry I see the icedove icon
>>> and so I can launch that