Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gnome and KDE menu generation.
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  

I think that...
Denu needs KDE support.
12%
 12%  [ 11 ]
Denu needs Gnome support.
25%
 25%  [ 22 ]
its easy to do menu config by hand.
12%
 12%  [ 11 ]
Denu needs more program support.
3%
 3%  [ 3 ]
Denu needs to lose the portage dependency.
0%
 0%  [ 0 ]
Denu needs to be in portage.
28%
 28%  [ 25 ]
Denu needs more language support.
1%
 1%  [ 1 ]
Denu is great.
2%
 2%  [ 2 ]
Denu is a stupid program/idea.
10%
 10%  [ 9 ]
needs to support <x> window manager. (Explain)
3%
 3%  [ 3 ]
Total Votes : 87

Author Message
Duty
Apprentice
Apprentice


Joined: 15 Nov 2003
Posts: 253

PostPosted: Sun Nov 14, 2004 5:03 am    Post subject: Reply with quote

I got this error trying to run denu on openbox:

Code:

Welcome to Denu version 1.6
Traceback (most recent call last):
  File "/usr/bin/denu", line 411, in ?
    arg = sys.argv[1] #get denu xxx
IndexError: list index out of range
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Sun Nov 14, 2004 9:11 am    Post subject: Reply with quote

You need to do something more specific ie.
Code:
denu sysupdate
or
Code:
denu menugen
See
Code:
denu --help
. For more info. What window manager are you using it for?
Back to top
View user's profile Send private message
Duty
Apprentice
Apprentice


Joined: 15 Nov 2003
Posts: 253

PostPosted: Thu Nov 18, 2004 10:42 pm    Post subject: Reply with quote

It's working fine now, but the menu entry for abiword doesn't work properly when it's abiword 2.0 installed (because the binary name is different.) Anything you can do about that?
Back to top
View user's profile Send private message
forceflow2
Guru
Guru


Joined: 16 Apr 2003
Posts: 464
Location: South Carolina

PostPosted: Thu Nov 18, 2004 11:35 pm    Post subject: Reply with quote

ugh...like I don't have enough problems finally getting my notebook running again and getting ready to gear up adding more packages to the database, developers have to change binary names... :?
I'll see what I can do about this (or if TanNewt can do anything and sees this, since it might actually be another week or two before I can get to doing real work again)
_________________
That rank under my username doesn't mean I know everything, it just means I ask a lot of questions.
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Fri Nov 19, 2004 6:51 am    Post subject: Reply with quote

Whats the name of the binary name now? I'll keep checking and should change it tomorrow. Thanks for you interest.
Back to top
View user's profile Send private message
Duty
Apprentice
Apprentice


Joined: 15 Nov 2003
Posts: 253

PostPosted: Fri Nov 19, 2004 8:19 am    Post subject: Reply with quote

abiword-2.0
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Sat Nov 20, 2004 12:53 am    Post subject: Reply with quote

Alright, that should work now.

I've been pondering what to do next and I'm thinking that a drag and drop interface would be cool. I've been thinking that on the left would be all the programs detected and on the right the menu. The back end would pretty much be the same but the frontend would be nice.

Its that or a system to automatically slim the menu down. I dont like how all of the packages are reflected. I want to make it fast and easy while being easily customizeable. What do you think? Also, we/I need some people to be responsible for making sure denu works with certain window managers still, example : gnome 2.8. I think I did the development originally with 2.4 or 2.6 but haven't checked to see if it works with the newer versions.

UPDATE: It should work with 2.6, no guarentees on 2.8.
Back to top
View user's profile Send private message
fyzik
n00b
n00b


Joined: 09 Nov 2002
Posts: 54
Location: Prague, CZ

PostPosted: Sun Nov 28, 2004 10:46 pm    Post subject: denu borked gnome-2.8 app menu Reply with quote

eeek 8O ... $SUBJ ... :cry:

i did:
Code:

denu update
denu sysupdate
denu menugen gnome


