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
forceflow2
Guru
Guru


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

PostPosted: Mon Sep 06, 2004 3:11 am    Post subject: Reply with quote

I think that you guys are forgetting the really important thing...
That I messed up some programs and their categories and they need to get fixed :cry:
_________________
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
miqorz
Veteran
Veteran


Joined: 04 Apr 2004
Posts: 1170
Location: Pissing into the wind.

PostPosted: Mon Sep 06, 2004 3:18 am    Post subject: Reply with quote

shm wrote:
miqorz wrote:
I prefer regular xml files for my menus. Hopefully there will allways be an option to dismiss these "standards".


great, so you advocate the fact that desktop files are too bloated for minimal window managers, and then you advocate XML, which takes a lot more resources to parse? what the fuck man 8)


I prefer an all in one type of file for a window manager menu - .desktop files are fine and dandy for a desktop enviroment.
Back to top
View user's profile Send private message
allucid
Veteran
Veteran


Joined: 02 Nov 2002
Posts: 1314
Location: atlanta

PostPosted: Mon Sep 06, 2004 4:09 am    Post subject: Reply with quote

shm wrote:
miqorz wrote:
I prefer regular xml files for my menus. Hopefully there will allways be an option to dismiss these "standards".


great, so you advocate the fact that desktop files are too bloated for minimal window managers, and then you advocate XML, which takes a lot more resources to parse? what the fuck man 8)


come on now, all decent xml parsers are more than fast enough.

I would lean more towards following standards - even if it does mean .desktop files. there would be a lot more programs out there if everyone didn't keep reinventing the wheel.
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 Sep 06, 2004 7:15 am    Post subject: Reply with quote

I think that standards are a good thing but other ways of doing something should be welcomed or at least tried because they could do the job much better. As for .desktop files I'm still wondering how I'm gonna get Denu to play nice with them. Any tips as far as KDE/gnome go would be appreciated. Forceflow2 let me know your errors and I'll fix them in the database. As of now they are only in the unstable DB files.
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Mon Sep 06, 2004 9:54 pm    Post subject: Reply with quote

What happens if I have both flux and waimea installed?

Flux menu is created, but waimea's isn't?

:roll:
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|


Last edited by scoobydu on Mon Sep 06, 2004 10:00 pm; edited 1 time in total
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 Sep 06, 2004 9:57 pm    Post subject: Reply with quote

Did you just install waimea? You need to do
Code:
denu sysupdate
If not it should do the waimea menu. Make sure that you changed the menu file location in ~/.waimearc and have a ~/.waimea folder.
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Mon Sep 06, 2004 10:05 pm    Post subject: Reply with quote

TanNewt wrote:
Did you just install waimea? You need to do
Code:
denu sysupdate
If not it should do the waimea menu. Make sure that you changed the menu file location in ~/.waimearc and have a ~/.waimea folder.


No not just. Been using waimea since flux 0.9.10 came out a few days ago.

Does denu look in ~/.waimearc to find out which menu file to update?

The files are setup as you suggest, but no menu file is made ..

ps shouldn't default waimea menu be in ~/.waimea/menus
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
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 Sep 06, 2004 11:51 pm    Post subject: Reply with quote

No ~/.waimea/menu.conf is made? The ~/.waimearc file is used to tell waimea what menu file to use.
Edit: in the .waimearc file change the menu location to /home/username/.waimea/menu.conf replace username with your username.
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Tue Sep 07, 2004 7:33 am    Post subject: Reply with quote

TanNewt wrote:
No ~/.waimea/menu.conf is made? The ~/.waimearc file is used to tell waimea what menu file to use.
Edit: in the .waimearc file change the menu location to /home/username/.waimea/menu.conf replace username with your username.

For me, /.waimearc points to ~/waimea/menus/menu.conf

I tried your way (~/.waimea/menu.conf), but still couldn't get a menu created.

Shouldn't denu follow the same layout as waimea? ie menu file in ~/.waimea/menus/menu.conf?

I'll try again later ...

ps What do you think about being able to select the menu file created? flux ! waimea ! All or have a denu.conf setup?

edit: Tried on another non amd64 machine .. just in case.

I must be doing something wrong, as I get:

Quote:

denu update
Welcome to Denu version 1.1
20040906001115
Traceback (most recent call last):
File "/usr/bin/denu", line 253, in ?
programdata(argpid)
File "/usr/bin/denu", line 16, in programdata
f = urllib2.urlopen ('http://denu.sourceforge.net/files/prgmDB-' + stable + '-' + newest + '.txt')
File "/usr/lib/python2.3/urllib2.py", line 129, in urlopen
return _opener.open(url, data)
File "/usr/lib/python2.3/urllib2.py", line 326, in open
'_open', req)
File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
result = func(*args)
File "/usr/lib/python2.3/urllib2.py", line 901, in http_open
return self.do_open(httplib.HTTP, req)
File "/usr/lib/python2.3/urllib2.py", line 890, in do_open
code, msg, hdrs = h.getreply()
File "/usr/lib/python2.3/httplib.py", line 1049, in getreply
response = self._conn.getresponse()
File "/usr/lib/python2.3/httplib.py", line 778, in getresponse
response.begin()
File "/usr/lib/python2.3/httplib.py", line 273, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.3/httplib.py", line 231, in _read_status
line = self.fp.readline()
File "/usr/lib/python2.3/socket.py", line 323, in readline
data = recv(1)
socket.error: (104, 'Connection reset by peer')


