LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-19-2003, 11:44 AM   #1
hexx
Member
 
Registered: Aug 2003
Location: Canada
Distribution: Mandrake
Posts: 91

Rep: Reputation: 15
Making Menu in Wmaker


Ok i was trying to make a menu..its my first time and i dont know what programming lenguage is that..i was thinking its C but here what i got:
Code:
("Main-Menu",
 ("XTerm", EXEC, "xterm -sb"),
 ("Run...", SHEXEC, "%a(Run,Type command to run:)"),
 ("Xmms", EXEC, "xmms"),
 ("Xchat", EXEC, "xchat"),
 ("Menu",
  ("Applications",
   ("CD Burnning + Compression + other",
    ("xmag", EXEC, "xmag"),
    ("CD Bake Oven", EXEC, "cdbakeoven"),
    ("GCombust", EXEC, "/usr/bin/gcombust"),
    ("Gnome-Toaster", EXEC, "/usr/bin/gtoaster"),
    ("K3b", EXEC, "k3b"),
    ("Ark", EXEC, "ark"),
    ("File-Roller", EXEC, "file-roller"),
    ("Gnozip", EXEC, "gnozip")
    ),
  ("Exit",
   ("Log Off", EXIT),
   ("Restart WM", RESTART),
   ("Restart PC", EXEC, "reboot"),
   ("Shutdown", EXEC, "shutdown -h")
   ),
  ("Restart PC", EXEC, "reboot"),
  ("Shutdown", EXEC, "shutdown -h")
 )
)
My error is in
Code:
   ),
  ("Exit",
when you close menu you need one space but i did 2 and i dont know how to make there a space so im very confused i tried everything to put there..please someone tell mee what to put there for not to be error..or it might be something different i cant figure it out..

i tried that and it didnt work

Code:
    ),
   ),
  ("Exit",

Last edited by hexx; 08-19-2003 at 11:55 AM.
 
Old 08-19-2003, 02:49 PM   #2
slightcrazed
Member
 
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
I'm curious why you are editing by hand, and not using WindowMaker's built in menu editor (Wprefs)?

slight
 
Old 08-19-2003, 03:37 PM   #3
hexx
Member
 
Registered: Aug 2003
Location: Canada
Distribution: Mandrake
Posts: 91

Original Poster
Rep: Reputation: 15
heh i never knew there a editor thank you..but i really want to know how to fix my..im just wondering..if someone know..
 
Old 08-20-2003, 12:27 AM   #4
oni0n56
Member
 
Registered: Aug 2003
Location: Hollywood, California
Distribution: Linux Mandrake
Posts: 189

Rep: Reputation: 30
Well i guess its different for all WMs then because the blackbox menu is way differently setup... but yeah id suggest using a editor or downloadng a good one because one stupid mistake and you mess it up :-p

Also slightcrazed - i was reading your signature--- SCO - satanist cult organization...
 
Old 08-20-2003, 10:24 AM   #5
hexx
Member
 
Registered: Aug 2003
Location: Canada
Distribution: Mandrake
Posts: 91

Original Poster
Rep: Reputation: 15
where can i download one..?
 
Old 08-20-2003, 10:33 AM   #6
ichbinesderelch
Member
 
Registered: Nov 2002
Location: Austria
Distribution: Redhat 9
Posts: 140

Rep: Reputation: 15
is the error that in the end of line: ("Gnozip", EXEC, "gnozip")
the commer is missing?
 
Old 08-20-2003, 10:35 AM   #7
hexx
Member
 
Registered: Aug 2003
Location: Canada
Distribution: Mandrake
Posts: 91

Original Poster
Rep: Reputation: 15
actualy no if you end menu you dont need comma..thanks for try
 
Old 08-20-2003, 10:36 AM   #8
ichbinesderelch
Member
 
Registered: Nov 2002
Location: Austria
Distribution: Redhat 9
Posts: 140

Rep: Reputation: 15
well, it could have been
 
Old 08-20-2003, 02:16 PM   #9
oni0n56
Member
 
Registered: Aug 2003
Location: Hollywood, California
Distribution: Linux Mandrake
Posts: 189

Rep: Reputation: 30
like i said i know of them for blackbox but not for any other windows managers.. for blackbox theres bbconf and whitebox and bbkeys and bbappconf and lotsa things.. and thats all i use so i dont knwo about the other windows managers butim pretty sure there SHOULD be something of that type for it... GOOGLE IT!
good luck mate!
 
Old 08-20-2003, 07:34 PM   #10
hexx
Member
 
Registered: Aug 2003
Location: Canada
Distribution: Mandrake
Posts: 91

Original Poster
Rep: Reputation: 15
Thanks one day ill try BlackBox
 
Old 08-20-2003, 08:03 PM   #11
oni0n56
Member
 
Registered: Aug 2003
Location: Hollywood, California
Distribution: Linux Mandrake
Posts: 189

Rep: Reputation: 30
okay!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wmaker debian menu mithereal Debian 4 01-09-2006 01:37 PM
making a menu item in suse9.2 invinciblegod Linux - Newbie 2 07-20-2005 08:09 PM
making select show its menu in a bash script? zidane_tribal Programming 6 05-02-2005 06:52 AM
Making a cross browser DHMTL menu (mainly concerned about DOM) Travis86 Programming 8 08-18-2003 03:35 PM
Making GRUB menu Squick Linux - Newbie 1 08-08-2003 10:35 PM


All times are GMT -5. The time now is 06:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration