How to add panel launch icons on Slackel Openbox

Post Reply
creolecat
Posts: 19
Joined: 04 Jun 2016 23:43

How to add panel launch icons on Slackel Openbox

Post by creolecat »

Hello,

I just installed the Slackel 64 bit, Openbox system and it seems to be doing very well so far.
It is running on a Dell D830, Intel Dual Core, 2 GB CPU, Intel graphics chip.

My preferred browser is Google Chrome. I would like to add the Chrome icon and launcher to the panel, next to the Midori icon.
Could someone explain how the panel is edited. Thanks!
djemos
Site Admin
Posts: 676
Joined: 15 Apr 2016 06:03

Re: How to add panel launch icons on Slackel Openbox

Post by djemos »

I suppose you have installed google-chrome

Code: Select all

sudo slapt-get -u
sudo slapt-get -i google-chrome
Edit file ~/.config/fbpanel/default

Code: Select all

geany  ~/.config/fbpanel/default
After line 221 where midori icon code ends and bellow, add these lines

Code: Select all

  button {
             icon = product_logo_64
             tooltip = Google Chrome
             action = google-chrome-stable
         }
Note: copy the icons to /usr/share/pixmaps to appear in panel.

Code: Select all

sudo cp /opt/google/chrome/product_logo_64.png /usr/share/pixmaps/
To add google-chrome on Desktop

Code: Select all

cp /usr/share/applications/google-chrome.desktop ~/Desktop
Next refresh your desktop and restart openbox or logout and log in again.
creolecat
Posts: 19
Joined: 04 Jun 2016 23:43

Re: How to add panel launch icons on Slackel Openbox

Post by creolecat »

djemos,

Worked great, thanks very much!

On a side note, within that same file, ~/.config/fbpanel/default, at5 line 371, HoursView = 24.
I changed that to 12 to get my panel clock to read in 12 hour time.
Post Reply