Author Topic: Dmenu 0.5 release.  (Read 25885 times)

Reo

  • Guest
Re: Dmenu 0.5 release.
« Reply #20 on: November 10, 2009, 01:11:38 am »
@Reo
Are you sure it is a segfault?  It could be that the configuration of the menu has a problem and the menu is failing to start.  Something that changed from the last release to this one, is that we expect the images in the menu configuration to all be present.  I know in the 'toddler' theme, that there are some images being referenced that do not exist.  This is because linux is case sensitive.  In the toddler theme the two issues that I am aware of are in the menu_ports.cfg.  The Quake MenuItem entry has it's icon as 'res/quake.png' where the file is actually 'res/Quake.png'.  The Spear_Of_Destiny MenuItem entry has it's icon as 'res/Sod.png' where the file is actually 'res/SoD.png'.  Again, the configuration and file system are bothy case sensitive, and dmenu expects the files to be present.  Hopefully this helps to solve your problem. 

If you are truly experiencing a segfault, and are able to provide any additional information, please create a new issue at http://code.google.com/p/dmenu/issues/entry.
I am indeed getting Segmentation Faults in the kernel rather than an error message about a missing image. I'll go through anyway. And I am upgrading from 0.3 to 0.5 too, so it's worse. : /

SavedLinuXgeeK

  • Guest
Re: Dmenu 0.5 release.
« Reply #21 on: November 10, 2009, 03:28:54 am »
I'm not really aware of the changes that were made from v0.3 to v0.4 .  I joined the team after v0.4 and so as far as that is concerned, it should be pretty straight forward.  If you wanted to open a ticket with your theme files/dmenu.ini config, I could take a look at it and let you know what is going on.  The thing is, that I will need to have the same operating environment as you.  Let me know if you want help.

DEADBEEF (OP)

  • Posts: 25
    • たのしいDINGUX
Re: Dmenu 0.5 release.
« Reply #22 on: November 10, 2009, 07:38:24 am »

demon cleaner

  • Posts: 150
    • ClassicAmiga
Re: Dmenu 0.5 release.
« Reply #23 on: November 10, 2009, 11:06:38 am »
I delete my whole dmenu folder, than replace it with this one. Works fine. Then I copy my Hellsing folder inside, removing the old one, reboot and don't stop getting segmentation faults.

qbertaddict

  • * Former Staff
  • The Doctor
  • Posts: 1184
    • about.me
Re: Dmenu 0.5 release.
« Reply #24 on: November 10, 2009, 08:34:01 pm »
I had to combine all my cfg's into the one theme file. All is working now. Sub-Menus and all. NESEMU works without problems and doomgoo is working fine as well.

codiak

  • Guest
Re: Dmenu 0.5 release.
« Reply #25 on: November 10, 2009, 09:02:07 pm »
Got it to work with the toddlers dmenu pack. Now my own theme is working again :)

Reo

  • Guest
Re: Dmenu 0.5 release.
« Reply #26 on: November 11, 2009, 07:54:51 am »
Segmentation faults again, even after formatting and starting anew with Toddler's pack. I'm going to start commenting out random shit in a random fashion to get it to work, because I'm getting desperate.
Edit: I never expected it, but the error was from commenting out the sound effect assignment line. Damnit, how do I turn the sound effects off?
Edit 2: I replaced the sound effects with new ones, so no worries.
« Last Edit: November 11, 2009, 08:43:08 am by Reo »

demon cleaner

  • Posts: 150
    • ClassicAmiga
Re: Dmenu 0.5 release.
« Reply #27 on: November 11, 2009, 09:01:28 am »
Ok, this is what I did now (as with Toddler's it's not working), I was trying with the normal dmenu 0.5 file.

- I copy the needed files into my existing dmenu folder. When I start Dingux then, it works, but the menu is very ugly and basic, because it is taking a default folder with config files.

- I then change the dmenu.ini file, and change the parameter Theme = "default" to my theme, meaning "Hellsing". I then restart Dingux and get segmentation faults.

- Then I tried to leave the dmenu.ini file like it was, but copying my files from my "Hellsing" theme folder into the "default" theme folder, leaving all the files, just overwriting the ones with same names. I restart Dingux, segmentation faults.

I'm pretty clueless now ???





qbertaddict

  • * Former Staff
  • The Doctor
  • Posts: 1184
    • about.me
Re: Dmenu 0.5 release.
« Reply #28 on: November 11, 2009, 12:59:00 pm »
Here is how i got it to work i copied the res folder to the default theme directory overwriting what was there. Then i took each one of my menu configs and combined them into 1 file called theme.cfg.


Here is the results

http://rapidshare.com/files/305461965/dmenu_5.0.avi

I did this off my phone so it looks crappy but you an at least see the hellsing theme and the sub menus

codiak

  • Guest
Re: Dmenu 0.5 release.
« Reply #29 on: November 11, 2009, 05:55:56 pm »
After exiting the most apps, i get an errormsg bevor returning to dmenu.
Something like this:
Code: [Select]
./dmenu: line 17: nesemu: not found
Its working after all, so its only a small flaw.
Any ideas?

SavedLinuXgeeK

  • Guest
