[SOLVED] Existing GRUB Win menu entries don't appear

Hi,
Just finished a fresh dual boot (Arch-64/Win7-64), dual HDs installation.
I've installed os-prober prior to installing grub, and indeed a (seemingly) correct menu entry was added (in segment 30-see below).
Yet after reboot, this entry does NOT appear!
I've tried adding a respective entry in the 40-custom, (and ran ' grub-mkconfig -o /boot/grub/grub.cfg' afterwards), yet still the same (menu entry appears in grub.cfg yet does NOT appear after reboot!).
Please advise!
Thanks!
my grub.cfg (note existing grub 30 & 40 segments
# DO NOT EDIT THIS FILE
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 6ee857d9-95d1-47c4-ad47-18b979f49e74
else
search --no-floppy --fs-uuid --set=root 6ee857d9-95d1-47c4-ad47-18b979f49e74
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_input console
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-6ee857d9-95d1 -47c4-ad47-18b979f49e74' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 76af1051-313e-4736-a61c-7c6c8dbaf6ba
else
search --no-floppy --fs-uuid --set=root 76af1051-313e-4736-a61c-7c6c8dbaf6ba
fi
echo 'Loading Linux core repo kernel ...'
linux /vmlinuz-linux root=UUID=6ee857d9-95d1-47c4-ad47-18b979f49e74 rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
menuentry 'Arch Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kern el-fallback-6ee857d9-95d1-47c4-ad47-18b979f49e74' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 76af1051-313e-4736-a61c-7c6c8dbaf6ba
else
search --no-floppy --fs-uuid --set=root 76af1051-313e-4736-a61c-7c6c8dbaf6ba
fi
echo 'Loading Linux core repo kernel ...'
linux /vmlinuz-linux root=UUID=6ee857d9-95d1-47c4-ad47-18b979f49e74 rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-fallback.img
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6ee857d9-95d1-47c4-ad47-18b979f49e74' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 76af1051-313e-4736-a61c-7c6c8dbaf6ba
else
search --no-floppy --fs-uuid --set=root 76af1051-313e-4736-a61c-7c6c8dbaf6ba
fi
echo 'Loading Linux core repo kernel ...'
linux /vmlinuz-linux root=UUID=6ee857d9-95d1-47c4-ad47-18b979f49e74 rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-fallback.img
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-6ee857d9-95d1-47c4-ad47-18b979f49e74' {
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-chain-67AD726A113E664B' {
insmod part_msdos
insmod ntfs
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 67AD726A113E664B
else
search --no-floppy --fs-uuid --set=root 67AD726A113E664B
fi
chainloader +1
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
# Windows 7
menuentry "Windows 7" {
set root=(hd1,1)
chainloader +1
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###
Last edited by mibadt (2013-12-19 03:00:05)

i think you have a missing "{" to close the submenu.
ezik

Similar Messages

  • Multiple google calendars synced to my ipad with exchange but the entries don't appear

    I've done this many times before with various iphones, but my new ipad2 vexes me. I want all my google calendars to appear in the calendar app on my ipad. I've:
    set up the google account as an exchange account
    signed in to m/google.com/sync
    selected the correct device
    enabled the calendars
    you can see the complete list of calendars in the the cal app, but the actual events don't appear.
    if i create a new event on one of these invisable calendars, it appears.
    thoughts?

    Can you attach a screenshot?
    * http://en.wikipedia.org/wiki/Screenshot
    Use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed the maximum file size (1 MB).
    There are other things that need your attention.
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    *Next Generation Java Plug-in 1.6.0_14 for Mozilla browsers
    Update the [[Using the Java plugin with Firefox|Java]] plugin to the latest version.
    *http://kb.mozillazine.org/Java
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)

  • [SOLVED] Menu Entries Don't Work In Syslinux

    I installed and set up arch on a flash drive yesterday and it was working great.
    Today, I tried to install gnome but I was getting two invalid signature errors from dependencies so I followed philm's advice to remove the pacman caches and ran:
    sudo pacman -Syu
    This seemed to update several things, including the kernel. pacman completed without any errors and I rebooted the machine, but now I'm stuck in syslinux, and can't get past the menu.
    Selecting "Arch Linux" very quickly brings up a loading message and then the syslinux menu refreshes.
    "Arch Linux Fallback" does nothing apparent.
    I can access the hardware detection tool, but that's no help.
    Even "Poweroff" gives an "APM not present" error.
    The only option that does what it's supposed to is "Reboot."
    Pressing tab reveals the command being run is:
    > .linux ../vmlinuz-linux root=UUID=[redacted] rw initrd=../initramfs-linux.img
    Pressing esc and typing arch at the "boot:" prompt gives:
    Loading ../vmlinuz-linux... failed: No such file or directory
    As I said I installed arch yesterday so I'm a complete n00b… any ideas of what I could try to fix this?
    Last edited by josherick (2014-01-12 06:55:09)

    I redacted the UUID more because it was long and cumbersome to type than for security reasons, haha. It points to /dev/sda1, which is an ext4 partition and the only partition on the drive. When I edit the command and substitute the UUID for "/dev/sda1," the exact same thing happens (the menu "refreshes").
    It's good to know that poweroff isn't expected to work.
    I'll also add that since this is on a flash drive, I can access the entire drive from within another arch install I've got in VirtualBox, if that helps. I've done that and checked the /boot folder and all of the files it is referencing in the errors seem to be in place, although I noticed that /boot/vmlinuz-linux has a size of 0 bytes – is that to be expected or is there an issue here?
    This was also working about 2 hours ago so I think it has something to do with updating the kernel
    Last edited by josherick (2014-01-12 06:28:24)

  • [Solved] Grub Skips Menu

    I've just got a new laptop (Asus M50) and I've been trying to get Arch Linux running with encrypted / and /home partitions by following this tutorial: http://wiki.archlinux.org/index.php/Sys … r_dm-crypt
    I installed Grub to my /boot partition (which is unencrypted), but upon reboot I was presented with a blank screen and a flashing cursor.  I suspected Grub wasn't installed correctly, so I reinstalled it by running (from the ArchLive CD):
    # grub-install --root-directory=/mnt/boot /dev/sda
    Which seemed to run fine, and Grub now actually loads at startup, but it immediately presents me with a grub prompt.  Now I can boot manually from this, for example:
    grub> root (hd0, 0)
    grub> kernel /vmlinuz26 root=/dev/sda3 ro
    grub> initrd /kernel26.img
    grub> boot
    Allows arch to boot without a hitch.  As far as I can tell, my /boot/grub/menu.lst is correct so I don't understand why grub is skipping the menu, and a few hours of searching Google haven't helped much.
    EDIT
    GRUB looks for its configuration file as soon as it is loaded. If one is found, then the full menu interface is activated using whatever entries were found in the file. If you choose the command-line menu option, or if the configuration file was not found, then GRUB drops to the command-line interface.
    Following up on this, ls /boot/grub | grep menu.lst locates the file, but grub> find /boot/grub/menu.lst returns Error 15: File not found.  So does anybody know why there would be this discrepancy?  I have a feeling that fixing this will fix my problem.
    EDIT 2
    I'm getting closer... I found a mistake in my previous edit, because grub> find /grub/menu.lst returns (hd0,0), so it was found.  I forgot that grub's root was not necessarily the root of the filesystem.  So now I can type grub> configfile /grub/menu.lst and it will bring up the menu, but it still doesn't load the menu before going to the prompt, and reinstalling grub yet again doesn't fix this.
    Last edited by phinux (2008-07-13 04:00:36)

    Aha, success.  This guy (http://www.linuxquestions.org/questions … ad-562236/) seemed to be having the same problem as me, and his fix worked for me as well.  I'll just retype it here in case anybody else has the same problem, but the original post is here.
    Reinstall grub:
    grub> root (hd0,0)
    grub> setup (hd0)
    Checking if "/boot/grub/stage1" exists... yes
    Checking if "/boot/grub/stage2" exists... yes
    Checking if "/boot/grub/e2fs_stage1_5" exists... yes
    Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 15 sectors are embedded.
    succeeded
    Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
    Done
    Now for whatever reason the final line (Running "install...") is not correct so if you run it again, but remove "/boot" from "/boot/grub/menu.lst" everything works:
    grub> install /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,0)/boot/grub/stage2 /grub/menu.lst
    Reboot and it should go straight to the menu.

  • [SOLVED] XFCE menu entry problem

    For some reason that I don't recall, I had qt installed. After removal though, there is still the "Qt Designer" item in the Xfce menu. I've followed the wiki's instructions but couldn't remove it.
    /usr/share/applications looks like this:
    Terminal.desktop gkbd-indicator-plugins-capplet.desktop nvidia-settings.desktop xfce-display-settings.desktop xfce4-logout.desktop
    Thunar-bulk-rename.desktop gksu-properties.desktop pidgin.desktop xfce-keyboard-settings.desktop xfce4-mixer.desktop
    Thunar-folder-handler.desktop gksu.desktop polkit-gnome-authorization.desktop xfce-mouse-settings.desktop xfce4-panel-manager.desktop
    Thunar.desktop gmenu-simple-editor.desktop rhythmbox.desktop xfce-session-settings.desktop xfce4-power-manager-settings.desktop
    alacarte.desktop gnome-do.desktop ristretto.desktop xfce-settings-manager.desktop xfce4-run-program.desktop
    avahi-discover.desktop gnome-terminal.desktop services.desktop xfce-ui-settings.desktop xfce4-screenshooter.desktop
    bssh.desktop gnome-volume-properties.desktop shares.desktop xfce-wm-settings.desktop xfce4-sensors.desktop
    bvnc.desktop google-chrome.desktop thunar-settings.desktop xfce-wmtweaks-settings.desktop xfce4-settings-editor.desktop
    evince.desktop gsynaptics.desktop thunar-volman-settings.desktop xfce-workspaces-settings.desktop xfce4-taskmanager.desktop
    exo-preferred-applications.desktop gucharmap.desktop tilda.desktop xfce-xfcalendar-settings.desktop xfce4-terminal.desktop
    file-roller.desktop mimeinfo.cache time.desktop xfce4-about-xfce.desktop xfce4-web-browser.desktop
    firefox-safe.desktop mousepad.desktop totem.desktop xfce4-accessibility-settings.desktop xfprint-manager.desktop
    firefox.desktop nact.desktop users.desktop xfce4-appfinder.desktop xfprint-settings.desktop
    gconf-editor.desktop nautilus-cd-burner-open-iso.desktop vlc.desktop xfce4-clipman-plugin.desktop xfprint.desktop
    geany.desktop nautilus-cd-burner.desktop xfburn.desktop xfce4-dict.desktop
    gedit.desktop network.desktop xfcalendar.desktop xfce4-file-manager.desktop
    gimp.desktop nm-connection-editor.desktop xfce-backdrop-settings.desktop xfce4-help.desktop
    I can't seem to find anything qt related here. What should I do?
    Last edited by dcc24 (2009-11-04 21:03:46)

    I've solved it. Turns out, some menu entries are stored in ~./local/share/applications. Removing it there solved the problem.

  • Why does debugger menu entry not exist in Acrobat 7.1.0

    Today I decided to start using the JavaScript functionality of my Acrobat 7.1.0 (updated a few days ago from 7.0.x). First I searched for some documentation and found the original "Acrobat JavaScript Scripting Guide" for Acrobat 7.0, document release date July 19, 2005. What made me doubt about the quality of my environment is that there are always some features mentioned that do not at all exist in my Acrobat, such as menu entries like "Debugger" under "Advanced - Javascript". The only thing I find there is "define document actions" (menu entry translated from German). Reading other posts in this forum concerning Javascript I searched other places like acrobatusers.com and, checking the tutorials, I saw screenshots of preference screens containing more items than my ones, especially more items in the "debugger" panel of the "Javascript" entry. When searching places on my drive where Acrobat should expect JavaScript files like "Program Files\Adobe\Acrobat 7.0\Acrobat\Javascripts" I remember having read that there should be more files than just "Websearch.js" and "JSByteCodeWin.bin" (as it is in my case; but I'm not sure what actually should be there further).
    So far the only thing I can do to open the console is defining some action related with files (but only unhandy ones like "when closed" or "when saved"). The only way I know to open the JS debugger is defining invalid JS code for some file action and perform this action, then the debugger shows up along with the console, complaining.
    Strolling arround in my Acrobat program subdirectories I found documentation and a runnable named "ExtendedScript Toolkit" that seemed to work well (though I could not try it out seriously as it obviously is quite complicated because it relies on the InDesign object model). Did ExtendedScripting coming along with InDesign spoil my normal JavaScript environment in Acrobat? Or was it the update from Acrobat 7.0.0 to 7.1.0? How can it be that menu entries everybody else is talking about are not at all visible in my installation though I desparately enabled almost everything in my Acrobat preference settings? Are there some paranoid web security defaults making entries disappear in my installation?
    Any suggestions will be greatly appreciated!
    Richard

    Bernd,
    the matrix is for Acrobat 9 only and thus not totally liable. However, as for V9 the topic of scripting or debugging is not even touched in the whole matrix, one might suggest that V7 would also make no differences in that area.
    I am only guessing, but the fact that I do not find any hint about a problem similar to my one might have to do something with the "ExtendedScript Toolkit" I mentioned above. If the behavior of my Acrobat installation had been changed due to installing ExtendedScript, this would be a kind of (intended) bug most users would not complain about, because: ExtendedScript comes along with software like InDesign, and the typical ID user is not the one developing JavaScript under Acrobat.
    Searching Google for ExtendedScript I found the Adobe download area and clicking on the item it says:
    The ExtendScript Toolkit (ESTK) 1.0.3 is a scripting utility included with Adobe® Creative Suite 2 and other Adobe applications. The ESTK is used for creating, editing, and debugging JavaScript to be used for scripting Adobe applications.
    Looking up documentation on ExtendedScript (which was not very easy to find) I noticed some examples about adding a document to the target application by executing the line:
    app.document.add();
    As I am starting the ES toolkit as an own main program, I am getting the error message that this call is not executable for the target application "main", which I can accept. Maybe there is a way connecting Acrobat to ExtendedScript, maybe there is even a way to reanimate "normal" scripting, maybe normal scripting is not even unconscious but only sleeping and can be woken up easily ...
    Maybe the best way to find out is searching for a forum about scripting (albeit extended or normal). Funny, though, that my Acrobat does not at all match the original scripting documentation of Adobe concerning such elementary things like menu entries being present (especially see second attachment: "Erweitert" translates to "Advanced", "Dokument-Aktionen festlegen" to "Define document actions". Where is the "Debugger" entry???).
    If I believe others here in this forum saying that the "Debugger" entry normally is appearing in the Javascript menu. Obviously the Acrobat software contains program code to hide or remove this entry permanently. Furthermore, somebody else, also a member of the Adobe stuff, has written the documentation that does not at all contain any applying description of conditions about hiding the menu entry. What I would appreciate is if Adobe would make those two persons talk to each other about what they are doing. By that, other people like me could save a lot of time.

  • Restoring wine menu in KDE [SOLVED]

    Hi, i'm using KDE 4.4.1 and wine. Before i decided to clean up mess in KDE menu, all wine installed menu items were under "lost and found"
    As http://wiki.archlinux.org/index.php/Win … Fix.5B1.5D states, i have edited /etc/xdg/menus/kde-applications.menu
    Now i had Wine menu, but i didn't need all items, so i ran kde menu editor, and some items were removed. After relogin, wine menu didn't have "Programs" submenu at all :s. I deleted wine menu from KDE menu
    Now, hot to restore that?
    I figure out that all desktop files created by wine are in /home/bagheera/.local/share/applications/
    In /home/bagheera/.config/menus/ i have several files:
    -rw-r--r-- 1 bagheera users 15647 03-15 12:22 applications-kmenuedit.menu
    -rw-r--r-- 1 bagheera 1000 3527 03-15 13:11 applications.menu
    -rw-r--r-- 1 bagheera users 3527 03-15 13:11 applications.menu~
    -rw-r--r-- 1 bagheera 1000 2349 2008-12-09 applications.menu.undo-10
    -rw-r--r-- 1 bagheera 1000 2418 2008-12-09 applications.menu.undo-11
    -rw-r--r-- 1 bagheera 1000 2492 2008-12-09 applications.menu.undo-12
    -rw-r--r-- 1 bagheera 1000 2571 2008-12-09 applications.menu.undo-13
    -rw-r--r-- 1 bagheera 1000 2647 2008-12-09 applications.menu.undo-14
    -rw-r--r-- 1 bagheera 1000 3358 2009-01-21 applications.menu.undo-15
    -rw-r--r-- 1 bagheera 1000 3373 2009-01-21 applications.menu.undo-16
    drwxr-xr-x 2 bagheera 1000 28672 03-15 12:35 applications-merged
    drwxr-xr-x 2 bagheera 1000 4096 2009-01-20 kde4-applications-merged
    drwxr-xr-x 2 bagheera 1000 4096 03-15 12:43 kde-applications-merged
    -rw-r--r-- 1 bagheera 1000 345 2009-03-20 settings.menu
    Do i need "undo" file, can they be safely removed?
    Witch file contains "wine menu"?
    There is so many files:
    settings.menu
    <!DOCTYPE Menu
    PUBLIC '-//freedesktop//DTD Menu 1.0//EN'
    'http://standards.freedesktop.org/menu-spec/menu-1.0.dtd'>
    <Menu>
    <Name>Desktop</Name>
    <MergeFile type="parent">/etc/xdg/menus/settings.menu</MergeFile>
    <Include>
    <Filename>gnomecc.desktop</Filename>
    </Include>
    <AppDir>/home/bagheera/.local/share/applications</AppDir>
    </Menu>
    applications-kmenuedit.menu
    <!DOCTYPE Menu PUBLIC '-//freedesktop//DTD Menu 1.0//EN' 'http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd'>
    <Menu>
    <Menu>
    <Name>Development</Name>
    <Layout>
    <Merge type="files"/>
    <Filename>pyCrust.desktop</Filename>
    <Merge type="menus"/>
    <Menuname>Web Development</Menuname>
    <Menuname>Translation</Menuname>
    <Menuname>X-KDE-KDevelopIDE</Menuname>
    <Filename>java-monitoring-and-management-console.desktop</Filename>
    <Filename>kde4-akonadiconsole.desktop</Filename>
    <Filename>netbeans.desktop</Filename>
    <Filename>python2.5.desktop</Filename>
    <Filename>kde4-kapptemplate.desktop</Filename>
    <Filename>designer.desktop</Filename>
    <Filename>kde4-kompare.desktop</Filename>
    <Filename>kde4-cervisia.desktop</Filename>
    <Filename>kde4-kcachegrind.desktop</Filename>
    <Filename>java-visualvm.desktop</Filename>
    <Filename>kde4-umbrello.desktop</Filename>
    <Filename>kde4-kuiviewer.desktop</Filename>
    <Filename>assistant.desktop</Filename>
    <Filename>kde4-kbugbuster.desktop</Filename>
    <Filename>geany.desktop</Filename>
    </Layout>
    <Include>
    <Filename>pyCrust.desktop</Filename>
    </Include>
    </Menu>
    <Menu>
    <Name>Applications</Name>
    <Exclude>
    <Filename>wine-Programy-4shared Service-4shared Uploader.desktop</Filename>
    <Filename>wine-Programy-K-Lite Codec Pack-Configuration-AC3Filter.desktop</Filename>
    <Filename>wine-Programy-AutoCAD R14-AutoCAD R14.desktop</Filename>
    <Filename>wine-Programy-K-Lite Codec Pack-Tools-Xvid StatsReader.desktop</Filename>
    <Filename>wine-Programy-AutoHotkey-AutoHotkey.desktop</Filename>
    <Filename>wine-Programy-AutoCAD R14-AutoCAD Readme.desktop</Filename>
    <Filename>wine-Programy-Larian Studios-Beyond Divinity Demo-Configuration.desktop</Filename>
    <Filename>wine-Programy-K-Lite Codec Pack-Configuration-Cyberlink MPEG-2 decoder.desktop</Filename>
    <Filename>wine-Programy-DeliPlayer-DeliPlayer.desktop</Filename>
    <Filename>wine-Programy-Miranda IM-Database Tool.desktop</Filename>
    <Filename>wine-Programy-Free Download Manager-Documentation.desktop</Filename>
    <Filename>wine-Programy-K-Lite Codec Pack-Configuration-DirectVobSub.desktop</Filename>
    <Filename>wine-Programy-AviSynth 2.5-Folder wtyczek.desktop</Filename>
    <Filename>wine-Programy-Atmel AVR Tools-AVR QTouch Studio.desktop</Filename>
    <Filename>wine-Programy-Audacity.desktop</Filename>
    <Filename>wine-Programy-AviSynth 2.5-Angielska dokumentacja.desktop</Filename>
    <Filename>wine-Programy-AutoHotkey-AutoIt3 Window Spy.desktop</Filename>
    <Filename>wine-Programy-SubEdit-Player-SubEdit Pomoc.desktop</Filename>
    <Filename>wine-Programy-AutoHotkey-AutoHotkey Help File.desktop</Filename>
    <Filename>wine-Programy-AutoHotkey-AutoScriptWriter (recorder).desktop</Filename>
    <Filename>wine-Programy-Atmel AVR Tools-AVR Battery Studio.desktop</Filename>
    <Filename>wine-Programy-Borland Delphi 7-Help-Error Messages & Warnings.desktop</Filename>
    <Filename>wine-Programy-Free Download Manager-Free Download Manager.desktop</Filename>
    <Filename>wine-Programy-Free Download Manager-FDM remote control server.desktop</Filename>
    <Filename>wine-Programy-Free Download Manager-Free Download Manager on the Web.desktop</Filename>
    <Filename>wine-Programy-Free Download Manager-Free Upload Manager.desktop</Filename>
    <Filename>wine-Programy-WSCAD 5.0-Instalacja.desktop</Filename>
    <Filename>wine-Programy-MySQL Oracle Import, Export & Convert Software-MySQL Oracle Import, Export & Convert Software.desktop</Filename>
    <Filename>wine-Programy-WSCAD 5.0-Pierwsze kroki.desktop</Filename>
    <Filename>wine-Programy-WSCAD 5.0-Pomoc online.desktop</Filename>
    <Filename>wine-Programy-Fallout Saga DVD-Fallout-Dokumentacja-Pomoc techniczna offline.desktop</Filename>
    <Filename>wine-Programy-Unreal-Play Unreal.desktop</Filename>
    <Filename>wine-Programy-Fallout Saga DVD-Fallout-Dokumentacja-Poradnik do gry (trzynasty schron).desktop</Filename>
    <Filename>wine-Programy-WSCAD 5.0-Readme.desktop</Filename>
    <Filename>wine-Programy-Unreal-Information-Release Notes.desktop</Filename>
    <Filename>oraclexe-runsql.desktop</Filename>
    <Filename>alacarte-made.desktop</Filename>
    <Filename>Shareaza.desktop</Filename>
    <Filename>wine-Programy-Fallout Saga DVD-Fallout-Dokumentacja-Słownik Fallout.desktop</Filename>
    <Filename>oraclexe-startdb.desktop</Filename>
    <Filename>wine-Programy-WSCAD 5.0-Szkolna.desktop</Filename>
    <Filename>wine-Programy-Free Download Manager-Uninstall Free Download Manager.desktop</Filename>
    <Filename>wine-Programy-MySQL Oracle Import, Export & Convert Software-Uninstall MySQL Oracle Import.desktop</Filename>
    <Filename>wine-Programy-Unreal-Unreal Editor.desktop</Filename>
    <Filename>wine-Programy-Unreal-Unreal Safe Mode.desktop</Filename>
    <Filename>wine-Programy-Fallout Saga DVD-Fallout-Uruchom grę Fallout.desktop</Filename>
    <Filename>wine-Programy-Fallout Saga DVD-Fallout-Usuń grę Fallout.desktop</Filename>
    <Filename>wine-Programy-WSCAD 5.0-Usuń WSCAD 5.0.desktop</Filename>
    <Filename>wine-Programy-WIBU-KEY-WIBU-KEY Help (English).desktop</Filename>
    <Filename>wine-WinRAR.desktop</Filename>
    <Filename>wine-Programy-WSCAD 5.0-WSCAD File Viewer.desktop</Filename>
    <Filename>wine-Programy-WSCAD 5.0-Przejęcie danych.desktop</Filename>
    <Filename>wine-winecfg.desktop</Filename>
    </Exclude>
    <Include/>
    <Layout>
    <Merge type="files"/>
    <Filename>screensavers-biof.desktop</Filename>
    <Filename>screensavers-busyspheres.desktop</Filename>
    <Filename>screensavers-colorfire.desktop</Filename>
    <Filename>screensavers-cyclone.desktop</Filename>
    <Filename>screensavers-pixelcity.desktop</Filename>
    <Filename>screensavers-drempels.desktop</Filename>
    <Filename>screensavers-euphoria.desktop</Filename>
    <Filename>screensavers-feedback.desktop</Filename>
    <Filename>screensavers-fieldlines.desktop</Filename>
    <Filename>screensavers-flocks.desktop</Filename>
    <Filename>screensavers-flux.desktop</Filename>
    <Filename>screensavers-helios.desktop</Filename>
    <Filename>screensavers-hufo_smoke.desktop</Filename>
    <Filename>screensavers-hufo_tunnel.desktop</Filename>
    <Filename>screensavers-hyperspace.desktop</Filename>
    <Filename>screensavers-lattice.desktop</Filename>
    <Filename>screensavers-lorenz.desktop</Filename>
    <Filename>screensavers-matrixview.desktop</Filename>
    <Filename>screensavers-plasma.desktop</Filename>
    <Filename>screensavers-skyrocket.desktop</Filename>
    <Filename>screensavers-solarwinds.desktop</Filename>
    <Filename>screensavers-spirographx.desktop</Filename>
    <Filename>screensavers-sundancer2.desktop</Filename>
    </Layout>
    </Menu>
    <Menu>
    <Name>.hidden</Name>
    <Include>
    <Filename>wine-Programy-4shared Service-4shared Uploader.desktop</Filename>
    <Filename>wine-Programy-K-Lite Codec Pack-Configuration-AC3Filter.desktop</Filename>
    <Filename>wine-Programy-AutoCAD R14-AutoCAD R14.desktop</Filename>
    <Filename>wine-Programy-K-Lite Codec Pack-Tools-Xvid StatsReader.desktop</Filename>
    <Filename>wine-Programy-AutoHotkey-AutoHotkey.desktop</Filename>
    <Filename>wine-Programy-AutoCAD R14-AutoCAD Readme.desktop</Filename>
    <Filename>wine-Programy-Larian Studios-Beyond Divinity Demo-Configuration.desktop</Filename>
    <Filename>wine-Programy-K-Lite Codec Pack-Configuration-Cyberlink MPEG-2 decoder.desktop</Filename>
    <Filename>wine-Programy-DeliPlayer-DeliPlayer.desktop</Filename>
    <Filename>wine-Programy-Miranda IM-Database Tool.desktop</Filename>
    <Filename>wine-Programy-Free Download Manager-Documentation.desktop</Filename>
    <Filename>wine-Programy-K-Lite Codec Pack-Configuration-DirectVobSub.desktop</Filename>
    <Filename>wine-Programy-AviSynth 2.5-Folder wtyczek.desktop</Filename>
    <Filename>wine-Programy-Atmel AVR Tools-AVR QTouch Studio.desktop</Filename>
    <Filename>wine-Programy-Audacity.desktop</Filename>
    <Filename>wine-Programy-AviSynth 2.5-Angielska dokumentacja.desktop</Filename>
    <Filename>wine-Programy-AutoHotkey-AutoIt3 Window Spy.desktop</Filename>
    <Filename>wine-Programy-SubEdit-Player-SubEdit Pomoc.desktop</Filename>
    <Filename>wine-Programy-AutoHotkey-AutoHotkey Help File.desktop</Filename>
    <Filename>wine-Programy-AutoHotkey-AutoScriptWriter (recorder).desktop</Filename>
    <Filename>wine-Programy-Atmel AVR Tools-AVR Battery Studio.desktop</Filename>
    <Filename>wine-Programy-Startup-ST5UNST Uninstaller.desktop</Filename>
    <Filename>wine-Programy-Borland Delphi 7-Help-Error Messages & Warnings.desktop</Filename>
    <Filename>wine-Programy-Free Download Manager-Free Download Manager.desktop</Filename>
    <Filename>wine-Programy-Free Download Manager-FDM remote control server.desktop</Filename>
    <Filename>wine-Programy-Free Download Manager-Free Download Manager on the Web.desktop</Filename>
    <Filename>wine-Programy-Free Download Manager-Free Upload Manager.desktop</Filename>
    <Filename>wine-Programy-WSCAD 5.0-Instalacja.desktop</Filename>
    <Filename>wine-Programy-MySQL Oracle Import, Export & Convert Software-MySQL Oracle Import, Export & Convert Software.desktop</Filename>
    <Filename>wine-Programy-WSCAD 5.0-Pierwsze kroki.desktop</Filename>
    <Filename>wine-Programy-WSCAD 5.0-Pomoc online.desktop</Filename>
    <Filename>wine-Programy-Fallout Saga DVD-Fallout-Dokumentacja-Pomoc techniczna offline.desktop</Filename>
    <Filename>wine-Programy-Unreal-Play Unreal.desktop</Filename>
    <Filename>wine-Programy-Fallout Saga DVD-Fallout-Dokumentacja-Poradnik do gry (trzynasty schron).desktop</Filename>
    <Filename>wine-Programy-WSCAD 5.0-Readme.desktop</Filename>
    <Filename>wine-Programy-Unreal-Information-Release Notes.desktop</Filename>
    <Filename>oraclexe-runsql.desktop</Filename>
    <Filename>alacarte-made.desktop</Filename>
    <Filename>Shareaza.desktop</Filename>
    <Filename>wine-Programy-Fallout Saga DVD-Fallout-Dokumentacja-Słownik Fallout.desktop</Filename>
    <Filename>oraclexe-startdb.desktop</Filename>
    <Filename>wine-Programy-WSCAD 5.0-Szkolna.desktop</Filename>
    <Filename>wine-Programy-Free Download Manager-Uninstall Free Download Manager.desktop</Filename>
    <Filename>wine-Programy-MySQL Oracle Import, Export & Convert Software-Uninstall MySQL Oracle Import.desktop</Filename>
    <Filename>wine-Programy-Unreal-Unreal Editor.desktop</Filename>
    <Filename>wine-Programy-Unreal-Unreal Safe Mode.desktop</Filename>
    <Filename>wine-Programy-Fallout Saga DVD-Fallout-Uruchom grę Fallout.desktop</Filename>
    <Filename>wine-Programy-Fallout Saga DVD-Fallout-Usuń grę Fallout.desktop</Filename>
    <Filename>wine-Programy-WSCAD 5.0-Usuń WSCAD 5.0.desktop</Filename>
    <Filename>wine-Programy-WIBU-KEY-WIBU-KEY Help (English).desktop</Filename>
    <Filename>wine-WinRAR.desktop</Filename>
    <Filename>wine-Programy-WSCAD 5.0-WSCAD File Viewer.desktop</Filename>
    <Filename>wine-Programy-WSCAD 5.0-Przejęcie danych.desktop</Filename>
    </Include>
    </Menu>
    <Menu>
    <Name>wine-wine</Name>
    <Menu>
    <Name>wine-Programy</Name>
    <Layout>
    <Merge type="menus"/>
    <Menuname>wine-Programy-Bulk Rename Utility</Menuname>
    <Menuname>wine-Programy-K-Lite Codec Pack</Menuname>
    <Menuname>wine-Programy-Microsoft Office</Menuname>
    <Menuname>wine-Programy-PowerISO</Menuname>
    <Menuname>wine-Programy-Shareaza</Menuname>
    <Menuname>wine-Programy-Startup</Menuname>
    <Menuname>wine-Programy-TED Notepad</Menuname>
    <Menuname>wine-Programy-WinRAR</Menuname>
    <Menuname>wine-Programy-WinUAE</Menuname>
    <Menuname>wine-Programy-XnView</Menuname>
    <Menuname>wine-Programy-Xvid</Menuname>
    <Merge type="files"/>
    <Filename>wine-Programy-Windows Media Player.desktop</Filename>
    </Layout>
    <Menu>
    <Name>wine-Programy-Startup</Name>
    <Layout/>
    <Exclude>
    <Filename>wine-Programy-Startup-ST5UNST Uninstaller.desktop</Filename>
    </Exclude>
    </Menu>
    <Deleted/>
    <Menu>
    <Name>wine-Programy-4shared Service</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-Atari</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-Atmel AVR Tools</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-AutoCAD R14</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-AutoCAD R14.0 - odinstalowanie</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-AutoHotkey</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-Black Isle</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-Borland Delphi 7</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-Bullfrog</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-DeliPlayer</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-Diablo</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-DreamCatcher</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-EuroPlus+ Angielski z Cambridge</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-femm 4.2</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-Heroes of Might and Magic III</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-Intelligent Converters</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-Interplay</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-xp-AntiSpy</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-Winamp</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-Unreal Antologia</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-SubEdit-Player</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-Sierra</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-NAPI-PROJEKT</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-Miranda IM</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-MicroSim Eval 8</Name>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>wine-Programy-Larian Studios</Name>
    <Deleted/>
    </Menu>
    </Menu>
    <Menu>
    <Name>wine-Programs</Name>
    <Deleted/>
    </Menu>
    <Include>
    <Filename>wine-winecfg.desktop</Filename>
    <Filename>dysk C.desktop</Filename>
    </Include>
    <Layout>
    <Merge type="menus"/>
    <Menuname>Programy</Menuname>
    <Merge type="files"/>
    <Filename>dysk C.desktop</Filename>
    <Filename>wine-winecfg.desktop</Filename>
    <Filename>wine-Nowy dokument Office.desktop</Filename>
    <Filename>wine-Otwórz dokument Office.desktop</Filename>
    </Layout>
    <Menu>
    <Name>Programy</Name>
    <NotDeleted/>
    <Layout>
    <Merge type="files"/>
    <Filename>TEDNotepad.desktop</Filename>
    </Layout>
    <Include>
    <Filename>TEDNotepad.desktop</Filename>
    </Include>
    </Menu>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>Programy</Name>
    <Directory>Programy.directory</Directory>
    </Menu>
    <Move>
    <Old>Programy/</Old>
    <New>wine-wine/Programy/</New>
    </Move>
    <Layout>
    <Merge type="menus"/>
    <Menuname>Programy</Menuname>
    <Menuname>Office</Menuname>
    <Menuname>Education</Menuname>
    <Menuname>Graphics</Menuname>
    <Menuname>Games</Menuname>
    <Menuname>Internet</Menuname>
    <Menuname>Multimedia</Menuname>
    <Menuname>Utilities</Menuname>
    <Menuname>Development</Menuname>
    <Menuname>Science</Menuname>
    <Menuname>System</Menuname>
    <Menuname>Settingsmenu</Menuname>
    <Menuname>Arch Linux</Menuname>
    <Menuname>Applications</Menuname>
    <Merge type="files"/>
    <Filename>kde4-Help.desktop</Filename>
    <Filename>kde4-kfind.desktop</Filename>
    </Layout>
    </Menu>
    applications.menu
    <!DOCTYPE Menu
    PUBLIC '-//freedesktop//DTD Menu 1.0//EN'
    'http://standards.freedesktop.org/menu-spec/menu-1.0.dtd'>
    <Menu>
    <Name>Applications</Name>
    <MergeFile type="parent">/etc/xdg/menus/applications.menu</MergeFile>
    <Menu>
    <Name>System</Name>
    <DirectoryDir>/home/bagheera/.local/share/desktop-directories</DirectoryDir>
    </Menu>
    <Menu>
    <Name>Development</Name>
    <DirectoryDir>/home/bagheera/.local/share/desktop-directories</DirectoryDir>
    <Include>
    <Filename>python2.5.desktop</Filename>
    </Include>
    <AppDir>/home/bagheera/.local/share/applications</AppDir>
    </Menu>
    <Menu>
    <Name>Other</Name>
    <DirectoryDir>/home/bagheera/.local/share/desktop-directories</DirectoryDir>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>alacarte-made</Name>
    <Directory>alacarte-made.directory</Directory>
    <Deleted/>
    </Menu>
    <DefaultLayout inline="false"/>
    <Menu>
    <Name>alacarte-made-1</Name>
    <Directory>alacarte-made-1.directory</Directory>
    <Deleted/>
    </Menu>
    <Menu>
    <Name>Multimedia</Name>
    <Include>
    <Filename>cdemu-client.desktop</Filename>
    </Include>
    <AppDir>/home/bagheera/.local/share/applications</AppDir>
    <Include>
    <Filename>vumeter.desktop</Filename>
    </Include>
    </Menu>
    <Menu>
    <Name>Office</Name>
    <Include>
    <Filename>ooo-math.desktop</Filename>
    </Include>
    <AppDir>/home/bagheera/.local/share/applications</AppDir>
    </Menu>
    <Menu>
    <Name>wine-wine</Name>
    <Menu>
    <Name>wine-Programs</Name>
    <DirectoryDir>/home/bagheera/.local/share/desktop-directories</DirectoryDir>
    </Menu>
    <Menu>
    <Name>wine-Programy</Name>
    <Menu>
    <Name>wine-Programy-4shared Service</Name>
    </Menu>
    <Menu>
    <Name>wine-Programy-AutoCAD R14</Name>
    </Menu>
    <Menu>
    <Name>wine-Programy-AutoCAD R14.0 - odinstalowanie</Name>
    </Menu>
    <Menu>
    <Name>wine-Programy-MicroSim Eval 8</Name>
    </Menu>
    <Menu>
    <Name>wine-Programy-Miranda IM</Name>
    </Menu>
    <Include>
    <Filename>EuroPlus+ Angielski z Cambridge.desktop</Filename>
    </Include>
    <Menu>
    <Name>wine-Programy-Intelligent Converters</Name>
    </Menu>
    <Include>
    <Filename>WinRAR.desktop</Filename>
    </Include>
    <Include>
    <Filename>TED Notepad.desktop</Filename>
    </Include>
    <Include>
    <Filename>Shareaza.desktop</Filename>
    </Include>
    <Menu>
    <Name>wine-Programy-WinRAR</Name>
    </Menu>
    <Menu>
    <Name>wine-Programy-TED Notepad</Name>
    </Menu>
    <Menu>
    <Name>wine-Programy-Shareaza</Name>
    </Menu>
    <Menu>
    <Name>wine-Programy-EuroPlus+ Angielski z Cambridge</Name>
    </Menu>
    <Menu>
    <Name>wine-Programy-Atari</Name>
    <Menu>
    <Name>wine-Programy-Atari-Temple of Elemental Evil</Name>
    </Menu>
    </Menu>
    <Menu>
    <Name>wine-Programy-WinUAE</Name>
    </Menu>
    <Menu>
    <Name>wine-Programy-PowerISO</Name>
    </Menu>
    <Menu>
    <Name>wine-Programy-NAPI-PROJEKT</Name>
    </Menu>
    <Menu>
    <Name>wine-Programy-femm 4.2</Name>
    </Menu>
    <Menu>
    <Name>wine-Programy-Diablo</Name>
    </Menu>
    <Menu>
    <Name>wine-Programy-Heroes of Might and Magic III</Name>
    </Menu>
    <Menu>
    <Name>wine-Programy-Xvid</Name>
    </Menu>
    </Menu>
    <AppDir>/home/bagheera/.local/share/applications</AppDir>
    <Exclude>
    <Filename>wine-µTorrent.desktop</Filename>
    </Exclude>
    </Menu>
    <Menu>
    <Name>Education</Name>
    <Include>
    <Filename>alacarte-made.desktop</Filename>
    </Include>
    </Menu>
    </Menu>
    K, i got it!
    I have removed all files from ~/.config/menus/ except applications-kmenuedit.menu, and removed all sections from file except first *menu:
    <!DOCTYPE Menu PUBLIC '-//freedesktop//DTD Menu 1.0//EN' 'http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd'>
    <Menu>
    <Menu>
    <Name>Development</Name>
    <Include>
    <Filename>pyCrust.desktop</Filename>
    <Filename>IDLE.desktop</Filename>
    </Include>
    <Layout>
    <Merge type="files" />
    <Filename>IDLE.desktop</Filename>
    <Filename>pyCrust.desktop</Filename>
    <Merge type="menus" />
    <Menuname>Web Development</Menuname>
    <Menuname>Translation</Menuname>
    <Menuname>X-KDE-KDevelopIDE</Menuname>
    <Filename>kde4-cervisia.desktop</Filename>
    <Filename>CMake.desktop</Filename>
    <Filename>geany.desktop</Filename>
    <Filename>java-monitoring-and-management-console.desktop</Filename>
    <Filename>java-visualvm.desktop</Filename>
    <Filename>kde4-kcachegrind.desktop</Filename>
    <Filename>kde4-kompare.desktop</Filename>
    <Filename>kde4-akonadiconsole.desktop</Filename>
    <Filename>kde4-kuiviewer.desktop</Filename>
    <Filename>netbeans.desktop</Filename>
    <Filename>kde4-kbugbuster.desktop</Filename>
    <Filename>assistant.desktop</Filename>
    <Filename>designer.desktop</Filename>
    <Filename>kde4-kapptemplate.desktop</Filename>
    <Filename>kde4-umbrello.desktop</Filename>
    </Layout>
    </Menu>
    </Menu>
    *contents may vary
    Now i have wine menu back :]
    Last edited by bagheera (2010-03-15 13:01:08)

    faxmanloveswaffles wrote:bump?
    Please don't do that. Please read the Forum Etiquette, in particular the section on bumping:
    Posting a single word or useless message (bumping) to attract attention to your thread is not allowed. Do your own research, continue to troubleshoot, post the results, and be patient with the community. If people are reading your thread without answering or offering help, you may try supplying more details, or ask to be pointed in the right direction. Often, the reason for posts remaining unanswered is due in large part to the sparse details in the original post itself, or, the obvious availability of solutions in the wiki, on the forum or on the web, and the community's unwillingness to point out the obvious.
    Last edited by 2ManyDogs (2012-10-28 19:47:06)

  • [Solved]Customizing Grub

    I have changed the grub menu font color to my taste by editing /etc/defult/grub file. However I have found that the font color for the text outside the menu-box do NOT change. How can I change those as well? The default font color is light-gray and so is my Wallpaper/image color, I can't see the text outside the box.
    I have looked around but did that didn't help. This can be changed in Debian based distros by editing /etc/grub.d/05_debian_theme. Since there is no such file here I am lost. I am sure it can be done.
    Any pointers will be most welcome.
    regards..
    Last edited by fantab (2013-05-23 17:02:26)

    youngunix wrote:
    teateawhy wrote:
    youngunix wrote:The best utility to achieve what you need is grub-customizer.
    Be careful when writing to MBR, for example, my machine has 2 HDD; one for Ubuntu and one for Arch, I kept on forgetting that Arch is sda and Ubuntu sdb, so whenever I change the settings in grub-customizer for Ubuntu I wrote them to sda instead of sdb. Maaan, I did that twice and it was a pain to get Arch back up and running.
    Citiing from the archforums:
    As an aside,  I used to use Grub Customizer with a different distro (that I used to control grub for all of my O/S's, including Arch).
    FWIW I found it to more work that it was worth in the end.  I ended up always having to run it manually after the distro did its own update and update-grub.  Eventually, the amount of customizing that grub customizer did made it cumbersome to adjust after the distro ran update-grub.  It just because a headache and one more thing to remember to do.
    Additionally, it takes over and re-writes your grub files, in such a way that they still work with grub-update, but they produce odd menus (so you becomes locked to grub customizer.
    Eventually, I wised up, and realized it wasn't worth the trouble, unloaded GC, restored the original Grub files from another distro that still had them untouched.  This makes managing grub 100% easier all by itself.
    Then, noting that the only entry that ever actually needed updating was the one that was running grub, I ran update-grub once, got the menu entries, put them in the custom entries file, then disabled all of the grub files except for the Linux one.  Now update-grub only updates the ubuntu entry when it changes kernels, and has my other distros just as they always are.  AND, grub makes as nice a menu as Grub Customizer does.
    (BURG tries to take over everything as well - if you've considered that one)
    Seriously, grub works fine by itself and it's not worth the trouble to use grub customizer.  I suspect it made more sense before grub2 became as advanced in capability as it is now.
    FWIW
    It works perfect for me and it does what I need it to.
    I wrote the original warning and stand behnd it.  It alters your grub scripts in a way that is not easily reversible (meaning you have to reinstall them from fresh untouched ones).  So once you start using GC, you have to KEEP using it, because the regular grun updater will not always work properly with the altered scripts.
    These days, grub makes as nice a menu as GC, so what's the point of the added headache?

  • [Solved]GNU GRUB 1.99 just sits there

    It just sits there and doesn't auto start unless I choose a boot option, I have no idea where to look to fix it either. I can either select Arch or the backup, no matter how long I let it sit there, I can hit enter and then it goes through the boot up, it is not game breaking, but the point of the system is mainly to be used remotely. If for any reason I reboot it, I need to go to it and attach a keyboard to press enter and continue. Any thoughts?
    EDIT:
    Fixed it by using regular parted and then regular grub instead of 2.
    Last edited by Never (2011-12-25 00:42:36)

    My original /etc/default/grub:
    GRUB_DEFAULT=0
    GRUB_TIMEOUT=5
    GRUB_DISTRIBUTOR="Arch Linux"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    GRUB_CMDLINE_LINUX=""
    # Preload both GPT and MBR modules so that they are not missed
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    # Uncomment to enable Hidden Menu, and optionally hide the timeout count
    #GRUB_HIDDEN_TIMEOUT=5
    #GRUB_HIDDEN_TIMEOUT_QUIET=true
    # Uncomment to use basic console
    GRUB_TERMINAL_INPUT=console
    # Uncomment to disable graphical terminal
    #GRUB_TERMINAL_OUTPUT=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE=auto
    # Uncomment to allow the kernel use the same resolution used by grub
    GRUB_GFXPAYLOAD_LINUX=keep
    # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
    # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    GRUB_DISABLE_RECOVERY=true
    # Uncomment and set to the desired menu colors. Used by normal and wallpaper
    # modes only. Entries specified as foreground/background.
    GRUB_COLOR_NORMAL="light-blue/black"
    GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
    # Uncomment one of them for the gfx desired, a image background or a gfxtheme
    #GRUB_BACKGROUND="/path/to/wallpaper"
    #GRUB_THEME="/path/to/gfxtheme"
    # Uncomment to get a beep at GRUB start
    #GRUB_INIT_TUNE="480 440 1"
    my original /boot/grub/grub.cfg:
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    set default="0"
    insmod part_gpt
    insmod part_msdos
    # Include fat fs module - required for uefi systems.
    insmod fat
    insmod ext2
    insmod ext2
    insmod search_fs_file
    insmod search_fs_uuid
    insmod search_label
    insmod linux
    insmod chain
    set pager=1
    set locale_dir=${prefix}/locale
    # DEVICE DETAILS: /dev/hda3 UUID=cb37554d-a6ed-438c-b07e-189a1e873f00 LABEL=BOOT_ARCH
    # DEVICE DETAILS: /dev/hda4 UUID=ca19f354-f367-4626-bea4-af5909a37aab LABEL=SWAP_ARCH
    # DEVICE DETAILS: /dev/hda5 UUID=6e0e7ba8-6268-4791-9638-8630da290149 LABEL=ROOT_ARCH
    # DEVICE DETAILS: /dev/hda6 UUID=7df146c7-8db1-49ce-98bd-64aaa35eb522 LABEL=HOME_ARCH
    # (0) Arch Linux
    menuentry "Arch Linux" {
    search --fs-uuid --no-floppy --set=root cb37554d-a6ed-438c-b07e-189a1e873f00
    linux /vmlinuz26-lts root=/dev/disk/by-uuid/6e0e7ba8-6268-4791-9638-8630da290149 rootfstype=ext3 ro add_efi_memmap
    initrd /kernel26-lts.img
    # (1) Arch Linux Fallback
    menuentry "Arch Linux Fallback" {
    search --fs-uuid --no-floppy --set=root cb37554d-a6ed-438c-b07e-189a1e873f00
    linux /vmlinuz26-lts root=/dev/disk/by-uuid/6e0e7ba8-6268-4791-9638-8630da290149 rootfstype=ext3 ro add_efi_memmap
    initrd /kernel26-lts-fallback.img
    ## (2) Windows BIOS
    ## Will work only in grub2 bios
    #menuentry \"Microsoft Windows 7 BIOS-MBR\" {
    # insmod part_msdos
    # insmod ntfs
    # insmod search_fs_uuid
    # insmod ntldr
    # search --fs-uuid --no-floppy --set=root 69B235F6749E84CE
    # ntldr ()/bootmgr
    ## (3) Windows x86_64 UEFI
    ## Will work only in grub2 uefi x86_64
    #menuentry \"Microsoft Windows x86_64 UEFI-GPT\" {
    # insmod part_gpt
    # insmod fat
    # insmod search_fs_uuid
    # insmod chain
    # search --fs-uuid --no-floppy --set=root 1CE5-7F28
    # chainloader ()/efi/Microsoft/Boot/bootmgfw.efi
    I don't know why I have the "# Include fat fs module - required for uefi systems." parts, I don't have a UEFI system, but I did let the software auto partition the drive.
    new grub.cfg after sudo grub-mkconfig -o /boot/grub/grub.cfg:
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    set default="0"
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    set menu_color_normal=light-blue/black
    set menu_color_highlight=light-cyan/blue
    insmod part_gpt
    insmod ext2
    set root='(hd0,gpt5)'
    search --no-floppy --fs-uuid --set=root 6e0e7ba8-6268-4791-9638-8630da290149
    if loadfont /usr/share/grub/unicode.pf2 ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    insmod part_gpt
    insmod ext2
    set root='(hd0,gpt3)'
    search --no-floppy --fs-uuid --set=root cb37554d-a6ed-438c-b07e-189a1e873f00
    set locale_dir=($root)/grub/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    set timeout=5
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Arch Linux, with Linux vmlinuz26-lts' --class archlinux --class gnu-linux --class gnu --class os {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='(hd0,gpt3)'
    search --no-floppy --fs-uuid --set=root cb37554d-a6ed-438c-b07e-189a1e873f00
    echo 'Loading Linux vmlinuz26-lts ...'
    linux /vmlinuz26-lts root=UUID=6e0e7ba8-6268-4791-9638-8630da290149 ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /kernel26-lts.img
    menuentry 'Arch Linux, with Linux vmlinuz26-lts Fallback' --class archlinux --class gnu-linux --class gnu --class os {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='(hd0,gpt3)'
    search --no-floppy --fs-uuid --set=root cb37554d-a6ed-438c-b07e-189a1e873f00
    echo 'Loading Linux vmlinuz26-lts ...'
    linux /vmlinuz26-lts root=UUID=6e0e7ba8-6268-4791-9638-8630da290149 ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /kernel26-lts-fallback.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    It flashed welcome to grub and then immediately went to black, so now I can't access the system at all.

  • How to add a new right-click menu entry in Nautilus file browser?

    I want to add a couple of new context menu entries to Nautilus File Browser.
    So when I e.g. right-click in View Pane on a file "foobar.conf" an menu entry "edit with gedit" should appear (among the other default entries).
    When clicked the file "foobar.conf" should be passed to gedit (and gedit editor opened).
    How can I achieve this?
    Under Ubuntu there are nautilus-actions but when I try to install them in Solaris with
    pkg install nautilus-actions
    then this package is not found.
    How else can I create my own context menues?
    I would appreciate to have one script with all my context menus, which when run add them all in one step.

    To manage selected files or directories, you can use specific Nautilus variables like NAUTILUS_SCRIPT_SELECTED_FILE_PATHS.
    For more details and which variables exist, please read the content of the following URL :
    Nautilus File Manager Scripts: Questions and Answers

  • [solved] remove grub timeout doesn't work

    i am trying to remove the grub timeout by editing /etc/default/grub and setting grub_timeout to 0, but it doesn't work, is there anything else i should change?
    p.s. should i run grub-mkconfig?
    Last edited by aldoiljazi (2013-09-18 07:35:11)

    okay i run 'sudo grub-mkconfig'
    this is my /etc/default/grub
    GRUB_DEFAULT=0
    GRUB_TIMEOUT=0
    GRUB_DISTRIBUTOR="Arch"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    GRUB_CMDLINE_LINUX=""
    # Preload both GPT and MBR modules so that they are not missed
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    # Uncomment to enable Hidden Menu, and optionally hide the timeout count
    #GRUB_HIDDEN_TIMEOUT=5
    #GRUB_HIDDEN_TIMEOUT_QUIET=true
    # Uncomment to use basic console
    GRUB_TERMINAL_INPUT=console
    # Uncomment to disable graphical terminal
    #GRUB_TERMINAL_OUTPUT=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE=auto
    # Uncomment to allow the kernel use the same resolution used by grub
    GRUB_GFXPAYLOAD_LINUX=keep
    # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
    # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    GRUB_DISABLE_RECOVERY=true
    # Uncomment and set to the desired menu colors. Used by normal and wallpaper
    # modes only. Entries specified as foreground/background.
    #GRUB_COLOR_NORMAL="light-blue/black"
    #GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
    # Uncomment one of them for the gfx desired, a image background or a gfxtheme
    #GRUB_BACKGROUND="/path/to/wallpaper"
    #GRUB_THEME="/path/to/gfxtheme"
    # Uncomment to get a beep at GRUB start
    #GRUB_INIT_TUNE="480 440 1"
    #GRUB_SAVEDEFAULT="true"
    and this is my /boot/grub/grub.cfg
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 6b44daaa-610c-4f23-a632-569d091e4d43
    else
    search --no-floppy --fs-uuid --set=root 6b44daaa-610c-4f23-a632-569d091e4d43
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    set timeout=5
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-6b44daaa-610c-4f23-a632-569d091e4d43' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 6b44daaa-610c-4f23-a632-569d091e4d43
    else
    search --no-floppy --fs-uuid --set=root 6b44daaa-610c-4f23-a632-569d091e4d43
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /boot/vmlinuz-linux root=UUID=6b44daaa-610c-4f23-a632-569d091e4d43 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    ### BEGIN /etc/grub.d/60_memtest86+ ###
    ### END /etc/grub.d/60_memtest86+ ###
    p.s. i didn't think you needed those, because i thought they had default values.
    edit: i guess i need 'grub-mkconfig -o /boot/grub/grub.cfg '
    Last edited by aldoiljazi (2013-09-18 07:31:39)

  • Can't find the wine menu anymore :(

    Hi,
    I've been playing around with my Wine menu, and somehow managed it, to remove it. Unfortunately I can't get it back again now .
    Beforehand every windows setup that has installed start menu entries has created its entried in the "Applications -> Wine" menu, but now this menu is gone.
    Although the applications still create .desktop files in "/home/johnpatcher/.local/share/applications/wine/", they aren't shown in my "Applications" menu anymore. How can I fix this?
    Best regards
    johnpatcher

    Could fix the problem by removing wine completly (according to this guide) and re-installing it. This way I have to re-install all of my applications, but that is probably faster than struggling around with my applications.menu. I guess alacarte sucks a little bit, when it comes down to manually change the menu file(s) afterwards.
    Last edited by johnpatcher (2009-10-24 11:11:07)

  • Executing a programm through a new menu entry

    hello,
    I am new to abap and wanted to know how to execute any abap program by linking it to a new menu entry.
    Through the tx SE41 i was able to create new entry in an existing menu.Buth entry is disabled.
    I have also an executable program.
    I want this programm to get executed whenever i click to that menu option.
    please tell the step wise process to establish this process.
    Thanks

    ThanksDzed,
    I have created the transaction code for the program. can this transaction code be linked with the menu entry?
    How?
    What fields i need to fill in edit menu to activate the menu entry.

  • Satellite L650-10H - Multiple Win 7 entries in boot manager

    I have Toshiba Satellite L650-10H and i recently reinstalled my Win 7 64-bit.
    There is no problem at all except that at the notebook start i get this [http://tinypic.com/r/se7uja/6] .
    3 Win 7 entries in the boot manager
    I have to always choose the first one and everything is fine.
    Its like the old copy of win didnt remove although a i have formated the discs...
    Is there any option to get rid of it?
    I dont mind reinstalling again if i know it will help .

    > Just wonder if i remove the program after i made the changes, will it stay or it will pop up again at startup?
    No, the changes will stay.
    > And the second problem is that it solved my problem just partially.
    >I would like to somehow remove the 2 copies of Win that i dont need if it is possible.
    >This program just "hide" them.
    I assume you installed both OS on different partitions right?
    In such case just remove/delete the partition where the other Win 7 systems are installed.
    You can do that in Disk Management (right click on My Computer -> Manage -> Disk Management)

  • WAD - adding menu entries with JavaScript - help please!

    Hiya,
    I am completely new to JavaScript and I need some help with adding menu entries into my WAD template. Can anyone please help?
    I want to add functionality into my WAD template to enable users adding results rows on a selected characteristic, at a single mouse click. Currently they need to go to the menu -> properties -> characteristic -> display results -> always -> ok. That's five clicks of a mouse (provided they know were to go).
    I want to add this option to the basic menu so that they can click once only.
    What I have managed to figure out so far using SAP help is the following. I have added a Script Item into my WAD Layout and added the following line of code in the Script Editing window:
    sapbi_addToMenu("Add totals", "alternate_context_menu", "X","CHARACTERISTIC", "", "bottom", "", "")
    It worked fine in that it added an extra item "Add totals" to my menu when I righclick on a characteristic. So far so good. However, I have no idea what function I should be using here, or how to code it. Surely WAD uses some function to perform this action, something that I could reuse? Is there a library somewhere of all the function used in WAD?
    Can anyone please help with the code?
    Many thanks,
    Agata

    Hiya again,
    I have managed to partially solve this problem by using the following code. However it requires me to define on which characteristic the function is performed. In this case I have managed to get it working on 0PROJECT, but I want it to be ANY characteristic which has been right clicked?
    Any ideas how I can pass the characteristic name as a VARIABLE, whose value would be read automatically when menu is triggered?
    /* Add Contextmenu entries */
    sapbi_addToMenu("Add totals", "JS_SET_RESULT_VISIBILITY_R", "X","CHARACTERISTIC", "", "bottom", "", "")
    * Javascript functions that are to be integrated into a web template and that
    * are to be used later in the web application ALWAYS have to have the same function
    * signature, i.e. the parameters that will be passed.
    * @param currentState - a list of parameters that describe the state the web item
    * @param defaultCommandSequence - the initially used sequence of commands that
    *       would have been used instead of the custom
    *       script.
    function JS_SET_RESULT_VISIBILITY_R( currentState, defaultCommandSequence ){
    //Note: information can be extracted using the parameter 'currentState'
    // and 'defaultCommandSequence'. In either case create your own object
    // of type 'sapbi_CommandSequence' that will be sent to the server.
    // To extract specific values of parameters refer to the following
    // snippet:
    //  var key = currentState.getParameter( PARAM_KEY ).getValue();
    //  alert( "Selected key: " + key );
    // ('PARAM_KEY' refers to any parameter's name)
    //Create a new object of type sapbi_CommandSequence
    var commandSequence = new sapbi_CommandSequence();
      * Create a new object of type sapbi_Command with the command named "SET_RESULT_VISIBILITY"
    var commandSET_RESULT_VISIBILITY_1 = new sapbi_Command( "SET_RESULT_VISIBILITY" );
    /* Create parameter TARGET_DATA_PROVIDER_REF_LIST */
    var paramTARGET_DATA_PROVIDER_REF_LIST = new sapbi_Parameter( "TARGET_DATA_PROVIDER_REF_LIST", "" );
    var paramListTARGET_DATA_PROVIDER_REF_LIST = new sapbi_ParameterList();
    // Create parameter TARGET_DATA_PROVIDER_REF
    var paramTARGET_DATA_PROVIDER_REF1 = new sapbi_Parameter( "TARGET_DATA_PROVIDER_REF", "DP_1" );
    paramListTARGET_DATA_PROVIDER_REF_LIST.setParameter( paramTARGET_DATA_PROVIDER_REF1, 1 );
      // End parameter TARGET_DATA_PROVIDER_REF!
    paramTARGET_DATA_PROVIDER_REF_LIST.setChildList( paramListTARGET_DATA_PROVIDER_REF_LIST );
    commandSET_RESULT_VISIBILITY_1.addParameter( paramTARGET_DATA_PROVIDER_REF_LIST );
    /* End parameter TARGET_DATA_PROVIDER_REF_LIST */
    /* Create parameter CHARACTERISTIC */
    var paramCHARACTERISTIC = new sapbi_Parameter( "CHARACTERISTIC", "0PROJECT" );
    commandSET_RESULT_VISIBILITY_1.addParameter( paramCHARACTERISTIC );
    /* End parameter CHARACTERISTIC */
    /* Create parameter RESULT_VISIBILITY */
    var paramRESULT_VISIBILITY = new sapbi_Parameter( "RESULT_VISIBILITY", "VISIBLE" );
    commandSET_RESULT_VISIBILITY_1.addParameter( paramRESULT_VISIBILITY );
    /* End parameter RESULT_VISIBILITY */
    // Add the command to the command sequence
    commandSequence.addCommand( commandSET_RESULT_VISIBILITY_1 );
      * End command commandSET_RESULT_VISIBILITY_1
    //Send the command sequence to the server
        return sapbi_page.sendCommand( commandSequence );

Maybe you are looking for