[SOLVED] Xmonad error when trying to compile the default xmonad.hs

Hey,
if I copy the configuration file in /usr/share/xmonad-0.11/man/xmonad.hs,
I get the following error
Error detected while loading xmonad configuration file: /home/me/.xmonad/xmonad.hs
xmonad.hs:132:64: Not in scope: `help'
Please check the file for errors.
xmonad: xmessage: executeFile: does not exist (No such file or directory)
The offending line is
-- Run xmessage with a summary of the default keybindings (useful for beginners)
, ((modMask .|. shiftMask, xK_slash ), spawn ("echo \"" ++ help ++ "\" | xmessage -file -"))
I don't really need that particular keybinding but nevertheless I would like to know what's happening here.
Last edited by Aton (2013-04-10 11:33:51)

as for what's happening: help is just not defined.
judging from the code you are trying to use, it is supposed to be a string. and indeed http://xmonad.org/xmonad-docs/xmonad/sr … Config.htm
defines
help :: String
help = unlines ["The default modifier key is 'alt'. Default keybindings:",
"-- launching and killing programs",
"mod-Shift-Enter Launch xterminal",
"mod-p Launch dmenu",
"mod-Shift-p Launch gmrun",
"mod-Shift-c Close/kill the focused window",
"mod-Space Rotate through the available layout algorithms",
"mod-Shift-Space Reset the layouts on the current workSpace to default",
"mod-n Resize/refresh viewed windows to the correct size",
"-- move focus up or down the window stack",
"mod-Tab Move focus to the next window",
"mod-Shift-Tab Move focus to the previous window",
"mod-j Move focus to the next window",
"mod-k Move focus to the previous window",
"mod-m Move focus to the master window",
"-- modifying the window order",
"mod-Return Swap the focused window and the master window",
"mod-Shift-j Swap the focused window with the next window",
"mod-Shift-k Swap the focused window with the previous window",
"-- resizing the master/slave ratio",
"mod-h Shrink the master area",
"mod-l Expand the master area",
"-- floating layer support",
"mod-t Push window back into tiling; unfloat and re-tile it",
"-- increase or decrease number of windows in the master area",
"mod-comma (mod-,) Increment the number of windows in the master area",
"mod-period (mod-.) Deincrement the number of windows in the master area",
"-- quit, or restart",
"mod-Shift-q Quit xmonad",
"mod-q Restart xmonad",
"mod-[1..9] Switch to workSpace N",
"-- Workspaces & screens",
"mod-Shift-[1..9] Move client to workspace N",
"mod-{w,e,r} Switch to physical/Xinerama screens 1, 2, or 3",
"mod-Shift-{w,e,r} Move client to screen 1, 2, or 3",
"-- Mouse bindings: default actions bound to mouse events",
"mod-button1 Set the window to floating mode and move by dragging",
"mod-button2 Raise the window to the top of the stack",
"mod-button3 Set the window to floating mode and resize by dragging"]

Similar Messages

  • Error when trying to access the RBAC User editor and Message tracking

    Hi,
    I am getting an error when trying to access the RBAC User editor and Message tracking on the Web Mgmt interface. I verified that the admin account trying to access is in the Organization Management group and has the correct Role Assignment Policy applied.
    I searched through this thread below and saw that matching the msExchRoleLink and msExchUserLink attributes fixed the issue. 
    https://social.technet.microsoft.com/Forums/exchange/en-US/fc568cc6-8691-4127-b70b-bcc82f9b1f7f/first-2010-cas-server-no-administrator-rights-emc-permissions-gone?forum=exchange2010
    However I have another environment where this is not the case and works just fine; the msExchUserLink attribute has a value of CN=Organization Management,OU=Microsoft Exchange Security Groups,DC=Domain,DC=Local which is different as per the issue outlined in
    the above thread so I am not convinced that this will work and also don’t want to blindly edit something in adsiedit without being sure.
    I then checked the event logs on the server and saw the below error logged;
    Current user: 'Domain/Server Services Accounts/administrator'
    Request for URL 'https://server.domain.com/ecp/default.aspx?p=AdminDeliveryReports&exsvurl=1' failed with the following error:
    System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Exchange.Management.ControlPanel.UrlNotFoundOrNoAccessException: The page may not be available or you might not have permission to open the
    page. Please contact your administrator for the required credentials. For new credentials to take effect, you have to close this window and log on again.
       at Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
       at Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       --- End of inner exception stack trace ---
       at System.Web.UI.Page.HandleError(Exception e)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at ASP.default_aspx.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Microsoft.Exchange.Management.ControlPanel.UrlNotFoundOrNoAccessException: The page may not be available or you might not have permission to open the page. Please contact your administrator for the required credentials. For new credentials to take effect, you
    have to close this window and log on again.
       at Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
       at Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    I then had a look at the IIS permissions for ecp and owa. The account did not have permissions so I added them there but still got the same error. I’ve also tried all of the above with a newly-created account but still got the same issue.
    Any ideas as to what the above event log is specifically referring to?

    Hi,
    From your description, I would like to clarify the following thing:
    If you want to search message tracking logs, the account you use should be a member of the role groups below:
    Organization Management role group, Records Management role group, Recipient Management role group.
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • I'm getting a -2003F error when trying to run the internet recovery after installing a new hard disk in my macbook pro, any suggestions?

    After installing a new hard drive in my 2011 macbook pro, I'm getting a apple.com/support -2003F error when trying to run the internet recovery.  Any suggestions?

    Did you format the new HDD?  What is the status of the old HDD?
    Do you have an early or late 2011 MBP?
    Ciao.

  • I keep getting an error when trying to receive the new update iOS7 on iPhone5.  Any suggestions?

    I keep getting an error when trying to receive the new update iOS7 on iPhone5.  Any suggestions?

    Do the update using iTunes on your computer.
    Plug your iPhone into iTunes (current version), let it sync, then click "Check for Updates" on the iPhone's summary page in iTunes.

  • I am getting an error when trying to download  the new Game of Thrones shows. The error is err = -61 You do not have the privilege to make changes. (err = -61) you do not have the privilege  to make changes. I have not had this problem before

    I am getting an error when trying to download  the new Game of Thrones shows. The error is err = -61 You do not have the privilege to make changes. (err = -61) you do not have the privilege  to make changes. I have not had this problem before

    Solution:
    Open Disk Utility.
    Select your external hard disk and run a “verify” on it. After a few minutes (depending on the size of your drive), you should be good to go. You don’t need to run a “repair” on it... (at least I didn’t have to). See photo for reference.
    This should fix the permissions issue, because on my Mac running Mountain Lion I was unable to edit the permissions in the get info dialog window even after "unlocking" the drive.

  • I get an error when trying to open "The application Creative Cloud can't be opened. -1712

    I get an error when trying to open "The application Creative Cloud can't be opened. -1712

    The application Install.app can't be opened. -1712

  • Error when trying to refresh the current report-Invalid prompt def.WIS00005

    I am trying to create a Webi report using a Universe created with Universe Design Tool 4.0. I have created a new universe with a secured relational connection from a cube in our BBD system. The Universe can be created and exported in UDT (and when I test the connection, I get a message saying the server is responding). I can see values for the BEx query in BEx analyzer.
    When I open Webi and connect to a universe, I can see the universe, but when I put a dimension to our results tab and go to "run query", I first get the error "Error when trying to refresh the current report". If I close this error I get the error "Invalid Prompt Definiton - WIS00005". Has anybody else had this issue and if so, where can I begin to troubleshoot the error?

    Hi,
    Please note that if the object parses at Universe level it may still fail at runtime especially for the prompts.
    If you still experience the error after applying Patch 11 please analyze the characteristics of the prompt, get some trace logs with High level of detail, they surely  will help.
    Thanks!
    Best regards,
    Simone

  • Error when trying to start the ToolsAndFrameworks to access Endeca workbenc

    Hi All,
    I am getting the below error when trying to start the ToolsAndFrameworks.
    Starting Workbench (background process)
    The BASEDIR environment variable is not defined correctly
    This environment variable is needed to run this program
    Regards
    SK

    Hi SK,
    This occurs in those cases where the Endeca environment variables are not set properly. Make sure all the Endeca environment variables are set before starting the Tools services.
    Executing the 'mdex_setup_ini' and 'installar_sh.ini' will setup the Endeca environment variables. Below are the commands for the same.
    source /local/endeca/MDEX/6.3.0/mdex_setup_sh.ini
    source /local/endeca/PlatformServices/workspace/setup/installer_sh.ini
    HTH,
    Mahesh

  • Error when trying to refresh the current report

    I am having this error message "Error when trying to refresh the current report on my reports appear before they are executed. It has been a very random so I am unable to pinpoint what is causing it. I am currently working with BO 4.1 and it is connected to BW, whereby the authentication is SSO.
    Either way the reports are able to run with problems but I dislike having to insist with the refresh button or having to close and reopen the report for it to run as it should.
    I did some investigations but did not find anything conclusive because there is no problems with authorizations, there are no merged dimensions nor grouping variables used in the report and it is based on just one query.
    Does anyone know why this error message appears? What its cause is?

    Hi
    While creating the report if we select the authentication mode as :Use specified user name and password or Use Business Objects credential mapping, will get the same error.
    So if possible can you please test change Connection Type Authentication Mode to Single Sign on.
    Find the below link.
    http://scn.sap.com/community/semantic-layer/blog/2014/06/06/how-to-change-connection-type-authentication-mode-to-sso-1

  • "please use setup.exe for installati​on instead of blackberry desktop software.m​si" error when trying to install the software through 610_b038_m​ultilangua​ge.exe

    "please use setup.exe for installation instead of blackberry desktop software.msi" error when trying to install the software through 610_b038_multilanguage.exe
    I need to install this so that i can transfer my contacts and calendar to my laptop

    Hi and Welcome to the Community!
    Sorry to be dense, but what happens when you do exactly as the message instructs?
    Thanks!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Always getting a server error when trying to download the products

    I' always getting a server error when trying to download the products since yesterday, what can I do ?

    Try using a different browser

  • HT4796 I keep getting a Windows Mail error when trying to run the assistant on my pc, but I don't have any email programs open.

    I keep getting a Windows Mail error when trying to run the assistant on my pc, but I don't have any email programs open.

    You could of course use Safari your default browser as a quick method of accessing gmail until you figure out the Firefox problem. (More than one browser may be used on a Mac or other computer).
    Is this the only site you have problems with ? and does Safari work ok ?
    Often this problem requires the page to be reloaded
    * try pressing the shift key as you reload the page
    Another problem is sometimes the cookies for that site need clearing
    * see [[Delete cookies to remove the information websites have stored on your computer#w_delete-cookies-for-a-single-site]]_delete-cookies-for-a-single-site
    * see also [[Firefox and other browsers can't load websites]] or[[Firefox can't load websites but other browsers can]]

  • I get the following error when trying to use the itunes store "your apple id has been disabled"

    I get the following error when trying to use the itunes store "your apple id has been disabled".  My account was disabled when someone else had been using it without my knowledge.  I changed my apple id password and the apple id is still fine, but itunes has it disabled.  I verified that the computer is authorized for this apple id.  What to do now?

    Welcome to the Apple Community.
    Contact Apple through iTunes Store Support

  • Has anybody gotten an error when trying to unzip the Encore Content zips file? How did you fix?

    Has anybody gotten an error when trying to unzip the Encore Content zips file? How did you fix?

    You may have a corrupt download... did you download again?

  • Error when trying to compile HTML help

    I'm using RoboHelp 7.0 on Windows XP. All of the sudden, last
    week, I start getting the following error when I try to compile
    "Fatal Error: Unexpected error from Microsoft HTML compiler." I've
    read the other posts regarding this error and deleted the .CPD file
    multiple times and tried to compile again still with no success.
    I've uninstalled and reinstalled multiple times and not had any
    better results. The other author in my office can check the project
    out of RoboSource and compile it fine. I have it on my local drive
    when trying to compile.
    I'd appreciate any ideas. It doesn't make sense that is
    something in the project since my other author can compile it fine.
    Thanks,
    Nita

    Hi, Nita,
    Do you have any other RoboHelp projects that you can try
    compiling? This may help to determine whether there's something
    slightly askew about this particular project — sounds
    unlikely if your colleague can compile without error — or
    whether the problem lies in your RoboHelp installation.
    I'd also recommend that you run MJ's Help Diagnostics,
    available from the address below. This will verify that all the
    HTML Help viewer and compiler components are properly installed and
    registered on your machine.
    http://helpware.net/downloads/index.htm#MJs
    Pete

Maybe you are looking for

  • Generating UDT from command line or C# code

    Hi, I want to write an application which is capable of generating UDTs and hence use the newly generated UDTs in C#. Right at the moment I can only generate the classes via the wizard in Visual Studio ("Generate Custom Class.."), but i know that e.g.

  • Load random FLV with NetStream

    Dear Adobe members, I'm puzzeling for days on this one. I'm a bit of a noob so please help me I want to create a videowall in a grid of 7 x 7 flv's. In this grid, the flv's have to be loaded at random and when finished, a new random flv has to be loa

  • Values of same Variable(used in diff reports) shud be retained in a session

    Hello, We have an application cockpit. There are 12 to 13 different reports being used in that cockpit. Most of the reports use the same characteristic variables in the report. When we used to execute these reports in Ver 3.x, the variables used to r

  • My raw images download as 2 photos

    When I download my raw images into iphoto 6, I end up with twice as many photos as it converts one and leaves one raw. Is it possible to have these go into different files automatically? Editing has suddently become such a big job!!! G5   Mac OS X (1

  • In preferences what does "Override automatic cache management" mean and do?

    I was wondering what "Override automatic cache management" means and does.