{"id":40046,"date":"2022-05-20T17:27:13","date_gmt":"2022-05-20T17:27:13","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=40046"},"modified":"2022-05-20T17:27:13","modified_gmt":"2022-05-20T17:27:13","slug":"kill-invisible-gjs-gnome","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2022\/05\/kill-invisible-gjs-gnome\/","title":{"rendered":"How to Get rid of the Invisible &#8220;gjs&#8221; window in Ubuntu 22.04 GNOME 42"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-250x250.png\" alt=\"\" width=\"250\" height=\"250\" class=\"alignleft size-thumbnail wp-image-34682\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-250x250.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-300x300.png 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-600x600.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-768x768.png 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature.png 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>Got an invisible app window called &#8220;gjs&#8221; in Ubuntu 22.04 desktop? Here&#8217;s how to kill it without log out the current session.<\/p>\n<p>GJS, stands for Gnome JavaScript, it&#8217;s part of Gnome-shell use as JavaScript programming environment. In Ubuntu, the default <b>Desktop Icons NG (DING)<\/b> extension use gjs, which could cause the issue sometimes.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/gjs-dock.webp\" alt=\"\" width=\"595\" height=\"342\" class=\"aligncenter size-full wp-image-40049\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/gjs-dock.webp 595w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/gjs-dock-300x172.webp 300w\" sizes=\"auto, (max-width: 595px) 100vw, 595px\" \/><\/p>\n<p>When the issue happens, you&#8217;ll see an app icon called &#8220;gjs&#8221; in the dock, but no app window visible. You can not close it by the context menu option. And, it&#8217;s annoying that other applications are not reachable via mouse clicks until switch focus via Alt+Tab keyboard shortcut.<\/p>\n<div id=\"attachment_40050\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/gjs-overview.webp\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-40050\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/gjs-overview-600x337.webp\" alt=\"\" width=\"600\" height=\"337\" class=\"size-large wp-image-40050\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/gjs-overview-600x337.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/gjs-overview-300x169.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/gjs-overview-768x432.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/gjs-overview.webp 1366w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-40050\" class=\"wp-caption-text\">Invisible gjs in overview<\/p><\/div>\n<p>Until GNOME or maybe the extension developers fixed the issue, user may manually kill the process to get rid of it.<\/p>\n<h3>Kill the process via system monitor<\/h3>\n<p>Firstly, press <i>Super \/ Windows<\/i> key on keyboard to open &#8216;Activities&#8217; overview, search for and open &#8220;System Monitor&#8221; app:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/open-monitor.webp\" alt=\"\" width=\"530\" height=\"283\" class=\"aligncenter size-full wp-image-40051\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/open-monitor.webp 530w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/open-monitor-300x160.webp 300w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/p>\n<p>When it opens, scroll down and find out the process. There are usually multiple <b>gjs<\/b> processes. Move mouse pointer over one of them will display a tooltip about it. <\/p>\n<p>It&#8217;s safe to kill the process by clicking to highlight and then hitting &#8220;End Process&#8221; button. The invisible &#8220;gjs&#8221; window should disappear immediately if you killed the correct one. And, the process will start again automatically.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/kill-gjs-monitor.webp\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/kill-gjs-monitor-600x333.webp\" alt=\"\" width=\"600\" height=\"333\" class=\"aligncenter size-large wp-image-40052\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/kill-gjs-monitor-600x333.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/kill-gjs-monitor-300x166.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/kill-gjs-monitor-768x426.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/kill-gjs-monitor.webp 967w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a> <\/p>\n<h3>Kill the process via Linux command:<\/h3>\n<p>For those familiar with Linux command, simply open terminal and run command to find out the process:<\/p>\n<pre>ps ax |grep gjs<\/pre>\n<p>Then, kill process by using the pid:<\/p>\n<pre>sudo kill -9 PID_HERE<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/kill-gjs-command-600x407.webp\" alt=\"\" width=\"600\" height=\"407\" class=\"aligncenter size-large wp-image-40053\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/kill-gjs-command-600x407.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/kill-gjs-command-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/kill-gjs-command-768x521.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/05\/kill-gjs-command.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>Got an invisible app window called &#8220;gjs&#8221; in Ubuntu 22.04 desktop? Here&#8217;s how to kill it without log out the current session. GJS, stands for Gnome JavaScript, it&#8217;s part of Gnome-shell use as JavaScript programming environment. In Ubuntu, the default Desktop Icons NG (DING) extension use gjs, which could cause the issue sometimes. When the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":34682,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[689],"class_list":["post-40046","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-gnome"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/40046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=40046"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/40046\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/34682"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=40046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=40046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=40046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}