You are not logged in.

#1 2013-07-04 21:38:17

knuke
Member
From: Austria
Registered: 2013-01-03
Posts: 20

Openbox/Tint2 panel opacity [SOLVED]

Hey guys,

I try to get my panel transparent but it gives me this black background. Unfortunately I've no idea where this comes from.

This is what I get:

http://i39.tinypic.com/zjtfut.jpg

And this is what I want it to look like:

http://crunchbanglinux.org/misc/screens … top-01.png

This is my tint2 config file:

#---------------------------------------------
# TINT2 CONFIG FILE
#---------------------------------------------

#---------------------------------------------
# BACKGROUND AND BORDER
#---------------------------------------------
rounded = 0
border_width = 1
background_color = #1A1A1A 0
border_color = #979797 100

rounded = 0
border_width = 0
background_color = #ffffff 20
border_color = #ffffff 20

rounded = 0
border_width = 0
background_color = #ffffff 0
border_color = #ffffff 0

#---------------------------------------------
# PANEL
#---------------------------------------------
panel_monitor = all
panel_position = bottom center
panel_size = 92% 34
panel_margin = 0 0
panel_padding = 7 0
font_shadow = 0
panel_background_id = 0

#---------------------------------------------
# TASKBAR
#---------------------------------------------
taskbar_mode = multi_desktop
taskbar_padding = 0 0 0
taskbar_background_id = 1

#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 1
task_text = 0
task_width = 40
task_centered = 1
task_padding = 2 2
task_font = sans 7
task_font_color = #ffffff 70
task_active_font_color = #ffffff 85
task_background_id = 3
task_active_background_id = 2

#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
systray_padding = 4 2 3
systray_background_id = 1

#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format = %H:%M
time1_font = sans 8
time2_format = %A %d %B
time2_font = sans 6
clock_font_color = #ffffff 76
clock_padding = 4 4
clock_background_id = 1

#---------------------------------------------
# BATTERY
#---------------------------------------------
#battery = 0
#battery_low_status = 7
#battery_low_cmd = notify-send "battery low"
#bat1_font = sans 8
#bat2_font = sans 6
#battery_font_color = #ffffff 76
#battery_padding = 1 0
#battery_background_id = 0


#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = none
mouse_right = none
mouse_scroll_up = toggle
mouse_scroll_down = iconify

Is it possible to get something or do I have to adjust the panel color to my desktop background?

Thanks for any help,
Knuke



-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

Last edited by knuke (2013-07-04 22:03:25)

Offline

#2 2013-07-04 21:56:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,550
Website

Re: Openbox/Tint2 panel opacity [SOLVED]

Are you running a compositor, like xcompmgr?  You need one in order to use true transparency.

This is well described in the wiki: https://wiki.archlinux.org/index.php/Ti … ansparency

Last edited by Trilby (2013-07-04 21:58:16)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-07-04 22:03:06

knuke
Member
From: Austria
Registered: 2013-01-03
Posts: 20

Re: Openbox/Tint2 panel opacity [SOLVED]

That was the problem. Thank you. Somehow I forgot about this. hmm

Offline

Board footer

Powered by FluxBB