On Sat, 22 Mar 2014 12:43:31 -0700 John Magolske <[email protected]> said:
> Ok, I compiled terminology from source, got it running in the fbcon... > and it looks great! The only thing I'm grappling with now is how to > change key mappings, would like to remap CapsLk to Ctrl, etc. I see > $TERM is "xterm", but xmodmap doesn't make sense here. And the custom > mappings I've set up in the linux console with `loadkeys x200s.kmap` > don't come through. Also, the escape key is not working at all (but > only while running terminology in fbcon, the escape key works fine in > an X11 instance), which makes using Vim a challenge. key map is compiled into ecore_fb. ecore_fb_keytable.h to be exact. for whatever reason your escape key isn't producing the keycode that seems to appear elsewhere - at least when last tested. no - there is no way to modify the keymap without modifying the code. > In terminology under Settings > Keys I see a panel of key bindings, > but this appears to be read-only. Is it possible to change/deactivate > any of these mappings? > > * > > A few more comments below about my experience compiling terminology > and getting it running in the fbcon... > > * Carsten Haitzler <[email protected]> [140316 09:32]: > > On Sun, 16 Mar 2014 01:10:44 -0700 John Magolske <[email protected]> said: > > > I think at this point compiling from source ends up being too time > > > consuming for me to sort out...I'd be better off with a repo I could > > > > actually it isn't... just getting the deps is what you need to get past. > > I guess what I meant to say is that sorting out dependencies was time > consuming...but it turned out to be really easy with the nice list of > dependencies Pavel provided: > > http://sourceforge.net/p/enlightenment/mailman/message/31978123/ we do document deps in the README, but we document them in a generic way. distributions can/will break up original source packages often into many other differently named packages, and this will vary from distro to distro. we list the general deps and have to leave it to you translate them. > I put those package names in a file called "e-deb-deps" and did: > > aptitude -s install $(cat e-deb-deps) > > was then able to easily configure, compile & install (from git) : > > efl > elementary > terminology > enlightenment > emotion_generic_players > evas_generic_loaders > > ran `ldconfig` as root, and terminology ran fine in the fbcon -- but > only as root. > > * Carsten Haitzler <[email protected]> [140314 07:59]: > > export ELM_ENGINE=fb > > terminology > > > > if that doesn't work - maybe you don't have permission to /dev/fb* (write > > perms). what about /dev/console, /dev/tty*, /dev/input/... ? > > The problem did indeed have to do with permissions. Running non-root, > terminology didn't come up and there was: > > ... [ecore_fb:init] can't open /dev/tty0 > > So tty0 needs write permissions...changed the group from root to tty, > (I belonged to the tty group) and gave read/write perms to group: > > %ls -l /dev/tty0 > crw------- 1 root root > # chown -R root:tty /dev/tty0 > # chmod 660 /dev/tty0 > > Terminology now opened in the fbcon non-root, but the mouse pointer > was lodged in the upper-left corner & no keyboard input was recogized. > Ran `terminology &> /tmp/terminology-output` to capture all output and > took a look at that to see: > > [ecore_fb_li:device_open] /dev/input/event13 Permission denied > ... > [ecore_fb_li:device_open] /dev/input/event0 Permission denied > > So did the same for /dev/input/* > > % ls -l /dev/input/* > crw------- 1 root root ... > # chown -R root:video /dev/input/event* > # chmod 660 /dev/input/event* > > And now, aside from the escape key not working, terminology runs fine > non-root in the fbcon. Also, seems ok without `export ELM_ENGINE=fb`, > but setting that variable does make these lines of output go away: > > ERR<1454>:elementary elm_config.c:3092 _elm_config_sub_init() Cannot connect > to X11 display. check $DISPLAY variable ERR<1454>: > lib/ecore_evas/ecore_evas.c:3898 ecore_evas_wayland_shm_new() safety check > failed: m == NULL yes. elementary tries various display engines in a given order if you don't tell it what to use. if you tell it - it shortcuts to the one you ask for first. :) > * Gustavo Sverzut Barbieri <[email protected]> [140317 11:22]: > > The following may do, but I recommend using something to monitor this > > daemon for you, like systemd --user. Bare example: > > > > export DBUS_SESSION_BUS_ADDRESS=`dbus-daemon --session --fork > > --print-address` > > Also seems to be running ok without setting that variable, but doing > so gets rid of these lines of output: > > ERR<1774>:eldbus lib/eldbus/eldbus_core.c:1003 _connection_get() Error > connecting to bus of type 1. error name: > org.freedesktop.DBus.Error.NotSupported error message: Unable to autolaunch a > dbus-daemon without a $DISPLAY for X11 ERR<1774>: > lib/eldbus/eldbus_core.c:1065 eldbus_connection_get() safety check failed: > conn == NULL > > ERR<1774>:eldbus lib/eldbus/eldbus_core.c:1003 _connection_get() Error > connecting to bus of type 1. error name: > org.freedesktop.DBus.Error.NotSupported error message: Unable to autolaunch a > dbus-daemon without a $DISPLAY for X11 ERR<1774>: > lib/eldbus/eldbus_core.c:1065 eldbus_connection_get() safety check failed: > conn == NULL ERR<1774>: lib/eldbus/eldbus_object.c:192 eldbus_object_get() > safety check failed: conn == NULL > > **** > > Thanks! > > John > > -- > John Magolske > http://B79.net/contact > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > enlightenment-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
