Welcome
Welcome to a320

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

dmenu 0.1

Only for posting new Dingux software releases.

Moderator: Moderators

dmenu 0.1

Postby rookie1 on Wed Jul 01, 2009 3:23 pm

I'm releasing dmenu 0.1 as a test release. Please give your feedback. It's compiled and tested on ezelkow1's rootfs. Source is also attached here. You can compile your own if you want.

To automatically start it when Lingux boots up, simply add these 2 lines to the end of /etc/init.d/rcS, (assuming you are using ezelkow1's rootfs, and you have unpacked dmenu to /root)

Code: Select all
export SDL_NOMOUSE=1
cd /root; ./dmenu&


In the main menu screen, use arrow keys to navigate menu items, 'A' key to run.

If the menu item is configured to have file selector (I have configured snes9x as a sample to show this function), a file list will be shown after you pressed 'A' key. You can navigate and chose the file to be passed as an argument to the program. In this case, you can chose the rom file name to be passed to snes9x.

File explorer can be used to run any program on your dingoo. Currently it does not check whether the file is executable. If you select any non-executable file and press 'A', dmenu will attampt to run it, prints an error message and returns immediately.

If you want to add more programs to dmenu, take a look at dmenu.cfg. It should be pretty easy to figure out. Ask here if you have any question.

I'm using the stock dingoo wallpaper and icons as place holder for the moment. If anyone is interested to contribute a set of wallpaper and icons to be used as dmenu default, please let me know. I'd prefer the default to be consistent and minimalist in style, similar to the stock dingoo icons.

dmenu-0.1.tar.gz
dmenu 0.1 binary
(418.84 KiB) Downloaded 213 times
dmenu-0.1_src.tar.gz
dmenu 0.1 source
(6.57 KiB) Downloaded 66 times
rookie1
 
Posts: 29
Joined: Sun Mar 15, 2009 10:00 am

Re: dmenu 0.1

Postby mortys on Wed Jul 01, 2009 4:01 pm

Thanks for your work
mortys
 
Posts: 37
Joined: Tue Mar 10, 2009 2:24 pm

Re: dmenu 0.1

Postby Mistabeen on Wed Jul 01, 2009 4:09 pm

Do you have any pictures of this?
Image
Mistabeen
 
Posts: 9
Joined: Wed Jul 01, 2009 3:50 pm

Re: dmenu 0.1

Postby ingood on Wed Jul 01, 2009 4:26 pm

Very cool stuff, much nicer to use... especially with the file manager!
ingood
 
Posts: 24
Joined: Fri May 22, 2009 3:42 pm

Re: dmenu 0.1

Postby maxif875 on Wed Jul 01, 2009 5:31 pm

definitely niiiiceeer than the command line and hence much more productive, Great Work!
it seems i can't get my scripts shells to work:
i have res, dmenu and dmenu.cfg in home directory and then let's say duke nukem:
home/duke3d/duke(my script shell with executable permission)

my dmenu.cfg is:
Icon = "res/game1.png"

Name = "Duke Nukem 3D"

Executable = "duke"

WorkDir = "./home/duke3d"

it says duke does not exist
Why?? i have not too clear how should i type the path or the executable
Thanks
maxif875
 
Posts: 42
Joined: Fri Apr 10, 2009 8:14 pm

Re: dmenu 0.1

Postby imz on Wed Jul 01, 2009 6:17 pm

Just tried it, it looks very nice! :D
imz
 
Posts: 5
Joined: Wed Jun 03, 2009 3:16 pm

Re: dmenu 0.1

Postby ingood on Wed Jul 01, 2009 6:30 pm

maxif875 wrote:definitely niiiiceeer than the command line and hence much more productive, Great Work!
it seems i can't get my scripts shells to work:
i have res, dmenu and dmenu.cfg in home directory and then let's say duke nukem:
home/duke3d/duke(my script shell with executable permission)

my dmenu.cfg is:
Icon = "res/game1.png"

Name = "Duke Nukem 3D"

Executable = "duke"

WorkDir = "./home/duke3d"

it says duke does not exist
Why?? i have not too clear how should i type the path or the executable
Thanks

Be careful of the . in WorkDir. That means "current directory". So you're probably actually pointing it to /home/home/duke3d, which is probably incorrect.
Try this:
Executable="/home/duke3d/duke"
WorkDir="/home/duke3d"

If that doesn't work then try:
Executable="cd /home/duke3d; ./duke"
ingood
 
Posts: 24
Joined: Fri May 22, 2009 3:42 pm

Re: dmenu 0.1

Postby maxif875 on Wed Jul 01, 2009 7:01 pm

it's a strange thing
now find the duke file but cannot run it, same thing with snes9x the only i could run was scummvm but when it starts it has no games loaded
mmmm...
don't know what it could be wrong...
the same shell scripts run well with vifm
maybe i'm doing something wrong
maxif875
 
Posts: 42
Joined: Fri Apr 10, 2009 8:14 pm

Re: dmenu 0.1

Postby aceyrandom on Wed Jul 01, 2009 7:41 pm

Great job rookie1 - thanks for your work on this! Excellent first menu system for Dingux - much nicer than scrolling through commands in history.
aceyrandom
 
Posts: 14
Joined: Wed Mar 04, 2009 2:01 pm

Re: dmenu 0.1

Postby quadomatic on Wed Jul 01, 2009 9:23 pm

This is straight up great. PRECISELY what the dingoo scene needed at this moment in time.

I think developers need to make it a rule to provide the lines that should be added to the dmenu.cfg file, though it's fairly self explanatory.

Couple requests:

First, could you make it so that a loading screen appears instead of the command line after an application is selected?

It would be cool if there was a feature where it could scan certain directories for applications. Each application would have included dmenu based cfg files that would be imported by dmenu, and all the applications would then appear in dmenu. This would then remove the hurdle of having to edit config files.
User avatar
quadomatic
 
Posts: 69
Joined: Thu May 14, 2009 11:06 pm

Next

Return to Dingux Releases

Who is online

Users browsing this forum: No registered users and 1 guest