Registered Member
|
I've been working on a little systray applet which informs users of their disk quota status. It's not particularly specific to our environment and the code is available at https://fedorahosted.org/kquotanotifier/ (though I'll probably slap it on github as well eventually).
The problem is, of course, that I have absolutely zero graphic design talent. I grabbed some random image, tweaked it and added some some colors; you can see my pitiful attempt at https://git.fedorahosted.org/cgit/kquot ... tree/icons. These looked passable in KDE4 but look absolutely horrible in plasma5. Plus the iconography isn't great; a flashing red X over a hard drive sort of implies something different than "you're at your hard quota limit". Something that looks like a disk filling up would probably make more sense, or maybe there's something else that I haven't thought of yet. I would welcome any help or ideas that someone is willing to offer. I can be contacted here, in the trac on fedorahosted, by email at tibbs@math.uh.edu, or on freenode in #fedora-devel pretty much all the time. I'm also on the kde-devel list. Thanks! |
Registered Member
|
could you please add which status sets were be used. don't know what yellow would mean. so please post the icon Name and which status the icon will show.
icon size? thanks |
Registered Member
|
Thanks for the response! I guess you can see how bad at design I am. As for the easy question, I don't know much about which resolutions are appropriate for a systray app. I'm using 256x256 at the moment which seems OK. The systray tooltip is the largest use of the icon but I don't know what resolution it would use on a high DPI screen.
Now, to the icons: there are six. The systray icon is intended to change to indicate various states of the "worst" of the quota states of the various mounted filesystems. When an alternate icon is present, the systray will switch between it and the primary so that the tray icon appears to flash. Also, the green icon (at the bottom of this list) is used in a couple of other places: the icon for the detail window that appears when you left-click the systray app, and as an icon in the right-click menu. It doesn't have to be green, of course; I just needed something to represent the application. Any quota is over the soft limit and its grace time has expired, or any quota is at the hard limit. All writes to that filesystem will fail: hd-black, alternate icon hd-fail The worst quota is over the soft limit, writes to that FS will succeed until the grace time expires: hd-black, alternate icon hd-emerg The worst quota is over the critical threshold, default 90% of the soft limit: hd-red The worst quota is over the warn threshold, default 75% of the soft limit: hd-yellow All quotas are below the warn threshold: hd-green |
Registered Member
|
I can't install it sorry. can you upload some screenshots?
thanks |
Registered Member
|
There are some shots on the web page: https://fedorahosted.org/kquotanotifier/
Was there something specific you'd like to see? I could grab some shots under kf5 with the breeze theme if that would help. |
Registered Member
|
Sorry for hijacking this thread: For Plasma 5 I was working on a Disk Quota Plasmoid, which currently is currently being reviewed. A detailed blog about it can be found here: kate-editor.org/2015/08/02/plasma-5-keeping-an-eye-on-the-disk-quota/
For now, it only supports quotas based on the command line tool 'quota'. But maybe it makes sense in the long run to extend this plasmoid with disk limits and trash info. |
Registered Member
|
|
Registered Member
|
Yeah, someone pointed me to the blog entry about the new applet. Sad to see the code duplication, but as long as it works for my use case I don't care who wrote the software. I guess there may stull be need for something under KDE4 for a while. And while I don't use Gnome, as far as I could find it has nothing like this so a systray applet could still be useful there.
Those icons are great, though, and until the new plasmoid is available I think I'll go ahead and pull them into my applet to see how they work. |
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]