You are not logged in.

#1 2008-09-23 12:51:00

ERIC H
Member
From: NY
Registered: 2008-09-23
Posts: 14

Using Openbox 3 with Tint - no transparency [SOLVED]

Hello,

New to Archlinux but liking it very much. I've been trying out some different panels to use with Openbox and Tint seems to have what I'm looking for but I can't for the life of me get the panel background to not be solid black. And whenever I try to put a border on the panel with an opacity of say 20, the border starts at 20% but then gradually increases until its solid glowing white. I'm also not getting rounded edges. System is totally up to date.

Here is my tintrc:

#---------------------------------------------
# TINT CONFIG FILE
#---------------------------------------------

#---------------------------------------------
# PANEL
#---------------------------------------------
panel_mode = multi_monitor
panel_monitor = 1
panel_position = bottom center
panel_size = 900 28
panel_margin = 15 0
panel_padding = 9 3
font_shadow = 0

#---------------------------------------------
# PANEL BACKGROUND AND BORDER
#---------------------------------------------
panel_rounded = 10
panel_padding = 5 2
panel_border_width = 1
panel_background_color = #000000 0
panel_border_color = #ffffff 0


#---------------------------------------------
# TASKS
#---------------------------------------------
task_text_centered = 1
task_width = 120
task_margin = 2
task_padding = 6
task_icon_size = 13
task_font = sans 7
task_font_color = #ffffff 70
task_active_font_color = #ffffff 85

#---------------------------------------------
# TASK BACKGROUND AND BORDER
#---------------------------------------------
task_rounded = 5
task_background_color = #ffffff 30
task_active_background_color = #ffffff 50
task_border_width = 0
task_border_color = #ffffff 18
task_active_border_color = #ffffff 70

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

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

Only thing I've changed is the background opacity but like I saod to no avail.

Last edited by ERIC H (2008-09-25 01:40:38)

Offline

#2 2008-09-23 16:21:51

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Using Openbox 3 with Tint - no transparency [SOLVED]

Other than colors, the only differences between your tintrc and mine is that:
1. I don't have a panel_padding entry
2. My panel_rounded = 7
3. My panel_background_color = #000000 60, and panel_border_color = #ffffff 18

And I have nice semi-transparent with rounded corners tint!

Good luck!
Scott

Offline

#3 2008-09-23 17:49:12

ERIC H
Member
From: NY
Registered: 2008-09-23
Posts: 14

Re: Using Openbox 3 with Tint - no transparency [SOLVED]

I chmod'd 777 tintrc as I had copied it as root thinking that might be it but still no dice.

Offline

#4 2008-09-23 18:12:19

thil77
Member
Registered: 2008-08-29
Posts: 52

Re: Using Openbox 3 with Tint - no transparency [SOLVED]

your config file is ok. i've tried it here and get transparent panel.

try to copy your tintrc in /home/tintrc, and run tint with
tint -c /home/tintrc

if this is working your problem is with the default path $HOME/.config/tint/tintrc

Offline

#5 2008-09-23 18:38:38

tonyisnt
Member
Registered: 2008-03-18
Posts: 158

Re: Using Openbox 3 with Tint - no transparency [SOLVED]

This may be a silly question, but do you have compositing enabled?  My experience with Tint is limited (as in, just yesterday), but my gut says you'll need to be running xcompmgr or something in addition to it to get the transparency effects.

Offline

#6 2008-09-23 22:55:27

ERIC H
Member
From: NY
Registered: 2008-09-23
Posts: 14

Re: Using Openbox 3 with Tint - no transparency [SOLVED]

Moving the file  and using xcompmgr doesn't fix it.

Offline

#7 2008-09-24 02:00:23

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Using Openbox 3 with Tint - no transparency [SOLVED]

You don't need xcompmgr for tint to work w/ transparency. Did you install tint from the AUR (not ttm-svn)? Can you uninstall and reinstall it (making sure to delete all the config files in ~/ and /etc)? Seems like it should be working . . . . pretty simple program!

Scott

Offline

#8 2008-09-24 12:51:24

ERIC H
Member
From: NY
Registered: 2008-09-23
Posts: 14

Re: Using Openbox 3 with Tint - no transparency [SOLVED]

Here is my autostart.sh:

# Startup programs
xsetroot -solid "#8CB0DC" &

# Programs that will run after Openbox has started
(sleep 3 && tint -c ~/.config/tint/tintrc) &
#xcompmgr -c &

I'm really at a loss here as to why this isn't working.

I've changed the panel background to FFFFFF 60 which it is set to but I can still see the solid back behind it in the corners that are rounded, which tells me the background is getting set to solid black somewhere. But where?? I've removed everything background related in /etc/xdg/autostart.sh as well.

Last edited by ERIC H (2008-09-24 13:06:02)

Offline

#9 2008-09-25 00:26:11

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Using Openbox 3 with Tint - no transparency [SOLVED]

Aha ... install feh (image viewer) if you don't have it already, and set your background to some image . . . .

feg --bg-scale /path/to/image

Now tint should look pretty smile  I don't know enough about X to know what the xsetroot was doing, but I saw the same effect you described when i tried it.

Scott

Offline

#10 2008-09-25 01:28:04

ERIC H
Member
From: NY
Registered: 2008-09-23
Posts: 14

Re: Using Openbox 3 with Tint - no transparency [SOLVED]

firecat53 wrote:

Aha ... install feh (image viewer) if you don't have it already, and set your background to some image . . . .

feg --bg-scale /path/to/image

Now tint should look pretty smile  I don't know enough about X to know what the xsetroot was doing, but I saw the same effect you described when i tried it.

Scott

http://img510.imageshack.us/my.php?image=screenjg3.png


Awesome! Thanks.

Last edited by ERIC H (2008-09-25 01:40:05)

Offline

#11 2008-09-25 01:37:40

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Using Openbox 3 with Tint - no transparency [SOLVED]

Cool smile Just don't forget to edit the first post and mark [Solved]!

Scott

Offline

Board footer

Powered by FluxBB