# Bleachbit as root fails 18.04

**URL:** <https://discourse.ubuntubudgie.org/t/bleachbit-as-root-fails-18-04/621>\
**Category:** General\
**Created:** [June 8, 2018, 2:11pm UTC](https://discourse.ubuntubudgie.org/t/bleachbit-as-root-fails-18-04/621 "2018-06-08T14:11:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![makitso](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/makitso/32/4961_2.png) [@makitso](https://discourse.ubuntubudgie.org/u/makitso)\
**Post date:** [June 8, 2018, 2:11pm UTC](https://discourse.ubuntubudgie.org/t/bleachbit-as-root-fails-18-04/621/1 "2018-06-08T14:11:18Z")

</div>

Installed bleachbit.  
When I try to execute it from the budgie menu it hangs.  
If I run pkexec bleachbit from the command line it works.  
If I click on the bleachbit as root icon in /usr/share/applications it works.  
However, if I copy the bleachbit-root.desktop file in /user/share/applications to my Desktop, mark it as executable and then click on it it hangs.  
For what its worth, is works under ubuntu 18.04.

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [July 5, 2018, 9:48pm UTC](https://discourse.ubuntubudgie.org/t/bleachbit-as-root-fails-18-04/621/2 "2018-07-05T21:48:28Z")

</div>

If you restart the panel via the command line does bleachbit as root fire-up correctly via the menu?

```
budgie-panel --replace &

```

I’m seeing issues with any app that has “Exec=pkexec” type statements in their .desktop file.

Also querying this with Manjaro budgie - if this observation is confirmed then this will need to be reported upstream - possibly a budgie polkit issue at a guess

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [July 6, 2018, 12:23pm UTC](https://discourse.ubuntubudgie.org/t/bleachbit-as-root-fails-18-04/621/3 "2018-07-06T12:23:29Z")

</div>

better workaround - edit the .desktop file

change

```
Exec=pkexec bleachbit 

```

to

```
Exec=sh -c "pkexec bleachbit"
```

---

<div class="post-metadata">

**Author:** ![makitso](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/makitso/32/4961_2.png) [@makitso](https://discourse.ubuntubudgie.org/u/makitso)\
**Post date:** [July 6, 2018, 12:32pm UTC](https://discourse.ubuntubudgie.org/t/bleachbit-as-root-fails-18-04/621/4 "2018-07-06T12:32:07Z")

</div>

I am sorry but I am traveling and will not have access to my Budgie system for three weeks.

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [July 6, 2018, 12:34pm UTC](https://discourse.ubuntubudgie.org/t/bleachbit-as-root-fails-18-04/621/5 "2018-07-06T12:34:17Z")

</div>

no worries - enjoy your travels!

---

<div class="post-metadata">

**Author:** ![makitso](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/makitso/32/4961_2.png) [@makitso](https://discourse.ubuntubudgie.org/u/makitso)\
**Post date:** [July 31, 2018, 12:48pm UTC](https://discourse.ubuntubudgie.org/t/bleachbit-as-root-fails-18-04/621/6 "2018-07-31T12:48:34Z")

</div>

Yes, this fixed the root problem.

sh -c “pkexec bleachbit”

---

<div class="post-metadata">

**Author:** ![Hafenzoll](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/hafenzoll/32/4725_2.png) [@Hafenzoll](https://discourse.ubuntubudgie.org/u/Hafenzoll)\
**Post date:** [August 6, 2018, 10:18pm UTC](https://discourse.ubuntubudgie.org/t/bleachbit-as-root-fails-18-04/621/7 "2018-08-06T22:18:09Z")

</div>

First at all: handle carefully with Bleachbit.  
If you do not exactly knowing what the program is executing in the background, do never deploy it.  
You may ruin your Linux OS.

But it works fine for me:  
Start Trilix terminal and login as sudo, type bleachbit to start as root.

Just one error message : Gtk-Message: 00:26:07.290: Failed to load module “canberra-gtk-module”

Canberra is the capital of Australia 🙂

---

<div class="post-metadata">

**Author:** ![PlayBoxTech](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/playboxtech/32/289_2.png) [@PlayBoxTech](https://discourse.ubuntubudgie.org/u/PlayBoxTech)\
**Post date:** [August 7, 2018, 1:36pm UTC](https://discourse.ubuntubudgie.org/t/bleachbit-as-root-fails-18-04/621/8 "2018-08-07T13:36:49Z")

</div>

I’ve noticed many apps complain about that being missing, even after installing it. ☹
