[SOLVED] Saving i3 Layout

I'm trying to save this layout and restore it when I open i3:
Here's the .json that gets saved:
http://pastebin.com/SeBi3yEz
Regardless of what I change all floating windows are tiled horizontally. If I change window settings in ~/.i3/config to default as float then all windows move to the center of the screen and overlap each other. Any thoughts? Thanks.
Last edited by tzoi516 (2014-12-05 18:39:29)

At least, you need to take a closer look at the structure of your document, see; http://i3wm.org/docs/layout-saving.html … ayoutFiles.
The way you use 'instance' , 'class' & 'title', is not the way it supposed to be.
You can use my document too, for that purpose.
For the name I would use something like:
"name": "Mutt",
or nothing, leave it out.
Also, there is no
"layout": "splith",
only
"layout": "splitv",
What would explain your horizontal splits.
edit:
something like this
"class": "^URxvt$",
"instance": "^WeeChat",
"title": "^"
B.t.w.: you probably don't miss anything in your setup.
Last edited by qinohe (2014-12-05 15:32:33)

Similar Messages

  • How to send pdf or excel attachment as saved alv layout in email

    Hi Guru,
    I am developing a report in which, i am sending report as excel attachment after clicking a button on top of alv grid, and pdf attachment after clicking another button on top of alv grid. I am sending mail by two ways they are:
    1) I am populating my internal table value in separate internal table and converting that to string and sending email as excel attachment.
    2) And am converting report as spooljob, and using abapspool 2 pdf function module i am converting spool to pdf, after that am send that pdf as mail attachment.
    Now my requirement is i need to send email attachment as layout which is displayed in the alv screen, even i hide a column and  change the  layout  it is going with all the columns. What should i do for this problem.
    Regards,
    Rithika

    Hi,
    Check if the below steps will solve the problem.
    * Get the run time ALV layout (field catalog) using the below method.
         data: r_grid TYPE REF TO cl_gui_alv_grid.
         CALL METHOD r_grid->get_frontend_fieldcatalog
              IMPORTING
                   et_fieldcatalog = t_fcat.
    * Adjust the download table according to t_fcat.

  • [SOLVED] Configure keyboard layout in X using Gnome

    Hi. This is my first post since I just installed Arch two days ago.
    My concern is about the console KEYMAP. I succesfully configured /etc/vconsole.conf so that KEYMAP=la-latin1 and it works almost perfectly. The only issue I have is that since my laptop was purchased in the US, using a latin american layout made me loose the greater and less characters (> and <), which are kind of essential characters for me and I'm already sick of copy pasting them. So I followed the KEYMAP section of the Wiki
    Thing is none of the changes I make are taking effect, which is weird.
    For now I'm only trying to get used to how it works so what I've been doing is the following (as the Wiki suggests)
    cd /usr/share/kbd/keymaps/i386/qwerty
    Copy the keymap (la-latin1.map.gz) to a new file personal.map.gz
    gunzip the new map file
    Edit personal.map: here I'm just changing "exclam" for "dollar" for the 1 key to to test if it works before I add the characters I need
    gzip the map file
    Change the default keyboard layout file that will be used by editing /etc/vconsole.conf (you might have to create this file) and changing the line that says KEYMAP=la-latin1 to KEYMAP=personal
    then I tried using sudo loadkeys personal, also tried rebooting the system and I still get the ! character when I use SHIFT+1 which is weird (because I configured it so i would get the dollar sign)
    Later I tried to use localectl set-keymap personal also with no luck
    I seriously don't know what I'm doing wrong. I'm sure one of you guys will be able to help me since probably I'm making some kind of stupid mistake I cannot figure out. You can be sure it's not something that stupid as exiting the files withouth saving. To be sure I also reopened the files later to check if the changes where saved and they were, both for the vconsole.conf  and personal.map.gz (which I gunzipped to read and then re gzipped).
    I really appreciate any kind of help you can give me. THanks!
    Last edited by volotec (2013-09-06 20:13:11)

    I have a custom keymap in use on my system because I hate the Caps Lock.  So that and a couple other small modifications were made into wonderwoofy.map.gz.  Using /etc/vconsole.conf works just fine for me.  But I did notice that if I didn't have early KMS that I ran into a race condition with systemd-vconsole-setup.service and the system actually switching the graphics to KMS. 
    Though my issue might be entirely unrelated to what you are experiencing because I was indeed able to change things with loadkeys (at the time I did this stuff, there was no localectl… or if there was I wasn't aware of it).  Maybe try making some other small change to see if there is something inherently wrong with what you have done in the first attempt.  For example, since this is just for testing, use a more common character like a letter or number to replace something.
    I will tell you though that you are not the first person I have heard of recently who has run into vconsole.conf probems.  But the last person I read having such problems was at least able to correctly set their keymap with localectl (though the desired font apparently never took).

  • Saving print layout templates

    In a future release, would it be possible to have a function whereby you can save your print layouts in a folder, as a backup precaution incase you accidentally delete or alter an original one?  At the moment, you can only back the PLD templates up via daily database backups.  I have a customer who has spent a very long time perfecting their print layout templates and he thinks this functionality would be very useful and reassuring.
    Thanks

    Hello Kate,
    Within 8.8 release, we are introducing new control of 'Report and Layout Management' which enables joint management of PLD and Crystal Reports layouts. This enhances the usability of maintenance of print layouts and should reduce a risk of accidential deletion of the print layout.
    Moreover, Crystal Reports can be also saved outside SAP Business One as a separate file (similarly like those for XL Reporter).
    Peter Dominik
    B1 Solution Management

  • Saving a layout for a user

    Hello;
    I want to save a particular layout with some default values. Suppose if I am running a report MCI7, I want to have an equipment number say- 1000500 as a default everytime I run the Tcode MCI7.
    I know, I can create a variant & call the variant; but I want  to get the variant automatically (after running the Tcode MCI7) without choosing the variant. This applies in some industries where only breakdown reports on only 2-3 critical equipments are required, every month.
    Points assured.
    Regards
    Hemant

    Hello Philip;
    Thanks for your valuable input, it solved my problem.
    Thanks & Regards
    Hemant

  • [SOLVED] German keyboard layout working in XDM, but not in E17?

    Hello out there,
    After a fresh installation of my Arch Linux box, I want to use e17.
    Everything works fine, except that e17 does not take over the german keyboard layout that I configured for X.
    This is the content of my /etc/X11/xorg.conf.d/20-keyboard.conf:
    Section "InputClass"
    Identifier "keyboard"
    MatchIsKeyboard "yes"
    Option "XkbLayout" "de"
    Option "XkbVariant" "nodeadkeys"
    EndSection
    Under XDM, I can enter Umlauts and everything is fine. In e17, this is not the case.
    I am sure that I already had this problem in the past but I can't remember the solution.
    Any ideas?
    EDIT: Now I put this in the file 10-evdev.conf, but with still no more effect.
    Section "InputClass"
    Identifier "evdev keyboard catchall"
    MatchIsKeyboard "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    Option "XkbLayout" "de"
    Option "XkbVariant" "nodeadkeys"
    EndSection
    Last edited by beachcoder (2012-07-24 07:00:00)

    Solved only for basic variants of keyboard layouts. I use 'cz qwerty', but no option for this xkbmap variant is icluded into XKBSwitch module. Loading this variant manually via setxkbmap command is possible'but annoying... There is no support for XKB variants in e17 when X used and supported by e17 provide the job reliably but of extraordinary way for e17 configuration.

  • Saving Keyboard Layouts

    I have created a custom keyboard layout (and saved as...) and I want to save it on a thumbdrive or on our company network to be able to apply the settings on another work station.  Can this be done? and how?
    Chris Randolph

    OK, this worked for me.
    Open Windows Explorer
    On the left side, double-click the C drive to open it, double click the Users folder, and the double click on your user name folder.
    Click in the Location bar and add \AppData\. You will then be able to see the hidden folder and continue navigating to the Adobe Premiere Pro data you need.
    Double click each successive folder: Roaming, Adobe, Premiere Pro, 5.5
    Copy the .kys file anywhere you like.
    Paste it into a like location on your other computer. You should be good to go!

  • Saving report layout views without saving the filter criteria.

    We have a requirement from the client where after the user changes the layout of a report (ex. by adding/removing characteristics), the user wants to save the layout of the report without saving the filters of report. 
    I have two scenarios where I can get this to work.
    1. Pressing the u2018Save Viewu2019 button in the web report. And changing the query in Query Designer so that it does not have any filter variables in the u2018Default Valueu2019 section (all filters have to be in the u2018Characteristic Restrictionu2019 section). And in WAD turn 'On' the setting for u2018Reset Variable Values to Defaultu2019. I do not want to use this method because it means I have to change all queries that are in production.
    2.  The second way I get it to work is by Pressing the u2018Save Viewu2019 button and forcing the query to use a customized web template that references a master web template. In WAD neither the parent nor child web template has u2018Reset Variable Values to Defaultu2019 set to 'On', it is set to 'Off (Default)'.  I would like to figure out why this method works because no changes need to be made to the queries (filters can be on either side, u2018Characteristic Restrictionsu2019 or u2018Default Valuesu2019).  I do not want to use this customized web template for all queries because there are special layouts and labels that are not needed for the all other reports.
    So I know that there is a solution on the web template side, but Iu2019m not sure where the solution is. I want to figure out why scenario 2 works, and apply that to the default web template that runs for all queries. I compared the setting of both templates and I cannot find a difference. Please help!!
    We are running:
    SAP BW 7.0 Service Pack 22
    Web Application Designer 7.0
    Query Designer 7.0
    Thanks in advance, Points will be awarded!!

    Hi Sathish!
    If your table data is less than 3 pages (2 pages) then new section will start from 3rd page only.
    Each table is less than one page actually. But as I wrote the 2-nd section starts from the 2-nd page (what is excellent), but the 3-rd section starts from the 2-nd page as well (right after the 2-nd section), but not from the 3-rd page.
    If each table in section is with different format , it is good to go with TAB wise tables.
    Could you give any link where I could read about the TAB wise tables? Not sure I am familiar with it.
    Thank you!
    Andrey

  • [Solved]Compiz Standalone + Layout switching: how?

    Hi!
    I`m trying Compiz standalone at the moment, and while everything works at the moment, i ran into problems with layout switching. While using Openbox, i had XXKB configured properly to remember all my three layouts (english, russian, latvian ) for every application opened, and AXKB running in tray to show my current layout.
    When i switched to Compiz, xxkb doesn`t work anymore. It shows up in the running processes, but it doesn`t do anything.
    Any other apps i can use with compiz? Any specific configuration in xxkb config file?
    Last edited by K0tuk (2009-09-13 18:48:18)

    Solved this by installing gxneur.

  • How to get save button for saving the layout in OO ALV

    Hi all,
    When I execute my report an OO ALV, I want to save the layout and make it default.Please tell me how to do it.
    I am using the below code.
    *Call ALV
      CALL METHOD c_alvgd->set_table_for_first_display
        EXPORTING
          is_layout                     = gd_layout
          i_save                        = 'X'
        CHANGING
          it_outtab                     = it_ekko
          it_fieldcatalog               = it_fieldcat
        EXCEPTIONS
          invalid_parameter_combination = 1
          program_error                 = 2
          too_many_lines                = 3
          OTHERS                        = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    even after passing i_save eq 'X', it is not showing save option in the layout.
    please help.
    thanks,
    Siddhartha Prakash

    Hi,
    You need to pass the call back program name also.
      CLEAR wa_variant.
      MOVE sy-repid TO wa_variant-report.
      CALL METHOD wcl_alvgrid1->set_table_for_first_display
      EXPORTING
        I_BUFFER_ACTIVE               = space
        I_BYPASSING_BUFFER            = c_x
    *    I_CONSISTENCY_CHECK           =
    *    I_STRUCTURE_NAME              =
        IS_VARIANT                    = wa_variant   "variant options
        i_save                        = c_x
        I_DEFAULT                     = c_X
        is_layout                      = wa_layout
    Thanks,
    Vinod.

  • Need help saving Workspace layout

    At Photoshop World, Julieanne Kost mentioned that she likes to have all of her panels to the left. I tried this at home and really like it like that, so I saved a new workspace.
    My problem is that when I open a new image, the image window floats behind my left-sided panels and it drives me crazy!! This is the problem ....
    I really want it to default to a location that I set for any new document that is created or image that is opened, but I can't figure out how to save that location and I've searched online and in the preferences. Can anyone help me make it default to this positon below??
    Thanks SO much!!
    Allison

    Yes, there is a way to do this.
    Start with a workspace that has the panels to the right.
    Important: do not have any files open.
    Also important: Open the panels you want showing by default, such as layers and swatches.
    Now, as shown in the screenshot, drag the panels as a group by placing your mouse pointer where the red box is, then drag it to the toolbox until you see a blue line. This means the panels will be docked instead of floating, and will not allow your open documents under it.
    Save the workspace, then open your files.
    Gene
    You should see this. "test" is what I called the workspace.

  • [SOLVED] changing keyboard layouts in openbox

    HI again !
    I'm using openbox and i want to change between gb (united kingdom) and gr (Greece) languages so i 've tried to add the following code to xorg.conf without any result :
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbLayout" "gb,gr"
    Option "XkbOptions" "grp:shifts_toggle,lv3:ralt_switch"
    EndSection
    The language sticks to us no matter what i do .
    Can someone help me ?
    Thanks !
    Last edited by shak (2010-08-15 00:12:07)

    karol wrote:
    How about putting a space between the layouts
    Option "XkbLayout" "gb, gr"
    gb<comma><space>gr
    I've tried that with no results
    Did you disable input hotplugging?
    Section "ServerFlags"
    Option "AutoAddDevices" "False"
    EndSection
    The wiki says you need to disable it.
    Did that but my input devices won't work , such as the mouse
    Edit: Does it work if you change it manually:
    setxkbmap <xkb_layout>
    Yes it works fine manually . Although i wouldn't mind using this to change the language i would like the default one to be gb instead of us . How i do that?
    Last edited by shak (2010-08-14 23:53:06)

  • [SOLVED] Saving PKGBUILDs with makepkg or AUR helpers

    Hi all,
    I am trying to save automatically the package PKGBUILD when I install a package with an aur helper. I use packer and aurget.
    I modified makepkg.conf and set this relevant variables:
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    PKGDEST=/var/cache/pacman/pkg/aur
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    SRCDEST=/var/cache/pacman/pkg/aur/src
    The PKGDEST works fine and packages are saved in the specified path.
    However SRCDEST variable doesn't seem to work, as I expected the PKBUILDs and other sources to be saved there, but there are no files in the path.
    In the end what I am trying to emulate is something similar to ABS but for installed packages from AUR.
    Last edited by adrianbs (2012-01-29 12:18:41)

    adrianbs wrote:
    jasonwryan wrote:
    Cower (as awesome as it is) doesn't open the PKGBUILD in vim, build the package and then ask if you want to keep the build directory.
    I reckon my 10 lines are pretty well spent...
    Cower doesn't but pacaur (which wraps it) does
    It has an option it the config file to keep the build dir.
    And for only an extra 872 lines of code...

  • [SOLVED] DWM: Init Layouts with Pertag-6.1 patch

    I'm trying to add the init layout to dwm 6.1 (Xft).
    I'm going according to the pertag patch here:
    http://dwm.suckless.org/patches/dwm-6.1-pertag.diff
    I would like the tags to initialize with a predefined layout {0, 1, 2}.
    I don't know if this feature is already built-in into this new pertag patch but the main function involved here is:
    Monitor *
    createmon(void) {
    Monitor *m;
    int i;
    if(!(m = (Monitor *)calloc(1, sizeof(Monitor))))
    die("fatal: could not malloc() %u bytes\n", sizeof(Monitor));
    m->tagset[0] = m->tagset[1] = 1;
    m->mfact = mfact;
    m->nmaster = nmaster;
    m->showbar = showbar;
    m->topbar = topbar;
    m->lt[0] = &layouts[0];
    m->lt[1] = &layouts[1 % LENGTH(layouts)];
    strncpy(m->ltsymbol, layouts[0].symbol, sizeof m->ltsymbol);
    if(!(m->pertag = (Pertag *)calloc(1, sizeof(Pertag))))
    die("fatal: could not malloc() %u bytes\n", sizeof(Pertag));
    m->pertag->curtag = m->pertag->prevtag = 1;
    for(i=0; i <= LENGTH(tags); i++) {
    /* init nmaster */
    m->pertag->nmasters[i] = m->nmaster;
    /* init mfacts */
    m->pertag->mfacts[i] = m->mfact;
    /* init layouts */
    m->pertag->ltidxs[i][0] = m->lt[0];
    m->pertag->ltidxs[i][1] = m->lt[1];
    m->pertag->sellts[i] = m->sellt;
    /* init showbar */
    m->pertag->showbars[i] = m->showbar;
    /* swap focus and zoomswap*/
    m->pertag->prevzooms[i] = NULL;
    return m;
    There is no documentation or it's nto very clear to me. Can I initialize ltidxs with a predefined matrix in config.h?
    Last edited by wildfowl (2015-05-29 10:30:58)

    Define a new static vector/array variable say as follows:
    static const int initlayouts[] = { 0, 2, 0, 1, 1, 0, 0, 1, 1, 0, 0, 2, 2, 0 };
    Replace the two init layout assignments in the for loop in the function createmon with:
    m->pertag->ltidxs[i][0] = &layouts[initlayouts[i-1]];
    m->pertag->ltidxs[i][1] = m->lt[1];
    Initially it was not obvious to me that ltidxs is a N x 2 array where the first column of the matrix carries the actual layout {0, 1, 2} and crucially that the second column carries just the symbol.
    It's a simple hack with the minimum of fuss and so I am happy with it.

  • Authorization for saving Default Layout Settings

    Hello,
    In transaction /AFS/MD04, we would like to restrict users from changing the default screen layout.  When they try to save a screen layout, we would like the checkbox to default to "User-specific" and not allow them to change the default. 
         Also, we would like to restrict those who can change the default with a parameter id. 
    To recreate:  Enter a material and plant number and press enter.  On screen 2000, subscreen 800 is the screen to which I'm referring.  It is here that we would like to control the settings. 
    I have done this in custom reports using the following code:
    *Check authorization to change default layout
      GET PARAMETER ID 'ZSD_VARIANT_RETURNS' FIELD lv_pid.
      IF lv_pid = 'X'.
        lo_layout->set_default( abap_true ).
      ENDIF.
    I have seen some posts refer to transaction SHD0.  Can this be handled with that transaction code?
    Update on 3/2/2010:
    I have seen some other posts regarding this issue and also seen OSS notes 409190 & 601803. 
    Our security team says that changing auth object S_ALV_LAYO would prevent users from changing the layout at all.  Is this correct?  We want to restrict who can set the Default Layout and give everyone else the ability to set the User Specific settings. 
    I have seen other posts refer to the I_SAVE parameter, the OSS notes also mention it, but it isn't clear to me how to use that.
    We would like to do this in a SAP transaction - /AFS/MD04 - is this possible?
    3/3/2010:
    It appears taking away authority to object S_ALV_LAYO was the answer after all. 
    Thanks,
    Chris Mowl
    Edited by: Chris  Mowl on Mar 2, 2010 10:52 PM
    Edited by: Chris  Mowl on Mar 3, 2010 11:24 AM

    When object S_ALV_LAYO was taken out of my security profile, I was only able to save User-specific layouts and not Default layouts.  This was our objective.

Maybe you are looking for

  • Skype Translator For Skype

     I can not access Skype account on your desktop through outlook Account  

  • How sync beats with audio files.

    Hi, I took many songs that I created and synced beats to them. I was able to do this easy with the Acid program. Now, I'm using Logic 8, got as far as clicking the beat map in the global functions. But it does not say the beats per minute nor do the

  • Jawt.h?

    what is this? I installed inkscape on my mac and decided I didn't like it. When I tried to get rid of something called jawt.h, it wouldn't do it because of "error code ~43". what is this and how can I get rid of it? do I need it?

  • Why won't my creative cloud load?

    It stop doing this..why won't it load?

  • Distracting blue timeline color in Premiere CC 8.1

    How do I change the distracting blue color of the timeline timecode, boundary of a selected panel, and other elements now found in Premiere CC 8.1?  It jumps right off the screen and is not what I want to be looking at when doing any kind of color co