22.04 save not focus bug

Workaround available for the very annoying bug (from here)

  1. Install Devilspie 2 from the standard repositories or, if you want the latest version, which has several improvements, compile from source direct from the Devilspie 2 Github.
  2. Add devilspie2 to your autostart programs.
  3. Create the file ~/.config/devilspie2/devilspie2.lua (you can use a different file name; read the instructions for details).
  4. In this file, add the following lines:
    Code:
    if ( get_application_name() == 'xdg-desktop-portal-gnome' and get_window_type() == 'WINDOW_TYPE_DIALOG' )
    then
        focus_window();
    end

 

Leave a Reply

Your email address will not be published. Required fields are marked *