Author Topic: Is dmenu still alive?  (Read 8377 times)

rookie1

  • Guest
Re: Is dmenu still alive?
« Reply #15 on: May 08, 2010, 03:22:25 pm »
Hi Stephanie, thanks for the diff. I've tested it on my linux pc and everything is working fine. Unfortunately I don't have time to test on my Dingoo yet. Your changes are committed in svn (r241).

Are you planning to continue working on dmenu? If yes, I can add you as one of the project committers.

Stephanie

  • Guest
Re: Is dmenu still alive?
« Reply #16 on: May 08, 2010, 04:25:31 pm »
Hi rookie1,

Yes I am going to continue working on dmenu. It sounds like the biggest request people have is a way to add programs from within dmenu itself, and while that's a huge challenge (for me) I would like to give it a shot. I also wanted to add a way to toggle some of the other ini settings from within dmenu itself, like the OSD / watch and so forth.

I've got some ideas on how to implement it all, though it will take me some time.

Thanks very much!

-Stephanie

kswildside

  • Guest
Re: Is dmenu still alive?
« Reply #17 on: May 09, 2010, 04:19:05 am »
Stephanie you rock and if you get it as good as Gmenu I will be switching to it

xdpirate

  • * Former Staff
  • Posts: 489
    • My software
Re: Is dmenu still alive?
« Reply #18 on: May 09, 2010, 05:55:00 am »
Stephanie you rock and if you get it as good as Gmenu I will be switching to it
Yeah probably me too, I like the native-style that dmenu uses for its interface, though i use gmenu2x now because of its ease of setting up new links etc.
Nintendo DSi, Black, v1.4.1 with R4i Gold 3DS
Nintendo DSi, Pokemon White Limited Edition
PSP-1000, Pink, 6.60-PRO C2
iPhone 4, White, iOS 7.0.2
Raspberry Pi, Model B, 512M

darfgarf

  • Guest
Re: Is dmenu still alive?
« Reply #19 on: May 09, 2010, 10:44:25 am »
add me to the list of dmenu-likers, my main problem apart from the corruption/etc, is there's no way to configure it without a computer, and no decent file browser (but i haven't used it in a while :P)

gmenu is great, but doesn't feel like you're using a dingoo, and grid view for loads of shortcuts gets cluttered

Stephanie

  • Guest
Re: Is dmenu still alive?
« Reply #20 on: May 09, 2010, 02:43:04 pm »
Wow now the pressure is on!  :)

Well here's my plan...

Hold select & press start, to open a little dialog window with a few options:
  • About dmenu
  • dmenu settings
  • Add shortcut here
  • Edit current shortcut
  • Remove current shortcut
  • Quit dmenu

The about option will list stuff like the current version, along with maybe some system data like free memory, space on the sd card, et cetera.

The dmenu settings option will open a little menu with options for changing theme, wallpaper, font colour, along with toggling the various on-screen-displays (battery, sound, time, clockspeed) -- essentially, everything in the dmenu.ini file should be configurable from within dmenu.

The add shortcut here option will open a screen where you need to put in the settings for the new shortcut. There will be some limitations, at least at first... but I picture using the file selector to navigate to where the executable is, then the file or image selector to pick an icon, a checkbox to say if it needs a file selector or not. Getting the name value, I'm not sure about. Maybe just use the name of the executable, till I can figure out the keyboard stuff.  When finished, it would have to insert the shortcut into the appropriate cfg file.

The edit shortcut would use the same screen as above but let you modify it and re-save it. The current shortcut is the one that is 'active' on the screen when you hit the select+start buttons.

The delete shortcut would ask for confirmation, then would remove the current shortcut from the appropriate cfg file. As above, 'current' means the one that is 'active' when the function is triggered.

The quit option just terminates the current dmenu session.

So that's my plan... it'll be a big challenge but I'm sure it is all possible. So far, the only thing actually in place is I've got the select button set as a 'modifyer' now, and select+start activates the quit function.

I'm going to start with getting the dialog window with the options to come up, then the about, settings & quit options, and then tackle the shortcut functions.

