The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

rdesktop "maximized"

asked 2014-12-09 11:29:19 +0000

daniel gravatar image

updated 2014-12-09 11:47:22 +0000

I want to open rdesktop in a "maximized" frame, to cover the whole screen but the bar. For this purpose I set the geometry equal with the display resolution but on vertical I substracted the bar height. The problem is that rdesktop frame opens with an offset, never "maximized".

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-12-09 21:11:04 +0000

joepd gravatar image

updated 2014-12-15 09:11:35 +0000

Thanks for asking, this is a good reason to fix this annoying thing for myself... The key line in the debug log seems to be this:

09.12.2014 21:26:17 - This window is a dialog window, setting floating

A bit of digging leads to commit 8ed95ae58cb371a24214ec0474199f5551829cd6 that was made as a fix to Bug 1182. Apparently, it has been deemed reasonable to assume that when an application requests a specific size, that it needs to be treated as a floating window.

Luckily, rdesktop also allows the size to depend on the screen size. With -g 100%, I managed to get the nice behavior back without specifying custom matchers in i3.conf.

Edit: Thanks, Daniel, for pointing out that this does not work in a multimonitor setup. Also, in a single monitor setup, rdesktop is not aware of i3bar, and a portion disappears from the screen. I ended up making a matcher in my i3.conf:

for_window [class="^rdesktop"] move workspace number 5; floating disable
edit flag offensive delete link more

Comments

I didn't mention I am using a dual monitor setup. Running rdesktop with -g 100% expands the frame on both displays.

daniel gravatar imagedaniel ( 2014-12-10 14:58:14 +0000 )edit

I upgraded i3 to 4.9 and it seems that the issue is fixed. Thank you!

daniel gravatar imagedaniel ( 2015-03-16 08:26:43 +0000 )edit

Question Tools

Stats

Asked: 2014-12-09 11:29:19 +0000

Seen: 345 times

Last updated: Dec 15 '14

Related questions