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.3

Only for posting new Dingux software releases.

Moderator: Moderators

Re: dmenu 0.3

Postby rookie1 on Sat Aug 08, 2009 12:14 pm

1@qbQD4T5Z0949 wrote:I was testing dmenu-utf8test.zip ,and it's looking good about Japanese characters in theme.cfg .
But I can't see Japanese filename.

Perhaps, that is the problem on Japanese character-code like euc-jp, shift-jis, and utf8.

I tried to display utf8 Japanese filename, but it displayed like '?????.smc'.

Thank you for shown dmenu0.3 source-code.
I'll try reading the code and if I can, and if you are OK, I'll try making dmenu0.3 Japanese-edition.

Thank you.

I have create an issue on this (http://code.google.com/p/dmenu/issues/detail?id=6). My guess is it's due to FAT32 filenames are not stored in UTF8. If you are able to resolve this, do you mind supply a patch?
rookie1
 
Posts: 29
Joined: Sun Mar 15, 2009 10:00 am

Re: dmenu 0.3

Postby sca on Sat Aug 08, 2009 2:01 pm

rookie1 wrote:Thanks sca. I will do some testing on the patch then commit into trunk. Just a quick question/suggestion, if the menu item goes beyond the number of menuitems in the current menu, which probably means user has selected a different theme, I think we should reset the menu index as well. There is no guarantee that menus are still at the same position across different themes.

If you are interested to continue working on dmenu, I will add you as a committer. I have added a list of things to do in google code issue list. Please add to the list if you are working on something not there. You are also welcome to take any items already on the list. ;)


I'll have to take a look at how theme changes are handled, I'll get back to you.

I have some spare time right now, so yeah, sign me up. I'll check out the to dos.

cheers
sca
 
Posts: 4
Joined: Fri Aug 07, 2009 12:53 am

Re: dmenu 0.3

Postby 1@qbQD4T5Z0949 on Sat Aug 08, 2009 2:44 pm

rookie1 wrote:I have create an issue on this (http://code.google.com/p/dmenu/issues/detail?id=6). My guess is it's due to FAT32 filenames are not stored in UTF8. If you are able to resolve this, do you mind supply a patch?


Today, I tried to change filename charset with <iconv.h> .
In JP-WinXP, filename's charset is Shift-JIS.
And I change filename from Shift-JIS to UTF-8 in filelist.c, but it doesn't work.

I think that the tool-chain doesn't have libiconv.a, and rootfs too.
So I can't do this at this time. Sorry.
User avatar
1@qbQD4T5Z0949
 
Posts: 13
Joined: Fri Jul 24, 2009 1:35 pm
Location: Osaka, Japan.

Re: dmenu 0.3

Postby robbanl on Sat Aug 08, 2009 5:03 pm

I have changed all my icons to 48x48 and my theme.cfg files seems to be in order, still i get two names overlapping each other on top of screen when scrolling. No one else with this problem?
robbanl
 
Posts: 17
Joined: Thu Jul 23, 2009 8:39 am

Re: dmenu 0.3

Postby rookie1 on Sat Aug 08, 2009 5:12 pm

I've just committed a fix to resolve menuitem text overlapping problem. It will be in the next version.
rookie1
 
Posts: 29
Joined: Sun Mar 15, 2009 10:00 am

Re: dmenu 0.3

Postby Warpedflash on Tue Aug 11, 2009 6:29 pm

This may be a problem only i have come accross with themeing but i guess i should post it anyways.
when you create a large icon (width wise) the icon will move accross to the right. i was trying to have only 1 display on the dingoo at a time. so i had the an icon that was 270px wide (i assumed the gap on teh left was a space of 50px) this caused the icon to display on teh next screen accross... i then fiddled arowned abit and it appears that any space after the icon (after approx a 70x70 icon) get pushed in fron of it. so instead of [50px][icon_in_270px] you get osomething like [320 px][icon_in_270px_]
I assume this is to do with how the icons are drawn (to stop being from full left a gap the size of the next icon is created) any way the size on the left could be fixzed and not affected by the icons sizes?
for extra fun create an icon greater than 320px in width and you can list just teh menu items that go unser it.

Also dont know if its been posted but you can no longer (it seems) execute multiple commands at once... or have a command with an extention eg "./wolf3d --bits 16" will break. might be useful to have these capibilites again :D

Thanks for all teh hard work :D
Warpedflash
 
Posts: 17
Joined: Wed Jul 22, 2009 11:02 am

Re: dmenu 0.3

Postby rookie1 on Wed Aug 12, 2009 10:56 am

What you want to do is not possible. The menu drawing code just draws the icons from left to right for <current menu -1><current menu><current menu +1><current menu +2>... until it goes outside the screen. There is no gap inbetween. So the logic is fixed that it will draw the icon for <current menu -1> from the left most border. This is replicating the behaviour of default Dingoo firmware menu.

On the 2nd problem, probably it's due to dmenu 0.3 has changed the way programs are launched. It's not using /bin/sh any more. So multiple commands will not work. You need to write a shell script and put the script as your command.
rookie1
 
Posts: 29
Joined: Sun Mar 15, 2009 10:00 am

Re: dmenu 0.3

Postby robbanl on Wed Aug 12, 2009 11:31 am

I've spent a whole lot of time lately at configuring the menu with icons, fonts and wallpapers. One thing i'm wondering about is the main icon names (games, emulators etc). The name always gets to close to the underlaying icon. Is there a change that you could make a litte more space between the name and the first object? Or is the answer the same as above?
robbanl
 
Posts: 17
Joined: Thu Jul 23, 2009 8:39 am

Re: dmenu 0.3

Postby sca on Wed Aug 12, 2009 11:55 am

That really depends on what you mean. There is an open issue to support icon padding: http://code.google.com/p/dmenu/issues/detail?id=3
So if you want some pixels between an icon and it's "label", that's going to be supported sooner or later.
sca
 
Posts: 4
Joined: Fri Aug 07, 2009 12:53 am

Re: dmenu 0.3

Postby Hellsing1 on Wed Aug 12, 2009 3:48 pm

Hi,

If you want more space simply resize the icons to 64 X 52 (I use GIMP in Linux). Make sure they are centred then resized.

They will now look more like the original Dingoo OS menu screen.Image
Hellsing1
 
Posts: 122
Joined: Fri Mar 13, 2009 5:17 pm

PreviousNext

Return to Dingux Releases

Who is online

Users browsing this forum: vimrc and 1 guest