Re: Dmenu 0.5 release.
« Reply #30 on: November 12, 2009, 03:22:51 am »
@codiak
Honestly, I'm not sure what is causing that error.  I have logged the scripts that are run by dmenu to call other programs (like snes9x, and nesemu), and I haven't seen anything stand out.  Again, it doesn't seem to have any bearing on what is actually happening, but it would be good to know why it is printing out the message.

DEADBEEF (OP)

  • Posts: 25
    • たのしいDINGUX
Re: Dmenu 0.5 release.
« Reply #31 on: November 12, 2009, 03:45:38 am »
After exiting the most apps, i get an errormsg bevor returning to dmenu.
Something like this:
Code: [Select]
./dmenu: line 17: nesemu: not found
Its working after all, so its only a small flaw.
Any ideas?


To solved this problem, please rename and overwrite this attached dmenu.txt to "/usr/local/dmenu/dmenu" script.

Now I don't get the "line 17:*****:not found" error.

Code: [Select]
#!/bin/sh
ACT=".next"
CMD="dmenu.bin"
if [ "`pwd`" != "/usr/local/dmenu" ]; then
    CMD="dmenu-host.bin"
fi

if ./$CMD; then
    if [ -f "$ACT" ]; then
RESULT="`sh ./$ACT`"
echo $RESULT
        if [ -n $? ] ; then
echo $?
            sleep 5
        fi
        rm "$ACT"
    fi
else
    sleep 1
fi

codiak

  • Guest
Re: Dmenu 0.5 release.
« Reply #32 on: November 12, 2009, 09:29:44 am »
Maybe I done something wrong, but now i get this error on start of dmenu:

Code: [Select]
/usr/local/sbin/main: line 8: ./dmenu: not found

DEADBEEF (OP)

  • Posts: 25
    • たのしいDINGUX
Re: Dmenu 0.5 release.
« Reply #33 on: November 12, 2009, 11:22:46 am »
Maybe I done something wrong, but now i get this error on start of dmenu:

Code: [Select]
/usr/local/sbin/main: line 8: ./dmenu: not found

If you deleted "/usr/local/dmenu/dmenu" and put "dmenu.txt" into "/usr/local/dmenu/" , please rename "dmenu.txt" to "dmenu".

Code: [Select]
mv /somewhere/dmenu.txt SD:/local/dmenu/dmenu

codiak

  • Guest
Re: Dmenu 0.5 release.
« Reply #34 on: November 12, 2009, 12:34:08 pm »
Thats what I did  :-\

DEADBEEF (OP)

  • Posts: 25
    • たのしいDINGUX
Re: Dmenu 0.5 release.
« Reply #35 on: November 12, 2009, 12:47:30 pm »
Thats what I did  :-\

Ok, I'm sorry, I understand.
It's Line feed code mistake in "dmenu.txt".
Last one's line feed code is "CR+LF" because I wrote that txt file on Windows.
This attached dmenu.txt is "LF" , so please test this.

I uploaded "dmenu.txt" with "LF" code.
But I test download this, it became "CR+LF" :-\

I'm sorry, please test this.
http://www.mediafire.com/file/hfkzm4310oz/dmenu_startup_script_0.51.zip
« Last Edit: November 12, 2009, 12:56:18 pm by [email protected] »

codiak

  • Guest
Re: Dmenu 0.5 release.
« Reply #36 on: November 12, 2009, 12:55:32 pm »
Still getting this error.

I use the "local32" version of you dmenu and when is switch back to that version, it starts.
« Last Edit: November 12, 2009, 12:57:54 pm by codiak »

qbertaddict

  • * Former Staff
  • The Doctor
  • Posts: 1184
    • about.me
Re: Dmenu 0.5 release.
« Reply #37 on: November 12, 2009, 02:31:46 pm »
worked for me line 17 error is gone now but now it displays 0 everytime i exit  a game and when you exit nesemu it has like a page of information but there are no errors! It seems to have slowed up the menu launching and exiting a little though. No big deal though. Thanks for your hard work

Reo

  • Guest
Re: Dmenu 0.5 release.
« Reply #38 on: November 12, 2009, 10:12:13 pm »
Hey, can I suggest something for a new release?

I've been skinning, and I found some issues with the ideas I've had. Here's some of them:

- List background is in front of the file-selector text telling what app is selected, would be better behind it (can't think of a theme that would benefit from this text staying behind listbg.png)
- The default font size can be funky with certain fonts, a configurable font-size variable would be great
- While making a theme, I noticed that the the list-selector (listselect.png) is behind the text. I had an idea that'd look great, if only this bar was able to be put over the text. I understand that themes have different needs, so another configurable variable would be nice
- Though not a big deal because of how dmenu doesn't skip over blank space, a icon-spacing variable would be very convenient

Any improvements in this area would be greatly appreciated.

Harteex

  • * Administrator
  • Posts: 713
    • Harteex Productions
Re: Dmenu 0.5 release.
« Reply #39 on: November 12, 2009, 11:16:49 pm »
Thats what I did  :-\

Ok, I'm sorry, I understand.
It's Line feed code mistake in "dmenu.txt".
Last one's line feed code is "CR+LF" because I wrote that txt file on Windows.

Why not just add support to Dmenu for CR+LF? It can't be hard to do, remove all occurences of CR. Just a suggestion :)

 

Post a new topic
Post a new topic