Fix Open Save File Dialog Too Big in i3 windows manager

Pinterest LinkedIn Tumblr

On a new fresh installation of manjaro i3 windows manager, I had this issue where the open/save file dialog was showing a blank screen. Upon investigating, I found out that the dialog box was just too big because of my resolution hence was filing up the whole screen.

I can confirm my resolution with the following commands

xdpyinfo | grep -B2 resolution
xrdb -query | grep dpi

Query to check the handler

xdg-mime query default inode/directory

Upon checking i3 logs I found the following:

[..] window 0x014013e1 wants to be at -1670x-1466 with 6220x4644

The solution is to add the following config to i3wm config

floating_minimum_size 500 x 300
floating_maximum_size 2000 x 1500
for_window [class="(?i)firefox" instance="^(?!Navigator$)"] floating enable

I am a Devops Engineer, but I would describe myself as a Tech Enthusiast who is a fan of Open Source, Linux, Automations, Cloud and Virtualization. I love learning and exploring new things so I blog in my free time about Devops related stuff, Linux, Automations and Open Source software. I can also code in Python and Golang.

Write A Comment