You are not logged in.

#1 2010-01-05 21:24:06

m4co
Member
Registered: 2009-12-29
Posts: 117
Website

maximize window over tint2 ?

Hi!

I'm trying to make my windows maximize over the tint2 panel, but no success.

In the FAQ they say this was a bug and that is fixed now, but I still can't do it.

The only way to do it is to set panel_dock=1 but then I get this ugly border around it that I can't remove.

Here's my tint2rc:

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

#---------------------------------------------
# BACKGROUND AND BORDER
#---------------------------------------------
rounded = 4
border_width = 1
background_color = #303030 0
#border_color = #ffffff 0

rounded = 0
border_width = 0
background_color = #303030 100
#border_color = #ECEDEE 70

rounded = 0
border_width = 0
background_color = #303030 100
#border_color = #ECEDEE 70

#---------------------------------------------
# PANEL
#---------------------------------------------
panel_dock=0
panel_monitor = all
panel_position = bottom center horizontal
panel_size = 0 26
panel_margin = 0 
panel_padding = 9 3 3
font_shadow = 0
panel_background_id = 1
wm_menu = 1
#real_transparency = 1

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

#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 0
task_text = 1
task_maximum_size = 120 30
task_centered = 1
task_padding = 6 3
task_font = sans 7
task_font_color = #8f8f8f 100
task_active_font_color = #e0e0e0 100
task_background_id = 2
task_active_background_id = 2

#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
systray = 1
systray_padding = 0 0 2
systray_background_id = 0
systray_sort = right2left

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

Using kernel 2.6.32.2-2 and tint2 0.8-1.

If is there anybody here that is using tint2 and is able to maximize the window over it?
I would like to check the tintrc file.

Thank you!


Don't panic !

Offline

#2 2010-01-06 13:06:48

Roline
Member
From: Netherlands
Registered: 2009-12-05
Posts: 207
Website

Re: maximize window over tint2 ?

You did a great job, it's really nice!

Answering your questions:
For the battery display change your ~/.config/tint2/tint2rc from

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

to

#---------------------------------------------
# BATTERY
#---------------------------------------------
battery = 1
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

And my network app is wicd with the humanity icons.

And about the maximize:

http://ubuntuforums.org/archive/index.php/t-1008025.html wrote:

If you add the line "reserve_space = 0" or, if the "reserve_space" setting isn't present in your tint2rc file, then the panel will allow windows to maximize over it. Setting "reserve_space" to 1 will make tint2 act like normal, reserving space as usual.

I haven't tested that one, so you could try it and I hope it works for you!

Last edited by Roline (2010-01-06 14:17:11)


Bitbucket - DeviantART - Userstyles
*Currently Not Using Arch

Offline

#3 2010-01-06 15:41:31

m4co
Member
Registered: 2009-12-29
Posts: 117
Website

Re: maximize window over tint2 ?

Hi Roline! Thanks for your reply!

Unfortunately "reserve_space" didn't work sad

The battery now works but it's a bit crazy tongue
It shows -109% when it's full, but I will keep testing it.


Don't panic !

Offline

#4 2010-01-06 15:57:46

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: maximize window over tint2 ?

Did you try this from the FAQ:

Add a key mapping in openbox's config file ~/.config/openbox/rc.xml
<keybind key="W-p">
  <action name="ToggleFullscreen"/>
</keybind>

http://code.google.com/p/tint2/wiki/FAQ … in_Openbox
Similarly I guess you can do this for other wms as well.

Last edited by sHyLoCk (2010-01-06 15:59:13)


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#5 2010-01-06 16:30:14

m4co
Member
Registered: 2009-12-29
Posts: 117
Website

Re: maximize window over tint2 ?

sHyLoCk wrote:

Did you try this from the FAQ:

Add a key mapping in openbox's config file ~/.config/openbox/rc.xml
<keybind key="W-p">
  <action name="ToggleFullscreen"/>
</keybind>

http://code.google.com/p/tint2/wiki/FAQ … in_Openbox
Similarly I guess you can do this for other wms as well.

That works! Though I lose the title bar but that's quite cool, more space to browse smile

I think this will do until they update or something.

Btw, hard to understand openbox keybinds, W? A? C? Took me a while to realize W is the Windows button.

Thanks!


Don't panic !

Offline

#6 2010-01-06 16:47:17

Roline
Member
From: Netherlands
Registered: 2009-12-05
Posts: 207
Website

Re: maximize window over tint2 ?

Key Bindings
S     Shift key
C     Control key
A     Alt key
W     Super key (Usually bound to the Windows key on keyboards which have one)
M     Meta key
H     Hyper key (If it is bound to something)

And for the bat: you could think about a battery applet or a power manager. I use gnome-power-manager (many dependencies sad).


Bitbucket - DeviantART - Userstyles
*Currently Not Using Arch

Offline

#7 2010-01-06 16:53:13

m4co
Member
Registered: 2009-12-29
Posts: 117
Website

Re: maximize window over tint2 ?

Roline wrote:

Key Bindings
S     Shift key
C     Control key
A     Alt key
W     Super key (Usually bound to the Windows key on keyboards which have one)
M     Meta key
H     Hyper key (If it is bound to something)

And for the bat: you could think about a battery applet or a power manager. I use gnome-power-manager (many dependencies sad).

What is Meta and Hyper key?

You could try xfce4-power-manager, less dependencies smile
But I'll stay without them for now.


Don't panic !

Offline

#8 2010-02-06 20:10:44

zkeng
Member
Registered: 2009-12-08
Posts: 12

Re: maximize window over tint2 ?

Hi

I solved it with a little workaround.

#---------------------------------------------
# PANEL AUTO HIDE
#---------------------------------------------
autohide = 1
autohide_show_timeout = 0.0
autohide_hide_timeout = 999999
autohide_height = 1
strut_policy = minimum
#reserve_space = 0 # not yet implemented

Now openbox windows will maximize over the panel and it will not hide for eleven and a half day. This is the maximum autohide_hide_timeout value the panel will accept.

Cheers

Offline

#9 2010-02-07 00:03:23

SemiBz
Member
From: Riga, Latvia
Registered: 2010-01-30
Posts: 80

Re: maximize window over tint2 ?

Auto-hide is the only way you can achieve this.

Offline

#10 2010-02-07 10:39:29

zkeng
Member
Registered: 2009-12-08
Posts: 12

Re: maximize window over tint2 ?

For now, yes, but i guess eventually the "reserve_space = 0" parameter that I have commented out in my rc file will be implemented. For now though it only exists in a custom build of tint2. Why bother i the meantime, using the auto hide setup described above works like a charm.

Offline

#11 2010-02-07 11:00:05

m4co
Member
Registered: 2009-12-29
Posts: 117
Website

Re: maximize window over tint2 ?

Thanks for the replies guys. Now I'm using 'ToggleFullscreen' to get over tint2.

But I'm sure your suggestions will work as well big_smile


Don't panic !

Offline

Board footer

Powered by FluxBB