-- Leo's gemini proxy

-- Connecting to republic.circumlunar.space:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

Preventing Kupfer switching to existing windows


I am enjoying using Kupfer but I don't like the way it switches to an existing window of an application, instead of launching a new instance.


I should write a patch for a config option or similar, but for now, here are my notes on how I disabled the behaviour in the source code:


Kupfer


sudo sensible-editor /usr/share/kupfer/kupfer/launch.py


I just commented out 3 lines inside the launch_application method (lines 70-72 for me):


#       if activate and svc.application_is_running(app_id):
#               svc.application_to_front(app_id)
#               return True


This prevents Kupfer looking for open windows before launching.


Originally posted at 2015-05-15 12:06:06+00:00. Automatically generated from the original post : apologies for the errors introduced.


original post

-- Response ended

-- Page fetched on Sun May 19 07:50:26 2024