On Sun, 24 Sep 2017 01:53:55 +0200 m...@mherrn.de said: > Hi, > > I have compiled e21 and installed it on my T410. Everything works quite will, > but I still have two issues I am not able to resolve. > > 1. The hardware button to send my laptop to hibernate (S4) only sends it to > suspend (S3). > > 2. Enlightenment is not using my custom keymap > > > Details: > > 1. The Lenovo T410 has Fn-Functions on its keyboard to send the laptop to > suspend (Fn-F4) or to hibernate (Fn-F12). Both work fine with other > windowmanagers (e.g. LXDE). However when running enlightenment e21 both > send the laptop to suspend. The file > /opt/e21/enlightenment/etc/sysactions.conf > (I installed e21 under /opt/e21) defines the following (apart from > other lines): > > action: suspend /usr/bin/systemctl suspend > action: hibernate /usr/bin/systemctl hibernate
sysactions will have no effect if you use systemd when it comes to shutdown, reboot, suspend, hibernate etc. ... e will send a dbus message directly to systemd to ask it to do just that. systemd does the rest. check the keybindings and acpi bindings. this is what defines what actions are done on what acpi events and what key presses. the button may be an acpi event, it may be a key press. it may even be both, depending on your hardware. > 2. I installed a custom keymap "mymap" which is basically a US keymap > with the keys > "y" and "z" swapped. Again, the keymap is working fine with other window > managers like LXDE. But from within enlightenment cannot select it. > Instead a US > keymap is loaded. custom keymap? you mean .Xmodmap? or something else? if you want an actual custom xkb keyboard map - disable e's keymap handling. checkbox at the top of the dialog, and then run the setxkbmap on login if you want to go doing custom keymaps. the list of keymaps that are presented in the gui dialog is taken from the first file in this list that is found: #ifdef XKB_BASE XKB_BASE "/rules/xorg.lst", XKB_BASE "/rules/xfree86.lst", #endif #if defined __NetBSD__ "/usr/X11R7/lib/X11/xkb/rules/xorg.lst", #elif defined __OpenBSD__ "/usr/X11R6/share/X11/xkb/rules/base.lst", #endif "/usr/share/X11/xkb/rules/xorg.lst", "/usr/share/X11/xkb/rules/xfree86.lst", "/usr/local/share/X11/xkb/rules/xorg.lst", "/usr/local/share/X11/xkb/rules/xfree86.lst", "/usr/X11R6/lib/X11/xkb/rules/xorg.lst", "/usr/X11R6/lib/X11/xkb/rules/xfree86.lst", "/usr/local/X11R6/lib/X11/xkb/rules/xorg.lst", "/usr/local/X11R6/lib/X11/xkb/rules/xfree86.lst", and: #define XKB_BASE "/usr/share/X11/xkb" might be the kind of xkb base dir that is detected at compile time. you;'d have to check your config.h at compile time to see. > Can someone help me with those two issues? > > Best regards > Marco > > > ------------------------------------------------------------------------------ > 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 > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- 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