You are not logged in.

#1 2019-10-13 15:24:45

SuMaN_ShReStHa
Member
From: bhaktapur, nepal
Registered: 2019-10-13
Posts: 2

Dialogue box for "open file" is very big [solved]

While using sublime, downloading a media from firefox the dialog box appears which is so large that i cannot either choose the top file or rename the file. i am currently using the latest version of arch with i3. file manager is nemo, dolphin, nautilus.

Last edited by SuMaN_ShReStHa (2019-10-13 16:24:32)

Offline

#2 2019-10-13 15:30:11

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 16,812

Re: Dialogue box for "open file" is very big [solved]

i3 will treat it like a regular window and tile it accordingly.  If you float the window, it should look more like a dialog. 

You can put a line similar to this in your ~/.i3/config file:

for_window [title="pinentry"] floating enable

One my system, that floats the pinentry dialog used by gpg.  Create something similar changing the window title.

You can also do it by window role.  For example, the following floats all about boxes

for_window [window_role="About"] floating enable

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2019-10-13 15:45:59

SuMaN_ShReStHa
Member
From: bhaktapur, nepal
Registered: 2019-10-13
Posts: 2

Re: Dialogue box for "open file" is very big [solved]

Well, i just resized the floating screen with the help of mouse. And that's it, it worked for me

Last edited by SuMaN_ShReStHa (2019-10-13 16:25:57)

Offline

#4 2019-10-13 20:12:59

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 16,812

Re: Dialogue box for "open file" is very big [solved]

Great.  You can mark this solved by editing your first post in the thread.  The first post (and only the first post) gives you the option to edit the title.  Just do so and prepend [SOLVED].

As to my other solution, you can find information about a window by running xproc from a terminal program.  When you run it, it will give you a cross hair cursor.  Place that cursor on the window of interest and click.  It will give you a bunch of data, like this

ewaller@odin/home/ewaller % xprop
_NET_WM_DESKTOP(CARDINAL) = 1
_NET_WM_STATE(ATOM) = _NET_WM_STATE_FOCUSED
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
_NET_STARTUP_ID(UTF8_STRING) = "i3/i3-sensible-terminal/682-7-odin_TIME20671388"
_NET_WM_PID(CARDINAL) = 65672
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, _NET_WM_PING
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLASS(STRING) = "urxvt", "URxvt"
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
		window id # of group leader: 0x2c0000a
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified minimum size: 13 by 21
		program specified resize increment: 9 by 17
		program specified base size: 4 by 4
		window gravity: NorthWest
WM_CLIENT_MACHINE(STRING) = "odin"
WM_COMMAND(STRING) = { "urxvt" }
_NET_WM_ICON_NAME(UTF8_STRING) = "ewaller@odin:~"
WM_ICON_NAME(STRING) = "ewaller@odin:~"
_NET_WM_NAME(UTF8_STRING) = "ewaller@odin:~"
WM_NAME(STRING) = "ewaller@odin:~"
ewaller@odin/home/ewaller % 

The window name is shown in that output WM_NAME(STRING) = "ewaller@odin:~"
.  So is the class WM_CLASS(STRING) = "urxvt", "URxvt"


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB