You are not logged in.

#1 2014-11-30 17:56:26

From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 3,633

Create a application starter in your tint2 panel

You might discuss if it  makes any sense to do this.
I just wanted to have some kind of app launcher for someone used to a windows like environment: … -your.html

First install xdotool:
#pacman -S xdotool
Add this line in the keyboard section of your ~/.config/openbox/rc.xml

 <keybind key="C-A-space">
   <action name="ShowMenu"><menu>root-menu</menu></action>

We do
$openbox --reconfigure
to update openbox menu
Check if this works with
$ xdotool key ctrl+alt+space
You should see the OB menu pop up near your mouse.

Now we install tint2-svn from AUR with yaourt or packer
$yaourt tint2-svn

After installing we edit the tint2rc by hand in /home/username/.configure/tint2
Under panel we add:

# Panel panel_items = LTSBC

And we add a new section:

# Launchers
launcher_icon_theme =Adwaita
launcher_padding = 5 0 10
launcher_background_id = 9
launcher_icon_size = 85
launcher_item_app = /usr/share/applications/tint2.desktop

Now we are going to create the  tint2.desktop file in the folder  /usr/share/applications
Create a file, name it tint2.desktop and with leafpad add the text and save:

[Desktop Entry]
Comment=A menu launcher
Exec=xdotool key ctrl+alt+space

Now we kill tint2 with
$pkill tint2
And activate it again with dmenu, alt-f3,type tint2 and enter.

If all is good you should see this if you click the square or diamond  on the left:

Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox:


Board footer

Powered by FluxBB