same commands - open one instance, then open another


lxterminal --geometry=130x30 & (in directory: /rdkl/FB_common/defines)
/usr/share/themes/Lubuntu-dark-panel/gtk-2.0/gtkrc:682: Unable to find include file: "apps/xfce4-notifyd.rc"


lxterminal --geometry=130x30 & (in directory: /rdkl/FB_generic/rlib_small)
Compilation finished successfully.

Both find their directory and open a console.

Also, a **PROJECT** is not going to have all their files in one 'working directory' that someone thinks is related to this problem.
If your program enforces that, then it is a bit short-sighted.


Your issue.

I have work to do.
Until this different behavior with 2 instances of your program is fixed, it isn't worth my chasing this.
If it annoys me too much, I will move to another editor.

Thanks


David



On Thu, Jul 27, 2017 at 5:54 PM, Lex Trotman <elextr@gmail.com> wrote:
[...]
> compiler message window:
>
> lxterminal --geometry=130x30& --working-directory=/rdkl/FB_common/defines
> (in directory: /rdkl/FB_common/defines)
> /bin/sh: 1: --working-directory=/rdkl/FB_common/defines: not found
> /usr/share/themes/Lubuntu-dark-panel/gtk-2.0/gtkrc:682: Unable to find
> include file: "apps/xfce4-notifyd.rc"
>

Looks like the '&' on the geometry option is being interpreted by the
shell as a trailing '&' so its running 'lxterminal --geometry=130x30&'
as one command and then trying to run '
--working-directory=/rdkl/FB_common/defines' as another command and
not surprisingly it isn't found.

Try "" around the geometry argument.

>
> However, the terminal did start in the correct directory.

As the "(in directory: /rdkl/FB_common/defines)" says the command is
run in that directory, it must be the directory of the current file.
So you didn't need the "--working-directory=/rdkl/FB_common/defines"

Is the build menu blocked now?

>
> Leave this up, change desktop, open a second geany instance, load a profile,

When reporting problems please always provide the commands you used to
do something so it is possible to reproduce your actions.

Whats a profile?

> start a console
>
> compiler message window:
> lxterminal --geometry=130x30&
> --working-directory=/rdkl/FB_generic/rlib_small& (in directory:
> /rdkl/FB_generic/rlib_small)
> /bin/sh: 1: --working-directory=/rdkl/FB_generic/rlib_small: not found
> Compilation finished successfully.

The command successfully completed, so the menu is unblocked, but you
will notice that message did not occur in the first instance so the
menu remained blocked in that one.

Geany is behaving as expected, the thing you need to look at is why
the command behaves differently in the two cases, but since you havn't
provided details on how you started Geany in each case its not
possible to suggest possible causes.

>
> console opened correctly
> no status indicator, no build menu block
>
> First instance of geany still up, console running, build menu blocked
> drop console in that first instance, the status indicator stays, build menu
> still blocked.
> Drop geany - reopen. (second geany instance still open)

What do you mean "drop"? Do you mean close the program?

> drop console on second geany instance
>
> now:
> Whichever geany I open a console on, it will block - the other will open
> correctly
> I can drop and alternate which geany has the block.
> Any subsequent geany instance will NOT have the build menu block as long as
> one is blocked.

You need to provide this as a set of actions that someone can
reproduce, but note that I don't think any contributors use lx
desktop, so if the problem is specific to that we may not be able to
reproduce.

Cheers
Lex

>
> David
>
>
> --
> If you don't try - you lose - automatically.
>
> _______________________________________________
> Users mailing list
> Users@lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users



--
If you don't try - you lose - automatically.