Quote:

denu makemenu
Welcome to Denu version 1.1
Traceback (most recent call last):
File "/usr/bin/denu", line 294, in ?
programdata()
TypeError: programdata() takes exactly 1 argument (0 given)




To be edited!
Quote:

denu update
Welcome to Denu version 1.1
20040906001115
Traceback (most recent call last):
File "/usr/bin/denu", line 253, in ?
programdata(argpid)
File "/usr/bin/denu", line 26, in programdata
g = open('/usr/share/denu/customDB.txt','r')
IOError: [Errno 2] No such file or directory: '/usr/share/denu/customDB.txt'


Quote:
denu sysupdate
Welcome to Denu version 1.1
Traceback (most recent call last):
File "/usr/bin/denu", line 255, in ?
systemdata()
File "/usr/bin/denu", line 86, in systemdata
file = open('/usr/share/denu/sysprgms.txt','w') #write files
IOError: [Errno 13] Permission denied: '/usr/share/denu/sysprgms.txt'


Quote:

neo # denu update
Welcome to Denu version 1.1
20040906001115
Traceback (most recent call last):
File "/usr/bin/denu", line 253, in ?
programdata(argpid)
File "/usr/bin/denu", line 26, in programdata
g = open('/usr/share/denu/customDB.txt','r')
IOError: [Errno 2] No such file or directory: '/usr/share/denu/customDB.txt'

_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|


Last edited by scoobydu on Wed Sep 08, 2004 7:36 am; edited 2 times in total
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 Sep 08, 2004 1:28 am    Post subject: Reply with quote

scoobydu, I could change the directory for waimea menus to ~/.waimea/menus/ but see no real reason but maybe in the future. In the next release all you have to do for not generating is masking the package for the wm such as x11-wm/fluxbox etc. With the first error I bet its a sourceforge thing. If you get it again goto the website and see if it works. With the second error it is my mistake I havn't updated makemenu. I myself use update, sysupdate and menugen sperately. Just do update, sysupdate, menugen for now. I'll fix it right now so its in the next release.

Also in the next release and in CVS is gnome support. It is not rock stable but works. The procedure are also less uncertain. If anyone has an extra copy of gnome in which they dont mind risking their menu on let me know I need a fresh install to get the procedure down on. As far as getting the old menu back its pretty easy in gnome. Gnome was tough because of the lack of documentation.

Now in CVS you can do WM specific generation.

Make sure that in your waimearc file its /home/username/.waimea
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 Sep 09, 2004 5:09 am    Post subject: Reply with quote

This is an update for everyone who wants gnome and kde support. Its in the CVS version and will be released probably tomorrow. We are waiting to get icon support in Denu. Let me know what you want and I'll get it in there. Also any comments on denu are encouraged and appreciated.
Thanks.
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Thu Sep 09, 2004 9:35 pm    Post subject: Reply with quote

OK, now using 0.5 which is better to just create a specific waimea menu file, without changing my flux menu.

Now have a successful menu created by denu; thanks!

I think the permissions are incorrect for the files getting updated in /usr/share/denu

Shouldn't it create a .denu directory for the local config for denu, like the localDB.txt file (think that's the name).

As I get permission denied running the updates for the menu as a user (as its trying to uypdate files in /usr/share/denu).


Now just need to get firefox and my aterm at the start of the menu ;)


Quote:

What about adding some of the denu functionality to a 'menu' menu? in the created menu?

_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
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 Sep 09, 2004 11:20 pm    Post subject: Reply with quote

I'm glad denu is working for you. I'll also look into the ~/.denu because like you said I think it would be a good idea. Also, Denu is in the menu as long as you put the ebuild in x11-misc I think. I'll also check the permissions before the next release. To get Aterm and firefox to the root of the menu use cuscat.

Code:
bash-2.05b$ denu cuscat
Welcome to Denu version 1.5
Enter the portage id:net-www/mozilla-firefox   
['Firefox']
Enter the new cat(s):|

if it returns something like ['Firefox', 'Firefox2'] you need to enter a category for each such as
Code:
Enter the new cat(s):|$|Net
The $ is used to divide entries up. Same rule goes for when adding programs.
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Thu Sep 09, 2004 11:44 pm    Post subject: Reply with quote

Ok, so thanks for the pointers on the menu config.

I can get Firefox or Aterm at the top of the menu, but not both.

cuscat only seems to hold one change, the next one overwrites the first.


