Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Disable gjs-console

634 views
Skip to first unread message

Dan

unread,
Nov 6, 2013, 9:20:03 AM11/6/13
to
Hi,

Some times the program gjs-console from gnome3 takes 100% of my CPU.
That is quite annoying. I have no idea what gjs-console does. I have
disabled the gnome tracker from the start-up applications.

Does anybody have an idea of how to disable gjs-console? What is the
purpose of that program/daemon?

Thanks,
Dan


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CAK00fO+URrtP7fwoKJEyuVGb...@mail.gmail.com

Reco

unread,
Nov 6, 2013, 11:50:02 AM11/6/13
to
Hi.

On Wed, 6 Nov 2013 15:16:55 +0100
Dan <gan...@gmail.com> wrote:

> Hi,
>
> Some times the program gjs-console from gnome3 takes 100% of my CPU.
> That is quite annoying. I have no idea what gjs-console does. I have
> disabled the gnome tracker from the start-up applications.

This seems to be a variation of
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674497


> Does anybody have an idea of how to disable gjs-console?

This is a dirty hack, but should work:

dpkg-statoverride --update --add root root 0644 /usr/bin/gjs-console
pkill -9 -f gjs-console

To revert this change, use:

dpkg-statoverride --update --remove /usr/bin/gjs-console


> What is the purpose of that program/daemon?

Please read an output of 'apt-cache show gjs'.
My guess is - some kind of debugging tool. Personally, I don't trust
nor use any DE written in javascript.

Reco


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20131106204330.f427...@gmail.com

Dan

unread,
Nov 6, 2013, 12:50:02 PM11/6/13
to
On Wed, Nov 6, 2013 at 5:43 PM, Reco <recov...@gmail.com> wrote:
> Hi.
>
> On Wed, 6 Nov 2013 15:16:55 +0100
> Dan <gan...@gmail.com> wrote:
>
>> Hi,
>>
>> Some times the program gjs-console from gnome3 takes 100% of my CPU.
>> That is quite annoying. I have no idea what gjs-console does. I have
>> disabled the gnome tracker from the start-up applications.
>
> This seems to be a variation of
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674497
>
>
>> Does anybody have an idea of how to disable gjs-console?
>
> This is a dirty hack, but should work:
>
> dpkg-statoverride --update --add root root 0644 /usr/bin/gjs-console
> pkill -9 -f gjs-console
>
> To revert this change, use:
>
> dpkg-statoverride --update --remove /usr/bin/gjs-console
>
>
>> What is the purpose of that program/daemon?
>
> Please read an output of 'apt-cache show gjs'.
> My guess is - some kind of debugging tool. Personally, I don't trust
> nor use any DE written in javascript.
>
> Reco
>

Thanks a lot,

I do not understand your command dpkg-statoverride --update --remove
/usr/bin/gjs-console

This is the process that takes 100% of the CPU
/usr/bin/gjs-console -I /usr/share/gnome-documents/js -c const
SearchProvider = imports.shellSearchProvider; SearchProvider.start();

The problem is related to gnome-documents which I think is a kind of crawler:
GNOME Documents is a standalone application to find, organize and
view your documents.

I tried to remove gnome-documents but gnome depends on gnome-documents.

The solution will be to create a script that is executed in the
startup of gnome and does a killall gjs-console.

Dan


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CAK00fO+KgptX_r+Jwv+0cASs...@mail.gmail.com

Reco

unread,
Nov 6, 2013, 3:20:01 PM11/6/13
to
On Wed, 6 Nov 2013 18:41:46 +0100
Dan <gan...@gmail.com> wrote:

> On Wed, Nov 6, 2013 at 5:43 PM, Reco <recov...@gmail.com> wrote:
> Thanks a lot,
>
> I do not understand your command dpkg-statoverride --update --remove
> /usr/bin/gjs-console

This asks ask dpkg to do two things:

a) Remove executable bit from /usr/bin/gjs-console for now.
b) Remove executable bit from /usr/bin/gjs-console for future updates.

Please run 'man dpkg-statoverride' for more details.

>
> This is the process that takes 100% of the CPU
> /usr/bin/gjs-console -I /usr/share/gnome-documents/js -c const
> SearchProvider = imports.shellSearchProvider; SearchProvider.start();

And if gnome-shell can not execute it, there will be no process.
No process = no CPU consumption.

>
> The problem is related to gnome-documents which I think is a kind of crawler:
> GNOME Documents is a standalone application to find, organize and
> view your documents.
>
> I tried to remove gnome-documents but gnome depends on gnome-documents.

'gnome' is just a metapackage. Purge gnome-documents, keep everything
else.

Reco


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20131107001259.0115...@gmail.com
0 new messages