Re: [e-users] multiple terminology windows
Carsten Haitzler (The Rasterman) ha scritto il 02/04/2018 alle 04:53: > On Sun, 1 Apr 2018 18:04:31 +0200 Massimo Maiurana said: > >> Carsten Haitzler (The Rasterman) ha scritto il 26/03/2018 alle 07:24: >>> looks like you found a bug. you have enabled "multiple in stances one >>> process" an that should mean running terminology multiple times just >>> results in 1 terminology process but multiple windows from it as if you had >>> multiple terminology processes around. >> >> It would be useful if running it multiple times would result in having >> multiple tabs inside a single window, instead of multiple windows. At >> least for me :) > > you can just open up a new tab then im your existing terminal... the point of > this feature is to save memory with a single instance of the process only but > to otherwise appear to work as if you ran multiple process instances (ie > opened > multiple windows). why don't you just open a new tab in the existing window > you > want it in? any reason that doesn't work for you? I would like to have it done automatically. If that option would open a new tab, I could just make a script that runs terminology several times and have different tabs already opened and executing different commands. I could do same thing if there were a command line option to open a new tab, but there isn't any so I need to use tmux :( > >> -- >> Massimo Maiurana >> Ragusa (RG) >> >> -- >> 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 >> > > -- Massimo Maiurana Ragusa (RG) -- 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] multiple terminology windows
On Sun, 1 Apr 2018 18:04:31 +0200 Massimo Maiurana said: > Carsten Haitzler (The Rasterman) ha scritto il 26/03/2018 alle 07:24: > > looks like you found a bug. you have enabled "multiple in stances one > > process" an that should mean running terminology multiple times just > > results in 1 terminology process but multiple windows from it as if you had > > multiple terminology processes around. > > It would be useful if running it multiple times would result in having > multiple tabs inside a single window, instead of multiple windows. At > least for me :) you can just open up a new tab then im your existing terminal... the point of this feature is to save memory with a single instance of the process only but to otherwise appear to work as if you ran multiple process instances (ie opened multiple windows). why don't you just open a new tab in the existing window you want it in? any reason that doesn't work for you? > -- > Massimo Maiurana > Ragusa (RG) > > -- > 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
Re: [e-users] multiple terminology windows
On Sun, 1 Apr 2018 13:51:57 -0400 Conrad Knight said: > On Sat, Mar 31, 2018 at 10:48 PM, Carsten Haitzler > wrote: > > 1. you enabled "only launch single instance" under settings->desktop > > environments in enlightenment > > Ugh, that was it! All fixed now. No idea how it got set, i hate that > behaviour in other desktop/window managers... i KNEW this had to be it... otherwise what you were reporting would make no sense at all... :) this does save memory for sure. if you use a lot of terminals - quite a chunk of it (can save 10's or 100's of mb). as i said... efl managed to break this by breaking flushing of ipc messages. i fixed it since in efl git master and it works again. :) > Thanks for your help, > -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
Re: [e-users] multiple terminology windows
On Sat, Mar 31, 2018 at 10:48 PM, Carsten Haitzler wrote: > 1. you enabled "only launch single instance" under settings->desktop > environments in enlightenment Ugh, that was it! All fixed now. No idea how it got set, i hate that behaviour in other desktop/window managers... Thanks for your help, -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
Re: [e-users] multiple terminology windows
Carsten Haitzler (The Rasterman) ha scritto il 26/03/2018 alle 07:24: > looks like you found a bug. you have enabled "multiple in stances one process" > an that should mean running terminology multiple times just results in 1 > terminology process but multiple windows from it as if you had multiple > terminology processes around. It would be useful if running it multiple times would result in having multiple tabs inside a single window, instead of multiple windows. At least for me :) -- Massimo Maiurana Ragusa (RG) -- 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] multiple terminology windows
Conrad Knight ha scritto il 01/04/2018 alle 02:46: > On Wed, Mar 28, 2018 at 1:02 AM, Carsten Haitzler > wrote: >> On Tue, 27 Mar 2018 22:49:15 -0400 Conrad Knight >> 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. Is there a terminology process running? What do "ps aux | grep terminology" tells you? -- Massimo Maiurana Ragusa (RG) -- 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] multiple terminology windows
On Sat, 31 Mar 2018 20:46:39 -0400 Conrad Knight said: > On Wed, Mar 28, 2018 at 1:02 AM, Carsten Haitzler > wrote: > > On Tue, 27 Mar 2018 22:49:15 -0400 Conrad Knight > > 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
Re: [e-users] multiple terminology windows
On Wed, Mar 28, 2018 at 1:02 AM, Carsten Haitzler wrote: > On Tue, 27 Mar 2018 22:49:15 -0400 Conrad Knight 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. > 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. Is there perhaps a way of logging exactly what runs when i select the terminology menu entry? 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
Re: [e-users] multiple terminology windows
On Tue, 27 Mar 2018 22:49:15 -0400 Conrad Knight said: > On Mon, Mar 26, 2018 at 10:52 PM, Carsten Haitzler > wrote: > > it should be. though it may have found another one somewhere more preferable > > first? > > I did find one other, very old one, oddly called > "terminology:terminology.desktop". But i deleted that before logging > out and back in again. > > 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 ? are you sure there isn't yet another desktop file with terminology commands in it? > > disable the multiple instance thing in behavior and it should work. > > Oh, i see! it's a terminology setting in the settings menu itself. > Sorry, being dense :) I found the setting... and it was off. I tried yes. that setting. > turning it on, and running terminology from the command line again: > new window appears, with a new process. So it seems that setting is > being ignored when run from the command line (in an existing > terminology window)? I turned the setting off again and the behaviour > is unchanged: running from the command line gives me a new window, > running from the applications menu just moves focus to the existing > window. 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 ? > Anywhere else i can look for possible causes??/ > > Thanks, > -Conrad. > > -- > Shine like thunder > Cry like rain > > -- > 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
Re: [e-users] multiple terminology windows
On Mon, Mar 26, 2018 at 10:52 PM, Carsten Haitzler wrote: > it should be. though it may have found another one somewhere more preferable > first? I did find one other, very old one, oddly called "terminology:terminology.desktop". But i deleted that before logging out and back in again. Ok, rebooted. Now the desktop file is being read as usual on every login. But even with the -s flag, the problem persists. > disable the multiple instance thing in behavior and it should work. Oh, i see! it's a terminology setting in the settings menu itself. Sorry, being dense :) I found the setting... and it was off. I tried turning it on, and running terminology from the command line again: new window appears, with a new process. So it seems that setting is being ignored when run from the command line (in an existing terminology window)? I turned the setting off again and the behaviour is unchanged: running from the command line gives me a new window, running from the applications menu just moves focus to the existing window. Anywhere else i can look for possible causes??/ Thanks, -Conrad. -- Shine like thunder Cry like rain -- 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] multiple terminology windows
On Mon, 26 Mar 2018 20:31:07 -0400 Conrad Knight said: > > -s should bypass this and force a new process. it sees multiple > > instances one process has become broken somehow. disabling that should > > get you back to normal. > > Hmm, using "terminology" or "terminology -s" from the command line > both start a new process. But then again, starting it from the command > line has never been a problem. it does.. but then that process exits after messaging the "singleton process" if "multiple instances one process" is enabled (and without -s). > I changed the line in my terminology.desktop file from > "Exec=terminology" to "Exec=terminology -s", but for some reason, that > file is not being re-read. I logged out and back in again, and every > *.desktop file in /usr/local/share/applications/ was accessed (looking > at "ls -lu") EXCEPT terminology.desktop. And it's not a permissions > problem, every file there has 0644. > > Why would E not be looking at this file, and only this file? Another > symptom? E doesn't like terminology at all? :) it should be. though it may have found another one somewhere more preferable first? > I'll wait for the next EFL release and try again... Unless it's going > to take a while and use what's in git instead. disable the multiple instance thing in behavior and it should work. as per email. > 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
Re: [e-users] multiple terminology windows
> -s should bypass this and force a new process. it sees multiple > instances one process has become broken somehow. disabling that should > get you back to normal. Hmm, using "terminology" or "terminology -s" from the command line both start a new process. But then again, starting it from the command line has never been a problem. I changed the line in my terminology.desktop file from "Exec=terminology" to "Exec=terminology -s", but for some reason, that file is not being re-read. I logged out and back in again, and every *.desktop file in /usr/local/share/applications/ was accessed (looking at "ls -lu") EXCEPT terminology.desktop. And it's not a permissions problem, every file there has 0644. Why would E not be looking at this file, and only this file? Another symptom? E doesn't like terminology at all? :) I'll wait for the next EFL release and try again... Unless it's going to take a while and use what's in git instead. 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
Re: [e-users] multiple terminology windows
On Sun, 25 Mar 2018 13:54:23 -0400 Conrad Knight said: > Hi, > > I've been having this issue for a while now. If i attempt to run > terminology from Enlightenment's applications menu, it does not open a > new terminal. Instead it will simply put the focus on an existing > terminology window. If i happen to attempt to open a new terminology > window on another virtual desktop, it also moves me to the desktop > where that window happens to be. And it doesn't even open a new tab in > that window. Every once in a while, though, i get the expected > behaviour of a new terminology window opening. Unfortunately, this > happens so rarely that i can't figure out under what conditions this > works. > > The terminology help has the following (and i'm not sure if this appies) : > > -s, --singleForce single executable if multi-instance is > enabled. > > But obviously i'm not using command line switches when trying to open > in from the menu. I've also checked any terminology.desktop files to > make sure the relevant line (Exec=terminology) does not have the -s > option. Is this even what this option would do? Also, "if > multi-instance is enabled" implies there must be some way of enabling > it, but there don't appear to be any compile-time options that mention > anything resembling this. > > Further, if i run terminology from the command line (either > terminology's own, or another terminal such as uxterm) i DO get the > expected behaviour. A new window opens every time. > > The only other thing i can think of that might be affecting this are > the existing terminology window's remember options. I have these > settings: > > Identifiers tab: > window class: terminology > > Properties tab: > position, size, border style, virtual desktop are checked > > Options tab: > match only one window > start this program on login > > The idea is to open a terminology window on login with the desired properties. > > I'm running terminology 1.1.1 (this may have started when i upgraded > from a previous version, come to think of it) and Enlightenment > 0.22.1. > > Does anyone have an idea what might be happening? Any more information > i can provide? looks like you found a bug. you have enabled "multiple in stances one process" an that should mean running terminology multiple times just results in 1 terminology process but multiple windows from it as if you had multiple terminology processes around. -s should bypass this and force a new process. it sees multiple instances one process has become broken somehow. disabling that should get you back to normal. > Thanks, > -Conrad. > > -- > Shine like thunder > Cry like rain > > -- > 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
Re: [e-users] multiple terminology windows
On Sun, 25 Mar 2018 13:54:23 -0400 Conrad Knight said: found it... it's an efl bug in ecore_ipc. and it's been there i think a long time. ever since efl.net came in. fixed in efl git master. > Hi, > > I've been having this issue for a while now. If i attempt to run > terminology from Enlightenment's applications menu, it does not open a > new terminal. Instead it will simply put the focus on an existing > terminology window. If i happen to attempt to open a new terminology > window on another virtual desktop, it also moves me to the desktop > where that window happens to be. And it doesn't even open a new tab in > that window. Every once in a while, though, i get the expected > behaviour of a new terminology window opening. Unfortunately, this > happens so rarely that i can't figure out under what conditions this > works. > > The terminology help has the following (and i'm not sure if this appies) : > > -s, --singleForce single executable if multi-instance is > enabled. > > But obviously i'm not using command line switches when trying to open > in from the menu. I've also checked any terminology.desktop files to > make sure the relevant line (Exec=terminology) does not have the -s > option. Is this even what this option would do? Also, "if > multi-instance is enabled" implies there must be some way of enabling > it, but there don't appear to be any compile-time options that mention > anything resembling this. > > Further, if i run terminology from the command line (either > terminology's own, or another terminal such as uxterm) i DO get the > expected behaviour. A new window opens every time. > > The only other thing i can think of that might be affecting this are > the existing terminology window's remember options. I have these > settings: > > Identifiers tab: > window class: terminology > > Properties tab: > position, size, border style, virtual desktop are checked > > Options tab: > match only one window > start this program on login > > The idea is to open a terminology window on login with the desired properties. > > I'm running terminology 1.1.1 (this may have started when i upgraded > from a previous version, come to think of it) and Enlightenment > 0.22.1. > > Does anyone have an idea what might be happening? Any more information > i can provide? > > Thanks, > -Conrad. > > -- > Shine like thunder > Cry like rain > > -- > 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