Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot open new gnome-terminal instance from launcher with jumpapp-ified .desktop file #22

Open
dsikkema opened this issue Feb 12, 2017 · 3 comments
Labels

Comments

@dsikkema
Copy link

dsikkema commented Feb 12, 2017

Hi,
I've been able to get 99% of where I want to be by using this project. On my gnome setup, I have been able to (a) make sure that when I open the Terminal application from launcher, an existing window is raised as long as the window exists already, and (b) make sure that Ctrl+Alt+T (using custom shortcut) raises the existing window or creates a new one. It's a great improvement!

What I can't figure out is this - when no Terminal window is open at all, the launcher will not open a terminal window. Simply nothing happens when trying to use the launcher to open gnome-terminal. I used the jumpappify-desktop command to replace "Exec=gnome-terminal" with "Exec=jumpapp gnome-terminal". It's strange because jumpapp gnome-terminal works to open a new terminal window when using the ctrl+alt+t shortcut, and also when running a command with alt+f2.

I'm wondering if it has something to do with launching a program from inside a program from inside a Desktop file... wondering if there is some kind of process ownership where the parent process dies and therefore gnome-terminal is a child process that also gets killed. Or else it could be because of something weird about the gnome-terminal application itself? The problem does not happen when I put jumpapp in front of other applications.

Have you seen something like this before, or have any suggestions?

@mkropat
Copy link
Owner

mkropat commented Mar 5, 2017

Interesting. I haven't seen that before, but I also haven't tested jumpappify-desktop on a variety of platforms, including recent versions of gnome.

I'm wondering if it has something to do with launching a program from inside a program from inside a Desktop file... wondering if there is some kind of process ownership where the parent process dies and therefore gnome-terminal is a child process that also gets killed.

Something like that sounds plausible. jumpapp already goes through some hoops to detach from the launching process, but it may not be foolproof.

I don't have a gnome desktop readily available to test on currently. If I spin one up maybe I can try it out and see what's going wrong.

@mkropat mkropat added the bug label Mar 5, 2017
@shaun-sweet
Copy link

mine launches fine but on ubuntu-desktop it won't focus it

@boudewijn-zicht
Copy link

A possible fix is to add WaylandEnable=false to /etc/gdm/custom.conf. See: https://unix.stackexchange.com/questions/623482/fedora-33-gnome-terminal-doesnt-show-up-in-wmctrl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants