[SOLVED] XFCE - Java Swing button theme?

I'm running XFCE, and I notice that all Swing-based Java applications use the ugly Swing button theme. When I used GNOME 3, some of them would adapt to the GNOME button theme (and would look like they belonged on the system).
Is this issue with XFCE, my current GTK theme (dorian), or Java, and how can I change this?
Last edited by 2mac (2014-01-01 22:17:07)

Thank you for the information.
I followed the wiki by adding
export _JAVA_OPTIONS="-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
to my ~/.bashrc file.
To test, I launched the Minecraft launcher (one of the applications which does support style changes between desktops), and got back this information:
Picked up _JAVA_OPTIONS: -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
Error parsing gtk-icon-sizes string: ''
And it had no effect. Any ideas?
Last edited by 2mac (2013-12-31 16:35:39)

Similar Messages

  • Problem with java swing button and loop

    Problem with java swing button and loop
    I�m using VAJ 4.0. and I�m doing normal GUI application. I have next problem.
    I have in the same class two jswing buttons named start (ivjGStart) and stop (ivjGStop) and private static int field named Status where initial value is 0. This buttons should work something like this:
    When I click on start button it must do next:
    Start button must set disenabled and Stop button must set enabled and selected. Field status is set to 1, because this is a condition in next procedure in some loop. And then procedure named IzvajajNeprekinjeno() is invoked.
    And when I click on stop button it must do next:
    Start button must set enabled and selected and Stop button must set disenabled.
    Field status is set to 0.
    This works everything fine without loop �do .. while� inside the procedure IzvajajNeprekinjeno(). But when used this loop the start button all the time stay (like) pressed. And this means that a can�t stop my loop.
    There is java code, so you can get better picture:
    /** start button */
    public void gStart_ActionEvents() {
    try {
    ivjGStart.setEnabled(false);
    ivjGStop.setEnabled(true);
    ivjGStop.setSelected(true);
    getJTextPane1().setText("Program is running ...");
    Status = 1;
    } catch (Exception e) {}
    /** stop button */
    public void gStop_ActionEvents() {
    try {
    ivjGStart.setEnabled(true);
    ivjGStart.setSelected(true);
    ivjGStop.setEnabled(false);
    getJTextPane1().setText("Program is NOT running ...");
    Status = 0;
    } catch (Exception e) {
    /** procedure IzvajajNeprekinjeno() */
    public void IzvajajNeprekinjeno() {  //RunLoop
    try {
    int zamik = 2000; //delay
    do {
    Thread.sleep(zamik);
    PreberiDat(); //procedure
    } while (Status == 1);
    } catch (Exception e) {
    So, I'm asking what I have to do, that start button will not all the time stay pressed? Or some other aspect of solving this problem.
    Any help will be appreciated.
    Best regards,
    Tomi

    This is a multi thread problem. When you start the gui, it is running in one thread. Lets call that GUI_Thread so we know what we are talking about.
    Since java is task-based this will happen if you do like this:
    1. Button "Start" is pressed. Thread running: GUI_Thread
    2. Event gStart_ActionEvents() called. Thread running: GUI_Thread
    3. Method IzvajajNeprekinjeno() called. Thread running: GUI_Thread
    4. Sleep in method IzvajajNeprekinjeno() on thread GUI_Thread
    5. Call PreberiDat(). Thread running: GUI_Thread
    6. Check status. If == 1, go tho 4. Thread running: GUI_Thread.
    Since the method IzvajajNeprekinjeno() (what does that mean?) and the GUI is running in the same thread and the event that the Start button has thrown isn't done yet, the program will go on in the IzvajajNeprekinjeno() method forever and never let you press the Stop-button.
    What you have to do is do put either the GUI in a thread of its own or start a new thread that will do the task of the IzvajajNeprekinjeno() method.
    http://java.sun.com/docs/books/tutorial/uiswing/index.html
    This tutorial explains how to build a multi threaded gui.
    /Lime

  • [solved] XFCE Dual monitor causes theme & icon, xconf issues

    Hey all,
    Here is the issue:
    I have  sony svz13114gxx laptop with xfce4 DE, i just tried to hook up external vga monitor to laptop and everything configures right (no mirroring) with this run  in normal session:
    xrandr --output eDP1 --mode 1920x1080
    xrandr --newmode "1920x1200_60.00" 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync
    xrandr --addmode VGA1 1920x1200_60.00
    xrandr --output VGA1 --mode 1920x1200_60.00
    xrandr --output VGA1 --left-of eDP1
    Obviously when i reboot this is not persistent, so then i put this stuff in my /etc/X11/xorg.conf.d/20-intel.conf:
    Section "Device"
    Identifier "Intel Graphics"
    Driver "intel"
    Option "AccelMethod" "sna"
    Option "monitor-eDP1" "eDP1"
    Option "monitor-VGA1" "VGA1"
    EndSection
    Section "Monitor"
    Identifier "VGA1"
    Modeline "1920x1200_60.00" 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -HSync +VSync
    Option "PreferredMode" "1920x1200_60.00"
    EndSection
    Section "Monitor"
    Identifier "eDP1"
    Option "PreferredMode" "1920x1080"
    Option "Primary" "true"
    Option "Position" "1920 0"
    EndSection
    Section "Screen"
    Identifier "Default Screen"
    Device "Intel Graphics"
    Monitor "eDP1"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1920x1080"
    EndSubSection
    EndSection
    This is where the problems start. On reboot Slim desktop manager seems to be stretched properly across the two monitors, but the I login and the display switches back to being mirrored, my xfce gtk2 theme is disabled in favor of somee default looking one, my icons are back to default, and none of my custom keyboard shorcuts work.
    I can then use xrandr to get the displays in extended mode again, but the themes and icons etc do not revert. And on reboot, i have the same issue.
    I have tried the  sourcing ~/.xprofile, ~/.xinitrc, and ~/.config.xfce4/xinitrc routes, putting the xrandr cammands above the exec lines and that doesn't even enable VGA1.
    I have been  to all these places
    https://wiki.ubuntu.com/X/Config/Resolution#Xrandr_Graphical_Front_End_GUI
    http://ilkinbalkanay.blogspot.com/2008/01/extended-desktop-configuration-with.html
    https://bbs.archlinux.org/viewtopic.php?id=98747
    https://www.google.com/search?q=arch%20xrandr&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&source=hp&channel=np
    https://wiki.archlinux.org/index.php/Execute_commands_after_X_start
    http://intellinuxgraphics.org/dualhead.html
    http://mac.linux.be/content/setting-xorgconf-manually-xrandr#3
    https://www.google.com/search?q=arch%20dual%20monitors%20The%20last%20active%20output%20must%20not%20be%20disabled%2C%20the%20system%20would%20be%20unusable.&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&source=hp&channel=np#hl=en&safe=off&client=firefox-a&tbo=d&rls=org.mozilla:en-US%3Aofficial&channel=np&sclient=psy-ab&q=xfce+%22Selected+output+not+disabled%22&oq=xfce+%22Selected+output+not+disabled%22&gs_l=serp.3...1694.1694.3.2205.1.1.0.0.0.0.97.97.1.1.0.les%3Bcrnk_timediscounta..0.0...1c.1.O4EDj7DaWlA&pbx=1&fp=1&bpcl=39468505&biw=984&bih=936&cad=b&sei=aKC_UIKvJ6GA0AGTg4HwBg&sei=FKS_UMuwJdPU0gHorICQBA&bav=on.2,or.r_gc.r_pw.r_qf.&sei=2MK_UOaAJ5Ph0wGbsoHICg
    https://wiki.archlinux.org/index.php/Xfce#Customizing_Startup_Applications
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
    https://wiki.archlinux.org/index.php/Xorg#Monitor_settings
    Even after much research, still no luck.
    this might be useful:
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631225
    Anyone have any ideas?
    here is my Xorg0.log
    [ 3.490]
    X.Org X Server 1.13.0
    Release Date: 2012-09-05
    [ 3.490] X Protocol Version 11, Revision 0
    [ 3.490] Build Operating System: Linux 3.6.3-1-ARCH x86_64
    [ 3.490] Current Operating System: Linux tcz 3.6.8-1-ARCH #1 SMP PREEMPT Mon Nov 26 22:10:40 CET 2012 x86_64
    [ 3.490] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=d23251af-35fa-426b-a7d5-5aa2f0a5b87d ro quiet pcie_aspm=force i915.i915_enable_rc6=1
    [ 3.490] Build Date: 08 November 2012 07:09:29PM
    [ 3.490]
    [ 3.490] Current version of pixman: 0.28.0
    [ 3.490] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 3.490] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 3.490] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 5 16:25:21 2012
    [ 3.492] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 3.494] (==) No Layout section. Using the first Screen section.
    [ 3.494] (**) |-->Screen "Default Screen" (0)
    [ 3.494] (**) | |-->Monitor "eDP1"
    [ 3.494] (**) | |-->Device "Intel Graphics"
    [ 3.494] (==) Automatically adding devices
    [ 3.494] (==) Automatically enabling devices
    [ 3.494] (==) Automatically adding GPU devices
    [ 3.504] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 3.504] Entry deleted from font path.
    [ 3.504] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 3.504] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 3.504] Entry deleted from font path.
    [ 3.504] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 3.504] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/Type1/
    [ 3.504] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 3.504] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 3.504] (II) Loader magic: 0x7fcc40
    [ 3.504] (II) Module ABI versions:
    [ 3.504] X.Org ANSI C Emulation: 0.4
    [ 3.504] X.Org Video Driver: 13.1
    [ 3.504] X.Org XInput driver : 18.0
    [ 3.504] X.Org Server Extension : 7.0
    [ 3.505] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 6.276] (--) PCI:*(0:0:2:0) 8086:0166:104d:90a5 rev 9, Mem @ 0xd7000000/4194304, 0xc0000000/268435456, I/O @ 0x00009000/64
    [ 6.276] (II) Open ACPI successful (/var/run/acpid.socket)
    [ 6.276] Initializing built-in extension Generic Event Extension
    [ 6.276] Initializing built-in extension SHAPE
    [ 6.276] Initializing built-in extension MIT-SHM
    [ 6.276] Initializing built-in extension XInputExtension
    [ 6.276] Initializing built-in extension XTEST
    [ 6.276] Initializing built-in extension BIG-REQUESTS
    [ 6.276] Initializing built-in extension SYNC
    [ 6.276] Initializing built-in extension XKEYBOARD
    [ 6.276] Initializing built-in extension XC-MISC
    [ 6.276] Initializing built-in extension SECURITY
    [ 6.276] Initializing built-in extension XINERAMA
    [ 6.276] Initializing built-in extension XFIXES
    [ 6.276] Initializing built-in extension RENDER
    [ 6.276] Initializing built-in extension RANDR
    [ 6.276] Initializing built-in extension COMPOSITE
    [ 6.276] Initializing built-in extension DAMAGE
    [ 6.276] Initializing built-in extension MIT-SCREEN-SAVER
    [ 6.276] Initializing built-in extension DOUBLE-BUFFER
    [ 6.276] Initializing built-in extension RECORD
    [ 6.276] Initializing built-in extension DPMS
    [ 6.276] Initializing built-in extension X-Resource
    [ 6.276] Initializing built-in extension XVideo
    [ 6.276] Initializing built-in extension XVideo-MotionCompensation
    [ 6.276] Initializing built-in extension XFree86-VidModeExtension
    [ 6.276] Initializing built-in extension XFree86-DGA
    [ 6.276] Initializing built-in extension XFree86-DRI
    [ 6.276] Initializing built-in extension DRI2
    [ 6.276] (II) LoadModule: "glx"
    [ 6.278] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 6.281] (II) Module glx: vendor="X.Org Foundation"
    [ 6.281] compiled for 1.13.0, module version = 1.0.0
    [ 6.281] ABI class: X.Org Server Extension, version 7.0
    [ 6.281] (==) AIGLX enabled
    [ 6.281] Loading extension GLX
    [ 6.281] (II) LoadModule: "intel"
    [ 6.281] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
    [ 6.285] (II) Module intel: vendor="X.Org Foundation"
    [ 6.285] compiled for 1.13.0.901, module version = 2.20.14
    [ 6.285] Module class: X.Org Video Driver
    [ 6.285] ABI class: X.Org Video Driver, version 13.1
    [ 6.285] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
    i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
    E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
    965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
    4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
    Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
    Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
    Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
    Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
    Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
    Ivybridge Server (GT2), Haswell Desktop (GT1), Haswell Desktop (GT2),
    Haswell Desktop (GT2+), Haswell Mobile (GT1), Haswell Mobile (GT2),
    Haswell Mobile (GT2+), Haswell Server (GT1), Haswell Server (GT2),
    Haswell Server (GT2+), Haswell SDV Desktop (GT1),
    Haswell SDV Desktop (GT2), Haswell SDV Desktop (GT2+),
    Haswell SDV Mobile (GT1), Haswell SDV Mobile (GT2),
    Haswell SDV Mobile (GT2+), Haswell SDV Server (GT1),
    Haswell SDV Server (GT2), Haswell SDV Server (GT2+),
    Haswell ULT Desktop (GT1), Haswell ULT Desktop (GT2),
    Haswell ULT Desktop (GT2+), Haswell ULT Mobile (GT1),
    Haswell ULT Mobile (GT2), Haswell ULT Mobile (GT2+),
    Haswell ULT Server (GT1), Haswell ULT Server (GT2),
    Haswell ULT Server (GT2+), Haswell CRW Desktop (GT1),
    Haswell CRW Desktop (GT2), Haswell CRW Desktop (GT2+),
    Haswell CRW Mobile (GT1), Haswell CRW Mobile (GT2),
    Haswell CRW Mobile (GT2+), Haswell CRW Server (GT1),
    Haswell CRW Server (GT2), Haswell CRW Server (GT2+),
    ValleyView PO board
    [ 6.286] (++) using VT number 7
    [ 6.288] (II) intel(0): using device path '/dev/dri/card0'
    [ 6.288] (**) intel(0): Depth 24, (--) framebuffer bpp 32
    [ 6.288] (==) intel(0): RGB weight 888
    [ 6.288] (==) intel(0): Default visual is TrueColor
    [ 6.288] (**) intel(0): Option "AccelMethod" "sna"
    [ 6.288] (--) intel(0): Integrated Graphics Chipset: Intel(R) Ivybridge Mobile (GT2)
    [ 6.289] (**) intel(0): Framebuffer tiled
    [ 6.289] (**) intel(0): Pixmaps tiled
    [ 6.289] (**) intel(0): 3D buffers tiled
    [ 6.289] (**) intel(0): Throttling enabled
    [ 6.289] (**) intel(0): Delayed flush enabled
    [ 6.289] (**) intel(0): "Tear free" disabled
    [ 6.289] (**) intel(0): Forcing per-crtc-pixmaps? no
    [ 6.289] (II) intel(0): Output eDP1 using monitor section eDP1
    [ 6.289] (**) intel(0): Option "PreferredMode" "1920x1080"
    [ 6.289] (**) intel(0): Option "Position" "1920 0"
    [ 6.289] (**) intel(0): Option "Primary" "true"
    [ 6.289] (--) intel(0): found backlight control interface acpi_video0 (type 'firmware')
    [ 6.293] (II) intel(0): Output VGA1 using monitor section VGA1
    [ 6.293] (**) intel(0): Option "PreferredMode" "1920x1200_60.00"
    [ 6.294] (II) intel(0): Output HDMI1 has no monitor section
    [ 6.336] (II) intel(0): Output DP1 has no monitor section
    [ 6.337] (II) intel(0): EDID for output eDP1
    [ 6.337] (II) intel(0): Manufacturer: MS_ Model: 25 Serial#: 16843009
    [ 6.337] (II) intel(0): Year: 2012 Week: 24
    [ 6.337] (II) intel(0): EDID Version: 1.4
    [ 6.337] (II) intel(0): Digital Display Input
    [ 6.337] (II) intel(0): 8 bits per channel
    [ 6.337] (II) intel(0): Digital interface is DisplayPort
    [ 6.337] (II) intel(0): Max Image Size [cm]: horiz.: 29 vert.: 16
    [ 6.337] (II) intel(0): Gamma: 2.20
    [ 6.337] (II) intel(0): No DPMS capabilities specified
    [ 6.337] (II) intel(0): Supported color encodings: RGB 4:4:4
    [ 6.337] (II) intel(0): First detailed timing is preferred mode
    [ 6.337] (II) intel(0): Preferred mode is native pixel format and refresh rate
    [ 6.337] (II) intel(0): redX: 0.602 redY: 0.336 greenX: 0.296 greenY: 0.546
    [ 6.337] (II) intel(0): blueX: 0.148 blueY: 0.126 whiteX: 0.313 whiteY: 0.329
    [ 6.337] (II) intel(0): Manufacturer's mask: 0
    [ 6.337] (II) intel(0): Supported standard timings:
    [ 6.337] (II) intel(0): #0: hsize: 1920 vsize 1080 refresh: 60 vid: 49361
    [ 6.337] (II) intel(0): Supported detailed timing:
    [ 6.337] (II) intel(0): clock: 162.8 MHz Image Size: 291 x 164 mm
    [ 6.337] (II) intel(0): h_active: 1920 h_sync: 1952 h_sync_end 1984 h_blank_end 2481 h_border: 0
    [ 6.337] (II) intel(0): v_active: 1080 v_sync: 1083 v_sync_end 1086 v_blanking: 1095 v_border: 0
    [ 6.337] (II) intel(0): Supported detailed timing:
    [ 6.337] (II) intel(0): clock: 99.9 MHz Image Size: 291 x 164 mm
    [ 6.337] (II) intel(0): h_active: 1920 h_sync: 1952 h_sync_end 1984 h_blank_end 2281 h_border: 0
    [ 6.337] (II) intel(0): v_active: 1080 v_sync: 1083 v_sync_end 1086 v_blanking: 1095 v_border: 0
    [ 6.337] (II) intel(0): Monitor name: Sony LCD
    [ 6.337] (II) intel(0): Ranges: V min: 39 V max: 61 Hz, H min: 43 H max: 66 kHz, PixClock max 175 MHz
    [ 6.337] (II) intel(0): EDID (in hex):
    [ 6.337] (II) intel(0): 00ffffffffffff00367f250001010101
    [ 6.337] (II) intel(0): 18160104a51d1078020f159a564b8b26
    [ 6.337] (II) intel(0): 205054000000d1c00101010101010101
    [ 6.337] (II) intel(0): 0101010101019c3f803172380f402020
    [ 6.337] (II) intel(0): 330023a4100000180727806971380f40
    [ 6.337] (II) intel(0): 2020330023a410000018000000fc0053
    [ 6.337] (II) intel(0): 6f6e79204c43440a20202020000000fd
    [ 6.337] (II) intel(0): 00273d2b4211000a2020202020200013
    [ 6.337] (II) intel(0): EDID vendor "MS_", prod id 37
    [ 6.337] (II) intel(0): Using EDID range info for horizontal sync
    [ 6.337] (II) intel(0): Using EDID range info for vertical refresh
    [ 6.337] (II) intel(0): Printing DDC gathered Modelines:
    [ 6.337] (II) intel(0): Modeline "1920x1080"x0.0 162.84 1920 1952 1984 2481 1080 1083 1086 1095 -hsync -vsync (65.6 kHz eP)
    [ 6.337] (II) intel(0): Modeline "1920x1080"x0.0 99.91 1920 1952 1984 2281 1080 1083 1086 1095 -hsync -vsync (43.8 kHz e)
    [ 6.337] (II) intel(0): Modeline "1920x1080"x60.0 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -hsync +vsync (67.1 kHz e)
    [ 6.337] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Printing probed modes for output eDP1
    [ 6.337] (II) intel(0): Modeline "1920x1080"x59.9 162.84 1920 1952 1984 2481 1080 1083 1086 1095 -hsync -vsync (65.6 kHz UeP)
    [ 6.337] (II) intel(0): Modeline "1920x1080"x40.0 99.91 1920 1952 1984 2281 1080 1083 1086 1095 -hsync -vsync (43.8 kHz e)
    [ 6.338] (II) intel(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
    [ 6.338] (II) intel(0): Modeline "1680x945"x60.0 131.48 1680 1784 1960 2240 945 946 949 978 -hsync +vsync (58.7 kHz)
    [ 6.338] (II) intel(0): Modeline "1400x1050"x60.0 122.00 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
    [ 6.338] (II) intel(0): Modeline "1400x1050"x60.0 121.75 1400 1488 1632 1864 1050 1053 1057 1089 -hsync +vsync (65.3 kHz e)
    [ 6.338] (II) intel(0): Modeline "1600x900"x60.0 118.96 1600 1696 1864 2128 900 901 904 932 -hsync +vsync (55.9 kHz)
    [ 6.338] (II) intel(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
    [ 6.338] (II) intel(0): Modeline "1440x900"x59.9 106.50 1440 1520 1672 1904 900 903 909 934 -hsync +vsync (55.9 kHz e)
    [ 6.338] (II) intel(0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz e)
    [ 6.338] (II) intel(0): Modeline "1366x768"x60.0 85.89 1366 1439 1583 1800 768 769 772 795 -hsync +vsync (47.7 kHz)
    [ 6.338] (II) intel(0): Modeline "1360x768"x60.0 85.50 1360 1424 1536 1792 768 771 777 795 +hsync +vsync (47.7 kHz e)
    [ 6.338] (II) intel(0): Modeline "1280x800"x59.8 83.50 1280 1352 1480 1680 800 803 809 831 +hsync -vsync (49.7 kHz e)
    [ 6.338] (II) intel(0): Modeline "1280x768"x59.9 79.50 1280 1344 1472 1664 768 771 778 798 -hsync +vsync (47.8 kHz e)
    [ 6.338] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
    [ 6.338] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d)
    [ 6.338] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
    [ 6.338] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d)
    [ 6.343] (II) intel(0): EDID for output VGA1
    [ 6.343] (II) intel(0): Printing probed modes for output VGA1
    [ 6.343] (II) intel(0): Modeline "1920x1200_60.00"x59.9 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync (74.6 kHz UP)
    [ 6.343] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
    [ 6.344] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
    [ 6.344] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e)
    [ 6.344] (II) intel(0): Modeline "848x480"x60.0 33.75 848 864 976 1088 480 486 494 517 +hsync +vsync (31.0 kHz e)
    [ 6.344] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 489 492 525 -hsync -vsync (31.5 kHz e)
    [ 6.344] (II) intel(0): EDID for output HDMI1
    [ 6.386] (II) intel(0): EDID for output DP1
    [ 6.386] (II) intel(0): Output eDP1 connected
    [ 6.386] (II) intel(0): Output VGA1 connected
    [ 6.386] (II) intel(0): Output HDMI1 disconnected
    [ 6.386] (II) intel(0): Output DP1 disconnected
    [ 6.386] (II) intel(0): Using user preference for initial modes
    [ 6.386] (II) intel(0): Output eDP1 using initial mode 1920x1080
    [ 6.386] (II) intel(0): Output VGA1 using initial mode 1920x1200_60.00
    [ 6.386] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
    [ 6.386] (**) intel(0): Display dimensions: (290, 160) mm
    [ 6.386] (**) intel(0): DPI set to (336, 190)
    [ 6.386] (II) Loading sub module "dri2"
    [ 6.386] (II) LoadModule: "dri2"
    [ 6.387] (II) Module "dri2" already built-in
    [ 6.387] (==) Depth 24 pixmap format is 32 bpp
    [ 6.387] (II) intel(0): SNA initialized with IvyBridge backend
    [ 6.387] (==) intel(0): Backing store disabled
    [ 6.387] (==) intel(0): Silken mouse enabled
    [ 6.387] (II) intel(0): HW Cursor enabled
    [ 6.387] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    [ 6.388] (==) intel(0): DPMS enabled
    [ 6.388] (II) intel(0): [DRI2] Setup complete
    [ 6.388] (II) intel(0): [DRI2] DRI driver: i965
    [ 6.388] (II) intel(0): direct rendering: DRI2 Enabled
    [ 6.388] (WW) intel(0): Option "PreferredMode" is not used
    [ 6.388] (WW) intel(0): Option "Primary" is not used
    [ 6.388] (WW) intel(0): Option "Position" is not used
    [ 6.388] (==) intel(0): hotplug detection: "enabled"
    [ 6.388] (--) RandR disabled
    [ 6.410] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
    [ 6.410] (II) AIGLX: enabled GLX_INTEL_swap_event
    [ 6.410] (II) AIGLX: enabled GLX_ARB_create_context
    [ 6.410] (II) AIGLX: enabled GLX_ARB_create_context_profile
    [ 6.410] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
    [ 6.410] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
    [ 6.410] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
    [ 6.410] (II) AIGLX: Loaded and initialized i965
    [ 6.410] (II) GLX: Initialized DRI2 GL provider for screen 0
    [ 6.411] (II) intel(0): switch to mode 1920x1080 on crtc 3 (pipe 0)
    [ 6.500] (II) intel(0): switch to mode 1920x1200 on crtc 5 (pipe 1)
    [ 6.663] (II) intel(0): Setting screen physical size to 1016 x 317
    [ 6.703] (II) config/udev: Adding input device Video Bus (/dev/input/event10)
    [ 6.703] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
    [ 6.703] (II) LoadModule: "evdev"
    [ 6.704] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 6.706] (II) Module evdev: vendor="X.Org Foundation"
    [ 6.706] compiled for 1.13.0, module version = 2.7.3
    [ 6.706] Module class: X.Org XInput Driver
    [ 6.706] ABI class: X.Org XInput driver, version 18.0
    [ 6.706] (II) Using input driver 'evdev' for 'Video Bus'
    [ 6.706] (**) Video Bus: always reports core events
    [ 6.706] (**) evdev: Video Bus: Device: "/dev/input/event10"
    [ 6.706] (--) evdev: Video Bus: Vendor 0 Product 0x6
    [ 6.706] (--) evdev: Video Bus: Found keys
    [ 6.706] (II) evdev: Video Bus: Configuring as keyboard
    [ 6.706] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:09/input/input10/event10"
    [ 6.706] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 6)
    [ 6.706] (**) Option "xkb_rules" "evdev"
    [ 6.706] (**) Option "xkb_model" "evdev"
    [ 6.706] (**) Option "xkb_layout" "us"
    [ 6.732] (II) config/udev: Adding input device Sony Vaio Keys (/dev/input/event3)
    [ 6.732] (**) Sony Vaio Keys: Applying InputClass "evdev keyboard catchall"
    [ 6.732] (II) Using input driver 'evdev' for 'Sony Vaio Keys'
    [ 6.732] (**) Sony Vaio Keys: always reports core events
    [ 6.732] (**) evdev: Sony Vaio Keys: Device: "/dev/input/event3"
    [ 6.732] (--) evdev: Sony Vaio Keys: Vendor 0x104d Product 0
    [ 6.732] (--) evdev: Sony Vaio Keys: Found keys
    [ 6.732] (II) evdev: Sony Vaio Keys: Configuring as keyboard
    [ 6.732] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/SNY5001:00/input/input3/event3"
    [ 6.732] (II) XINPUT: Adding extended input device "Sony Vaio Keys" (type: KEYBOARD, id 7)
    [ 6.732] (**) Option "xkb_rules" "evdev"
    [ 6.732] (**) Option "xkb_model" "evdev"
    [ 6.732] (**) Option "xkb_layout" "us"
    [ 6.732] (II) config/udev: Adding input device Sony Vaio Jogdial (/dev/input/event4)
    [ 6.732] (II) No input driver specified, ignoring this device.
    [ 6.732] (II) This device may have been added with another device file.
    [ 6.733] (II) config/udev: Adding input device Sony Vaio Jogdial (/dev/input/mouse0)
    [ 6.733] (II) No input driver specified, ignoring this device.
    [ 6.733] (II) This device may have been added with another device file.
    [ 6.733] (II) config/udev: Adding input device Power Button (/dev/input/event2)
    [ 6.733] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 6.733] (II) Using input driver 'evdev' for 'Power Button'
    [ 6.733] (**) Power Button: always reports core events
    [ 6.733] (**) evdev: Power Button: Device: "/dev/input/event2"
    [ 6.733] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 6.733] (--) evdev: Power Button: Found keys
    [ 6.733] (II) evdev: Power Button: Configuring as keyboard
    [ 6.733] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2/event2"
    [ 6.733] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
    [ 6.733] (**) Option "xkb_rules" "evdev"
    [ 6.733] (**) Option "xkb_model" "evdev"
    [ 6.733] (**) Option "xkb_layout" "us"
    [ 6.733] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
    [ 6.733] (II) No input driver specified, ignoring this device.
    [ 6.733] (II) This device may have been added with another device file.
    [ 6.733] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 6.734] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event6)
    [ 6.734] (II) No input driver specified, ignoring this device.
    [ 6.734] (II) This device may have been added with another device file.
    [ 6.734] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event7)
    [ 6.734] (II) No input driver specified, ignoring this device.
    [ 6.734] (II) This device may have been added with another device file.
    [ 6.735] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event8)
    [ 6.735] (II) No input driver specified, ignoring this device.
    [ 6.735] (II) This device may have been added with another device file.
    [ 6.735] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
    [ 6.735] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
    [ 6.735] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
    [ 6.735] (**) AT Translated Set 2 keyboard: always reports core events
    [ 6.735] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
    [ 6.735] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
    [ 6.735] (--) evdev: AT Translated Set 2 keyboard: Found keys
    [ 6.735] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
    [ 6.735] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
    [ 6.735] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 9)
    [ 6.735] (**) Option "xkb_rules" "evdev"
    [ 6.735] (**) Option "xkb_model" "evdev"
    [ 6.735] (**) Option "xkb_layout" "us"
    [ 6.736] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event9)
    [ 6.736] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
    [ 6.736] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
    [ 6.736] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
    [ 6.736] (II) LoadModule: "synaptics"
    [ 6.737] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
    [ 6.738] (II) Module synaptics: vendor="X.Org Foundation"
    [ 6.738] compiled for 1.13.0, module version = 1.6.2
    [ 6.738] Module class: X.Org XInput Driver
    [ 6.738] ABI class: X.Org XInput driver, version 18.0
    [ 6.738] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
    [ 6.738] (**) SynPS/2 Synaptics TouchPad: always reports core events
    [ 6.738] (**) Option "Device" "/dev/input/event9"
    [ 6.740] (II) synaptics: SynPS/2 Synaptics TouchPad: found clickpad property
    [ 6.740] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5768
    [ 6.740] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4758
    [ 6.740] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
    [ 6.740] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
    [ 6.740] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left double triple
    [ 6.740] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
    [ 6.740] (**) Option "FingerLow" "35"
    [ 6.740] (**) Option "FingerHigh" "45"
    [ 6.740] (**) Option "ClickPad" "true"
    [ 6.740] (**) Option "EmulateMidButtonTime" "0"
    [ 6.740] (**) Option "HorizTwoFingerScroll" "on"
    [ 6.740] (**) Option "TapButton1" "1"
    [ 6.740] (**) Option "TapButton2" "2"
    [ 6.740] (**) Option "TapButton3" "3"
    [ 6.740] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
    [ 6.740] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
    [ 6.740] (**) SynPS/2 Synaptics TouchPad: always reports core events
    [ 6.740] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input9/event9"
    [ 6.740] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 10)
    [ 6.741] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
    [ 6.741] (**) synaptics: SynPS/2 Synaptics TouchPad: MaxSpeed is now 1.75
    [ 6.741] (**) synaptics: SynPS/2 Synaptics TouchPad: AccelFactor is now 0.037
    [ 6.741] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
    [ 6.741] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
    [ 6.741] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
    [ 6.741] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
    [ 6.741] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
    [ 6.742] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
    [ 6.742] (II) No input driver specified, ignoring this device.
    [ 6.742] (II) This device may have been added with another device file.
    [ 6.742] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
    [ 6.742] (II) No input driver specified, ignoring this device.
    [ 6.742] (II) This device may have been added with another device file.
    [ 6.747] removing GPU device /sys/devices/pci0000:00/0000:00:02.0/drm/card0 21764432
    [ 6.747] xf86: remove device 0 /sys/devices/pci0000:00/0000:00:02.0/drm/card0
    [ 6.747] failed to find screen to remove
    [ 6.747] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 6.747] removing GPU device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1 0
    [ 6.747] removing GPU device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-VGA-1 0
    [ 6.747] (II) config/udev: removing device Video Bus
    [ 6.773] (II) evdev: Video Bus: Close
    [ 6.773] (II) UnloadModule: "evdev"
    [ 6.773] (II) config/udev: Adding input device Video Bus (/dev/input/event10)
    [ 6.773] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
    [ 6.773] (II) Using input driver 'evdev' for 'Video Bus'
    [ 6.773] (**) Video Bus: always reports core events
    [ 6.773] (**) evdev: Video Bus: Device: "/dev/input/event10"
    [ 6.773] (--) evdev: Video Bus: Vendor 0 Product 0x6
    [ 6.773] (--) evdev: Video Bus: Found keys
    [ 6.773] (II) evdev: Video Bus: Configuring as keyboard
    [ 6.773] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:09/input/input10/event10"
    [ 6.773] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 6)
    [ 6.773] (**) Option "xkb_rules" "evdev"
    [ 6.773] (**) Option "xkb_model" "evdev"
    [ 6.773] (**) Option "xkb_layout" "us"
    [ 6.774] removing GPU device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-1 0
    [ 6.774] removing GPU device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-1 0
    [ 7.569] (II) config/udev: Adding input device USB2.0 Camera (/dev/input/event11)
    [ 7.569] (**) USB2.0 Camera: Applying InputClass "evdev keyboard catchall"
    [ 7.569] (II) Using input driver 'evdev' for 'USB2.0 Camera'
    [ 7.569] (**) USB2.0 Camera: always reports core events
    [ 7.569] (**) evdev: USB2.0 Camera: Device: "/dev/input/event11"
    [ 7.569] (--) evdev: USB2.0 Camera: Vendor 0x5ca Product 0x18c6
    [ 7.569] (--) evdev: USB2.0 Camera: Found keys
    [ 7.569] (II) evdev: USB2.0 Camera: Configuring as keyboard
    [ 7.569] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input11/event11"
    [ 7.569] (II) XINPUT: Adding extended input device "USB2.0 Camera" (type: KEYBOARD, id 11)
    [ 7.569] (**) Option "xkb_rules" "evdev"
    [ 7.569] (**) Option "xkb_model" "evdev"
    [ 7.569] (**) Option "xkb_layout" "us"
    [ 24.939] (II) intel(0): EDID vendor "MS_", prod id 37
    [ 24.939] (II) intel(0): Using hsync ranges from config file
    [ 24.939] (II) intel(0): Using vrefresh ranges from config file
    [ 24.939] (II) intel(0): Printing DDC gathered Modelines:
    [ 24.939] (II) intel(0): Modeline "1920x1080"x0.0 162.84 1920 1952 1984 2481 1080 1083 1086 1095 -hsync -vsync (65.6 kHz eP)
    [ 24.939] (II) intel(0): Modeline "1920x1080"x0.0 99.91 1920 1952 1984 2281 1080 1083 1086 1095 -hsync -vsync (43.8 kHz e)
    [ 24.939] (II) intel(0): Modeline "1920x1080"x60.0 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -hsync +vsync (67.1 kHz e)
    [ 24.989] (II) intel(0): switch to mode 1920x1080 on crtc 3 (pipe 0)
    [ 25.055] (II) intel(0): EDID vendor "MS_", prod id 37
    [ 25.055] (II) intel(0): Using hsync ranges from config file
    [ 25.055] (II) intel(0): Using vrefresh ranges from config file
    [ 25.055] (II) intel(0): Printing DDC gathered Modelines:
    [ 25.055] (II) intel(0): Modeline "1920x1080"x0.0 162.84 1920 1952 1984 2481 1080 1083 1086 1095 -hsync -vsync (65.6 kHz eP)
    [ 25.055] (II) intel(0): Modeline "1920x1080"x0.0 99.91 1920 1952 1984 2281 1080 1083 1086 1095 -hsync -vsync (43.8 kHz e)
    [ 25.055] (II) intel(0): Modeline "1920x1080"x60.0 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -hsync +vsync (67.1 kHz e)
    [ 25.150] (II) intel(0): EDID vendor "MS_", prod id 37
    [ 25.150] (II) intel(0): Using hsync ranges from config file
    [ 25.150] (II) intel(0): Using vrefresh ranges from config file
    [ 25.150] (II) intel(0): Printing DDC gathered Modelines:
    [ 25.150] (II) intel(0): Modeline "1920x1080"x0.0 162.84 1920 1952 1984 2481 1080 1083 1086 1095 -hsync -vsync (65.6 kHz eP)
    [ 25.150] (II) intel(0): Modeline "1920x1080"x0.0 99.91 1920 1952 1984 2281 1080 1083 1086 1095 -hsync -vsync (43.8 kHz e)
    [ 25.150] (II) intel(0): Modeline "1920x1080"x60.0 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -hsync +vsync (67.1 kHz e)
    [ 25.274] (II) intel(0): EDID vendor "MS_", prod id 37
    [ 25.274] (II) intel(0): Using hsync ranges from config file
    [ 25.274] (II) intel(0): Using vrefresh ranges from config file
    [ 25.274] (II) intel(0): Printing DDC gathered Modelines:
    [ 25.274] (II) intel(0): Modeline "1920x1080"x0.0 162.84 1920 1952 1984 2481 1080 1083 1086 1095 -hsync -vsync (65.6 kHz eP)
    [ 25.274] (II) intel(0): Modeline "1920x1080"x0.0 99.91 1920 1952 1984 2281 1080 1083 1086 1095 -hsync -vsync (43.8 kHz e)
    [ 25.274] (II) intel(0): Modeline "1920x1080"x60.0 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -hsync +vsync (67.1 kHz e)
    [ 25.387] (II) intel(0): EDID vendor "MS_", prod id 37
    [ 25.387] (II) intel(0): Using hsync ranges from config file
    [ 25.387] (II) intel(0): Using vrefresh ranges from config file
    [ 25.387] (II) intel(0): Printing DDC gathered Modelines:
    [ 25.387] (II) intel(0): Modeline "1920x1080"x0.0 162.84 1920 1952 1984 2481 1080 1083 1086 1095 -hsync -vsync (65.6 kHz eP)
    [ 25.387] (II) intel(0): Modeline "1920x1080"x0.0 99.91 1920 1952 1984 2281 1080 1083 1086 1095 -hsync -vsync (43.8 kHz e)
    [ 25.387] (II) intel(0): Modeline "1920x1080"x60.0 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -hsync +vsync (67.1 kHz e)
    [ 25.518] (II) intel(0): EDID vendor "MS_", prod id 37
    [ 25.518] (II) intel(0): Using hsync ranges from config file
    [ 25.518] (II) intel(0): Using vrefresh ranges from config file
    [ 25.518] (II) intel(0): Printing DDC gathered Modelines:
    [ 25.518] (II) intel(0): Modeline "1920x1080"x0.0 162.84 1920 1952 1984 2481 1080 1083 1086 1095 -hsync -vsync (65.6 kHz eP)
    [ 25.518] (II) intel(0): Modeline "1920x1080"x0.0 99.91 1920 1952 1984 2281 1080 1083 1086 1095 -hsync -vsync (43.8 kHz e)
    [ 25.518] (II) intel(0): Modeline "1920x1080"x60.0 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -hsync +vsync (67.1 kHz e)
    [ 25.676] (II) intel(0): EDID vendor "MS_", prod id 37
    [ 25.676] (II) intel(0): Using hsync ranges from config file
    [ 25.676] (II) intel(0): Using vrefresh ranges from config file
    [ 25.676] (II) intel(0): Printing DDC gathered Modelines:
    [ 25.676] (II) intel(0): Modeline "1920x1080"x0.0 162.84 1920 1952 1984 2481 1080 1083 1086 1095 -hsync -vsync (65.6 kHz eP)
    [ 25.676] (II) intel(0): Modeline "1920x1080"x0.0 99.91 1920 1952 1984 2281 1080 1083 1086 1095 -hsync -vsync (43.8 kHz e)
    [ 25.676] (II) intel(0): Modeline "1920x1080"x60.0 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -hsync +vsync (67.1 kHz e)
    [ 29.373] (II) config/udev: Adding input device Bluetooth Laser Travel Mouse (/dev/input/mouse2)
    [ 29.373] (II) No input driver specified, ignoring this device.
    [ 29.373] (II) This device may have been added with another device file.
    [ 29.373] (II) config/udev: Adding input device Bluetooth Laser Travel Mouse (/dev/input/event12)
    [ 29.373] (**) Bluetooth Laser Travel Mouse: Applying InputClass "evdev pointer catchall"
    [ 29.373] (II) Using input driver 'evdev' for 'Bluetooth Laser Travel Mouse'
    [ 29.373] (**) Bluetooth Laser Travel Mouse: always reports core events
    [ 29.373] (**) evdev: Bluetooth Laser Travel Mouse: Device: "/dev/input/event12"
    [ 29.373] (--) evdev: Bluetooth Laser Travel Mouse: Vendor 0x46d Product 0xb008
    [ 29.373] (--) evdev: Bluetooth Laser Travel Mouse: Found 12 mouse buttons
    [ 29.373] (--) evdev: Bluetooth Laser Travel Mouse: Found scroll wheel(s)
    [ 29.373] (--) evdev: Bluetooth Laser Travel Mouse: Found relative axes
    [ 29.373] (--) evdev: Bluetooth Laser Travel Mouse: Found x and y relative axes
    [ 29.374] (II) evdev: Bluetooth Laser Travel Mouse: Configuring as mouse
    [ 29.374] (II) evdev: Bluetooth Laser Travel Mouse: Adding scrollwheel support
    [ 29.374] (**) evdev: Bluetooth Laser Travel Mouse: YAxisMapping: buttons 4 and 5
    [ 29.374] (**) evdev: Bluetooth Laser Travel Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 29.374] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/bluetooth/hci0/hci0:33/input12/event12"
    [ 29.374] (II) XINPUT: Adding extended input device "Bluetooth Laser Travel Mouse" (type: MOUSE, id 12)
    [ 29.374] (II) evdev: Bluetooth Laser Travel Mouse: initialized for relative axes.
    [ 29.374] (**) Bluetooth Laser Travel Mouse: (accel) keeping acceleration scheme 1
    [ 29.374] (**) Bluetooth Laser Travel Mouse: (accel) acceleration profile 0
    [ 29.374] (**) Bluetooth Laser Travel Mouse: (accel) acceleration factor: 2.000
    [ 29.374] (**) Bluetooth Laser Travel Mouse: (accel) acceleration threshold: 4
    [ 589.381] (II) intel(0): EDID vendor "MS_", prod id 37
    [ 589.381] (II) intel(0): Using hsync ranges from config file
    [ 589.381] (II) intel(0): Using vrefresh ranges from config file
    [ 589.381] (II) intel(0): Printing DDC gathered Modelines:
    [ 589.381] (II) intel(0): Modeline "1920x1080"x0.0 162.84 1920 1952 1984 2481 1080 1083 1086 1095 -hsync -vsync (65.6 kHz eP)
    [ 589.381] (II) intel(0): Modeline "1920x1080"x0.0 99.91 1920 1952 1984 2281 1080 1083 1086 1095 -hsync -vsync (43.8 kHz e)
    [ 589.381] (II) intel(0): Modeline "1920x1080"x60.0 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -hsync +vsync (67.1 kHz e)
    [ 589.433] (II) intel(0): switch to mode 1920x1080 on crtc 3 (pipe 0)
    [ 1442.644] (II) intel(0): EDID vendor "MS_", prod id 37
    [ 1442.644] (II) intel(0): Using hsync ranges from config file
    [ 1442.644] (II) intel(0): Using vrefresh ranges from config file
    [ 1442.644] (II) intel(0): Printing DDC gathered Modelines:
    [ 1442.644]Hey all,
    Here is the issue:
    I have sony svz13114gxx laptop with xfce4 DE, i just tried to hook up external vga monitor to laptop and everything configures right with this run in normal session:
    [code]
    xrandr --output eDP1 --mode 1920x1080
    xrandr --newmode "1920x1200_60.00" 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync
    xrandr --addmode VGA1 1920x1200_60.00
    xrandr --output VGA1 --mode 1920x1200_60.00
    xrandr --output VGA1 --left-of eDP1
    [/code]
    Obviously when i reboot this is not persistent, so then i put this stuff in my /etc/X11/xorg.conf.d/20-intel.conf:
    [code]
    Section "Device"
    Identifier "Intel Graphics"
    Driver "intel"
    Option "AccelMethod" "sna"
    Option "monitor-eDP1" "eDP1"
    Option "monitor-VGA1" "VGA1"
    EndSection
    Section "Monitor"
    Identifier "VGA1"
    Modeline "1920x1200_60.00" 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -HSync +VSync
    Option "PreferredMode" "1920x1200_60.00"
    EndSection
    Section "Monitor"
    Identifier "eDP1"
    Option "PreferredMode" "1920x1080"
    Option "Primary" "true"
    Option "Position" "1920 0"
    EndSection
    Section "Screen"
    Identifier "Default Screen"
    Device "Intel Graphics"
    Monitor "eDP1"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1920x1080"
    EndSubSection
    EndSection[/code]
    This is where the problems start. On reboot Slim desktop manager seems to be stretched properly across the two monitors, but the I login and the display switches back to being mirrored, my xfce gtk2 theme is disabled in favor of somee default looking one, my icons are back to default, and none of my custom keyboard shorcuts work.
    I can then use xrandr to get the displays in extended mode again, but the themes and icons etc do not revert. And on reboot, i have the same issue.
    I have tried the sourcing ~/.xprofile, ~/.xinitrc, and ~/.config.xfce4/xinitrc routes, putting the xrandr cammands above the exec lines and that doesn't even enable VGA1.
    I have been to all these places
    [code]
    https://wiki.ubuntu.com/X/Config/Resolution#Xrandr_Graphical_Front_End_GUI
    http://ilkinbalkanay.blogspot.com/2008/01/extended-desktop-configuration-with.html
    https://bbs.archlinux.org/viewtopic.php?id=98747
    https://www.google.com/search?q=arch%20xrandr&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&source=hp&channel=np
    https://wiki.archlinux.org/index.php/Execute_commands_after_X_start
    http://intellinuxgraphics.org/dualhead.html
    http://mac.linux.be/content/setting-xorgconf-manually-xrandr#3
    https://www.google.com/search?q=arch%20dual%20monitors%20The%20last%20active%20output%20must%20not%20be%20disabled%2C%20the%20system%20would%20be%20unusable.&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&source=hp&channel=np#hl=en&safe=off&client=firefox-a&tbo=d&rls=org.mozilla:en-US%3Aofficial&channel=np&sclient=psy-ab&q=xfce+%22Selected+output+not+disabled%22&oq=xfce+%22Selected+output+not+disabled%22&gs_l=serp.3...1694.1694.3.2205.1.1.0.0.0.0.97.97.1.1.0.les%3Bcrnk_timediscounta..0.0...1c.1.O4EDj7DaWlA&pbx=1&fp=1&bpcl=39468505&biw=984&bih=936&cad=b&sei=aKC_UIKvJ6GA0AGTg4HwBg&sei=FKS_UMuwJdPU0gHorICQBA&bav=on.2,or.r_gc.r_pw.r_qf.&sei=2MK_UOaAJ5Ph0wGbsoHICg
    https://wiki.archlinux.org/index.php/Xfce#Customizing_Startup_Applications
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
    https://wiki.archlinux.org/index.php/Xorg#Monitor_settings
    [/code]
    Even after much research, still no luck.
    this might be useful:
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631225
    Anyone have any ideas?
    here is my Xorg0.log
    [code]
    [ 3.490]
    X.Org X Server 1.13.0
    Release Date: 2012-09-05
    [ 3.490] X Protocol Version 11, Revision 0
    [ 3.490] Build Operating System: Linux 3.6.3-1-ARCH x86_64
    [ 3.490] Current Operating System: Linux tcz 3.6.8-1-ARCH #1 SMP PREEMPT Mon Nov 26 22:10:40 CET 2012 x86_64
    [ 3.490] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=d23251af-35fa-426b-a7d5-5aa2f0a5b87d ro quiet pcie_aspm=force i915.i915_enable_rc6=1
    [ 3.490] Build Date: 08 November 2012 07:09:29PM
    [ 3.490]
    [ 3.490] Current version of pixman: 0.28.0
    [ 3.490] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 3.490] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 3.490] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 5 16:25:21 2012
    [ 3.492] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 3.494] (==) No Layout section. Using the first Screen section.
    [ 3.494] (**) |-->Screen "Default Screen" (0)
    [ 3.494] (**) | |-->Monitor "eDP1"
    [ 3.494] (**) | |-->Device "Intel Graphics"
    [ 3.494] (==) Automatically adding devices
    [ 3.494] (==) Automatically enabling devices
    [ 3.494] (==) Automatically adding GPU devices
    [ 3.504] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 3.504] Entry deleted from font path.
    [ 3.504] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 3.504] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 3.504] Entry deleted from font path.
    [ 3.504] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 3.504] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/Type1/
    [ 3.504] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 3.504] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 3.504] (II) Loader magic: 0x7fcc40
    [ 3.504] (II) Module ABI versions:
    [ 3.504] X.Org ANSI C Emulation: 0.4
    [ 3.504] X.Org Video Driver: 13.1
    [ 3.504] X.Org XInput driver : 18.0
    [ 3.504] X.Org Server Extension : 7.0
    [ 3.505] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 6.276] (--) PCI:*(0:0:2:0) 8086:0166:104d:90a5 rev 9, Mem @ 0xd7000000/4194304, 0xc0000000/268435456, I/O @ 0x00009000/64
    [ 6.276] (II) Open ACPI successful (/var/run/acpid.socket)
    [ 6.276] Initializing built-in extension Generic Event Extension
    [ 6.276] Initializing built-in extension SHAPE
    [ 6.276] Initializing built-in extension MIT-SHM
    [ 6.276] Initializing built-in extension XInputExtension
    [ 6.276] Initializing built-in extension XTEST
    [ 6.276] Initializing built-in extension BIG-REQUESTS
    [ 6.276] Initializing built-in extension SYNC
    [ 6.276] Initializing built-in extension XKEYBOARD
    [ 6.276] Initializing built-in extension XC-MISC
    [ 6.276] Initializing built-in extension SECURITY
    [ 6.276] Initializing built-in extension XINERAMA
    [ 6.276] Initializing built-in extension XFIXES
    [ 6.276] Initializing built-in extension RENDER
    [ 6.276] Initializing built-in extension RANDR
    [ 6.276] Initializing built-in extension COMPOSITE
    [ 6.276] Initializing built-in extension DAMAGE
    [ 6.276] Initializing built-in extension MIT-SCREEN-SAVER
    [ 6.276] Initializing built-in extension DOUBLE-BUFFER
    [ 6.276] Initializing built-in extension RECORD
    [ 6.276] Initializing built-in extension DPMS
    [ 6.276] Initializing built-in extension X-Resource
    [ 6.276] Initializing built-in extension XVideo
    [ 6.276] Initializing built-in extension XVideo-MotionCompensation
    [ 6.276] Initializing built-in extension XFree86-VidModeExtension
    [ 6.276] Initializing built-in extension XFree86-DGA
    [ 6.276] Initializing built-in extension XFree86-DRI
    [ 6.276] Initializing built-in extension DRI2
    [ 6.276] (II) LoadModule: "glx"
    [ 6.278] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 6.281] (II) Module glx: vendor="X.Org Foundation"
    [ 6.281] compiled for 1.13.0, module version = 1.0.0
    [ 6.281] ABI class: X.Org Server Extension, version 7.0
    [ 6.281] (==) AIGLX enabled
    [ 6.281] Loading extension GLX
    [ 6.281] (II) LoadModule: "intel"
    [ 6.281] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
    [ 6.285] (II) Module intel: vendor="X.Org Foundation"
    [ 6.285] compiled for 1.13.0.901, module version = 2.20.14
    [ 6.285] Module class: X.Org Video Driver
    [ 6.285] ABI class: X.Org Video Driver, version 13.1
    [ 6.285] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
    i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
    E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
    965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
    4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
    Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
    Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
    Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
    Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
    Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
    Ivybridge Server (GT2), Haswell Desktop (GT1), Haswell Desktop (GT2),
    Haswell Desktop (GT2+), Haswell Mobile (GT1), Haswell Mobile (GT2),
    Haswell Mobile (GT2+), Haswell Server (GT1), Haswell Server (GT2),
    Haswell Server (GT2+), Haswell SDV Desktop (GT1),
    Haswell SDV Desktop (GT2), Haswell SDV Desktop (GT2+),
    Haswell SDV Mobile (GT1), Haswell SDV Mobile (GT2),
    Haswell SDV Mobile (GT2+), Haswell SDV Server (GT1),
    Haswell SDV Server (GT2), Haswell SDV Server (GT2+),
    Haswell ULT Desktop (GT1), Haswell ULT Desktop (GT2),
    Haswell ULT Desktop (GT2+), Haswell ULT Mobile (GT1),
    Haswell ULT Mobile (GT2), Haswell ULT Mobile (GT2+),
    Haswell ULT Server (GT1), Haswell ULT Server (GT2),
    Haswell ULT Server (GT2+), Haswell CRW Desktop (GT1),
    Haswell CRW Desktop (GT2), Haswell CRW Desktop (GT2+),
    Haswell CRW Mobile (GT1), Haswell CRW Mobile (GT2),
    Haswell CRW Mobile (GT2+), Haswell CRW Server (GT1),
    Haswell CRW Server (GT2), Haswell CRW Server (GT2+),
    ValleyView PO board
    [ 6.286] (++) using VT number 7
    [ 6.288] (II) intel(0): using device path '/dev/dri/card0'
    [ 6.288] (**) intel(0): Depth 24, (--) framebuffer bpp 32
    [ 6.288] (==) intel(0): RGB weight 888
    [ 6.288] (==) intel(0): Default visual is TrueColor
    [ 6.288] (**) intel(0): Option "AccelMethod" "sna"
    [ 6.288] (--) intel(0): Integrated Graphics Chipset: Intel(R) Ivybridge Mobile (GT2)
    [ 6.289] (**) intel(0): Framebuffer tiled
    [ 6.289] (**) intel(0): Pixmaps tiled
    [ 6.289] (**) intel(0): 3D buffers tiled
    [ 6.289] (**) intel(0): Throttling enabled
    [ 6.289] (**) intel(0): Delayed flush enabled
    [ 6.289] (**) intel(0): "Tear free" disabled
    [ 6.289] (**) intel(0): Forcing per-crtc-pixmaps? no
    [ 6.289] (II) intel(0): Output eDP1 using monitor section eDP1
    [ 6.289] (**) intel(0): Option "PreferredMode" "1920x1080"
    [ 6.289] (**) intel(0): Option "Position" "1920 0"
    [ 6.289] (**) intel(0): Option "Primary" "true"
    [ 6.289] (--) intel(0): found backlight control interface acpi_video0 (type 'firmware')
    [ 6.293] (II) intel(0): Output VGA1 using monitor section VGA1
    [ 6.293] (**) intel(0): Option "PreferredMode" "1920x1200_60.00"
    [ 6.294] (II) intel(0): Output HDMI1 has no monitor section
    [ 6.336] (II) intel(0): Output DP1 has no monitor section
    [ 6.337] (II) intel(0): EDID for output eDP1
    [ 6.337] (II) intel(0): Manufacturer: MS_ Model: 25 Serial#: 16843009
    [ 6.337] (II) intel(0): Year: 2012 Week: 24
    [ 6.337] (II) intel(0): EDID Version: 1.4
    [ 6.337] (II) intel(0): Digital Display Input
    [ 6.337] (II) intel(0): 8 bits per channel
    [ 6.337] (II) intel(0): Digital interface is DisplayPort
    [ 6.337] (II) intel(0): Max Image Size [cm]: horiz.: 29 vert.: 16
    [ 6.337] (II) intel(0): Gamma: 2.20
    [ 6.337] (II) intel(0): No DPMS capabilities specified
    [ 6.337] (II) intel(0): Supported color encodings: RGB 4:4:4
    [ 6.337] (II) intel(0): First detailed timing is preferred mode
    [ 6.337] (II) intel(0): Preferred mode is native pixel format and refresh rate
    [ 6.337] (II) intel(0): redX: 0.602 redY: 0.336 greenX: 0.296 greenY: 0.546
    [ 6.337] (II) intel(0): blueX: 0.148 blueY: 0.126 whiteX: 0.313 whiteY: 0.329
    [ 6.337] (II) intel(0): Manufacturer's mask: 0
    [ 6.337] (II) intel(0): Supported standard timings:
    [ 6.337] (II) intel(0): #0: hsize: 1920 vsize 1080 refresh: 60 vid: 49361
    [ 6.337] (II) intel(0): Supported detailed timing:
    [ 6.337] (II) intel(0): clock: 162.8 MHz Image Size: 291 x 164 mm
    [ 6.337] (II) intel(0): h_active: 1920 h_sync: 1952 h_sync_end 1984 h_blank_end 2481 h_border: 0
    [ 6.337] (II) intel(0): v_active: 1080 v_sync: 1083 v_sync_end 1086 v_blanking: 1095 v_border: 0
    [ 6.337] (II) intel(0): Supported detailed timing:
    [ 6.337] (II) intel(0): clock: 99.9 MHz Image Size: 291 x 164 mm
    [ 6.337] (II) intel(0): h_active: 1920 h_sync: 1952 h_sync_end 1984 h_blank_end 2281 h_border: 0
    [ 6.337] (II) intel(0): v_active: 1080 v_sync: 1083 v_sync_end 1086 v_blanking: 1095 v_border: 0
    [ 6.337] (II) intel(0): Monitor name: Sony LCD
    [ 6.337] (II) intel(0): Ranges: V min: 39 V max: 61 Hz, H min: 43 H max: 66 kHz, PixClock max 175 MHz
    [ 6.337] (II) intel(0): EDID (in hex):
    [ 6.337] (II) intel(0): 00ffffffffffff00367f250001010101
    [ 6.337] (II) intel(0): 18160104a51d1078020f159a564b8b26
    [ 6.337] (II) intel(0): 205054000000d1c00101010101010101
    [ 6.337] (II) intel(0): 0101010101019c3f803172380f402020
    [ 6.337] (II) intel(0): 330023a4100000180727806971380f40
    [ 6.337] (II) intel(0): 2020330023a410000018000000fc0053
    [ 6.337] (II) intel(0): 6f6e79204c43440a20202020000000fd
    [ 6.337] (II) intel(0): 00273d2b4211000a2020202020200013
    [ 6.337] (II) intel(0): EDID vendor "MS_", prod id 37
    [ 6.337] (II) intel(0): Using EDID range info for horizontal sync
    [ 6.337] (II) intel(0): Using EDID range info for vertical refresh
    [ 6.337] (II) intel(0): Printing DDC gathered Modelines:
    [ 6.337] (II) intel(0): Modeline "1920x1080"x0.0 162.84 1920 1952 1984 2481 1080 1083 1086 1095 -hsync -vsync (65.6 kHz eP)
    [ 6.337] (II) intel(0): Modeline "1920x1080"x0.0 99.91 1920 1952 1984 2281 1080 1083 1086 1095 -hsync -vsync (43.8 kHz e)
    [ 6.337] (II) intel(0): Modeline "1920x1080"x60.0 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -hsync +vsync (67.1 kHz e)
    [ 6.337] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
    [ 6.337] (II) intel(0): Printing probed modes for output eDP1
    [ 6.337] (II) intel(0): Modeline "1920x1080"x59.9 162.84 1920 1952 1984 2481 1080 1083 1086 1095 -hsync -vsync (65.6 kHz UeP)
    [ 6.337] (II) intel(0): Modeline "1920x1080"x40.0 99.91 1920 1952 1984 2281 1080 1083 1086 1095 -hsync -vsync (43.8 kHz e)
    [ 6.338] (II) intel(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
    [ 6.338] (II) intel(0): Modeline "1680x945"x60.0 131.48 1680 1784 1960 2240 945 946 949 978 -hsync +vsync (58.7 kHz)
    [ 6.338] (II) intel(0): Modeline "1400x1050"x60.0 122.00 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
    [ 6.338] (II) intel(0): Modeline "1400x1050"x60.0 121.75 1400 1488 1632 1864 1050 1053 1057 1089 -hsync +vsync (65.3 kHz e)
    [ 6.338] (II) intel(0): Modeline "1600x900"x60.0 118.96 1600 1696 1864 2128 900 901 904 932 -hsync +vsync (55.9 kHz)
    [ 6.338] (II) intel(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
    [ 6.338] (II) intel(0): Modeline "1440x900"x59.9 106.50 1440 1520 1672 1904 900 903 909 934 -hsync +vsync (55.9 kHz e)
    [ 6.338] (II) intel(0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz e)
    [ 6.338] (II) intel(0): Modeline "1366x768"x60.0 85.89 1366 1439 1583 1800 768 769 772 795 -hsync +vsync (47.7 kHz)
    [ 6.338] (II) intel(0): Modeline "1360x768"x60.0 85.50 1360 1424 1536 1792 768 771 777 795 +hsync +vsync (47.7 kHz e)
    [ 6.338] (II) intel(0): Modeline "1280x800"x59.8 83.50 1280 1352 1480 1680 800 803 809 831 +hsync -vsync (49.7 kHz e)
    [ 6.338] (II) intel(0): Modeline "1280x768"x59.9 79.50 1280 1344 1472 1664 768 771 778 798 -hsync +vsync (47.8 kHz e)
    [ 6.338] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
    [ 6.338] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d)
    [ 6.338] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
    [ 6.338] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d)
    [ 6.343] (II) intel(0): EDID for output VGA1
    [ 6.343] (II) intel(0): Printing probed modes for output VGA1
    [ 6.343] (II) intel(0): Modeline "1920x1200_60.00"x59.9 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync (74.6 kHz UP)
    [ 6.343] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
    [ 6.344] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
    [ 6.344] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e)
    [ 6.344] (II) intel(0): Modeline "848x480"x60.0 33.75 848 864 976 1088 480 486 494 517 +hsync +vsync (31.0 kHz e)
    [ 6.344] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 489 492 525 -hsync -vsync (31.5 kHz e)
    [ 6.344] (II) intel(0): EDID for output HDMI1
    [ 6.386] (II) intel(0): EDID for output DP1
    [ 6.386] (II) intel(0): Output eDP1 connected
    [ 6.386] (II) intel(0): Output VGA1 connected
    [ 6.386] (II) intel(0): Output HDMI1 disconnected
    [ 6.386] (II) intel(0): Output DP1 disconnected
    [ 6.386] (II) intel(0): Using user preference for initial modes
    [ 6.386] (II) intel(0): Output eDP1 using initial mode 1920x1080
    [ 6.386] (II) intel(0): Output VGA1 using initial mode 1920x1200_60.00
    [ 6.386] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
    [ 6.386] (**) intel(0): Display dimensions: (290, 160) mm
    [ 6.386] (**) intel(0): DPI set to (336, 190)
    [ 6.386] (II) Loading sub module "dri2"
    [ 6.386] (II) LoadModule: "dri2"
    [ 6.387] (II) Module "dri2" already built-in
    [ 6.387] (==) Depth 24 pixmap format is 32 bpp
    [ 6.387] (II) intel(0): SNA initialized with IvyBridge backend
    [ 6.387] (==) intel(0): Backing store disabled
    [ 6.387] (==) intel(0): Silken mouse enabled
    [ 6.387] (II) intel(0): HW Cursor enabled
    [ 6.387] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    [ 6.388] (==) intel(0): DPMS enabled
    [ 6.388] (II) intel(0): [DRI2] Setup complete
    [ 6.388] (II) intel(0): [DRI2] DRI driver: i965
    [ 6.388] (II) intel(0): direct rendering: DRI2 Enabled
    [ 6.388] (WW) intel(0): Option "PreferredMode" is not used
    [ 6.388] (WW) intel(0): Option "Primary" is not used
    [ 6.388] (WW) intel(0): Option "Position" is not used
    [ 6.388] (==) intel(0): hotplug detection: "enabled"
    [ 6.388] (--) RandR disabled
    [ 6.410] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
    [ 6.410] (II) AIGLX: enabled GLX_INTEL_swap_event
    [ 6.410] (II) AIGLX: enabled GLX_ARB_create_context
    [ 6.410] (II) AIGLX: enabled GLX_ARB_create_context_profile
    [ 6.410] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
    [ 6.410] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
    [ 6.410] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
    [ 6.410] (II) AIGLX: Loaded and initialized i965
    [ 6.410] (II) GLX: Initialized DRI2 GL provider for screen 0
    [ 6.411] (II) intel(0): switch to mode 1920x1080 on crtc 3 (pipe 0)
    [ 6.500] (II) intel(0): switch to mode 1920x1200 on crtc 5 (pipe 1)
    [ 6.663] (II) intel(0): Setting screen physical size to 1016 x 317
    [ 6.703] (II) config/udev: Adding input device Video Bus (/dev/input/event10)
    [ 6.703] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
    [ 6.703] (II) LoadModule: "evdev"
    [ 6.704] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 6.706] (II) Module evdev: vendor="X.Org Foundation"
    [ 6.706] compiled for 1.13.0, module version = 2.7.3
    [ 6.706] Module class: X.Org XInput Driver
    [ 6.706] ABI class: X.Org XInput driver, version 18.0
    [ 6.706] (II) Using input driver 'evdev' for 'Video Bus'
    [ 6.706] (**) Video Bus: always reports core events
    [ 6.706] (**) evdev: Video Bus: Device: "/dev/input/event10"
    [ 6.706] (--) evdev: Video Bus: Vendor 0 Product 0x6
    [ 6.706] (--) evdev: Video Bus: Found keys
    [ 6.706] (II) evdev: Video Bus: Configuring as keyboard
    [ 6.706] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:09/input/input10/event10"
    [ 6.706] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 6)
    [ 6.706] (**) Option "xkb_rules" "evdev"
    [ 6.706] (**) Option "xkb_model" "evdev"
    [ 6.706] (**) Option "xkb_layout" "us"
    [ 6.732] (II) config/udev: Adding input device Sony Vaio Keys (/dev/input/event3)
    [ 6.732] (**) Sony Vaio Keys: Applying InputClass "evdev keyboard catchall"
    [ 6.732] (II) Using input driver 'evdev' for 'Sony Vaio Keys'
    [ 6.732] (**) Sony Vaio Keys: always reports core events
    [ 6.732] (**) evdev: Sony Vaio Keys: Device: "/dev/input/event3"
    [ 6.732] (--) evdev: Sony Vaio Keys: Vendor 0x104d Product 0
    [ 6.732] (--) evdev: Sony Vaio Keys: Found keys
    [ 6.732] (II) evdev: Sony Vaio Keys: Configuring as keyboard
    [ 6.732] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/SNY5001:00/input/input3/event3"
    [ 6.732] (II) XINPUT: Adding extended input device "Sony Vaio Keys" (type: KEYBOARD, id 7)
    [ 6.732] (**) Option "xkb_rules" "evdev"
    [ 6.732] (**) Option "xkb_model" "evdev"
    [ 6.732] (**) Option "xkb_layout" "us"
    [ 6.732] (II) config/udev: Adding input device Sony Vaio Jogdial (/dev/input/event4)
    [ 6.732] (II) No input driver specified, ignoring this device.
    [ 6.732] (II) This device may have been added with another device file.
    [ 6.733] (II) config/udev: Adding input device Sony Vaio Jogdial (/dev/input/mouse0)
    [ 6.733] (II) No input driver specified, ignoring this device.
    [ 6.733] (II) This device may have been added with another device file.
    [ 6.733] (II) config/udev: Adding input device Power Button (/dev/input/event2)
    [ 6.733] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 6.733] (II) Using input driver 'evdev' for 'Power Button'
    [ 6.733] (**) Power Button: always reports core events
    [ 6.733] (**) evdev: Power Button: Device: "/dev/input/event2"
    [ 6.733] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 6.733] (--) evdev: Power

    Have you ever tried 'arandr'? It's a GUI for xrandr; it could be useful.
    I used this config with nouveau, now I've successfully created my xorg.conf with nvidia blobs, but this one worked~
    Section "Device"
    Identifier "NVIDIA GeForce GT320"
    Driver "nouveau"
    Option "Monitor-DVI-I-1" "BENQ G2450"
    Option "Monitor-HDMI-1" "LG W2442PA"
    EndSection
    Section "Monitor"
    Identifier "BENQ G2450"
    Option "Primary" "true"
    Option "PreferredMode" "1920x1080"
    Option "TargetRefresh" "60"
    Option "Position" "1080 612"
    EndSection
    Section "Monitor"
    Identifier "LG W2442PA"
    Option "LeftOf" "BENQ G2450"
    Option "PreferredMode" "1920x1080"
    Option "TargetRefresh" "59.9"
    Option "Position" "0 0"
    Option "Rotate" "Left"
    EndSection
    Section "Screen"
    Identifier "Primary Screen"
    Device "NVIDIA GeForce GT320"
    Monitor "BENQ G2450"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Virtual 3000 1920
    EndSubSection
    EndSection
    Section "ServerLayout"
    Identifier "Default Layout"
    Screen "Primary Screen"
    EndSection
    I'm using XFCE as well, 2 monitors, the left one rotated 90º. The main difference it's that I've the 'Virtual' option inside 'SubSection'; not sure if it's relevant.

  • [solved] XFCE - cannot adopt different themes

    Running XFCE now I cannot change GTK themes. Clearlooks, Murrina, etc. are installed, but when I want to actually change the theme (say, to a dark one), nothing will happen.
    Starting an OpenBox environment everything works nicely...
    Any ideas what to check for?
    Last edited by Stalafin (2008-05-10 21:15:52)

    Stalafin wrote:
    Now what shall I say? That was the solution!
    Thanks a bunch, mate!
    Don't forget to edit your thread topic to say "solved"
    Glad you fixed it.

  • Draggable buttons in Java Swing

    Hi,
    I want to develop an application in Java Swing. The application I am going to develop is an application for developing other applications. I want my application to include a button which also acts as a drag and drop UI element. For example, I want my application to include a button for adding a picture. There are 4 buttons of different pictures. If a user wants to add a picture he can either click on one of these buttons and that picture will be added somewhere on the screen or dragging this button and drop it and that picture will be added where he dropped that button.
    Could anyone please tell me…
    1. If I can develop an application which includes Drag and Drop UI element if I develop it in Java Swing
    2. If a button (or other UI element) can act as both a button and a drag and drop element if I develop my application in Java Swing
    3.
    Could you please tell me where I can find some screenshots of applications which has been developed in Java Swing? I am not familiar with this program and I am not that good at programming, so I would like to get some impression of how it might look like.
    Thanks in advanced

    1. the good thing about Swing is that it is very flexible and with clever programming you can do just about anything. The problem is that depending on your requirements, this could require a great deal of programming that can be very hard to implement such that it works properly on all popular platforms (windows, linux, mac).
    2. see 1.
    3. Swing applications are "skinnable", you can give them a great number of different appearances. The default is to give the application a system look and feel, so they look pretty much like any other application for that platform. This means that when you run your application on Windows, it will look like a Windows application, if you run it on a Mac it will look like a Mac application, etc.
    I am not familiar with this program and I am not that good at programmingThat is quite a problem, because Swing is not the easiest API around. It requires a solid knowledge of Java and Object Oriented Programming in general as the entire API is based heavily on OOP concepts. To get a better idea of Swing, read through the Swing tutorial here:
    http://java.sun.com/docs/books/tutorial/uiswing/

  • Transparent Buttons in Java Swing?

    Hi!
    I want to create transparent Buttons using java swing for my desktop application. Can any one tell me how to do it?

    I can help, but it depends on what you mean by "transparent".
    Do you mean TOTALLY transparent, or slightly transparent, or merely translucent? Do you want the text on the button to be in any way transparent? You really need to be more specific.
    Basically, though, the concept is pretty simple. All swing components have several methods that can be overridden by somebody who knows what they are doing, in order to customize their appearances.
    Some of these are: paint(), paintComponent(), ComponentUI.paint(), etc.
    You need to determine the right place to put the new code. Then you extend the class, and change the transparency of the graphics object passed into the method in question, and then pass control to the super implementation of that method.
    There are some traps you need to make sure you avoid, though:
    1. If you want transparent components, you MUST have the opaque property of the component set to false. Otherwise, the components beneath your transparent button will never update.
    2. When you start messing with a graphics object to create transparency, you need to make sure that you revert your changes to the graphics object when you are finished, because all painting uses the same graphics object -> so if you set your button transparent, and then forget to remove the transparency, all objects drawn after the button will also be drawn transparent.
    A word of caution:
    This sort of manipulation is not hard, but you NEED to understand the painting model for SWING. There are a few articles hosted by sun that can help you in this respect.
    Good Luck!
    - Adam

  • Question to java Swing Team.create Theme for WindowsLookAndFeel

    hi
    i have a java swing application , and its look and feel is WindowsLookAndFeel(i am currently using xp), i need to set the theme for WindowsLookAndFeel. as i have seen there is no API to set the theme in WindowsLookAndFeel but there is for MetalLookAndFeel,
    Is there any way to do it.

    Well, the problem is that you can't expect a Java application to reconfigure the operating system (to set its theme), and Java has no easy way of finding out what themes are on a Windows system or retrieving Windows theme information.
    Now, you can attempt to mess with the AWT properties controlling the way in which the WindowsLookAndFeel is drawn, and those are set at invocation from the OS (and updated whenever the Windows theme, at least, changes). Try looking at Toolkit.get/setDesktopProperty().

  • How to realize them with Java Swing?

    1.I want to realize the function - Save, which is similar with "save" in windows notepad - after clicking "save", a dialog box is poped up, then i can input the filename and save it. Is there any ready class like JFileChooser in Java Swing?
    2.I want to set Font and color in the text area. I can do it now. But I must set the font and color b4 input the words. How can I do it like Windows Word - I just input my words, then I highlight them and select the font and colour....all highlighted words r change....can I don it with Java swing and how?
    Thanks..

    1.I want to realize the function - Save, which is
    similar with "save" in windows notepad - after
    clicking "save", a dialog box is poped up, then i can
    input the filename and save it. Is there any ready
    class like JFileChooser in Java Swing?JFileChooser is a Swing based dialog, use it for your problem.
    >
    2.I want to set Font and color in the text area. I can
    do it now. But I must set the font and color b4 input
    the words. How can I do it like Windows Word - I just
    input my words, then I highlight them and select the
    font and colour....all highlighted words r
    change....can I don it with Java swing and how?
    Thanks..I am currently working this, try the ElementIterator w/ the Document that your inputing, as you iterate throught the nodes, you modify the attribute sets there.
    Hope this helps.
    >

  • Changeing to mouse floatable in java swing object

    Hi All
    I want change to my select mouse floatable swing object functionality in java swing Application. If it mouse over functionality window or Frame based application. If anybody feel easy sloution that ,plz help solve this problem.
    Thanx to Advance.
    Bye
    ARjun...

    select mouse floatable swing object"huh?
    If it mouse over functionality window or Frame based application.double huh?
    be a little more clear..i don't think anyone here understand what you're asking for.
    here's my take on your question (guess).
    Are you asking for dockable Panel and component?
    ie)
    you have a create JComponent that is added to a JFrame, etc..
    When the user move the mouse over the component, and perform a mouse press, you want to allow the user to move the component to another location (the component is dockable??)
    There are severals Dockable panel and compoent out there for free..so i suggest that you would use them ; rather than writing your own.

  • Creating file browser GUI using java swing tree

    Hi all,
    I have some questions which i wish to clarify asap. I am working on a file browser project using java swing. I need to create 2 separate buttons. 1 of them will add a 'folder' while the other button will add a 'file' to the tree when the buttons are clicked once. The sample source code known as 'DynamicTreeDemo' which is found in the java website only has 1 add button which is not what i want. Please help if you know how the program should be written. Thx a lot.
    Regards,

    Sorry, don't know 'DynamicTreeDemo'import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.tree.*;
    import java.io.File;
    public class Test extends JFrame {
      JTree jt = new JTree();
      DefaultTreeModel dtm = (DefaultTreeModel)jt.getModel();
      JButton newDir = new JButton("new Dir"), newFile = new JButton("new File");
      public Test() {
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        Container content = getContentPane();
        newDir.setEnabled(false);
        newFile.setEnabled(false);
        jt.setShowsRootHandles(true);
        content.add(new JScrollPane(jt), BorderLayout.CENTER);
        File c = new File("C:\\temp");
        DefaultMutableTreeNode root = new DefaultMutableTreeNode(c);
        dtm.setRoot(root);
        addChildren(root);
        jt.addTreeSelectionListener(new TreeSelectionListener() {
          public void valueChanged(TreeSelectionEvent tse) { select(tse) ; }
        JPanel jp = new JPanel();
        content.add(jp, BorderLayout.SOUTH);
        jp.add(newDir);
        jp.add(newFile);
        newDir.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent ae) {
            TreePath tp = jt.getSelectionPath();
            if (tp!=null) {
              DefaultMutableTreeNode dmtn = (DefaultMutableTreeNode)tp.getLastPathComponent();
              File newFile = new File((File)dmtn.getUserObject(),"foo");
              if (newFile.mkdir()) {
                dmtn.add(new DefaultMutableTreeNode(newFile));
                dtm.nodeStructureChanged(dmtn);
              } else System.out.println("No Dir");
        newFile.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent ae) {
            TreePath tp = jt.getSelectionPath();
            if (tp!=null) {
              DefaultMutableTreeNode dmtn = (DefaultMutableTreeNode)tp.getLastPathComponent();
              File newFile = new File((File)dmtn.getUserObject(),"foo.txt");
              try {
                if (newFile.createNewFile()) {
                  dmtn.add(new DefaultMutableTreeNode(newFile));
                  dtm.nodeStructureChanged(dmtn);
                } else System.out.println("No File");
              catch (java.io.IOException ioe) { ioe.printStackTrace(); }
        setSize(300, 300);
        setVisible(true);
      void select(TreeSelectionEvent tse) {
        TreePath tp = jt.getSelectionPath();
        newDir.setEnabled(false);
        newFile.setEnabled(false);
        if (tp!=null) {
          DefaultMutableTreeNode dmtn = (DefaultMutableTreeNode)tp.getLastPathComponent();
          File f = (File)dmtn.getUserObject();
          if (f.isDirectory()) {
            newDir.setEnabled(true);
            newFile.setEnabled(true);
      void addChildren(DefaultMutableTreeNode parent) {
        File parentFile = (File)parent.getUserObject();
        File[] children = parentFile.listFiles();
        for (int i=0; i<children.length; i++) {
          DefaultMutableTreeNode child = new DefaultMutableTreeNode(children);
    parent.add(child);
    if (children[i].isDirectory()) addChildren(child);
    public static void main(String[] args) { new Test(); }

  • Chess: Java Swing problem!! Help need

    Hi, I have just learn java swing and now creating a chess game. I have sucessfully create a board and able to display chess pieces on the board. By using JLayeredPane, I am able to use drag and drop for the piece. However, there is a problem which is that I can drop the chess piece off the board and the piece would disappear. I have try to solve this problem by trying to find the location that the chess piece is on, store it somewhere and check if the chess piece have been drop off bound. However, I could not manage to solve it. Also, I am very confuse with all these layer thing.
    Any suggestion would be very helpful. Thanks in advance

    I wonder if you are biting off a little more than you can chew. This seems like a big project for a beginning coder. Anyway, my suggestions can only be general since we only have general information:
    1) Break the big problem down into little pieces. Get the pieces working, then put them together.
    2) Make sure your program logic is separate from your GUI.
    3) If still having problems, post an SSCCE. See this link to tell you how:
    http://homepage1.nifty.com/algafield/sscce.html
    4) And as camikr would say (and flounder just said): next time, post this in the Swing forum.
    Good luck!

  • A tiny font is used in many places across Java Swing applications (help!)

    In many places in Java but mostly in text boxes I'm seeing a very small font that is quite hard to read.
    I am seeing this all over the place in Java programs and it is getting on my nerves.
    I'm not sure what is causing this.
    I also encountered this issue when running Java on Windows XP.
    I really need help on how to solve this,
    Or maybe it is actually a bug with Java itself and Windows?
    An image of the problem in SwingSet2:
    [SwingSet 2 Tiny Font Example|http://img687.imageshack.us/img687/1373/swingset2tinyfont.png]
    System spec:
    Windows 7 Professional 32-bit (Aero is on)
    Java 6 Update 20
    English system locale and language
    No special dpi settings (default)
    Screen Resolution: 1280x1024
    Avast Antivirus 5.0
    An intel graphics card
    Edited by: Temp111 on May 9, 2010 7:38 AM

    camickr wrote:
    That is not a problem. Somewhere in that code the programmer uses setFont(....) to make it a smaller font. The default font of a text component does not behave like that.
    For more help create a [SSCCE (Short, Self Contained, Compilable and Executable, Example Program)|http://sscce.org/], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.No, it's defiantly a problem. Probably in the default fonts that Swing uses in some places.
    I detected one place where I can easily trigger this issue, a JTextArea And the Windows Look and Feel, So here is a SSCCE for you:
    [Picture Of Tiny Font SSCCE With Tiny Font issue|http://img88.imageshack.us/img88/7876/tinyfont.png]
    import javax.swing.JFrame;
    import javax.swing.JTextArea;
    import javax.swing.UIManager;
    import javax.swing.UnsupportedLookAndFeelException;
    public class TinyFont {
         public static void main(String[] args) {
              try {
                   UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
              } catch (ClassNotFoundException e) {
                   e.printStackTrace();
              } catch (InstantiationException e) {
                   e.printStackTrace();
              } catch (IllegalAccessException e) {
                   e.printStackTrace();
              } catch (UnsupportedLookAndFeelException e) {
                   e.printStackTrace();
              JFrame frame = new JFrame("Tiny Font");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JTextArea textArea = new JTextArea("Tiny Font Test");
              frame.add(textArea);
              frame.setSize(150, 100);
              frame.setLocationRelativeTo(null);
              frame.setVisible(true);
    }But I also encountered this issue in other places that use Swing.
    Try SwingSet2 Source Code Tab for example: [SwingSet2|http://java.sun.com/products/jfc/jws/SwingSet2.jnlp]

  • Graphics2D + Java Swing

    Hello,
    I am having difficulty in displaying graphics2d(bufferedImage) with Java Swing - The Swing does not show, unless it is a button and you move your mouse over it. The problem disappears when the "public void paint(Graphics g) {.." is employed.
    Can anyone suggest an article to read about solving this?
    regards
    david55

    hi and thanks for your reply and help.
    I got it to work but have another strange problem. Im sure it involves updating or repainting. Basically i create from 1 - 100 images on a JPanel, but the only way they will "appear" is if i manually resize the whole application (dragging). Ive tried repaint() update() etc in multiple locations.
    Am i on the right track and just need to find the right line to insert the code?
    regards,
    david55

  • PL/SQL and Java Swing interface

    Everybody in this forum knows that Oracle is the best database around
    with many functionalities, stability, performance, etc. We also know
    that PL/SQL is a great language to manipulate information directly
    in the database with many built in functions, OOP capability,
    transaction control, among other features. Today an application that
    manipulates information, which needs user interface, requires components
    to be developed using different technologies and normally running in
    different servers or machines. For example, the interface is done using
    a dynamic HTML generator like JSP, PHP, PL/SQL Web Toolkit, etc.
    This page is executed in an application server like Oracle iAS or
    Tomcat, just to name two, which in turn access a database like Oracle to
    build the HTML. Also rich clients like Java applets require an intermediate
    server to access the database (through servlets for example) although
    it is possible to access the database directly but with security issues.
    Another problem with this is that complexity increases a lot, many
    technologies, skills and places to maintain code which leads to a greater
    failure probability. Also, an application is constantly evolving, new
    calculations are added, new tables, changed columns. If you have an
    application with product code for example and you need to increase its
    size, you need to change it in the database, search for all occurrences
    of it in the middle-tier code and perhaps adjust interfaces. Normally
    there is no direct dependency among the tier components. On another
    issue, many application interfaces today are based on HTML which doesn't
    have interactive capabilities like rich-client interfaces. Although it
    is possible to simulate many GUI widgets with JavaScript and DHTML, it is
    far from the interactive level we can accomplish in rich clients like
    Java Swing, Flash MX, Win32, etc. HTML is also a "tag-based" language
    originally created to publish documents so even small pages require
    many bytes to be transmitted, far beyond of what we see on the screen.
    Even in fast networks you have a delay time to wait the page to be
    loaded. Another issue, the database is in general the central location
    for all kinds of data. Most applications relies on it for security,
    transaction and availability. My proposal is to use Oracle as the
    central location for interface, processing and data. With this approach
    we can create not only the data manipulation procedures in the database,
    but procedures that also control and manage user interfaces. Having
    a Oracle database as the central location for all components has many
    advantages:
    - Unique point of maintenance, backup and restore
    - Integrated database security
    - One language for everything, PL/SQL or Java (even both if desired)
    - Inherited database cache, transaction and processing optimizations
    - Direct access to the database dictionary
    - Application runs on Oracle which has support for many platforms.
    - Transparent use of parallel processing, clusters and future
    background technologies
    Regarding the interface, I already created a Java applet renderer
    which receives instructions from the database on how to create GUI
    objects and how to respond to events. The applet is only 8kb and can
    render any Swing or AWT object/event. The communication is done
    through HTTP or HTTPS using Oracles's MOD_PLSQL included in the Apache
    HTTP server which comes with the database or application server (iAS).
    I am also creating a database framework and APIs in PL/SQL to
    create and manipulate the client interface. The applet startup is
    very fast because it is very small, you don't need to download large
    classes with the client interface. Execution is done "on-demand"
    according to instructions received from the database. The instructions
    are very optimized in terms of network bandwidth and based on preliminary
    tests it can be up to 1/10 of a similar HTML screen. Less network usage
    means faster response and means that even low speed connections will
    have a good performance (a future development can be to use this in
    wireless devices like PDAs e even cell phones, just an idea for now).
    The applet can also be executed standalone by using Java Web Start.
    With this approach no business code, except the interface, is executed
    on the client. This means that alterations in the application are
    dynamically reflected in the client, no need to "re-download" the
    application. Events are transmitted when required only so network
    usage is minimized. It is also possible to establish triggering
    events to further reduce network usage. Since the protocol used is
    HTTP (which is stateless), the database framework I am creating will
    be responsible to maintain the state of connections, variables, locks
    and session information, so the developer don't need to worry about it.
    The framework will have many layers, from communication up to
    application so there will be pre-built functions to handle queries,
    pagination, lock, mail, log, etc. The final objective is to have a
    rich client application integrated into the database with minimum
    programming and maintenance requirements, not forgetting customization
    capabilities. Below is a very small example of what can de done. A
    desktop with two windows, each window with two fields, a button with an
    image to switch the values, and events to convert the typed text when
    leaving the field or double-clicking it. The "leave" event also has an
    optimization to only be triggered when the text changes. I am still
    developing the framework and adjusting the renderer but I think that all
    technical barriers were transposed by now. The framework is still in
    the early stages, my guess is that only 5% is done so far. As a future
    development even an IDE can be created so we have a graphical environment
    do develop applications. I am willing to share this with the PL/SQL
    community and listen to ideas and comments.
    Example:
    create or replace procedure demo1 (
    jre_version in varchar2 := '1.4.2_01',
    debug_info in varchar2 := 'false',
    compress_buffer in varchar2 := 'false',
    optimize_buffer in varchar2 := 'true'
    ) as
    begin
    interface.initialize('demo1_init','JGR Demo 1',jre_version,debug_info,compress_buffer,optimize_buffer);
    end;
    create or replace procedure demo1_init as
    begin
    toolkit.initialize;
    toolkit.create_icon('icon',interface.global_root_url||'img/switch.gif');
    toolkit.create_internal_frame('frame1','Frame 1',50,50,300,136);
    toolkit.create_label('frame1label1','frame1',10,10,50,20,'Field 1');
    toolkit.create_label('frame1label2','frame1',10,40,50,20,'Field 2');
    toolkit.create_text_field('frame1field1','frame1',50,10,230,20,'Field 1','Field 1',focus_event=>true,mouse_event=>true);
    toolkit.create_text_field('frame1field2','frame1',50,40,230,20,'Field 2','Field 2',focus_event=>true,mouse_event=>true);
    toolkit.set_text_field_event('frame1field1',toolkit.focus_lost_event,'demo1_set_upper',toolkit.get_text_method,'FIELD 1','false');
    toolkit.set_text_field_event('frame1field2',toolkit.focus_lost_event,'demo1_set_upper',toolkit.get_text_method,'FIELD 2','false');
    toolkit.set_text_field_event('frame1field1',toolkit.mouse_double_clicked_event,'demo1_set_lower',toolkit.get_text_method,'field 1','false');
    toolkit.set_text_field_event('frame1field2',toolkit.mouse_double_clicked_event,'demo1_set_lower',toolkit.get_text_method,'field 2','false');
    toolkit.create_button('button1','frame1',10,70,100,25,'Switch','Switch the values of "Field 1" and "Field 2"','S','icon');
    toolkit.set_button_event('button1',toolkit.action_performed_event,'demo1_switch_fields(''frame1field1'',''frame1field2'')','frame1field1:'||toolkit.get_text_method||',frame1field2:'||toolkit.get_text_method);
    toolkit.create_internal_frame('frame2','Frame 2',100,100,300,136);
    toolkit.create_label('frame2label1','frame2',10,10,50,20,'Field 1');
    toolkit.create_label('frame2label2','frame2',10,40,50,20,'Field 2');
    toolkit.create_text_field('frame2field1','frame2',50,10,230,20,'Field 1','Field 1',focus_event=>true,mouse_event=>true);
    toolkit.create_text_field('frame2field2','frame2',50,40,230,20,'Field 2','Field 2',focus_event=>true,mouse_event=>true);
    toolkit.set_text_field_event('frame2field1',toolkit.focus_lost_event,'demo1_set_upper',toolkit.get_text_method,'FIELD 1','false');
    toolkit.set_text_field_event('frame2field2',toolkit.focus_lost_event,'demo1_set_upper',toolkit.get_text_method,'FIELD 2','false');
    toolkit.set_text_field_event('frame2field1',toolkit.mouse_double_clicked_event,'demo1_set_lower',toolkit.get_text_method,'field 1','false');
    toolkit.set_text_field_event('frame2field2',toolkit.mouse_double_clicked_event,'demo1_set_lower',toolkit.get_text_method,'field 2','false');
    toolkit.create_button('button2','frame2',10,70,100,25,'Switch','Switch the values of "Field 1" and "Field 2"','S','icon');
    toolkit.set_button_event('button2',toolkit.action_performed_event,'demo1_switch_fields(''frame2field1'',''frame2field2'')','frame2field1:'||toolkit.get_text_method||',frame2field2:'||toolkit.get_text_method);
    end;
    create or replace procedure demo1_set_upper as
    begin
    toolkit.set_string_method(interface.global_object_name,toolkit.set_text_method,upper(interface.array_event_value(1)));
    toolkit.set_text_field_event(interface.global_object_name,toolkit.focus_lost_event,'demo1_set_upper',toolkit.get_text_method,upper(interface.array_event_value(1)),'false');
    end;
    create or replace procedure demo1_set_lower as
    begin
    toolkit.set_string_method(interface.global_object_name,toolkit.set_text_method,lower(interface.array_event_value(1)));
    toolkit.set_text_field_event(interface.global_object_name,toolkit.mouse_double_clicked_event,'demo1_set_lower',toolkit.get_text_method,lower(interface.array_event_value(1)),'false');
    end;
    create or replace procedure demo1_switch_fields (
    field1 in varchar2,
    field2 in varchar2
    ) as
    begin
    toolkit.set_string_method(field1,toolkit.set_text_method,interface.array_event_value(2));
    toolkit.set_string_method(field2,toolkit.set_text_method,interface.array_event_value(1));
    toolkit.set_text_field_event(field1,toolkit.focus_lost_event,'demo1_set_upper',toolkit.get_text_method,upper(interface.array_event_value(2)),'false');
    toolkit.set_text_field_event(field2,toolkit.focus_lost_event,'demo1_set_upper',toolkit.get_text_method,upper(interface.array_event_value(1)),'false');
    toolkit.set_text_field_event(field1,toolkit.mouse_double_clicked_event,'demo1_set_lower',toolkit.get_text_method,lower(interface.array_event_value(2)),'false');
    toolkit.set_text_field_event(field2,toolkit.mouse_double_clicked_event,'demo1_set_lower',toolkit.get_text_method,lower(interface.array_event_value(1)),'false');
    end;

    Is it sound like Oracle Portal?
    But you want to save a layer 9iAS.
    Basically, that was the WebDB.(Oracle changed the name to Portal when version 3.0)
    Over all, I agree with you.
    &gt;&gt;Having a Oracle database as the central location for all components has many
    &gt;&gt;advantages:
    &gt;&gt;
    &gt;&gt;- Unique point of maintenance, backup and restore
    &gt;&gt;- Integrated database security
    &gt;&gt;- One language for everything, PL/SQL or Java (even both if desired)
    &gt;&gt;- Inherited database cache, transaction and processing optimizations
    &gt;&gt;- Direct access to the database dictionary
    &gt;&gt;- Application runs on Oracle which has support for many platforms.
    &gt;&gt;- Transparent use of parallel processing, clusters and future
    &gt;&gt;background technologies
    I would like to build 'ZOPE' inside Oracle DB as a back-end
    Using Flash MX as front-end.
    Thomas Ku.

  • How to print a JTable  in Java Swing ?

    Hi,
    I have an application written in java swing.Now I want to write a print module that prints some details.The details includes the JTextArea and JTable that changes in size dynamically.One solution i found is to put them in a panel and print that panel.But it is static.The size of JTable and JTextArea changes, according to the given input.Please give me a solution for this.

    Printing is a bit of a nightmare, actually. Most of the trouble is layout. Basically a Printable is passed a page number and a graphics context and has to work out what components go on that page and where. It can't depend on the pages being requested in sequence.
    You can call getPrintable from a JTable, and you can call that through your own Printable in order to add extra pages. However you can't ask a Printable how many pages it's going to produce, you just have to invoke it and see if it returns a code to say that the page is out of range.
    And the Printable JTable generates is very limited, the table has to occupy full pages, you can't tell it to start in a different place on the first page, or find out how much space it's used on the last page. The headers and footers generate JTable's own idea of a page number, not yours.
    You can call print() on most Swing components, but you'll need to set their size and location first, and/or mess with the transformation in the graphics context.

Maybe you are looking for

  • Why doesn't using EAS to sync Drafts from server to client work anymore?

    Hi All, I understand that uploading an email into a Drafts folder is not possible and has never been possible using Exchange ActiveSync. It has always been possible, however, to download emails from the Drafts folder and to sync the Drafts folder lik

  • Change font in SMARTFORMS

    Hi Experts, I am developing a smartform for label printing. for that according to the size of the label i have to adjust the content. How can I change the font size of the entire content including the logo? I tried to reduce the font size in the new

  • Whenever I try to download an app, the IPAD stays WAITING

    whenever I try to download an app, the IPAD stays WAITING

  • System refresh PRD-QUA

    Experts, We have completed the system refresh using PRD system data. part of post processing activity using t-code BDLS and and completed the  Logical system conversion. But still we observed that in BI system still prd system logical system (as belo

  • Error when opening .cp file

    We have created some Captivate tutorials and have published them as .exe files into the same folder as the original .cp files. We are now trying to re-open the .cp files and do more editing; however, we are receiving the below error message: "Adobe C