How to install java xmonad patch

Im having focus issues with netbeans & xmonad I think I have a fix http://mth.io/posts/xmonad-java-focus/ however as I do not know any haskell I have no idea how I add the patch to the existant configuration - here
-- make sure to edit paths to xmobar and .xmobarrc to match your system.
    -- If xmobar is in your $PATH, and its config is in ~/.xmobarrc you don't
    -- need the xmobar path or config file, use: xmproc <- spawnPipe "xmobar"
import XMonad
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Hooks.SetWMName
import XMonad.Util.Run(spawnPipe)
import XMonad.Util.EZConfig(additionalKeys)
import System.IO
main = do
    xmproc <- spawnPipe "xmobar"
    xmonad $ defaultConfig
        { manageHook = manageDocks <+> manageHook defaultConfig
        , layoutHook = avoidStruts  $  layoutHook defaultConfig
        , logHook = dynamicLogWithPP xmobarPP
                        { ppOutput = hPutStrLn xmproc
                        , ppTitle = xmobarColor "green" "" . shorten 50
        , modMask = mod4Mask     -- Rebind Mod to the Windows key
        , startupHook         = setWMName "LG3D"
        } `additionalKeys`
        [ ((mod4Mask .|. shiftMask, xK_z), spawn "xscreensaver-command -lock")
        , ((controlMask, xK_Print), spawn "sleep 0.2; scrot -s")
        , ((0, xK_Print), spawn "scrot")
I know its an exact copy from a tutorial but I do not really want to get into haskell at the moment. I was wondering if someone could tell me how the patch is applied in my case.

While I understand the importance of learning how to patch I believe you could just add 'wmname LG3D &' to your ~/.xinitrc and java apps will work correctly.
Make sure you install https://www.archlinux.org/packages/comm … 86/wmname/
Last edited by doug piston (2012-11-03 18:40:33)

Similar Messages

  • How to install java stack ,only  abap ,basis patch level 9 installed

    how to install java stack ,already installed abap ,basis patch level 9,please any one guide me and please give me installation steps for java stack.

    Hi,
    From sapinst, install Java Add-on.
    check installation guide.
    Thanks
    Sunny

  • How can install java sdk for mac os x 10.6.8

    How can install java sdk for mac os x 10.6.8?

    Deanwdd wrote:
    I mean to update Quicktime for Mac Os X 10.6.8...
    If you're running 10.6.8, Apple menu > Software Update. What version of QT do you have?

  • How To install Java Application[J2SE] into Windows Mobile

    Hi All,
    I have developed an application for Mobile devices[ Windows Mobile] exclusively using Java[AWT].When I try to install , the application in mobile, i got the following error.
    *"MIDlet cannot be installed because critical information is missing from the MIDlet file (.jar). - 13 Please contact the MIDlet provider for more information."*
    I didnt use any midlet classes in my application. So my question is, what the above error denotes? and How to install
    java[AWT] application into mobile?. What are all the requirements to install the application?.
    Thanks in advance.

    Hi David, thank you very much, your information was very useful, finally i got the work done.
    The problem was with the JVM which is im used in my Windows Mobile. And im installed CrE-ME in my mobile
    to execute java application.
    The following link has the details of how to install the JVM and execute the aplication (.jar ).
    http://javatolearn.blogspot.com/search/label/Java%20in%20Windows%20CE%20with%20CrE-ME
    Thanks and Regards
    Baskaran

  • How to install the OWB patch 2864550

    hi, friends, i am a newbie to OWB.
    can u tell me how to install the owb patch 2864550?
    it seems that this patch is not like other oracle patchs which consists of the products.jar that can be used by the oracle installer.
    thx

    Hi ,
    ... just follow the instructions in File "ReadMe.txt" included in the ZIP-File.
    Regards
    Martin

  • How to install the oracle patch in the HP_ux server.

    Hi,
    we are  using oracle server 9.2.0.8. We are decided to install the oracle patch in the oracle server.
    How to install the oracle patch?
    Please suggest me,
    Urgent.
    Regards
    S.Prasad

    hi,
    left upper corner on this forum.
    there is a box that "says" Search
    It is very easy to use, it is not necessary to be an Engineer.
    apart of the notes, there is (at least) one EXACT query like yours:
    [O patch apply procedure in Hp-ux and IBM aix|Re: O patch apply procedure in Hp-ux and IBM aix]

  • How to install Java on Red Hat

    Does anyone know how to install Java on Red Hat. I'm having problems installing it, and I can't really find any instructions anywhere on how to go about it. Thanks.

    Java won't run on Red Hat because of firewall
    problems.What ? Since when ? But there are problems with certain versions of RH.
    Nothing to do with a firewall though.
    >
    It only runs on Sun and Windows 95.
    But not the Vax version.

  • How to install JAVA , XML on 10.2.0.4.0 (AIX).

    Hi All,
    How to install JAVA , XML on 10.2.0.4.0 (AIX).
    Any document/link/ metalink doc would be highly appreciated
    Thanks In advance
    ivw

    Thanks for reply.
    I dont have dbca .. only ssh access, no gui
    sqlplus '/ as sysdba'
    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Aug 21 02:24:59 2009
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Data Mining and Real Application Testing options
    SQL> select count(*), owner from all_objects
    where object_type like '%JAVA%' group by owner;
    no rows selected
    so java is not loaded in the database
    I believe in 9i we have to run this
    @?/javavm/install/initjvm.sql
    @?/xdk/admin/initxml.sql
    @?/xdk/admin/xmlja.sql
    @?/rdbms/admin/catjava.sql
    Is there is any change in 10g regarding these above steps?
    Edited by: ivw on Aug 20, 2009 9:28 PM

  • How to install Java on Yosemite?

    How to install Java on Yosemite?

    What version do you need, and what do you need it for?
    If just web applets, you only need the JRE. If running desktop apps or development, then you need the JDK.
    Java 1.6 is here: Java for OS X 2014-001
    Any later version via Java.com. Pick Java SE JRE or JDK as required.

  • How to installed java comm in solaris

    I have installed borland jbuilder5 enterprise edition,and
    put the libSolarisSerialParallel.so in LD_LIBRARY_PATH
    (LD_LIBRARY_PATH=/usr/lib), the comm.jar in jre\lib\,javax.comm.properties in jre\lib .
    But when I Open the serial port, the program always raise a exception "null".
    What can i do ?

    sorry :
    how to "installed" java comm in solaris
    --->
    how to install java comm in solaris

  • How to install Java system on NW7.01 ?

    Hi, all experts,
    I have been installed Database instance and Central instance on NW7.01, I selected the options is
    "SAP NetWeaver 7.0 including Enhancement Package1---->SAP Application Server ABAP---->
    Oracle-->Central System--
    >Central System.
    But now I want to install Java system,
    Who could tell me how to select the option ?
    OS version: Linux_x86_64,  DB version: Oracle10.0.2.4
    Best regards and thanks in advance,
    Michael

    >
    Michael Hong wrote:
    > Hi, all experts,
    >
    > I have been installed Database instance and Central instance on NW7.01, I selected the options is
    > "SAP NetWeaver 7.0 including Enhancement Package1---->SAP Application Server ABAP---->
    > Oracle-->Central System--
    >Central System.
    >
    >
    > But now I want to install Java system,
    >
    > Who could tell me how to select the option ?
    >
    > OS version: Linux_x86_64,  DB version: Oracle10.0.2.4
    >
    > Best regards and thanks in advance,
    > Michael
    I couldn't find the option "Java add-in"  below the Option "SAP NetWeaver 7.0 including Enhancement Package1", only find
    the option "SAP Application Server JAVA".
    If I install SAP Application Server JAVA , then I need to install the oracle 10g again, so it will have two database ,
    who have the experience of the "JAVA + ABAP " installation ?
    Thanks,
    Michael
    Edited by: Michael Hong on Mar 10, 2010 5:03 AM

  • How to install java in /opt

    Hi,
    I am trying to install java using RPM selfextract package. But it alwasy installs in /usr.
    I am installing on fedora core 3 machine. I dont't have enough space in /usr that's why i want to install in /opt.
    I am downloading the j2sdk-1_4_2_08-linux-i586-rpm.bin in /opt
    and gave rpm -iv j2sdk-1_4_2_08-linux-i586.rpm
    but it always installs in /usr/java/...
    how do i get this installed in /opt??
    I have already preset the env variables to /opt/java/... locations.
    Please let me know as soon as possible.
    thanks
    sri

    I found this link when looking at the installation instructions on java.sun.com. It tells you how to install the sdk in any directory.
    http://java.sun.com/j2se/1.5.0/install-linux.html#self-extracting
    Hope this helps
    Jay

  • How to install Java in ASUS EeePC Linux OS?

    Who knows how to install a Java to a Linux OS in ASUS EeePC? I purchased an EeePC 4GB Surf for my programming subjects. But then, I couldn't use the Eclipse if I don't have Java installed on the pc. Do you know how to put Java in a ASUS EeePC 4GB Surf Linux OS?

    Some programs like FrostWire will not work without Java being upgraded. To do this:
    1.
    Use the Synaptic Package manager to add the repository: deb http://geekconnection.org xandros4 main. If you have no clue what that means read Installing software on the EEE - quick beginner's guide on the wiki.
    2.
    After Synaptic has downloaded the files to update the repository; Scroll through the available items to locate xandros-sun-jre1.5; Mark it for installation; Click Apply.
    The approximate size of this installation of Java is 30Mb and it is reported in this thread on the forum that after this version of Java was installed FrostWire works.
    http://wiki.eeeuser.com/howto:upgrade_java?s=java

  • How to install java 11

    I've tried numerous times to install java 11 - it always goes to 50%, stops, and says get rid of mozilla firefox - I have checked plug ins etc they are all fine - I haven't been able to see/hear my favorite programs - DAM!!

    Hi - I tried an earlier answer that worked just fine - I really appreciate your response - I'm impressed - I've never asked online for support before and I received TWO answers!
    But please tell me this - how does one "close firefox"? Yes, I'm a computer dummy!

  • How to install Java Development kit on RHEL 4.0 workstation

    Hi Guys,
    I'm new to java and not able to install java development kit on RHEL 4.0 system.
    I got tzupdater.jar file and confused what to do with it so that i acn succesfully use my JDK.
    Abhishek
    :(

    Simply go here and download the version you want (if you know how to use rpm, then get the rpm version, if not get the self extracting executable form). Then install by either using rpm or simply changing the mode of the downloaded file to make it executable and execute it.
    This is not rocket science.

Maybe you are looking for

  • Front pannel scroll bar get disabled(not visible)

    Hi,   I am facing some strange problem with Lab View front pannel. I am doing some expriement with PictRing vi which is in Ring&Enum. Then while doing this I lost my scroll bar(both vertical & horizontal) from front pannel. But it's present in block

  • How to save a conference during two hours ?

    Hello, When Garageband saves a conference, it stops at 999 for editing, but continues to save until how much ? When I export to iTunes and I burns a CD, the conference is not complete, but there is space on CD (~50 %). How to save a complete conferen

  • What cable to use?

    I am seeking advice about which cable to use to connect my wife's and my phones to our PC. We have a 3100 and a 3120 and our PC is running XP(SP2). Should we use the DKU-5 or would we be better using the CA-42 cable? Thanks

  • Error in Run Time in smartform

    Hi frds In smart forms im getting error messages while run time.the message is "zcdpos-newtotval is not in form..." Can pls wat this mean and resolve it . Thanks Pari Vendhan.R

  • BROWSERS FOR OS9...2.2

    Hi everyone - I've been using OS9 for years with Outlook Express and Internet Explorer but now have a warning message from my ISP stating that it cannot fully support those Browsers plus the fact that the same Browsers no longer fully support OS9 any