Fluxbox menu to Openbox menu

Do you now some program to transform fluxboxmenu config to openboxmenu config?:|

I don't think there is such a thing, but there are menu generators, just search around in the repos.
Although I would recommend you make your own menu. You can use obmenu, it's a nice GUI tool for making openbox menus.
pacman -Sy obmenu

Similar Messages

  • Closing the fluxbox menu

    In openbox, if I open the menu and then click an open window, the openbox menu closes.  In fluxbox, the fluxbox menu stays open.
    Is there an init option I can add to change the fluxbox menu to behave like the openbox one?

    yes, annoying...
    as semi-fix you can bind a key to open and close the menu (e.g., that unsed windows key):
    keycode :ToggleCmd {RootMenu} {hideMenus}
    this also lets you open the menu from inside another window.
    Last edited by hokasch (2008-08-20 01:30:38)

  • About fluxbox menu

    how do I make fluxbox menu like this
    Is it possible? thax

    Do you know for sure this is fluxbox?  It looks like it could be openbox, really it could be either.  I have done alot of research on fluxbox theming options but did  not find anything like that yet.  Really slick though.  I'd like to know too.
    edit: come to think of it, It kind of looks like compiz.  The 2 smaller windows in the top left look similar to the shelf plug in.  The taskbar at the bottom looks like tint2 but that could be used with any wm.
    Last edited by empthollow (2011-11-23 00:16:48)

  • Launching commands in a shell via the Fluxbox menu?

    Is there a way I can configure ~/.fluxbox/menu so I can launch command-line progs in a shell?  For example, running jackd - I want to see the output in a shell as it runs.

    With xterm, if you don't want the terminal to close when the application finishes, add the -hold flag.
    But I cannot figure out how to get the following behavior via a single command:
    1. open new terminal with a shell
    2. execute a command under that shell
    with the shell staying open for further commands.
    That must be possible. Can I get a handle on the new shell and then pipe input to it? I don't really care if the shell is a login shell or inherits my current environment.

  • Can't start OpenOffice with Gtk widgets from fluxbox menu

    Hi!
    I have changed my .bashrc file according to this: http://bbs.archlinux.org/viewtopic.php? … office+gtk and this http://bbs.archlinux.org/viewtopic.php? … office+gtk , but I have a little problem. If I start it from console it works, but if I start it from fluxbox menu, by the same commands ("soffice", or "soffice -writer", etc.), it has it's default look back. I'm using fluxbox 0.9.14 and OpenOffice.org 2.0.
    Thanks for any advice.

    tomk wrote:
    I've always been a bit puzzled by this, I have to admit. I have  stuff in my .bashrc which works as expected in a terminal, but is not accessible through xfce - in other words, I can't use it in xfce's menu. My OOo export statement, on the other hand, is in /etc/profile, and it works fine. Try it there, and see if it makes any difference - remember to logout and login again.
    Putting it in /usr/bin/soffice will work, of course, but the change will get overwritten every time there's an upgrade.
    I'm no expert but I believe .bashrc gets read every time you open a new terminal, whereas profile gets read on startup . . . so profile is basically global, whereas .bashrc is mainly for virtual terminals.  At least I have noticed the same thing, that .bashrc doesn't apply to window manager stuff.

  • How do i shutdown completely from fluxbox menu?

    ive been searching all over but i cant find anything about how to do this
    i figured someone here must know
    also is there a way to do it without root password?

    Yes, i found a method for this (with menu dialog and all xD):
    1° Add your user to sudoers with full permissions for shutdown, reboot, and halt commands. In terminal, type:
    su
    visudo
    and add these lines:
    your_user ALL=(ALL) NOPASSWD:/sbin/shutdown
    your_user ALL=(ALL) NOPASSWD:/sbin/halt
    your_user ALL=(ALL) NOPASSWD:/sbin/reboot
    write and save.
    2° I use a menu dialog, make with zenity, look like this:
    http://img4.imageshack.us/img4/6530/screenshotgcr.png
    The scripr, called "logout.sh":
    # Filename: logout.sh
    # Purpose: Simple logout script using zenity
    # Authors: OU812 and anticapitalista for antiX
    # Latest change: Sun April 13, 2008.
    #!/bin/sh
    ans=$(zenity --width=40 --height=200 --title="Salir" --list --text "¿Qué deseas hacer?" --radiolist --column "Elige" --column "Acción" TRUE Logout FALSE Reiniciar FALSE Apagar); #echo $ans
    if [ "$ans" = "Logout" ] ; then
    kill -TERM $(xprop -root _BLACKBOX_PID | awk '{print $3}')
    fi
    if [ "$ans" = "Reiniciar" ]; then
    sudo reboot
    fi
    if [ "$ans" = "Apagar" ]; then
    sudo halt
    fi
    change permission and copy to /usr/bin, and  add a fluxbox menu entry for this script You need install zenitiy libraries and thar's all.
    Edit: I copy and translate this script from AntiX distro
    Last edited by superchango (2009-04-14 04:17:42)

  • Thunderbird icon not shown in Fluxbox menu

    I'm running Fluxbox (32-bit Arch), but I have some problem with the Thunderbird icon in the Fluxbox menu:
    "All" other icons are fine. Does anyone know why the T-bird icon refuses to be shown?
    Last edited by pkerwien (2009-07-18 09:12:41)

    Do you mean "Where can I find Fluxbox logo (and graphics, icons, banners, etc)?"? No I haven't. I suspect Fluxbox doesn't like the Thunderbird icon included in the package. I just cannot figure out why...
    Last edited by pkerwien (2009-07-18 15:40:15)

  • Dot files in your fluxbox menu

    I've seen in screenshots that people have short lists of their important dot files linked to in their menu, be it fluxbox or I've seen it most in fvwm. I thought I'd chuck together a little script to make my life easier and here it is if anyone's interested. Just start this from your .xinitrc and add this somewhere to your .fluxbox/menu file:
    [submenu] (dot files)
    [include] (/tmp/.dotfiles)
    [end]
    and the script:
    #!/usr/bin/env python
    import sys
    import os
    import time
    home = os.environ.get('HOME')
    dotfiles = os.listdir(home)
    while 1:
    os.system('touch /tmp/.dotfiles')
    f = open('/tmp/.dotfiles', 'w')
    f.write("[begin]t(dot files)n")
    for file in dotfiles:
    if os.path.isdir( os.path.join(home, file) ) or file[0] != '.':
    pass
    else:
    f.write("t[exec] (%s) {scite %s/%s}n" % ( file, home, file))
    f.write("[end]n")
    f.close()
    time.sleep(5)
    os.system('rm /tmp/.dotfiles')
    As is, it'll open the files in scite but it'd be easy to change to use gedit, kwrite, vim, whatever turns you on

    Quick question:
    I named the little script dot.files   ;-)
    When I run it as a test
    # sh./dot.files
    I get the following error:
    ./dot.files: line 7: syntax error near unexpected token `('
    ./dot.files: line 7: `home = os.environ.get('HOME')'
    When I try that line by itself in my shell
    # home = os.environ.get('HOME')
    I get the following error:
    -bash: syntax error near unexpected token `('
    I know I'm doing 'something' wrong here.  Any idea?
    Thanks!

  • Icons in fluxbox menu

    Dibble might be able to answer this one for me, is it possible to have icons in the root fluxbox menu that are larger than the default (very small)? I've tried a 128x128px PNG just for laughs and it shrunk down. I've compiled flux with support for everything except debug.
    Ta

    As with most pixmaps/images in fluxbox the size of the menu icons is defined by the adjacent font - therefore the larger your font the bigger the icons.  It is the same with window decorations when you use the windows-bevel option, as My XP theme does.
    Crap, eh?

  • Fluxbox menu not working.

    Fluxbox has been working fine on my computer for weeks. I can't think of anything i installed on it recently besides adesklets and conky. It still worked fine for days with those on there. now suddenly when i restarted, fluxbox starts fine, conky and adesklets start fine, and i can right click to get menu, but no applications start. i can't open anything on my menu.

    check the menu file to make sure nothing strange happened to it, i believe its under /home/$username/.fluxbox/menu
    something you might want to consider is making a new file for your menu, like i made a my-menu and just added that to the init file...helps to avoid menu getting all messed up through updates and such.
    just change:
    session.menuFile: ~/.fluxbox/menu
    to:
    session.menuFile: ~/.fluxbox/my-menu
    best of luck
    ~matt
    Last edited by loserveg (2007-05-10 04:21:56)

  • Fluxmenu crashes w/ segmentation fault and empties ~/.fluxbox/menu

    Here are some steps to outline the problem:
    $ cat menu
    # Generated by fluxbox-generate_menu
    # If you read this it means you want to edit this file manually, so here
    # are some useful tips:
    # - You can add your own menu-entries to ~/.fluxbox/usermenu
    # - If you miss apps please let me know and I will add them for the next
    # release.
    # - The -r option prevents removing of empty menu entries and lines which
    # makes things much more readable.
    # - To prevent any other app from overwriting your menu
    # you can change the menu name in ~/.fluxbox/init to:
    # session.menuFile: ~/.fluxbox/my-menu
    [begin] (Fluxbox-1.1.1)
    [encoding] {UTF-8}
    [exec] (xterm) {xterm}
    [exec] () {}
    [submenu] (Editors)
    [exec] (nano) {xterm -e nano}
    [exec] (vi) {xterm -e vi}
    [end]
    [submenu] (System Tools)
    [exec] (top) {xterm -e top}
    [end]
    [submenu] (Fluxbox menu)
    [config] (Configure)
    [submenu] (System Styles) {Choose a style...}
    [stylesdir] (/usr/share/fluxbox/styles)
    [end]
    [submenu] (User Styles) {Choose a style...}
    [stylesdir] (~/.fluxbox/styles)
    [end]
    [workspaces] (Workspace List)
    [commanddialog] (Fluxbox Command)
    [reconfig] (Reload config)
    [restart] (Restart)
    [exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) | xmessage -file - -center}
    [separator]
    [exit] (Exit)
    [end]
    [endencoding]
    [end]
    $
    $ fluxmenu
    I then added a single new menu entry and clicked the 'save' button, which causes fluxmenu to exit with a segmentation fault.
    The menu file still exists but becomes completely empty and useless.
    Right-clicking on the desktop pops up a very small fluxbox menu:
    Fluxbox default menu
    xterm
    Reload Config
    Restart
    Exit
    Why is this happening and how can I get fluxmenu to work correctly?
    Last edited by bpont (2010-03-29 14:13:00)

    I've rebuilt conduit with webkit and GIO support by patching the file defs.py.in in the source directory, however the segfault still occurs on my machine. The only difference is that the run-mozilla.sh error is not given but instead a blank line. Perhaps this is related to a specific plugin not working correctly.
    edit: this is also occuring with conduit 0.3.14 release. I may try the SVN version later today.
    Last edited by iBertus (2009-06-13 19:16:16)

  • Problem starting Rox as "root" in Fluxbox menu

    i am try to run a bash script to start Rox in "root" from the menu in Fluxbox. here is the script,
    #! /bin/bash
    su -c  "rox"
    it runs fine from the console, but from the menu after i enter my password xterm shuts down.
    please help

    why start two threads on this exact topic?
    Please be patient, you got your answer in both threads and its the exact same answer.
    http://bbs.archlinux.org/viewtopic.php?id=41863
    Last edited by jacko (2008-01-05 23:45:36)

  • Is there something like the fluxbox menu without fluxbox?

    I'm running Evilwm as my wm and very much like the minimalism, but lately I've been kind of missing the menu from Fluxbox.
    So I got to wondering if there was something similar out there; i.e. a program that opens a menu on some keycombo (say, control + right mouse. xbindkeys can sort out the details), displays a list of programs that can be launched, and upon either a selection by the user or some escape sequence removes the menu again. Any ideas?

    I dunno about a drop-down style menu like the one found in fluxbox, but I guess you could try out using dmenu after binding it to the key of your choice. It's probably not the best option, but it works nonetheless.

  • Fluxbox Recursive wallpaper menu

    I made this dumb bash script to output a directory and subdirectories in fluxbox menu form.
    #!/bin/bash
    du $1 | cut -f2- | while read i;do
    echo "[submenu] (`echo $i | sed 's/[a-zA-Z]*\///g'`)"
    echo "[wallpapers] (`echo $i`) {$2}"
    echo [end]
    done
    For some reason I cant pipe this sed 's/)/\\)/g' in the first line. I have to pipe the entire script to sed like this
    ./bgscript ~/pictures "Esetroot -a" | sed 's/\()\)\(.*)\)/\\\1\2/ > file
    Any ideas why? also if somebody could also help make the subdirectories appear under the parent directory that would be cool too.

    Not a direct help, but i recently read about obfilebrowser http://aur.archlinux.org/packages.php?ID=28956 It's for fluxbox not openbox but as far as I know they are quite similar. Perhaps a look at the code will help you.
    Regarding the submenus, look here:  http://bbs.archlinux.org/viewtopic.php?id=79274

  • Creating an auto-generating menu for fluxbox

    Fluxbox is one of the best wms for linux. If there's something that could replace any desktop, with low resources consumption, still being accessible and handy, than that's Fluxbox. The thing is when you install Fluxbox for the first time you feel something is lacking. That thing is the possibility of an auto-generating menu. Of course there's
    fluxbox-generate_menu
    and other likewise possibilities  but they kinda fail in doing what they should.   I'm a bit new to programming and even fresher when it comes to scripting in linux but I've though of a script that could do just that as it follows:
    #!/bin/bash
    while true
    do
    men="ArchSoft"
    ver=$(grep "$men" ~/.fluxbox/menu | sed 's/.*(//; s/).*//' | tail -1)
    if [ $men == $ver ]
    then
    data="$(date +%Y-%m-%d\ %k:%M)"
    data2="$(grep "$data" /var/log/pacman.log | grep installed | sed "s/\[//g; s/\].*//g" | tail -1)"
    if [ "$data" == "$data2" ]
    then
    nr="$(grep "$data" /var/log/pacman.log | grep installed | wc -l)"
    int=$(seq 1 $nr)
    for i in $int
    do
    ch=$(grep "$data" /var/log/pacman.log | grep installed | sed 's/.*installed//g; s/(.*//g; s/ //g' | head -$i | tail -1)
    chr=$(grep "$ch" ~/.fluxbox/menu | sed 's/.*(//; s/).*//' | tail -1)
    chb=$(ls /usr/bin | grep "$ch" | sed "s/.*$ch.*/$ch/" | tail -1)
    la=$(ls /usr/share/icons/hicolor/48x48/apps | grep $ch | sed "s/.*$ch.*/$ch/"| tail -1)
    lb=$(ls /usr/share/pixmaps | grep $ch | sed "s/.*$ch.*/$ch/" | tail -1)
    if [ $ch == $chb ]
    then
    if [ $ch == $chr ]
    then
    echo "there's already a menu entry"
    else
    if [ $ch == $la ]
    then
    sed -i "/^\[submenu\] ($men)$/a[exec] ($ch) {$ch} </usr/share/icons/hicolor/48x48/apps/$ch.png>" ~/.fluxbox/menu
    sleep 1
    fluxbox restart
    elif [ $ch == $lb ]
    then
    sed -i "/^\[submenu\] ($men)$/a[exec] ($ch) {$ch} </usr/share/pixmaps/$ch.png>" ~/.fluxbox/menu
    sleep 1
    fluxbox restart
    fi
    fi
    fi
    done
    fi
    rdata="$(grep "$data" /var/log/pacman.log | grep removed | sed "s/\[//g; s/\].*//g" | tail -1)"
    if [ "$data" == "$rdata" ]
    then
    nrem="$(grep "$data" /var/log/pacman.log | grep removed | wc -l)"
    inrem=$(seq 1 $nrem)
    for i in $inrem
    do
    rem=$(grep "$data" /var/log/pacman.log | grep removed | sed 's/.*removed//g; s/(.*//g; s/ //g' | head -$i | tail -1)
    remr=$(grep "$rem" ~/.fluxbox/menu | sed 's/.*(//; s/).*//' | tail -1)
    if [ $rem == $remr ]
    then
    sed -i "/$rem/d" ~/.fluxbox/menu
    sleep 1
    fluxbox restart
    else
    echo "no menu entry to remove"
    fi
    done
    fi
    else
    sed -i "/^\[begin\] (Fluxbox)$/a[submenu] ($men)\n[end]" ~/.fluxbox/menu
    fi
    clear
    sleep 7
    done
    Explanation:
    I've used
    whilde true
    do
    sleep 7
    done
    to create an endless loop where "sleep" was used so it could take a break, therefore reducing hardware consumption
    men="ArchSoft"
    ver=$(grep "$men" ~/.fluxbox/menu | sed 's/.*(//; s/).*//' | tail -1)
    if [ $men == $ver ]
    then
    else
    sed -i "/^\[begin\] (Fluxbox)$/a[submenu] ($men)\n[end]" ~/.fluxbox/menu
    fi
    This checks if the submenu where everything should automatically be added as entries  are already there, if not it creates them under the beginning of fluxbox menu script with the name ArchSoft. 
    data="$(date +%Y-%m-%d\ %k:%M)"
    data2="$(grep "$data" /var/log/pacman.log | grep installed | sed "s/\[//g; s/\].*//g" | tail -1)"
    if [ "$data" == "$data2" ]
    then
    fi
    this compares the actual data from the system clock with the data of the installed apps shown in pacman .log and if it finds a similar data of the installed apps it procedes to further steps
    nr="$(grep "$data" /var/log/pacman.log | grep installed | wc -l)"
    int=$(seq 1 $nr)
    for i in $int
    do
    ch=$(grep "$data" /var/log/pacman.log | grep installed | sed 's/.*installed//g; s/(.*//g; s/ //g' | head -$i | tail -1)
    chr=$(grep "$ch" ~/.fluxbox/menu | sed 's/.*(//; s/).*//' | tail -1)
    chb=$(ls /usr/bin | grep "$ch" | sed "s/.*$ch.*/$ch/" | tail -1)
    la=$(ls /usr/share/icons/hicolor/48x48/apps | grep $ch | sed "s/.*$ch.*/$ch/"| tail -1)
    lb=$(ls /usr/share/pixmaps | grep $ch | sed "s/.*$ch.*/$ch/" | tail -1)
    if [ $ch == $chb ]
    then
    if [ $ch == $chr ]
    then
    echo "there's already a menu entry"
    else
    if [ $ch == $la ]
    then
    sed -i "/^\[submenu\] ($men)$/a[exec] ($ch) {$ch} </usr/share/icons/hicolor/48x48/apps/$ch.png>" ~/.fluxbox/menu
    sleep 1
    fluxbox restart
    elif [ $ch == $lb ]
    then
    sed -i "/^\[submenu\] ($men)$/a[exec] ($ch) {$ch} </usr/share/pixmaps/$ch.png>" ~/.fluxbox/menu
    sleep 1
    fluxbox restart
    fi
    fi
    fi
    done
    Here  because in pacman.log, the data of installed apps is shown in this manner YY-MM-DD hh:mm I had to consider using "for do", because in a minute a lot of applications can be installed using only a single "$pacman -S apps" command. Therefore I had to add somehow every app installed in a minute, separately to ~/fluxbox/menu. If the data of the installed apps in pacaman.log was show in this manner YY-MM-DD hh:mm:ss, therefore including seconds things would had been a lot more easier and precise, but I had to find a solution to that matter, and that solution was using "for do" .
    Also here it checks if the installed program shows as an executable in /usr/bin and if it has an icon in  /usr/share/icons/hicolor/48x48/apps/ or in /usr/share/pixmaps/, and only than it procedes in adding an entry to fluxbox menu for that app. This was necessary because not all programs installed, that have executables in /usr/bin are meant to be displayed as a fluxbox menu entry. Checking for an icon being a filter and at the same time something kinda useful for the overall aspect of the menu.
    rdata="$(grep "$data" /var/log/pacman.log | grep removed | sed "s/\[//g; s/\].*//g" | tail -1)"
    if [ "$data" == "$rdata" ]
    then
    nrem="$(grep "$data" /var/log/pacman.log | grep removed | wc -l)"
    inrem=$(seq 1 $nrem)
    for i in $inrem
    do
    rem=$(grep "$data" /var/log/pacman.log | grep removed | sed 's/.*removed//g; s/(.*//g; s/ //g' | head -$i | tail -1)
    remr=$(grep "$rem" ~/.fluxbox/menu | sed 's/.*(//; s/).*//' | tail -1)
    if [ $rem == $remr ]
    then
    sed -i "/$rem/d" ~/.fluxbox/menu
    sleep 1
    fluxbox restart
    else
    echo "no menu entry to remove"
    fi
    done
    fi
    This part of the script removes the data from the menu entry pretty much in the same manner it was added, so I won't give further explanations.
    The Trouble:
    Most applications are added and removed just fine in the fluxbox menu entry, but some like chromium are added more than once and after pacman -R app they aren't removed. The script has still a lot of flaws, most of them because I'm new to scripting, but if someone can improve it or give suggestions it would be highly appreciated. Also if anybody that finds the script worthy enough, wants to develop it as his own I have nothing against it, just tell what changes and improvements you have brought as I wanna learn too.
    Also my goal is to make a daemon out of it, any suggestions in this direction would be highly appreciated.
    Thanks for your time and understanding, mostly thanks to those that helped me a bit in understanding the syntax, like  @Karol & @falconindy. You rule, 'cause  you make linux  seam like one big happy family
    George
    Last edited by I'mGeorge (2011-06-20 19:43:08)

    This is an awesome idea. I've wanted to do something like this for a little while, though not in bash...
    Since I'm not great in bash, I may make one in C (for learning) or Python (ditto) and comment on your implementation.
    If I understand right, you're building a menu first, then deleting parts of it as you go. Would it not be smarter to create a function for adding entries and call it only after you've decided whether an app belongs in the menu? Something like this:
    function add_to_menu() {
    # echo whatever to the config file
    if (app is on system && has an icon somewhere in /usr/share or /opt) {
    add_to_menu(foo)
    Personally, I would approach this by using a definition or grouping list (so you can make submenus) and organize your apps that way. I'd probably use an sqlite db or an ini file or some other way to store the heirarchy, then generate the menu. It looks like you've already put a lot of effort into this, though, so I wish you luck on it!

Maybe you are looking for

  • Need Network Printing support for the Deskjet 6500 series as a shared printer!!!

    Why does HP NOT SUPPORT INSTALLING the Deskjet6500 series as a shared network printer on Win 7 64 bit??  There is NO DRIVER available and if its NOT USB DIRECT CONNECTED windows update will NOT FIND a driver either!!! This is stupid!!

  • Secure Links to iTunes Store failed.

    I've loaded iTunes 10.3.1.55 onto my PC using Windows 7. The files were downloaded onto folder C:\Program Files (x86)\iTunes. When I run the diagnostics I get the problem above. Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)

  • Importing images with Aperture 2.1 Trial

    I've installed the latest trial version of Aperture and have tried importing images from one of my external hard discs, but having navigated to the folder containing the images I want to download, (all of which are RAW files from my Nikon D300), no t

  • Can not import .mov

    I have opened a .wmv file in QuickTime Pro 7 and saved as a .mov file. When I try and open this in iMovie both versions are greyed out; am I missing a vital step in the process?! Peter H

  • Regarding IDX1,IDX2 and WE20

    Hi Masters,     while doing file to idoc scenerio i have little bit of confusion .. 1)  In idx1 we have to create a idoc port.. in case of port tab wht we have to give .. either we have to give logical system name of xi server or any other .. name ..