[SOLVED] Xmonad - Use subLayout without tabs

Hi there,
I have a defined layout using subLayouts :
codeLayout = spacing 6 $ windowNavigation $ subTabbed $ boringWindows $ ResizableTall 1 (2/100) (1/2) [] ||| noBorders Full
According to the documentation, subTabbed is a use of subLayout with addTabs to show decorations.
I'm trying to have same behavior but without the tabs but i just fail every time i use subLayout directly (wrong syntax ?).
Is it possible to use subLayout directly ? Or maybe avoid the addTabs decorator ?
Thank you !
Last edited by Johnyjohn (2012-09-25 17:22:29)

I spent too many hours on this before finding how to use subLayout.
The documentation constructor and example lost me as i don't know/understand haskell :
subLayout :: [Int] -> subl a -> l a -> ModifiedLayout (Sublayout subl) l a
myLayout = addTabs shrinkText defaultTheme $ subLayout [0,1,2] (Simplest ||| Tall 1 0.2 0.5 ||| Circle) $ Tall 1 0.2 0.5 ||| Full
What i want is done by removing modified and sub layouts items :
codeLayout = spacing 6 $ windowNavigation $ boringWindows $ subLayout [0, 1] (Full) $ ResizableTall 1 (2/100) (1/2) []
It's know a resizable tiled spaced layout with the possibility to group windows in a sub full layout (like a stack ?).
Hope it can be usefull.
Thank you for everything i found in this forum.
Last edited by Johnyjohn (2012-09-26 06:29:35)

