[SOLVED] Strange Openbox menu behaviour

Hi,
so, I've searched the forums in order to find a solution for my problem, but not found anythihg that works for me. So, problem is that my openbox menu won't execute any commands that I add to ~/.config/openbox/menu.xml file. After editing that file, I run
openbox --reconfigure
command (no any error messages), but again, it simply won't execute the command that I've written. I have also changed permissions, so that I have read/write access. But, strange is that if I delete menus in menu.xml that I don't need, save those changes, and run reconfigure command, those menus are not any more in openbox menu, just as it should be.
It seems that only commands that I want to execute will not work. I' ve also installed obmenu and tried editing stuff there, but again the same problem-deleting menus works fine, but executing commands not. It is obviously that problem is not in obmenu, but in menu.xml file or somewhere else, but I don't know
where.
So, any ideas? Did someone experienced the same problem and found a solution? All ideas are welcome
Last edited by brunux (2010-05-09 16:32:54)

In my menu.xml all the programs are surrounded by <command></command> tags instead of  <execute></execute>tags.
I've tried with your suggestion, but it doesn't work. For example, running firefox works fine with <command></command> tags, but it is the default
part of the code, where I didn't change anything.
<item label="Firefox">
<action name="Execute">
<command>firefox</command>
<startupnotify>
<enabled>yes</enabled>
<wmclass>Firefox</wmclass>
</startupnotify>
</action>
</item>

