You are not logged in.

#1 2010-07-14 01:29:03

iamsmrt
Member
Registered: 2009-08-12
Posts: 138

Fullscreen Games and tint2

Hi, I'm using openbox and I'm having issues with my panel and fullscreen apps. When I change desktops with my fullscreen game in focus (and on top of tint2), then change back to the desktop with the game, the game is in focus as it should be but tint2 is now above it. How can I get it such that my games stay above tint2?

Here's my tint2rc:

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

#---------------------------------------------
# BACKGROUND AND BORDER
#---------------------------------------------
rounded = 0
border_width = 0
background_color = #000000 100
border_color = #ffffff 18

rounded = 1
border_width = 0
background_color = #ffffff 40
border_color = #ffffff 18

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

#---------------------------------------------
# PANEL
#---------------------------------------------
panel_monitor = 1
panel_position = top center
panel_size = 100% 30
panel_margin = 0 0
panel_padding = 7 0
font_shadow = 0
panel_background_id = 1
wm_menu = 0
panel_dock = 0
panel_layer = top

#---------------------------------------------
# TASKBAR
#---------------------------------------------
#taskbar_mode = multi_desktop
taskbar_mode = single_desktop
taskbar_padding = 2 3 2
taskbar_background_id = 1
#taskbar_active_background_id = 0

#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 1
task_text = 1
task_maximum_size = 140 35
task_centered = 1
task_padding = 6 3
task_font = sans 7
task_font_color = #ffffff 70
task_background_id = 3
task_icon_asb = 100 0 0
# replace STATUS by 'urgent', 'active' or 'iconfied'
#task_STATUS_background_id = 2
#task_STATUS_font_color = #ffffff 85
#task_STATUS_icon_asb = 100 0 0
# example:
task_active_background_id = 2
task_active_font_color = #ffffff 85
task_active_icon_asb = 100 0 0
urgent_nb_of_blink = 8

#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
systray = 1
systray_padding = 0 4 5
systray_background_id = 1
systray_sort = left2right
systray_icon_size = 0
systray_icon_asb = 100 0 0

#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format = %a %b %d, %Y %r
time1_font = sans 8
clock_font_color = #ffffff 76
clock_padding = 1 0
clock_background_id = 1
clock_lclick_command = oragetask
clock_rclick_command = oragetask
#clock_tooltip = %A %d %B
#time1_timezone = :US/Hawaii
#time2_timezone = :Europe/Berlin
#clock_tooltip_timezone = :/usr/share/zoneinfo/Europe/Paris

#---------------------------------------------
# BATTERY
#---------------------------------------------
battery = 1
battery_hide = 98
battery_low_status = 10
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 = 1

#---------------------------------------------
# TOOLTIP
#---------------------------------------------
tooltip = 0
tooltip_padding = 2 2
tooltip_show_timeout = 0.7
tooltip_hide_timeout = 0.3
tooltip_background_id = 1
tooltip_font_color = #OOOOOO 80
tooltip_font = sans 10

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

#---------------------------------------------
# AUTOHIDE OPTIONS
#---------------------------------------------
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 2
autohide_height = 4
strut_policy = minimum

And the relevant section of my openbox rc.xml:

    <application name="hl.exe" >
      <focus>yes</focus>
      <maximized>yes</maximized>
      <layer>above</layer>
      <desktop>2</desktop>
    </application>

Last edited by iamsmrt (2010-07-14 01:29:36)

Offline

#2 2010-07-14 07:59:40

tum
Member
Registered: 2010-05-18
Posts: 40

Re: Fullscreen Games and tint2

you can try "none" or "follow_size" with strut_policy in tint2rc.

Offline

#3 2010-07-14 12:52:36

iamsmrt
Member
Registered: 2009-08-12
Posts: 138

Re: Fullscreen Games and tint2

tum wrote:

you can try "none" or "follow_size" with strut_policy in tint2rc.

Tried both, neither worked sad

Offline

#4 2010-07-14 16:06:04

tum
Member
Registered: 2010-05-18
Posts: 40

Re: Fullscreen Games and tint2

another try :
panel_dock = 1

;; from http://code.google.com/p/tint2/wiki/Configure
;; panel_dock = boolean (0 or 1) : Put tint2 into the window managers dock. For the openbox window manager I can advise to use also a modifier for the moveButton option, otherwise ;; the mouse click is not forwarded to tint2 (in ~/.config/openbox/rc.xml).

Offline

#5 2010-07-14 16:48:09

iamsmrt
Member
Registered: 2009-08-12
Posts: 138

Re: Fullscreen Games and tint2

Oh wow, didn't realize there was documentation for tint2. Thanks!

Offline

Board footer

Powered by FluxBB