|
General software and network General OS-independent software and network questions, X11, MTA, routing, etc. |
|
Thread Tools | Display Modes |
|
|||
windows/dialog boxes larger than screen
This has been a pain in my side since RedHat Linux 5.1.
It has continued on through my use of FreeBSD, and it has to do with the default window size of various dialog boxes and applications that use xorg/xwindows. Windows are often drawn offscreen if your monitor resolution is not large enough. If your screen is large enough you dont notice but back in the day I had a 1024x768 tube monitor and it sucked that i couldnt see the whole window when I opened it up 2(modern) examples (Fedora) Emacs(using gtk) opens up in pekwm in full view then quickly resizes to larger than my screensize. The bottom bar is below the screen. (trisquel) This one is a serious one imho. I finally got mi wife to use linux on her netbook yet being a netbook at 1024x600 it does not have a LARGE irix multiscreen monitor So when we tell it to print, the print box comes up larger than the screen vertically. the printer selection box is huge! it has space for like 10 printers when we have only 1, hehe. the system doesnt seem to let us maximize or resize i vertically(only horizantally) Also, you cant reach the bottom right corner becuase its offscreen. My question: is there someway to force dialog boxes and apps to conform to the screen size instead of going beyond the screen size? some apps seem to be hardcoded to work with larger screens only. |
|
|||
Only by playing with screen resolution. Window & dialog sizes are preset.
|
|
|||
We are talking open source stuff here so preset where? for GTK is there usually a setting in dconf or is it a matter of hacking source code?
|
|
||||
In PekWM, you can use the ~/.pekwm/autoproperties to force a size on start.
For example: Code:
Property = ".*,^Opera" { ApplyOn = "New Start Reload Transient Workspace" Workspace = "2" ClientGeometry = "400x400" } http://www.pekwm.org/files/pekwm/doc...autoprops.html In addition, some programs accept the -geometry argument, although this seems to be less common these days ... Quote:
If I configure Xorg as "multi-monitor" in xorg.conf it treats both screens as if it's one huge screen, it doesn't make any distinction between the individual screens. I don't know if you can change this behavior, but my workaround is *NOT* to configure Xorg in multimonitor mode and start it normally, it will show the same contents on both screen. Then I manually use xrandr to setup the multi-montitor environment, this way PekWM will "remember" one screen as the "main" screen. This way it works pretty much like MS Windows (which I prefer). This may not work with all window managers, I *think* this is actually a bug in PekWM, but a darn useful one IMHO
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. Last edited by Carpetsmoker; 11th October 2012 at 07:08 PM. |
|
|||
For compiled applications, resources can either be configured at compile-time or dynamically at run-time. The advantage of compile-time configuration is an obvious performance gain, whereas run-time configuration has to be parsed during execution. For the dynamic languages, most of this kind of configuration is hard-coded in the application's source, but the actions of creating dialogs is still done at run-time.
Quote:
I'd suggest simply getting a bigger external monitor. Quote:
|
|
|||
Quote:
My main comp monitor is a bigscreen tv and I dont notice oversized dialogs but what about netbooks/laptops? not being able to see teh "print dialog" on a laptop because it takes up WAY too much space vertically is really annoying hehe. I think it would be really nice to set the GTK "print" dialog to resizable somehow, there has gotta be a flag somewhere... |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Chromium loses focus in text boxes | kly | FreeBSD Ports and Packages | 4 | 19th October 2011 02:53 PM |
move install to new server larger hard drive (raid system) | carpman | FreeBSD General | 16 | 24th November 2009 10:57 AM |
Annoying blue config dialog | _hmp_ | FreeBSD Ports and Packages | 11 | 28th December 2008 05:37 PM |
Opera Font and Dialog Color Problem | roddierod | FreeBSD General | 4 | 26th September 2008 02:39 PM |
How to look for open slots in Sun Boxes | revzalot | Solaris | 1 | 19th July 2008 04:54 PM |