Similar Messages

  • [Solved] gmrun & Openbox menu can't launch program but bash can.

    Hey there.
    Got myself a bit of a confusing problem. I recently installed the latest of Natron, in /opt/Natron, and added the path to the PATH variable in the .bashrc file,  and i can launch it if I'm on bash, but gmrun and the Openbox menu can't locate the executable when I try to launch it from there. Which is weird, because when i was adding it the Natron directory to the path when it wasn't in the .bashrc, i could then launch Natron just fine from gmrun. Anyone know why this is the case? Any help is appreciated.
    Last edited by anark10n (2015-02-22 16:35:17)

    .bashrc is only sourced when starting an interactive shell, whereas .bash_profile is sourced when you log in. Try adding the PATH export to your .bash_profile, then log out and back in.

  • [Solved] Opening Openbox menu trough tint2

    Is it somehow possible to open the Openbox root-menu trough a terminal command or such? (Or some inbuilt function in tint2)
    Id like to use the clock click options in tint2 to open a menu trough that, ideally the openbox root-menu.
    Or are there any other apps that would work like this (only open a menu that i can run stuff from near the cursor when run)?
    Last edited by Envil (2010-11-18 19:35:52)

    https://wiki.archlinux.org/index.php/Openbox
    search for xdotool ...

  • [SOLVED] openbox menu command doesn't work with &&

    I'm now using openbox-session only.
    I'd like to run a program after something was done correctly:
    zenity --question && killall openbox
    I used "obmenu" and it seems that it fixes & to & correctly in the menu.xml.
    However, the previous command "zenity" is run only.
    In terminal, there's no problem, but it doesn't work with "command" in openbox menu.
    <item label="Exit">
    <action name="Execute">
    <execute>
    zenity --question --title="Exit" --text="Are you sure to go back to console?" && killall openbox
    </execute>
    </action>
    </item>
    Please, give me any idea. Thank you.
    Last edited by mairoo (2009-09-09 10:06:17)

    hbekel wrote:
    You'll need to use a shell explicitly:
    <execute>
    sh -c 'command1 && command2'
    </execute>
    I flagged "solved" thanks to your help. It works good. Thank you.

  • [SOLVED] Freezing while executing /usr/bin/openbox from Openbox menu

    I'm following the instructions in this webpage to create a dynamic menu. I have successfully achieved this on my laptop by installing the openbox-menu package and typing the following lines in menu.xml:
    <menu id="desktop-app-menu" label="Applications" execute="/usr/bin/openbox-menu lxde-applications.menu" />
    For some reason, the same doesn't work on my desktop PC. After editing and saving the menu.xml file, I restart Openbox and when I right click the desktop and hover the "Applications" menu item the desktop freezes. However, I can still move the mouse and switch to other ttys with Ctrl+Alt+Fx, therefore I believe it's reasonable to suggest that the problem lies in the permissions.
    What should I do about it?
    Last edited by Martificiam (2013-02-03 11:29:21)

    Umm, that's not "some random" webpage at all... It worked on all of my Arch Linux installations. The "lxde-applications.menu" is just an argument. But thanks for the link, I'll look into it.
    It's just that it's more of a workaround, not a solution, really... since it has ALWAYS worked for me.
    Furthermore, while setting up Arch on my laptop I remember experiencing similar problems (running a particular program from the openbox menu and resulting in a desktop freeze). This must have something to do with permissions.
    Edit: the xdg_menu worked perfectly, but I would still prefer to use the openbox-menu. I'm marking this as solved anyway.
    Last edited by Martificiam (2013-02-03 11:29:06)

  • Obm-xdg won't show anything in the Openbox menu [SOLVED]

    I put the code:
    <menu execute="obm-xdg" id="obm-xdg" label="xdg"/>
    in ~/.config/openbox/menu.xml just like it says to do universally. It does not show any menu. Every other menu item in the file works. I can edit them and they change. obmenu can see the entry. gnome-menus is installed. obm-xdg works from the command line. Why does this not show anything in the menu?
    Last edited by skottish (2008-11-06 05:27:03)

    Make sure you add the menu id to the root-menu list at the bottom of menu.xml:
    <menu id="root-menu" label="Openbox 3">
    <separator label="Applications" />
    <menu id="obm-xdg" />
    <menu id="apps-accessories-menu"/>
    <menu id="apps-editors-menu"/>
    Last edited by thayer (2008-11-06 05:11:29)

  • "Running" openbox menu?[SOLVED]

    Is it possible to issue a command to open the root openbox menu(then menu that pops open on desktop right click)?  I want to use that as a button in pypanel...  Thanks for your time in advance.
    Last edited by isolier (2009-01-24 17:56:45)

    I asked myself the same question and found a great application called xdotool. I added it on AUR. One of its usage is to simulate a keypress. Simply add this code somewhere in the <keyboard> section of your rc.xml:
    <keybind key="A-C-q">
    <action name="ShowMenu">
    <menu>root-menu</menu>
    </action>
    </keybind>
    Then, just lauch your menu with:
    # xdotool key ctrl+alt+q
    A launcher in pypanel would look something like this:
    LAUNCH_LIST = [
    ("xdotool key ctrl+alt+q", "/usr/share/pixmaps/openbox.png"),
    Of course, you can change the keyboard shortcut, etc...
    Hope this helps.
    -T
    Last edited by rttommy (2008-01-30 00:23:26)

  • [SOLVED] Running wine prog from Openbox menu

    Hello everyone. I was wondering if there's a way to run a program installed through wine from the openbox menu? The problem I'm having is that you have to be in the directory with the .exe in order to run it properly. I can run it fine from the terminal but not openbox.
    I've tried the suggestions here: http://crunchbang.org/forums/viewtopic.php?id=24893
    Any ideas?
    Last edited by Somnus (2013-12-28 01:37:39)

    Probably the best formal way to do this is by creating a .desktop file for your Wine application and putting it in the ~/.local/share/applications directory.
    In this file you would specify a Path key to change to the .exe directory, and then the Exec key to run: wine /path/name.exe etc
    In the Openbox menu you'd then make an entry which runs a command - like xdg-open - which can launch the .desktop file.
    (My own launcher fyr can do this, for example, but there are others.)
    Using .desktop files is the "modern" way to launch applications!

  • [SOLVED]Root Privilege Command in Openbox Menu

    This is my first post as a arch user, and I just thought I would start by saying hi!!!
    Anyway, I have recently moved from CrunchBang linux 9.04 to Arch linux.  I have setup an openbox session as my default.  I have gotten everything to work so far except for one thing:
    Lets say you something to the openbox menu, like gparted.  Gparted requires root privilege to run.  Under ubuntu/debian, I would simply use "gksu gparted" as the command because that would prompt me for the password and then run the program.  I am not aware of any way to do such a thing in arch linux.  Is there a simple way to do this?
    -thanks
    Last edited by Dr Belka (2010-04-04 17:54:48)

    You're in Arch country now, boy. You want fancy gksu, you pacMAN up and install it.
    Also note gksu comes with gksudo so you can use your password rather than roots - assuming you're in the sudoers file.
    Last edited by Mardoct (2010-04-04 17:53:15)

  • [SOLVED] Openbox-menu saying Menu not found...

    Hello all,
    I installed Arch with Openbox. For the menu, I want to use openbox-menu to see my Applications.
    In menu.xml, I put the line:
    <menu execute="openbox-menu" id="desktop-app-menu" label="Applications"/>
    But when I point it in the menu, I get:
    Menu not found. Please specify a menu specification file.
    I get the same result in Terminal either as a user or as root.
    These are the "menu" packages I have installed:
    [philippe@phil-bureau ~]$ pacman -Qs menu
    local/dmenu-xft 4.5-1
    Dynamic X menu - with xft support
    local/gnome-menus 3.2.0.1-1
    GNOME menu specifications
    local/gnome-menus2 3.0.1-1
    GNOME menu specifications
    local/libdbusmenu-qt 0.9.0-2
    A library that provides a Qt implementation of the DBusMenu spec
    local/lxmenu-data 0.1.2-1 (lxde)
    freedesktop.org desktop menus for LXDE
    local/menu-cache 0.3.2-1 (lxde)
    Caches to speed up freedesktop.org's application menus use.
    local/obmenu 1.0-9
    Openbox menu editor.
    local/openbox-menu 0.3.6.6-1
    Dynamic XDG menu for openbox
    local/openbox-xdgmenu 0.3-2
    fast xdg-menu converter to xml-pipe-menu
    Any help/ideas/suggestions are welcome!
    Thanks
    Philippe
    Last edited by Philippe1 (2012-02-17 16:30:22)

    Hey guys, thanks for the quick response!
    Openbox-menu comes from AUR and the menu.xml is a copy of my Archbang installation. And yes, openbox-menu works like a charm on Archbang. So what am I missing?
    Here is the menu.xml:
    <?xml version="1.0" encoding="utf-8"?>
    <openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/ file:///usr/share/openbox/menu.xsd">
    <menu id="root-menu" label="Openbox 3.5">
    <item label="Fichiers">
    <action name="Execute">
    <execute>
    nautilus
    </execute>
    </action>
    </item>
    <item label="Internet">
    <action name="Execute">
    <execute>
    chromium
    </execute>
    </action>
    </item>
    <item label="Minitube">
    <action name="Execute">
    <execute>
    minitube
    </execute>
    </action>
    </item>
    <item label="Jeux de cartes">
    <action name="Execute">
    <execute>
    pysol
    </execute>
    </action>
    </item>
    <item label="LibreOffice Writer">
    <action name="Execute">
    <execute>
    libreoffice -writer
    </execute>
    </action>
    </item>
    <item label="LibreOffice Calc">
    <action name="Execute">
    <execute>
    libreoffice -calc
    </execute>
    </action>
    </item>
    <item label="Terminal">
    <action name="Execute">
    <execute>
    sakura
    </execute>
    </action>
    </item>
    <separator/>
    <menu execute="openbox-menu" id="desktop-app-menu" label="Applications"/>
    <menu execute="~/.config/openbox/pipemenus/obpipemenu-places ~/" id="places" label="Places"/>
    <menu execute="~/.config/openbox/pipemenus/obrecent.sh ~/" id="recent" label="Recent Files"/>
    <menu id="Preferences" label="Preferences">
    <menu id="root-menu-90523" label="Conky Config">
    <item label="Edit .conkyrc">
    <action name="Execute">
    <execute>
    leafpad ~/.conkyrc
    </execute>
    </action>
    </item>
    <item label="Restart Conky">
    <action name="Execute">
    <execute>
    conkywonky
    </execute>
    </action>
    </item>
    </menu>
    <menu id="root-menu-891528" label="Eye Candy">
    <item label="No effects">
    <action name="Execute">
    <execute>
    ~/.config/openbox/scripts/xcompmgr.sh unset
    </execute>
    </action>
    </item>
    <item label="Transparency">
    <action name="Execute">
    <execute>
    ~/.config/openbox/scripts/xcompmgr.sh set
    </execute>
    </action>
    </item>
    <item label="Transparency, fading">
    <action name="Execute">
    <execute>
    ~/.config/openbox/scripts/xcompmgr.sh setshaded
    </execute>
    </action>
    </item>
    <item label="Transparency, fading shadows">
    <action name="Execute">
    <execute>
    ~/.config/openbox/scripts/xcompmgr.sh setshadowshade
    </execute>
    </action>
    </item>
    </menu>
    <menu id="root-menu-525118" label="Openbox Config">
    <item label="Edit autostart">
    <action name="Execute">
    <execute>
    leafpad ~/.config/openbox/autostart
    </execute>
    </action>
    </item>
    <item label="GUI Menu Editor">
    <action name="Execute">
    <execute>
    obmenu
    </execute>
    </action>
    </item>
    <item label="GUI Config Tool">
    <action name="Execute">
    <execute>
    obconf
    </execute>
    </action>
    </item>
    <item label="Key Editor">
    <action name="Execute">
    <execute>
    obkey
    </execute>
    </action>
    </item>
    <item label="Reconfigure">
    <action name="Reconfigure"/>
    </item>
    <item label="Restart">
    <action name="Restart"/>
    </item>
    </menu>
    <menu id="root-menu-23433" label="Take Screenshot">
    <item label="Now">
    <action name="Execute">
    <execute>
    scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/ &amp; geeqie ~/$f'
    </execute>
    </action>
    </item>
    <item label="In 5 Seconds...">
    <action name="Execute">
    <execute>
    scrot -d 5 '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/ &amp; geeqie ~/$f'
    </execute>
    </action>
    </item>
    <item label="In 10 Seconds...">
    <action name="Execute">
    <execute>
    scrot -d 10 '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/ &amp; geeqie ~/$f'
    </execute>
    </action>
    </item>
    <item label="Selected Area... (click &amp; drag mouse)">
    <action name="Execute">
    <execute>
    scrot -s '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/ &amp; geeqie ~/$f'
    </execute>
    </action>
    </item>
    </menu>
    <menu id="root-menu-571948" label="tint2 config">
    <item label="Edit tint2rc">
    <action name="Execute">
    <execute>
    leafpad ~/.config/tint2/tint2rc
    </execute>
    </action>
    </item>
    <item label="Tint Wizard">
    <action name="Execute">
    <execute>
    tintwizard.py
    </execute>
    </action>
    </item>
    </menu>
    <item label="Edit /etc/rc.conf">
    <action name="Execute">
    <execute>
    sudo leafpad /etc/rc.conf
    </execute>
    </action>
    </item>
    <item label="Input Device Preferences">
    <action name="Execute">
    <execute>
    lxinput
    </execute>
    </action>
    </item>
    <item label="Screen Resolution">
    <action name="Execute">
    <execute>
    arandr
    </execute>
    </action>
    </item>
    <item label="User Interface Settings">
    <action name="Execute">
    <execute>
    lxappearance
    </execute>
    </action>
    </item>
    <item label="Wallpaper">
    <action name="Execute">
    <execute>
    nitrogen
    </execute>
    </action>
    </item>
    </menu>
    <separator/>
    <item label="Exit">
    <action name="Execute">
    <execute>
    oblogout
    </execute>
    </action>
    </item>
    </menu>
    </openbox_menu>
    Thanks again!

  • Netcfg openbox menu

    I've started tweaking my openbox box and the first thing to do was a simple script to run netcfg from openbox menu. You can grab it here: http://gist.github.com/160147. It can only activate an inactive profile or deactivate an active one (it's enough for me).
    And I've encountered a strange issue. You may notice that I use xterm for desplaying netcfg output and in case of success xterm waits for 2 seconds to close. Without that after putting the profile down from menu subsequent calls to netcfg may claim that the corresponding interface is busy and fail. Even with that delay often subsequent calls to netcfg will complain of the interface being busy but will succeed. So, what am I doing wrong? What is the safe way to run netcfg in my case?

    Well, I hope, that was not my fault: http://bbs.archlinux.org/viewtopic.php?pid=596519
    UPD: Still, I should try something like
    bash -c ". /usr/lib/network/network; . /etc/rc.d/functions; profile_up ...
    UPD: Just the same issue with the above command. And netcfg-tray often hangs the interface too.
    Last edited by Mr.Cat (2009-08-06 23:04:26)

  • [SOLVED] Strange Hard Drive Errors - Read Only Filesystem?

    Solution: Discard old laptop, buy new laptop
    I have an Acer Aspire 5103WLMi. For about 2 months now, Arch has been running smoothly. Until 2 weeks ago.
    It all started when I tried to install and configure autofs on Arch x86_64. On the next reboot, all manner of errors were printed to the screen, to the effect that the internal hard drive was only being mounted read-only, rendering the system unusable. I tried to find a solution, but there were no references to read-only anywhere; fstab, grub etc. None that I could find.
    I tried reinstalling. However, x86_64 Arch refused to boot properly first time due to the exact same error; and I *know* that I'm configuring everything correctly. I managed (somehow) to coerce i686 Arch to install, and things "work".
    Seemingly out of the blue, during normal operation, all running applications will stop, and spit out error after error to the effect of "Cannot Write to Read Only Filesystem!". Sakura won't load (Input/Output error, apparently), and the only way to shut down the laptop is a hard reset (I can't log in as root or use sudo because it wants to write to the filesystem first, which it obviously can't.
    Now, I'm going to be giving the insides of this laptop a good cleanout this weekend, and I'm in the process of backing up all of my data, but I was wondering if anyone else has come across a similar form of misbehaviour; or (with a bit of luck) some potential solutions?
    This is very peculiar, because there seems to be no reason why the laptop suddenly loses write permissions to the hard drive. Cheers.
    Edit: I think I should point out that my /boot partition is Ext2, and / and /home are Ext3
    Last edited by aphirst (2013-03-27 14:51:38)

    Smartctl gives me the impression it's my Hard Drive:
    SMART Attributes Data Structure revision number: 16
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
    1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
    2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0
    3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always - 1711
    4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 6194
    5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 0
    7 Seek_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
    8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0
    9 Power_On_Hours 0x0032 092 092 000 Old_age Always - 3291
    10 Spin_Retry_Count 0x0033 223 100 030 Pre-fail Always - 0
    12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 1218
    192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 294
    193 Load_Cycle_Count 0x0032 088 088 000 Old_age Always - 123904
    194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 34 (Lifetime Min/Max 15/62)
    196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
    197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
    198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
    199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 17
    220 Disk_Shift 0x0002 100 100 000 Old_age Always - 118
    222 Loaded_Hours 0x0032 094 094 000 Old_age Always - 2425
    223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 0
    224 Load_Friction 0x0022 100 100 000 Old_age Always - 0
    226 Load-in_Time 0x0026 100 100 000 Old_age Always - 444
    240 Head_Flying_Hours 0x0001 100 100 001 Pre-fail Offline - 0
    Everything being either Old_age or Pre-fail is not encouraging. Additionally, in the output is what I believe to be records of what caused my strange read-only behaviour:
    Error 19 occurred at disk power-on lifetime: 3287 hours (136 days + 23 hours)
    When the command that caused the error occurred, the device was active or idle.
    After command completion occurred, registers were:
    ER ST SC SN CL CH DH
    84 51 01 11 18 6a e1 Error: ICRC, ABRT 1 sectors at LBA = 0x016a1811 = 23730193
    Commands leading to the command that caused the error were:
    CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
    c8 00 48 c4 17 6a e1 00 04:43:08.023 READ DMA
    c8 00 48 14 e3 69 e1 00 04:43:08.022 READ DMA
    c8 00 a0 5c e2 69 e1 00 04:43:08.010 READ DMA
    c8 00 08 9c e5 69 e1 00 04:43:08.010 READ DMA
    c8 00 20 5c e5 69 e1 00 04:43:08.009 READ DMA
    Could this truly be referring to my problem, since the 'logs' show that the *exact same* error occurred many times.
    Not that this tells me how to fix it...
    Well, if anyone knows if there is a solution, I'd love to know. If the only solution is to ditch the Hard Drive, fair enough. Either way: I'm backing up all of my important data ASAP.
    Cheers.
    Oh, and kclive18, after I noticed that I couldn't get onto my Drive, I reinstalled arch, leaving no trace of /etc/autofs/auto.media.
    Additionally, somehow I have now been able to install Arch x86_64, but the problems still occur...

  • HOWTO: Openbox Menu Icon in PyPanel

    Using Openbox and PyPanel (or similar) and are tired of either having to minimize windows or adjust maximum window size to leave space for right-clicking on the desktop?  Do you have a keyboard shortcut set up to open the menu, but also want to be able to use the mouse to open the menu easier?  I have a solution!
    Create an icon to launch the Openbox application menu on PyPanel.
    This will allow you to click on an icon on PyPanel which opens the OpenBox menu, similar to Gnome's application menu.
    Example:
    Requirements:
    Openbox Window Manager
    PyPanel (dock/panel application)
    xdotool
    obkey - to edit key shortcuts to OpenBox's rc.xml (not required, but used in this howto)
    Recommendations:
    archlinux-artwork
    Procedure:
    1) If you don't already have PyPanel installed, install it now (as root).
    pacman -S pypanel
    2) Launch pypanel in an application launcher, or the terminal (as normal user):
    pypanel &&
    3) Install xdotool (allows for launching keyboard shortcuts via command line) (as root)
    pacman -S xdotool
    4) If you do not have obkey installed, install it with yaourt (recommended) or download the tar.gz and run the python script:
    yaourt -S obkey-git
    OR
    Go to the obkey site or download the .tar.gz by clicking here
    Extract the .tar.gz:
    tar -xvf ./obkey-dev-abf0bb12.tar.gz
    Enter the obkey-dev directory:
    cd ./obkey-dev
    Run obkey and point it to the openbox rc.xml (as normal user!):
    ./obkey ~/.config/openbox/rc.xml
    5) In obkey, find an existing key or create a new key binding by clicking "Insert sibling key" at the top. Note: Ctrl+alt combinations did not seem to work for me to create this menu launcher.
    - If it's an existing key, select it, then click on the action in the bottom right-hand pane.  A window should pop up.  Find and select "ShowMenu"
    - If it's a new key, select it, enter in the key combination you want to use in the key (text) box (for example, C-M for Ctrl+M), then click the green "Insert Action" button at the bottom.  Click on the new "Focus" action.  A window should pop up.  Find and select "ShowMenu"
    In the ShowMenu action, at the top there should be a box for "menu:"  Enter in "root-menu" in this box.
    Now save by clicking the green arrow + hard drive in the top left corner of obkey.  Now you should be able to use that key combination to open the root-menu. If not, try restarting the X Server.
    Example:
    6) This is optional, but if you want a nice Arch icon for your new menu launcher, you can grab mine.  If you want to use your own image, it cannot be .svg, so I converted a .svg icon to .png from the the official Arch Artwork package (archlinux-artwork in the repos).  If you want to just use mine:
    Enter the following commands to get the image and set it up for the next step:
    mkdir ~/.icons/archlinux/icons/
    wget -P ~/.icons/archlinux/icons/ http://img297.imageshack.us/img297/1378/archlinuxiconcrystal128.png
    7) Open up your ~/.pypanelrc with your favorite text editor (e.g. nano or gedit). 
    Scroll down to a line starting with "LAUNCH_LIST"  Most likely it will have a line like this by default:
    ("gimp-2.2", "/usr/share/imlib2/data/images/paper.png")
    Change the line to the following to use xdotool and the key you assigned in step 5, as well as the icon image we just downloaded (Note: make sure to change /home/user to your specific home directory!):
    ("xdotool key ctrl+m", "/home/user/.icons/archlinux/icons/archlinuxiconcrystal128.png")
    Next, locate a line about 15 more down starting with "APPICONS."  Change this value from 0 to 1.
    APPICONS = 1 # Show application icons
    Finally, about 20 lines down, you will see a section for Panel Layout.
    There are 5 sections for the panel:  Desktop, Tasks, Tray, Clock, and Launcher.  They can be assigned, in order of left to right on the panel, with numbers 1-5 and 0 for disabled.  Choose a location you want your Launcher to be and set the value from 1-5.  You can play around with this by setting the values, then restarting pypanel.
    Here is how I have set mine (I disabled Desktop since I only use one desktop/workspace and do not need it to say which one I am on):
    DESKTOP = 0 # Desktop name section
    TASKS = 2 # Task names section
    TRAY = 3 # System tray section
    CLOCK = 4 # Clock section
    LAUNCHER = 1 # Application launcher section
    8) Finally, kill and restart PyPanel and enjoy!
    killall pypanel && pypanel
    9) Tell me how it went, what you think, what I could improve on, etc!
    Last edited by CheesyBeef (2009-03-24 22:22:39)

    Vighi wrote:
    Very nice guide got it working almost straight away :-)
    Had to restart X in order to get key-binding to work though. And I put /home/username/.icons/archlinux/icons/archlinuxiconcrystal128.png instead of ~/ because somehow I got couldn't find logo error when pypanel started.
    BTW sexy pypanel look you have. All the info in your .dotfiles link? will get to it tomorrow I guess. Thanks!
    Thanks very much for using my guide and responding!
    I will fix that ~/ directory problem and say to use the home directory. 
    And yes, that configuration is in my .dotfiles at the moment   You can follow that link or just grab it here: http://dotfiles.org/~CheesyBeef/.pypanelrc
    Thanks again!

  • Roboto font not available in certain applications and Openbox menu

    I have downloaded Roboto TTF font from here and saved it in ~/.fonts.
    After downloading it, I ran:
    $ fc-cache -vf
    After that, I changed the font in lxappearance and obconf and every single application I have tried so far uses it by default now except Openbox menu (window titles seem to work just fine) and Geany.
    What can I do to fix this?
    I really like the font and pretty much everything runs well except those two.
    Note: tried placing those files in /usr/share/fonts/local, but nothing changed.
    Last edited by COPE (2013-11-04 07:35:17)

    Tried to switch fonts in terminal (rxvt-unicode) and apparently that font is not available there either.
    Any ideas?

  • How to integrate OpenBox menu with Tint?

    Having tint shorter than screen width is not an option, because it looks terrible.
    Any ideas?

    Could you explain a bit more what it is exactly you're trying to accomplish.  How are you trying to integrate the openbox menu with tint?
    For example: right-clicking free space on tint panel brings up OB menu.
    Current workaround works (tint not stretched to screen width - I'm clicking empty space on sides of tint panel) but I was hoping for more "elegant" solution.
    According to tint manual:
    "3.7 Mouse
    customize mouse action with : none, close, toggle, iconify, shade, toggle_iconify
    mouse_middle = none
    mouse_right = close
    mouse_scroll_up = toggle
    mouse_scroll_down = iconify"
    Why not just use the hotkey to bring up the openbox menu?
    Not being able to do everyday tasks efficiently with a mouse is a big no-no.
    Besides that, combo of OB + Tint + Trayer is great.
    Last edited by mute (2008-10-10 22:42:56)

Maybe you are looking for

  • Audigy 2 ZS Platinum Pro - Not reading line 1 or any external input po

    I had my soundcard installed, but then I had to reformat a few weeks later. After I reformated, everything worked fine, I can listen to my music through the same speakers, I can use Creative Player and all that good stuff...but when I open the surrou

  • Is there a way to temporarily ignore the Creative Cloud Desktop update? i.e. Mobile data use

    I am a mobile tablet user (Windows 8).  I am connected via mobile data wifi sometimes, and I need to grab a font or make a quick update to an Illustrator or InDesign project with a new font etc.  The problem is that when a Creative Cloud Desktop upda

  • Exporting Secured PDF from indesign using apple script

    hi there, this is my first go at scripting, basically what i am trying to do is: tell indesign to turn on a layer called "proof" in the active document then export pdf - set pdf preference to smallest file size, all pages, and secure the file WITH A

  • URGENT: TRANSPORTING APPRAISAL TEMPLATE

    Dear Friends, I had created an appraisal template in my SandBox development client. I then downloaded it and then uploaded it in the Golden Masters Client. I also created a transport request at the time of saving the template in Golden Masters. In my

  • Recovering an iWeb Site

    Hello, I created a website with iWeb 09 on a mac running Mac OS X 10.6.8. I published the site to my webhost/domain registrar (godaddy). The mac later crashed and I lost everything on the computer.  My website still works fine but I can't edit it bec