Cheers!

p.s. I just realized, there will need to be a 'move shortcut' function as well, so you can move them around. :)

darfgarf

  • Guest
Re: Is dmenu still alive?
« Reply #21 on: May 09, 2010, 02:49:11 pm »
sounds like a plan, better get learning how to use sdl  ;D

move shortcut would be the icing on the cake
by quit do you mean shutdown? as if you quit, the main script will just relaunch dmenu

Stephanie

  • Guest
Re: Is dmenu still alive?
« Reply #22 on: May 09, 2010, 02:54:06 pm »
Adding reboot and shutdown options would be a good idea too.

By quit I just meant quit dmenu. In version 0.6 just pressing select will quit dmenu. It gets relaunched immediately of course, because inittab respawns the /boot/local/sbin/main script which in turn launches dmenu. 

I just figured, the option exists now so I'd leave it there, but relocate it.

rookie1

  • Guest
Re: Is dmenu still alive?
« Reply #23 on: May 21, 2010, 03:13:09 pm »
Hi Stephanie, finally got some time to test your changes on my dingoo. A quick question, in conf.c, function conf_unload (line 321 - 325), you have commented out the block which saves the config file. This causes the volume and brightness settings not being saved. I'm wondering why you have commented this out. Any particular reason?

Stephanie

  • Guest
Re: Is dmenu still alive?
« Reply #24 on: May 21, 2010, 03:22:41 pm »
Hi Stephanie, finally got some time to test your changes on my dingoo. A quick question, in conf.c, function conf_unload (line 321 - 325), you have commented out the block which saves the config file. This causes the volume and brightness settings not being saved. I'm wondering why you have commented this out. Any particular reason?

I commented that block out for now because it was writing out the ini file every time dmenu shut down; like every time a game or app was launched, dmenu was writing to the ini file even if there were no changes. Ideally it should only write that file if there are changes to it, which isn't going to be difficult to implement. In the short term though I was mostly trying to cut down writes to the SD card.

Cheers!
 

Stephanie

  • Guest
Re: Is dmenu still alive?
« Reply #25 on: May 22, 2010, 06:09:47 pm »
Just a quick update, I've fixed this in my working code now. I defined a value conf_changed in conf.c and reference it in main.c, if either the brightness or sound volume are changed then conf_changed is set to 1.

I've uncommented the code block in conf.c and added the conditional, if (conf_changed == 1) before the file write, so the dmenu.ini file is only written out during shutdown if the volume or brightness have been changed. (as you know the ini file is written immediately when the background, theme, or font colour are changed.)

Cheers!

rookie1

  • Guest
Re: Is dmenu still alive?
« Reply #26 on: May 27, 2010, 02:05:40 pm »
Hi Stephanie, finally got around to add you in the project. Now you should be able to commit to svn. Please let me if you encounter any problem.

Stephanie

  • Guest
Re: Is dmenu still alive?
« Reply #27 on: May 27, 2010, 03:35:57 pm »
Thanks very much! I've been busy with the 64MB version of Dingux but with that now just about finished, I'm looking forward to getting back at dmenu.

Cheers!

rookie1

  • Guest
Re: Is dmenu still alive?
« Reply #28 on: May 27, 2010, 04:27:08 pm »
Just a quick update, I'm working on menu animations. Have committed a change to have animated (smooth) scrolling for the main menu. Still pondering how to do it for the menu items (vertical scroll). It might be a good idea to sync up your local copy before making modifications.

xdpirate

  • * Former Staff
  • Posts: 489
    • My software
Re: Is dmenu still alive?
« Reply #29 on: May 27, 2010, 05:56:53 pm »
Steph and rookie1 - Dream Team!

Looking forward to seeing an improved dmenu! (Gmenu2x just looks too.. gp2x..) :)
Nintendo DSi, Black, v1.4.1 with R4i Gold 3DS
Nintendo DSi, Pokemon White Limited Edition
PSP-1000, Pink, 6.60-PRO C2
iPhone 4, White, iOS 7.0.2
Raspberry Pi, Model B, 512M

 

Post a new topic