my app menu is hopelessly empty :(
any ideas?
Code:

 $ denu
Welcome to Denu version 1.6
Traceback (most recent call last):
  File "/usr/bin/denu", line 411, in ?
    arg = sys.argv[1] #get denu xxx
IndexError: list index out of range


thx :wink:
-F
_________________
http://czfree.net
Back to top
View user's profile Send private message
Duty
Apprentice
Apprentice


Joined: 15 Nov 2003
Posts: 253

PostPosted: Mon Nov 29, 2004 12:22 am    Post subject: Reply with quote

is there a way to request programs be added? I would really like "x11-terms/mrxvt" since I just switched to it :D
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Mon Nov 29, 2004 1:15 am    Post subject: Reply with quote

You can ad the program yourself.
Code:
denu addprgm
It'll automatically submit it to our database marked as unstable and will also be added to your menu. :-D

Edit: What window manager/desktop environment are you using?
Back to top
View user's profile Send private message
Duty
Apprentice
Apprentice


Joined: 15 Nov 2003
Posts: 253

PostPosted: Mon Nov 29, 2004 6:29 am    Post subject: Reply with quote

Did that, but it showed up in the root menu although I entered "Terms" when I asked it for categories... any way to categorize it?

I'm using Openbox.
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Mon Nov 29, 2004 6:46 am    Post subject: Reply with quote

When it asks categories it should be |Terms the | deliniates a level. I changed it in the main database so you shoul be able to
Code:
denu update
denu menugen
and get it in the right spot. Overall what do you think of denu? I dont know of many people using it, I'd love feedback.
Back to top
View user's profile Send private message
fyzik
n00b
n00b


Joined: 09 Nov 2002
Posts: 54
Location: Prague, CZ

PostPosted: Sun Dec 05, 2004 3:23 am    Post subject: Reply with quote

even after

0@notes ~ $ denu update
Welcome to Denu version 1.6
20041128224447
0@notes ~ $ denu menugen
Welcome to Denu version 1.6


my application list is empty. Any ideas?

thanks
-F
_________________
http://czfree.net
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Sun Dec 05, 2004 7:57 am    Post subject: Reply with quote

do

Code:
denu sysupdate
denu menugen


update - updates the definitions of programs off of the web.
sysupdate - updates the list of what programs are on your system.
Back to top
View user's profile Send private message
fyzik
n00b
n00b


Joined: 09 Nov 2002
Posts: 54
Location: Prague, CZ

PostPosted: Sun Dec 05, 2004 10:01 pm    Post subject: Reply with quote

I've just tried that, even restarted the desktop, but my Application list is still empty (gnome 2.8.1)

thanks for any ideas :)

cheers
-F
_________________
http://czfree.net
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Mon Dec 06, 2004 4:14 am    Post subject: Reply with quote

Hmm, I haven't tried it myself with gnome 2.8 and dont have many ideas. Right now gnome is in a state of change menu wise. I'll try installing a minimal gnome and see if I can get it to work.
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Wed Dec 08, 2004 5:58 am    Post subject: Reply with quote

Well I installed gnome light 2.8 and the menu still worked. Try doing this
Code:
denu menugen gnome
killall gnome-panel

That will regenerate the gnome menu even if it doesn't see it installed and then kill the panel and it will restart. If that doesn't work let me know, we'll work it out.

Also, there will be a new screenie of the new denu on the site in under 5 minutes. http://denu.sourceforge.net
Back to top
View user's profile Send private message
fyzik
n00b
n00b


Joined: 09 Nov 2002
Posts: 54
Location: Prague, CZ

PostPosted: Wed Dec 08, 2004 5:11 pm    Post subject: Reply with quote

Hi TanNewt,

unfortunatelly it doesnt. I'm afraid my menu is fucked up.
Is there a way to remove just the Application menu (to get the default one)?
I dont want to remove all the ~/.gnome2/, ~/.gconfd/, ... as I have nicely customised pannels ..

thanks for the help and for the development of (potentialy :) ) very usefull application
cheers
-F
_________________
http://czfree.net
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Thu Dec 09, 2004 2:32 am    Post subject: Reply with quote

