On Sat, 31 Mar 2018 20:46:39 -0400 Conrad Knight <iestynap...@gmail.com> said:
> On Wed, Mar 28, 2018 at 1:02 AM, Carsten Haitzler <ras...@rasterman.com> > wrote: > > On Tue, 27 Mar 2018 22:49:15 -0400 Conrad Knight <iestynap...@gmail.com> > > said: > >> Ok, rebooted. Now the desktop file is being read as usual on every > >> login. But even with the -s flag, the problem persists. > > > > is it actually running terminology -s ? > > As far as i can tell, selecting terminology from the applications menu > doesn't run anything, just changes focus to the existing one. There's > no additional process. the only 2 ways this can happen that i know: 1. you enabled "only launch single instance" under settings->desktop environments in enlightenment 2. it'd be a broken "multiple instances, one process" as i mentioned before (fixed in efl now). the 2nd one i can reproduce and i fixed and looks like your issue. the fact that things work differently from running terminology -s from the cmdline vs from e hints to me that either they have a different environment or are not executing the same thing. if "multiple instances one process" is disabled you should not need any special options at all. -s bypasses this and forces this process to run and open a window. you seem to indicate that this works when you run by hand. so my guess that makes sense is: 1. "multiple instances one process" is enabled in terminology behaviour config 2. when terminology is running from e it is NOT using -s ... and e is getting this from somewhere. if you're launching from ibar or menu it's getting it from a desktop file somewhere. if it's a keybinding - then double check the keybinding settings if its running an app (by desktop name) or a specific command, but either way it runs without -s ... so this would explain what you are seeing behaviour-wise. running manually with -s bypasses this if it's the 2nd instance. the first one will start anyway as it can't connect to an existing terminology service for your user in your runtime dir... > > are you sure there isn't yet another desktop file with terminology commands > > in it? > > None that i can find, unless the ones in the terminology source > directories count > (~/src/terminology-1.1.1/data/desktop/terminology.desktop). > > > it may be your environment is missing env vars or has different XDG vars > > like XDG_RUNTIME_DIR? if the 2 processes have differing XDG_RUNTIME_DIR > > dirs... then this might happen,. they think they are in differing > > "runtimes". maybe one with and one without XDG_RUNTIME_DIR ? > > XDG_RUNTIME_DIR is set to /run/user/1000. I don't know what enviroment > variables the menu entry uses, but if it inherits them from > enlightenment or enlightenment_start, those both have the same value. it doesn't set anything, but inherits from the parent shell it runs from. so check /proc/`pidof enlightenment`/environ to see what e's environment has. > Is there perhaps a way of logging exactly what runs when i select the > terminology menu entry? strace -f -p `pidof enlightenment `(to follow forks) though you'll have to tell enlightenment_start to stop ptracing with killall -USR1 enlightenment_start > Thanks, > -Conrad. > > ------------------------------------------------------------------------------ > 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