View Single Post
  #1   (View Single Post)  
Old 25th January 2009
nihonto nihonto is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 65
Default fluxbox-generate_menu doesn't work

Hi there!

One of my favorite apps in fluxbox is the "fluxbox-generate_menu" script. It generates the menu with all the apps on your PC and if there are new packages the script adds them to the menu.

Indeed, on my new NetBSD 4.0.1 it doesn't work. This is the relevant output:

Quote:
nihonto@sushi:~> fluxbox-generate_menu
touch: ${HOME}/.fluxbox/menuconfig: No such file or directory
Warning: I couldn't create ${HOME}/.fluxbox/menuconfig
Fatal error: can't create or write to ${HOME}/.fluxbox/menu
As far as I can see it looks like some mess with the rights or the ownership:

Quote:
nihonto@sushi:~> ls -l .fluxbox/
total 20
-rw------- 1 nihonto users 3502 Jan 25 12:13 init
-rw-r--r-- 1 nihonto users 458 Jan 21 23:40 keys
-rw-r--r-- 1 nihonto users 1439 Jan 25 11:51 menu
-rw-r--r-- 1 nihonto users 0 Jan 25 12:14 slitlist
-rw-r--r-- 1 nihonto users 1101 Jan 23 22:08 startup
But when I look at /usr/pkg/bin/fluxbox-generate_menu:

Quote:
nihonto@sushi:~> ls -l /usr/pkg/bin/fluxbox-generate_menu
-r-xr-xr-x 1 root wheel 66586 Jan 21 21:49 /usr/pkg/bin/fluxbox-generate_menu
Do I have to change the ownership of /usr/pkg/bin/fluxbox-generate_menu? Or should it run without changing the ownership, because my user is in the "wheel"-Group?

Quote:
nihonto@sushi:~> userinfo nihonto
login nihonto
passwd *
uid 1000
groups users wheel
change NEVER
class
gecos
dir /home/nihonto
shell /bin/ksh
expire NEVER
Reply With Quote