Well what denu does is edit the ~/.gnome2/vfolders/applications.vfolder-info file with the desired entries. If you could post the contents of this file it would greatly help me find the problem. What should work to fix this is copy /etc/gnome-vfs-2.0/vfolders/applications-all-user.vfolder-info to the ~/.gnome2/vfolder/ folder and create another copy and rename it applications.vfolder-info. That should do it.

I apologize that denu hasn't worked. The gnome stuff is jury rigged as it is not well documented. This route has been taken to allow the customization of menu to the fullest extent possible. As denu and the freedesktop standards are fully enacted into gnome then things will be better.
Back to top
View user's profile Send private message
fyzik
n00b
n00b


Joined: 09 Nov 2002
Posts: 54
Location: Prague, CZ

PostPosted: Thu Dec 09, 2004 2:59 am    Post subject: Reply with quote

TanNewt wrote:
Well what denu does is edit the ~/.gnome2/vfolders/applications.vfolder-info file with the desired entries. If you could post the contents of this file it would greatly help me find the problem.


Code:
 
cat ~/.gnome2/vfolders/applications.vfolder-info
<?xml version="1.0"?>
<VFolderInfo>
<WriteDir>/home/0/.gnome2/vfolders/applications</WriteDir><Folder><Name>Root</Name></Folder>
</VFolderInfo>



Quote:

What should work to fix this is copy /etc/gnome-vfs-2.0/vfolders/applications-all-user.vfolder-info to the ~/.gnome2/vfolder/ folder and create another copy and rename it applications.vfolder-info. That should do it.


thanks, it worked :)

Quote:

I apologize that denu hasn't worked. The gnome stuff is jury rigged as it is not well documented. This route has been taken to allow the customization of menu to the fullest extent possible. As denu and the freedesktop standards are fully enacted into gnome then things will be better.


well, you dont have to apologize, i was warned that its not tested with gnome-2.8 ;)

I tried to play around with deny update/sysupdate/menugen, and menugen keeps to generate what I've pasted above. Hope it helps.

cheers
-F
_________________
http://czfree.net
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Thu Dec 09, 2004 3:13 am    Post subject: Reply with quote

Are you running it as root? Its not meant to run as root.
Back to top
View user's profile Send private message
fyzik
n00b
n00b


Joined: 09 Nov 2002
Posts: 54
Location: Prague, CZ

PostPosted: Thu Dec 09, 2004 3:19 am    Post subject: Reply with quote

I run it as a user.

I did ran it as root sometime ago however...
_________________
http://czfree.net
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Thu Dec 09, 2004 3:26 am    Post subject: Reply with quote

Hmm, what version of denu and of python are you using? It seems the submenu function is not being called so its skipping the middle of the menu. Its wierd because it works for me. Have you tried denu with a different WM? Show me your /user/share/denu/sysprgms.txt.
Back to top
View user's profile Send private message
fyzik
n00b
n00b


Joined: 09 Nov 2002
Posts: 54
Location: Prague, CZ

PostPosted: Thu Dec 09, 2004 3:34 am    Post subject: Reply with quote

TanNewt wrote:
Hmm, what version of denu and of python are you using? It seems the submenu function is not being called so its skipping the middle of the menu. Its wierd because it works for me. Have you tried denu with a different WM?


Code:

 $ denu
Welcome to Denu version 1.6
Traceback (most recent call last):
  File "/usr/bin/denu", line 411, in ?
    arg = sys.argv[1] #get denu xxx
IndexError: list index out of range

 $ python
Python 2.3.4 (#1, Dec  3 2004, 11:00:23)
[GCC 3.4.3  (Gentoo Linux 3.4.3, ssp-3.4.3-0, pie-8.7.6.6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>


I havent tried denu with a different wm, this is gnome and twm only box :)

Quote:
Show me your /user/share/denu/sysprgms.txt.


its really long, i've put it at http://mroz.r.amu.cz/~o/sysprgms.txt

cheers
-F
_________________
http://czfree.net
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Thu Dec 09, 2004 4:16 am    Post subject: Reply with quote

hmm, you willing to play with the code?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 4 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum