<Solved> Replicate Mate applet in Xfce?

Forum rules
Before you post please read how to get help
Post Reply
User avatar
Superannuated
Level 4
Level 4
Posts: 279
Joined: Wed Sep 16, 2015 1:18 am
Location: UTC -8 :: Pacific Coast USA

<Solved> Replicate Mate applet in Xfce?

Post by Superannuated » Sat Jan 06, 2018 4:20 am

I am running LM 18.3 Mate on a Dell desktop and Xfce on an old MacBook. There are settings and panel functions I like about Mate and others I like about Xfce. For example, I like the Mate Power Manager Inhibit Applet. If possible I'd like to "install" or simulate it in my Xfce system.

I think the code for the Power Inhibit Applet resides here in github. Does anyone have an idea for how this Mate applet can be replicated in Xfce?
Last edited by Superannuated on Wed Jan 10, 2018 2:14 pm, edited 1 time in total.

orschiro
Level 4
Level 4
Posts: 230
Joined: Mon Dec 04, 2017 2:56 am
Contact:

Re: Replicate Mate applet in Xfce?

Post by orschiro » Mon Jan 08, 2018 2:30 am

What does the inhibit applet do?

Does it prevent the screen from dimming?

Maybe you can use Caffeine alternatively:

https://launchpad.net/caffeine

User avatar
Superannuated
Level 4
Level 4
Posts: 279
Joined: Wed Sep 16, 2015 1:18 am
Location: UTC -8 :: Pacific Coast USA

Re: Replicate Mate applet in Xfce?

Post by Superannuated » Mon Jan 08, 2018 3:20 am

Thanks for the suggestion. I'm not sure if Caffeine is what I want.

The Power Manager Inhibit Applet prevents an unattended computer from powering down (suspend or hibernate) or going into the screensaver from lack of physical activity (keyboard, mouse), such as when you are doing a very long download or install or watching a movie. It works in all window conformations that I know of, that is, it doesn't require that an application is running full-screen (as the description of Caffeine says it does).

orschiro
Level 4
Level 4
Posts: 230
Joined: Mon Dec 04, 2017 2:56 am
Contact:

Re: Replicate Mate applet in Xfce?

Post by orschiro » Mon Jan 08, 2018 3:41 am

That's exactly what Caffeine does. I recommend you check it out. :-)

User avatar
Superannuated
Level 4
Level 4
Posts: 279
Joined: Wed Sep 16, 2015 1:18 am
Location: UTC -8 :: Pacific Coast USA

Re: Replicate Mate applet in Xfce?

Post by Superannuated » Mon Jan 08, 2018 3:59 am

Thanks, I will. I notice it is in the repos for 18.3, but doesn't show up for me in my 17.3 computer. I guess that's why I didn't know about it. :lol:

User avatar
Superannuated
Level 4
Level 4
Posts: 279
Joined: Wed Sep 16, 2015 1:18 am
Location: UTC -8 :: Pacific Coast USA

Re: Replicate Mate applet in Xfce?

Post by Superannuated » Tue Jan 09, 2018 9:16 pm

Unfortunately, Caffeine did not work on my MacBook running LM18.3 Xfce. :cry:

orschiro
Level 4
Level 4
Posts: 230
Joined: Mon Dec 04, 2017 2:56 am
Contact:

Re: Replicate Mate applet in Xfce?

Post by orschiro » Wed Jan 10, 2018 2:31 am

What do you mean by did not work? Any error? Did you run it from the command line already to check your errors?

User avatar
Superannuated
Level 4
Level 4
Posts: 279
Joined: Wed Sep 16, 2015 1:18 am
Location: UTC -8 :: Pacific Coast USA

Re: Replicate Mate applet in Xfce?

Post by Superannuated » Wed Jan 10, 2018 3:05 am

After activating Caffeine it didn't stop the computer screen from going dark and requiring a password to get back to the desktop. I welcome any suggestions.

orschiro
Level 4
Level 4
Posts: 230
Joined: Mon Dec 04, 2017 2:56 am
Contact:

Re: Replicate Mate applet in Xfce?

Post by orschiro » Wed Jan 10, 2018 3:23 am

Look what I found:
Click on the Power Manager icon, select Presentation Mode.
Source. https://forum.manjaro.org/t/caffeine-li ... ce/32364/2

User avatar
Superannuated
Level 4
Level 4
Posts: 279
Joined: Wed Sep 16, 2015 1:18 am
Location: UTC -8 :: Pacific Coast USA

Re: Replicate Mate applet in Xfce?

Post by Superannuated » Wed Jan 10, 2018 2:13 pm

Wow, orschiro, nice find! Isn't this forum great? You go to bed and when you wake up in the morning someone has solved your problem. 8)

For the future newbie reader let me give some details on how to install the Power Manager Plugin (or the full name, Power Manager Panel Plugin). The Xfce help documentation is lacking.

First off, the Power Manager Plugin is installed by default in LM18.3 Xfce. In fact, if you open the Software Manager and type "power man" into the search box you will find 5 programs in the Power Manager family that are already installed, including "Xfce4-power-manager-plugins". Since you already have it, it is easy to install it on the panel.

Install the Power Manager Plugin on your panel like you would install any other panel item. Right click on the panel, highlight Panel, click on Add New Items. In the Add New Items window select Power Manager Plugin and click on the Add button.

To use the plugin left click it in the panel and a window will come up where you can change the display brightness, go into Presentation mode (i.e., automatic sleep inhibited), or open the Power Manager settings. If you merely hover the cursor over the battery icon in panel it will display the status of your laptop battery.

Post Reply

Return to “Xfce”