WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Flit: an FLTK-native "tray" with clock, sound control, and battery monitor  (Read 32008 times)

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 503
  • Good software needn't be big!
Re: Flit: an FLTK-native "tray" with clock, sound control, and battery monitor
« Reply #60 on: September 11, 2009, 08:48:38 PM »
Jemimah: I wonder if ver 0.9.5 fixes your segfault?  Do you have a /dev/mixer in Puppy?

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Flit: an FLTK-native "tray" with clock, sound control, and battery monitor
« Reply #61 on: September 11, 2009, 11:16:34 PM »
Just noticed a problem with flit and keyboard shortcuts.

Quote
FLWM popup menu is always readily available by:
   right click on empty area of desktop
   right click on any window title bar
   alt-tab on empty area of desktop

The alt-tab does not work on the desktop where flit is running.
Perhaps other keycodes are an issue as well?


10+ Years Contributing to Linux Open Source Projects.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14090
Re: Flit: an FLTK-native "tray" with clock, sound control, and battery monitor
« Reply #62 on: September 12, 2009, 05:17:57 AM »
..just tried what I believe is the latest version.

When I first disconnect the power cord, the battery life remaining showed 111%, but it started making more sense (i.e. less than 100%) after a minute or two.

It looks like there's space to add "%" after the battery life remaining number  ;)

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 503
  • Good software needn't be big!
Re: Flit: an FLTK-native "tray" with clock, sound control, and battery monitor
« Reply #63 on: September 12, 2009, 08:18:05 AM »
roberts: Excellent point.  I should have tested a bit more.  I would have realized that trapping the Alt key like that was obnoxious.  :-[  I have now switched all of the Alt+key binding to Ctrl+key combos, and either Ctrl key as well as Esc will pop up the Flit menu if Flit has the input focus.  The one-key controls for sound (Pause, up arrow, dn. arrow, etc.) still work.  I changed the key for clock hiding/unhiding to 'k' so the traditional Ctrl+c "interrupt" key combo would not be masked.  I hope this arrangement is more acceptable to most people.

Juanito: A space before % in tooltips and diag output added. Hey, maybe you discovered an overunity power source!  Better patent it.  :D

Version 0.9.6 attached.
--
Mike
« Last Edit: September 12, 2009, 08:25:14 AM by MikeLockmoore »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14090
Re: Flit: an FLTK-native "tray" with clock, sound control, and battery monitor
« Reply #64 on: September 12, 2009, 08:32:48 AM »
Maybe we're speaking at cross purposes or maybe I don't see it on my machine, but I was meaning the number above the battery symbol in the window - at present mine shows "27", can it show "27%"

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Flit: an FLTK-native "tray" with clock, sound control, and battery monitor
« Reply #65 on: September 12, 2009, 10:01:50 AM »
An Fltk standard is that the escape key is used to close an application.
Using  Esc to call menu is non-standard and could by accident close an opened with focus Fltk application. 
10+ Years Contributing to Linux Open Source Projects.

Offline fladd

  • Jr. Member
  • **
  • Posts: 65
Re: Flit: an FLTK-native "tray" with clock, sound control, and battery monitor
« Reply #66 on: September 12, 2009, 06:51:30 PM »
Found a bug:

When the sound icon is set to not show on startup and I load the oss extension then the sound cannot be adjusted with flit!
Killing flit, changing the .flit.conf to show the sound icon, and restart flit with flit .flit.conf solves this.

fladd

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 503
  • Good software needn't be big!
Re: Flit: an FLTK-native "tray" with clock, sound control, and battery monitor
« Reply #67 on: September 13, 2009, 08:19:39 AM »
fladd: Thanks for reporting.  However, I am fairly sure I just fixed that as of version 0.9.5.  Perhaps you are using the version of Flit that came with TC 2.3?  You could confirm this in the about box.

Just to make sure, I rebooted with the "base" boot option and confirmed your bug report with the older version 0.9.2.  Then I started over with version 0.9.6 and I was able to enable the sound applet after installing OSS and control the sound.  Back when I fixed the bug reported by robc, I made Flit re-check for OSS when you unhide the sound applet.  This fixed both your reported bug and robc's.
--
Mike L.
« Last Edit: September 13, 2009, 08:26:40 AM by MikeLockmoore »

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 503
  • Good software needn't be big!
Re: Flit: an FLTK-native "tray" with clock, sound control, and battery monitor
« Reply #68 on: September 13, 2009, 08:39:26 AM »
robert: In this new version 0.9.7, I took out the Esc keybinding, with some reluctance.  I'll have to learn not to hit Esc so often.  I liked the symmetry of popping up the menu with Esc, then closing the menu with another tap of Esc.  But now that Ctrl opens the menu, I don't mind it as much to not have Esc doing that.  And I think consistency across apps is importatnt, too, so Esc reverts to the default FLTK behavior.

Juanito: Sorry I misunderstood.  I have added the '%' above the icon when the battery is discharging.
--
Mike L.

Offline fladd

  • Jr. Member
  • **
  • Posts: 65
Re: Flit: an FLTK-native "tray" with clock, sound control, and battery monitor
« Reply #69 on: September 13, 2009, 09:48:40 AM »
I have the version that is in the brand new 2.3.1, so that should be fine actually (except the new TC has for some reasons an old version included).

fladd

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Flit: an FLTK-native "tray" with clock, sound control, and battery monitor
« Reply #70 on: September 13, 2009, 10:10:15 AM »
2.3.1 when cut was made flit was 0.9.5 and now we are at 0.9.7
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Flit: an FLTK-native "tray" with clock, sound control, and battery monitor
« Reply #71 on: September 13, 2009, 10:24:06 AM »
Perhaps flit would be better offered as an extension.
I could change .xsession to test for its executeable existence for continued seamless experience.

It also seems that flit is useful for other window mangers other than fltk.
« Last Edit: September 13, 2009, 10:42:30 AM by roberts »
10+ Years Contributing to Linux Open Source Projects.

Offline fladd

  • Jr. Member
  • **
  • Posts: 65
Re: Flit: an FLTK-native "tray" with clock, sound control, and battery monitor
« Reply #72 on: September 13, 2009, 10:41:21 AM »
2.3.1 when cut was made flit was 0.9.5 and now we are at 0.9.7

0.94 you mean. Just checked it.

fladd

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Flit: an FLTK-native "tray" with clock, sound control, and battery monitor
« Reply #73 on: September 13, 2009, 11:14:39 AM »
I will post 0.9.7 as an extension.
10+ Years Contributing to Linux Open Source Projects.

Offline fladd

  • Jr. Member
  • **
  • Posts: 65
Re: Flit: an FLTK-native "tray" with clock, sound control, and battery monitor
« Reply #74 on: September 13, 2009, 11:29:47 AM »
I will post 0.9.7 as an extension.

Which will overwrite the one in the core, right? Sounds good I think.

fladd