Similar Messages

  • How do I get the tab bar at the bottom of the screen (right above the task bar) WITHOUT Tab Mix Plus?

    ''locking - please stick with your original thread about this problem - https://support.mozilla.org/en-US/questions/934590''
    I like having the tab bar at the bottom of the screen; I use the task bar AT THE BOTTOM to switch between programs, so I want the the tab bar AT THE BOTTOM to switch between web pages. The only way I've found to get the tab bar at the bottom of the screen is the extension Tab Mix Plus. I used it for a long time, and it worked great.
    Unfortunately, when I recently updated to Firefox 14.0.1, I encountered an error: I could no longer middle-click on a link to open it in a new tab (which I do ALL the time). After some troubleshooting, I found that it was being caused by some incompatibility between Firefox 14.0.1 and Tab Mix Plus; upon removing Tab Mix Plus, my middle-clicking was back to normal.
    But without Tab Mix Plus, I'm back to having the tab bar at the top of the screen. I've searched and searched, and I can't find anything besides Tab Mix Plus that will let me put the tab bar at the bottom of the screen. I've found tons of stuff about the option "tabs on top", but that has to do with putting the tab bar above/below the navigation bar--it's still at the top of the SCREEN either way.
    What can I do?

    Reset the pref <b>layout.scrollbar.side</b> to '0' or set to '2' to place the scroll bar at the default right side.
    See:
    * http://kb.mozillazine.org/layout.scrollbar.side
    * http://kb.mozillazine.org/about%3Aconfig
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]

  • Firefox asks (twice) to save and close tabs, on new open windows without tabs, when i close them.

    About one month ago, i started to receive a message box from firefox, asking if i wanted to save and close tabs, on newly open windows (and pop-ups) without any tabs open on them.
    And everytime i close the windows without tabs, firefox asks it twice...
    I did not made any changes, so i don't know why it started doing this.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • I love using firefox app tabs, but they always disappear when I restart firefox. Is there any way to get chosen app tabs to load when firefox restarts?

    Firefox 5 has a great new feature called app tabs, but it looks like I'm stuck resetting them every time I quit firefox or restart my computer. It seems to me the whole point of "pinned" app tabs is that they're the sites you read most frequently, and therefore it would be useful if they loaded automatically when firefox was started. Is there a way to do this? Do I have firefox on the wrong settings? Or am I stuck re-creating my app tabs every time I restart my computer / firefox??

    Thanks for the reply, it seems to have solved my issue.
    My tabs are normal and unpinned, I just have Firefox set to open all my current tabs. Safe Mode didn't seem to have this issue, so I disabled Classic Theme Restorer. Several restarts didn't have problems, so I enabled it again and now this isn't happening anymore. Hopefully it stays gone for good and didn't just stop momentarily.
    Edit. So as soon as I posted this, it started happening again. More testing definitely points to Classic Theme Restorer as the cause, so I'll have to investigate solutions on that end.

  • How do I install windows using BootCamp without cd drive fot the new MBP?

    I need some softwares for my work (modelsim, altera, ltspices etc) but some of them only supports windows.
    New MBP doesnt seem to have a cd driver.
    How do I install windows using bootcamp without cd drivers?

    You can use a USB thumbdrive to do this, assuming you have access to a windows machine to format the usb stick.
    I installed Win7 on my MB Air (2011), which of course lacks a DVD drive altogether, using this technique.
    Basically, you download a tool called rEFIt to your macbook. ( http://sourceforge.net/projects/refit/files/rEFIt/0.14/rEFIt-0.14.dmg/download ) When this is installed, it gives you a boot selector menu when you boot the Macbook ('Do you want to boot to MacOS or to the USB drive?')
    Then you download and run an Apple tool called Boot Camp Assistant, which allows you to partition your HD for the two operating systems to share; it also pulls down all the windows drivers you need.
    Then prep the USB thumbdrive on a windows machine to be a Win7 installer disk. You'll want a drive in the 4gb+ range I think. You have to set up the thumbdrive to be bootable (lots of tools for that available), and then copy all the windows installation files over to it.
    Put the thumbdrive in the macbook and boot holding down the option key.
    Choose the rEFIt icon on boot, then choose to boot from the thumbdrive, then format your new windows partition to something Win7 can handle, and install windows.
    On my machine I followed a slightly more involved process and wiped out MacOS entirely. I would have kept it on a small partition if I'd had a bigger hard drive.
    If you need super detailed instructions, CNET has some here:
    http://howto.cnet.com/8301-11310_39-20020513-285/install-win-7-on-macbook-air-fr om-a-usb-drive/
    Tech-Recipes has some similar instructions here:
    http://www.tech-recipes.com/rx/9136/macbook-air-install-windows-7-with-boot-camp -without-an-external-dvd-drive/
    If you have any issues after trying this, ping me and I may have solved them when I went through the same process.

  • Can't use DTD without a "file:" while parsing with SAX2 parser

    Hello,
    I'm using JDK 1.4 with JAXP parser.
    I'm trying to parse an xml document that use a dtd.
    The DTD is in same dir as the xml file.
    If i use a "file:./" before mydtd.dtd like this :
    <!DOCTYPE doc SYSTEM "file:./mydtd.dtd">
    It is working fine, but if i declare it as
    <!DOCTYPE doc SYSTEM "mydtd.dtd">
    I've got a parsing SAX exception saying
    Relative URI "mydtd.dtd" can't be resolved without an URI of document. (translated)
    How to fix that ?

    I think your problem would be solved by using InputSource class. Use the setSystemId method. The relative URI will be resolved relative to the path you provide in this method.

  • Controlling Supplier Access Using AML / Manufacturers tab

    Hello,
    We are investigating the use of Manufacturers tab (AML) to control which assemblies and components each of suppliers can see. For example, if an Item has "Mfr A" and "Mfr B" on the Manufacturers tab, we would like to configure roles & privileges so that any supplier user from Mfr A or Mfr B can access that particluar item; however a user form Mfr C would not be able to access (or even see) the item.
    The problem that we are facing is that in order to do this, it would require us to set AML at all levels of an assembly (from assembly down to the sub-assemblies & sub-components). Is there a way to achieve this without developing a Process Extension to proprogate/push the AML details from the assembly all the way down (parent-to-child)?
    Also, are there any guidelines / best practices for setting up AML based privileges for supplier access? Is this type of roles & privileges model not advised? Currently, the suppliers that have access to log into our Agile system are set up using the "User" subclass (with restricted privileges)... is there a better way to control this?
    Thanks!

    This forum is for the Agile PLM for Process product suite, not for the Agile A9 suite.
    For Agile A9 or Primavera questions, you can use Oracle Support, Support Communities, Yahoo Groups for Agile API or WRAU.
    This forum is for Agile PLM for Process, which is part of the same Agile family but a different product.
    Thanks.

  • Tabcontrol without tabs?

    I have a form with a splitcontainer control and i want to use left side to have navigation buttons and rightside with the main data shown. So i was wondering is there a way to remove tabs from the tabcontrol. Or how should i go about achieve switching
    pages in winforms?

    If you wish to use TabControl then you can simply set the itemsize to 0,1 after setting sizemode to fixed as shown here:
    http://dotnetrix.co.uk/tabcontrol.htm#tip5
    You can also inherit TabControl and create your own with a HideTabs property as shown here:
    http://dotnetrix.co.uk/tabcontrol.htm#tip14
    Or you can create a completely custom control which acts like TabControl but without Tabs as shown here:
    http://dotnetrix.co.uk/custom.htm#tip2
    ...of course you could also just add panels to your form and just hide and show them as the result of button clicks.
    Mick Doherty
    http://dotnetrix.co.uk
    http://glassui.codeplex.com

  • A lot of memory is used when multiple tabs are open

    Is there anything that can be done about the insane memory usage in Firefox when multiple tabs are open? I often have 20+ tabs open and the amount of RAM that Firefox uses when I have it open with this many tabs is just ridiculous. As an example of this, I just restarted Firefox after checking the Windows Task Manager. The Task manager said that Firefox was using 1.2 GB of RAM. I did have 32 tabs open, but this seems excessive even for this many tabs. Some of the tabs were image heavy, but none of them had any video in them. I'd think 10 MB per tab of RAM would be plenty to cover these kinds of pages, maybe 20 MB at most. The upper end of that range would be 640 MB of RAM. Instead, it appears to be using an average of 40 MB of RAM per page when this many tabs are open.
    Is there anything that can be done to reduce amount of memory being used when multiple tabs are open? It really shouldn't need this much RAM to serve this many pages.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How to open document from mac when using windows without transferring the file?

    How can i open a document from mac when i am using windows without transferring it?

    depend on the document program more then anything else really
    when ever I open a doc with word it make a history for undo and redo action file in the same dir
    with bootcamp you only have read not write access to the osx partition so it would fail to be able to create that file
    but if you can get word or whatever program you use to open the file not to place a temp file in the same dir
    or use a program which did not make any type of temp file or used a program where the temp file would be located elsewhere where you decide it would work file

  • How do i sync apps to my iPhone 4S using itunes without losing aps already installed on the phone but with a different apple ID, and i dont have the apple ID??

    how do i sync apps to my iPhone 4S using itunes without losing aps already installed on the phone but with a different apple ID, and i dont have the apple ID??

    How have you managed to get apps on your phone that are tied to a different and unknown AppleID?
    If these apps were not purchased by you, having them is effectively software piracy and you should purchase them using your own AppleID if you want to keep hem.

  • Is there any way to use iPhoto without it moving my files?

    I tried to use iPhoto ONCE last yer when I bought my Mac Mini, and it moved all my photo files around as it pleased, is there any way to stop it fro moving my files? I like the folder/file structure I have given my pictures and I do not need to have that managed.
    At the moment I am using Picasa but I would like to know if it is possible to use iPhoto without it deciding what to do with my files.
    Thanks!

    No
    It is a SQL database and it must control its database - like any database program
    as long as you think of managing files rather than managing photos it is not the program for you - once you think of managing your photos then having the poser of a database for that will be obvious - if that is not what you want then do not use it
    BTW - iPhoto does not ever "move" your files - it makes a copy of each photo in its database and manages it there - your files are never touched
    LN

  • How to get web application to use Tuscany without conflicting with SAP SDO

    Hi,
    We are attempting to run a web application on SAP NetWeaver CE 7.1 SP1 which uses Tuscany SDO.  As it now stands We must use Tuscany because the web application will not run with the SAP SDO implementation provided by Netweaver. To ensure that Tuscany is loaded with priority, we have packaged the Tuscany JAR files and their dependencies as a heavy resource, as described here:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60642a88-95fe-2b10-d387-a245d48fc257?overridelayout=true
    The final check showed that Tuscany was correctly deployed as a heavy resource and included the following JAR files:
    common-2.2.3.jar
    ecore-2.2.3.jar
    ecore-change-2.2.3.jar
    ecore-xmi-2.2.3.jar
    tuscany-sdo-impl-1.1.1.jar
    tuscany-sdo-lib-1.1.1.jar
    tuscany-sdo-tools-1.1.1.jar
    xsd-2.2.3.jar
    We also verified that the web application using Tuscany has a hard reference to the Tuscany heavy resource.
    However, when we try to run the web application, the following error is logged:  java.lang.LinkageError: Class commonj/sdo/DataGraph violates loader constraints
    The issue is definitely due to some kind of classloading conflict with the SAP SDO library, as the application runs normally when SAP SDO is manually removed from the classpath. Doing this on a production system is unfortunately not an option, though.
    So the question is: how to get web application to use Tuscany without conflicting with SAP SDO?

    I took a look at the "printerReady" example.  Looks like I may be able to use the InetPing (...) function to ping through a range of IP addresses looking for a response.
    Any ideas on how to find the MAC address associated with the IP addresses that respond?
    We may have multiple units responding and the MAC address will allow the operator to determing which unit to connect to.
    I'll try the InetPing to see how it works,
    Kirk

  • I want to use Thunderbird without saving e-mails to PC. How is this possible?

    I want to use Thunderbird without saving any e-mail to local folder in my PC.
    Can you please help me on this?
    thanks.

    There are two types - POP and IMAP
    You would need to logon to your webmail account using a browser and select the option to use IMAP forwarding - assuming that option is available.
    Pop mail accounts can only access the server Inbox.
    Emails are downloaded to your computer and stored in your Thunderbird Profile folder. So this type may not suit your requirements.
    IMAP mail accounts offer a remote view of folders and emails stored on the server.
    You subscribe to see those folders. Then Headers are downloaded and when you select to view an email, the email is downloaded to a temp cache.
    Subscribed folders that are synchronised, download a copy of the folder and store it in your Thunderbird Profile. But these folders are constantly updated to reflect what is stored on the server.
    So your best option would be to create IMAP mail account, subscribe to see folders on the server, but do not select to synchronise those subscribed folders.
    Emails stored in your Thunderbird Profile on your computer load faster than those that have to be retrieved from the server each time.
    Info on synchronising, so you can see how to enable/disable.
    * https://support.mozilla.org/en-US/kb/imap-synchronization

  • I have two iPhones, one is a 4s and the other is a 3g. I have not used my 3g in some time now. I recently restored it but I cannot use it without a sim card, it says i have to "activate it."

    I have two iPhones, one is a 4s and the other is a 3g. I have not used my 3g in some time now. I recently restored it but I cannot use it without a sim card, it says i have to "activate it." I cannot place my iPhone 4s sim card in it (too small), and i do not want to get a new contract or sim card for an iPhone that i do not ues very much.

    Thanks for your help, but i cannot borrow a noral sim card now, my family has all up graded to iPhone 4s's, i have done this before, but one of my family had the same type of iphone so i could use theirs. Now i am the only one who still holds on to their old phone... I am not sure about buying an adapter...

Maybe you are looking for

  • Re: [iPlanet-JATO] onBeforeRequest(); Finding requested view from requestContext

    The problem is that you don't know what the target view is until it has been forwarded to. Think about it... the request handling view bean (or command object) has the request handler that has the code that will ultimately forward to another view bea

  • Getting to Lightroom 4.3

    I currently have Lightroom 3.4.1, what is the best way to upgrade to 4.3?

  • CSM disconnects VPN sessions upon config deployment.

    CSM version 4.3 SP1 Hi, I've noticed that while deploying configuration to our ASA5520 devices active VPN sessions are being disconnected. Has anyone noticed the same ? I've not found anything related in Cisco Forum. I also have not found anything re

  • IPad frozen after trying to install iso 7

    I just downloaded iso 7 on my iPad. I can enter my password, but it still says it's "joining network"...about 15 hours?! I can't cancel, I did get a pop up twice saying it wasn't complete, continue, so I clicked continue. But it's frozen on Joining n

  • Acrobat std. 9 & 10 conflicts with MS Office & SharePoint 2010

    HELP!!!! I have a user base that access PDFs stored in a Workspace on our SharePoint server and access them via our Intranet SharePoint site.  These users have Acrobat Std 9 and 10.  We have recently installed MS Office 2010.  The users were given a