edit: How do I get vmware-workstation to add under Emulation menu?
It only adds at the root of the menu. Also how do you delete apps that you have just added?
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
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 Sep 10, 2004 12:49 am    Post subject: Reply with quote

Alright I fixed cuscats and 1.5 should come out later, I'm shooting for icon support tonight. Any menu Item can be moved via cuscat. The menu structure is |Whatever|Sub1|sub1.2 etc. Just seperate the levels with | and it should work. If you dont want applications to appear in the menu mask th epackage
Code:
denu mask [package name]
. As of now you cannot do seperate entries per package but I just thought of a way of doing it so it might be in 1.5.
Back to top
View user's profile Send private message
forceflow2
Guru
Guru


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

PostPosted: Fri Sep 10, 2004 3:58 am    Post subject: Reply with quote

scoobydu wrote:

edit: How do I get vmware-workstation to add under Emulation menu?
It only adds at the root of the menu. Also how do you delete apps that you have just added?

And you can always help out by adding new programs to the database :D
_________________
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 Sep 10, 2004 5:18 am    Post subject: Reply with quote

I just released 1.5 of Denu. It features gnome and KDE support. Here are the instructions for each.
Gnome:
1) Install Gnome.
2)
Code:
denu menugen gnome

KDE:
1)Install KDE.
2) Add
Code:
<MergeFile>denu.menu</MergeFile>

in ~/.config/menus/applications-kmenuedit.menu
before the last
Code:
</Menu>

3)
Code:
denu menugen kde


Please let me know of any bugs through this thread, email or on sourceforge and I'll get it fixed. As for icons please be patient becaus eonly two are i nthe database as of now. I will work on it tomorrow. If you are interested in helping either PM me or email me to the email in the README. Heres a link for all of you http://sourceforge.net/project/showfiles.php?group_id=117449 . Let me know what you think. Thanks.
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Fri Sep 10, 2004 9:07 am    Post subject: Reply with quote

forceflow2 wrote:
scoobydu wrote:

edit: How do I get vmware-workstation to add under Emulation menu?
It only adds at the root of the menu. Also how do you delete apps that you have just added?

And you can always help out by adding new programs to the database :D


Sorry I don't understand? I added vmware, but I couldn't get it to go in any sub menu, only the root.

TanNewt: I'll give 1.5 a go ... icons should be cool ..

edit: Ok vmware works, but cuscat still only lets one menu item be changed ... next one overwrites the first.
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
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 Sep 10, 2004 1:55 pm    Post subject: Reply with quote

Are you saying only one cuscat works in 1.5!? I thought I fixed it.
Back to top
View user's profile Send private message
eeknay
Guru
Guru


Joined: 07 Jul 2003
Posts: 402
Location: EndOfTheRainbow

PostPosted: Fri Sep 10, 2004 2:07 pm    Post subject: Reply with quote

could someone explain which purpose is pursued by this program? Maybe I'm just to :? to understand what this is for.

eeknay
_________________
Linda: "The holiday season is time of celebration for most but it is also the time to remember the tragic suffering of the less fortunate."
Morbo: "Earthlings do not yet know the meaning of suffering."
Back to top
View user's profile Send private message
forceflow2
Guru
Guru


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

PostPosted: Fri Sep 10, 2004 2:22 pm    Post subject: Reply with quote

It's purpose is to generate a menu for your Window Manager based on the packages installed on your computer, not just those that have menu support in them. ie. Some programs don't add a menu entry, this program does it for you.
_________________
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
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Fri Sep 10, 2004 3:47 pm    Post subject: Reply with quote

TanNewt wrote:
Are you saying only one cuscat works in 1.5!? I thought I fixed it.


Unfortunately yes, only one stays with 1.5&cvs.
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
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 Sep 11, 2004 7:00 am    Post subject: Reply with quote

Scoobydu, I rechecked the version I'm using and is included in 1.5 and multiple cuscat definitions do work. Please let me know what steps you are taking to define the cuscats.
Back to top
View user's profile Send private message
hotplainrice
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2004
Posts: 92

PostPosted: Sat Sep 11, 2004 8:17 am    Post subject: Reply with quote

Code:
hotplainrice@smallie hotplainrice $ denu menugen gnome
Welcome to Denu version 1.5
Traceback (most recent call last):
  File "/usr/bin/denu", line 459, in ?
    menu(argpid)
  File "/usr/bin/denu", line 275, in menu
    menu_images = pickle.load(open('/usr/share/denu/menu_images.p','r'))
IOError: [Errno 2] No such file or directory: '/usr/share/denu/menu_images.p'
hotplainrice@smallie hotplainrice $


I'm risking my menu for a better one, I hope. ( I don't understand how to edit it :P)
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 Sep 11, 2004 5:10 pm    Post subject: Reply with quote

Alright, hotplainrice. Before you attempt to generate the menu make sure you
Code:
denu update
denu sysupdate
the update will create the file you are missing. To make sure your installed program info is up to date you can
Code:
denu DBver
That will output numbers for your version and the online one.
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 2 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