You are not logged in.

#1 2014-11-24 10:31:22

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Simple Caffeine type system tray application.

Caffeine seems to have become much more complicated of late. I just wanted something simple for manually enabling/disabling blanking. This is the result. It requires pygtk and xset. It probably is a little buggy in the case where something else is changing these settings.

https://github.com/mfs/mfs-utils/blob/master/blank

Offline

#2 2014-11-24 11:21:24

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Simple Caffeine type system tray application.

Thanks for the small tool!

How can I control for the size of the tray icon?

On my system it appears too large: http://i.imgur.com/5gasBDH.jpg

Secondly, do you intend to provide a AUR package for it?

Offline

#3 2014-11-25 10:27:01

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: Simple Caffeine type system tray application.

Hmm, I'm not sure about the size thing. It looks fine on my system which is using i3 and Flat Studio Dark for the gtk theme. This is why I normally stick with CLI apps. smile

I probably wouldn't package it at this point as it obviously has some issues and is just a single file. Maybe down the track.

Offline

#4 2014-11-25 18:46:05

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Simple Caffeine type system tray application.

What tray app are you using?

I am using stalonetray. You might want to check if you can reproduce the error.

Offline

#5 2014-11-26 10:03:00

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: Simple Caffeine type system tray application.

I'm using the tray in i3bar. If I use stalonetray I get different icons and mine are much bigger as well. No idea how to fix this. I don't see any easy way to specify a size for the stock items.

Offline

#6 2015-05-22 11:59:05

Franek
Member
Registered: 2010-05-16
Posts: 100

Re: Simple Caffeine type system tray application.

I encountered the oversized icon in stalonetray as well. Luckily, this seems to be easy to work around: If stalonetray is started after blank, the icon is scaled to the correct size.

Offline

Board footer

Powered by FluxBB