Compiz writes Primary modifier instead of Control

Hello. I am new in Arch. Recently I made a choise of using Compiz as a window manager and AWN as dock/system panel.
Everything works quiet well, but I can't get my favorite keybindings to work.
I want to set a command to ctrl+shift+r combination, but when I use “Grab Key Combination” or simply choose ctrl modifier on the key binding screen it turns to <Primary> modifier
If I agree to set such combination, it saves it at first , but when I leave commands window and return it removes <Primary> modifier .
I wasn't able to find any solution in google, only that Ctrl is primary modifier in Emacs, but I wasn't replacing my keybindings with Emacs one's.
I have tried writing <Control> modifier manually and <Ctrl> too, but they were removed on next launch of ccsm.
I have tried removing compiz with all its dependensies and removing ~/.compiz and ~/.config/compiz from my home directory and installing it agian. The problems remains, so I guess it may be somewhere else.
Default compiz key bindings with Ctrl, such as Ctrl+Alt+Left to move within the Desktop Wall, are working for me. But I don't want to change the shortcut software, because in this case I may end up unable to modify these default key bindings.
I have default key bindings with Ctrl working, such as Ctrl+C Ctrl+V Ctrl+A Ctrl+S. All the other modifiers are working well. For example, if I leave compiz settings with the example above, Shift+r will run my application.
I am sorry, I don't know which configuration files I must provide. I will include my /etc/X11/xorg.conf.d/10-evdev.conf file, because it contains some keyboard options http://paste.pocoo.org/show/496413/ . If something else is needed, please tell me.
Last edited by ^_^ (2011-10-22 09:31:00)

I have the same issue - everywhere Ctrl key works as expected (desktop apps, correct output in xev), but ccsm replaces <Ctrl> with <Primary> while grabbing keys.
Running from terminal and pressing twice <Ctrl> visual button gives and error in console
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ccm/Settings.py", line 1025, in HandleModifierRemoved
label.set_text (self.GetLabelText (new))
UnboundLocalError: local variable 'new' referenced before assignment
So I think this is bug only in ccsm. Version I'm using is 0.8.4. So it's quite old, but most propabably I'll keep it, because I'm too lazy to update .
If this happens in version higher than the one I'm using - feel free to file a bug to the compiz team.
But I've discovered workaround that works for me:
Close ccsm
Open ${XDG_CONFIG_HOME}/compiz/compizconfig/Default.ini and edit [commands] section manually
Login/logout could be required, not sure
Open ccsm, and shortcuts are working as expected
Example of my config
[commands]
as_command0 = gnome-terminal
as_run_command0_key = <Control><Alt>t
as_command1 = slimlock
as_run_command1_key = <Control><Alt>l

Similar Messages

  • Give me some examples for functions for read POST, write POST, modify POST

    Give me some examples for functions for read POST, write POST, modify POST, create and delete theme in forum. This functions have to be make like Remote Methods

    Give me some examples for functions for read POST, write POST, modify POST, create and delete theme in forum. This functions have to be make like Remote Methods

  • How to modify the table control?

    Hi all,
    How to modify the table control after setting the lines  = 1. ie tbl_ctr-lines = 1.(tbl_ctr is the table control).
    Can anyone explain this with an example?
    Thanks.

    hi
    http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dbac5e35c111d1829f0000e829fbfe/content.htm
    Regards
    pavan

  • What is the best software programs that I can use to read, write and modify data / files on external HD (NTFS format i.e.  Windows) ?

    Hi guys,
    I’m new to Mac and have a MacBook Pro Lion OS (10.6.8 I think !!!) with Parallels 7 (Windows 7) installed. Can someone please tell me what is the best software program that I can use to read, write and modify data / files on external HD (NTFS format) from the Mac OS ? I heard of Paragon and Tuxera NTFS. Are they free ? Are they good ? Are there any other software programs out there ? I heard that some people have issues with Paragon.
    Thanks.

    Your best bet would be to take the drive to the oldest/compatible with that drive Windows PC and grab the files off, right click and format it exFAT (XP users can download exFAT from Microsoft) and then put the files back on.
    Mac's can read and write all Windows files formats except write to NTFS (and in some cases not read) so if you can change the format of the drive to exFAT (all data has to be remove first) then you will have a drive that doesn't require paid third party NTFS software (a license fee goes to Microsoft) for updates.
    Also it's one less hassle to deal with too.
    .Drives, partitions, formatting w/Mac's + PC's

  • NTFS Permissions - Need Read, List, Delete not Write or Modify

    I don't think you can have delete, but not write or modify.

    I'm setting up Network printing to a shared folder on a server.  I want the users to be able to browse and see the files the printer's scan there and delete them when moved off.  I don't want the folder to be used for long term storage so I don't want write or modify on it (ie user opens a scaned file makes changes and just clicks save).  How do I go about setting this up with NTFS permissions?
    This topic first appeared in the Spiceworks Community

  • Internal table not getting modified from Table Control

    Hi Guys,
    I am developing a <b>Module Pool </b>Program where I am inserting data directly in table control of the main screen.
    In the flow logic of the Table control I have written :
    PROCESS BEFORE OUTPUT.
      LOOP AT itab WITH CONTROL tc1 CURSOR tc1-current_line.
        MODULE read_data.
      ENDLOOP.
    MODULE status_0100.
    PROCESS AFTER INPUT.
      LOOP AT itab.
        MODULE mod_data.
      ENDLOOP.
    MODULE user_command_0100.
    Module mod_data input.
    MODIFY itab INDEX tc1-current_line.
    Endmodule.   
    At modify, when I am debugging it's showing sy-subrc = 4 (Entry not appending in Int Table though it is there in the header line). But, if I use append itab, it's working (Problem is that while inserting 2nd record a copy of first record is also appending which I don't want).
    Please let me know what's wrong in Modify statement or what is solution for inserting records of tablecontrol in internal table.
    TIA,
    Nitin

    Hi Nitin,
    use the following code wor module.
    Module mod_data input.
    READ ITAB INDEX TC1-CURRENT_LINE.
    IF SY-SUBRC = 0.
           MODIFY itab INDEX tc1-current_line.
    ELSE.
           APPEND ITAB.
    ENDIF.
    Endmodule.

  • How can I use a mySQL database schema with numeric auto increment primary key instead of GUID?

    Hello!
    I'm using the TestStand "MySQL Insert (NI)" database schema with GUID as primary key. So everything works fine.
    But I prever using numeric values as primary key, because the database is in conjunction with another database which uses numeric values as primary key.
    Is this possible?
    Has anyone an idea how I can modify the "Generic Recordset (NI)" for use with MySQL?
    Thanks!
    Configuration:
    Microsoft Windows XP
    TestStand 3.1
    MySQL 4.1.12a
    MySQL ODBC 3.51 Driver
    Brosig

    Adam -
    The TestStand Database Logging feature does not allow you to run a separate SQL command after executing the command for a statement(table), so I do not think that you can use an auto incrementing column for the tables. There is just no way to get it back in a generic way. One option that I tried is something similar to the Oracle schema where you call a store procedure to return a sequence ID for each record that you want to add.
    So you would have to create the following sequence table in MySQL:
    CREATE TABLE sequence (id INT NOT NULL);
    INSERT INTO sequence VALUES (0);
    Then create a stored procedure as shown below that will increment the sequence value and return it in a recordset:
    CREATE PROCEDURE `getseqid`()
    BEGIN
            UPDATE sequence SET id=LAST_INSERT_ID(id+1);
            SELECT LAST_INSERT_ID();
    END
    Then update the MySQL tables to use INT primary and foreign key values, so the TestStand MySQL SQL file to create all tables would have text like this:
    CREATE TABLE UUT_RESULT
     ID    INT  PRIMARY KEY,
    ~
    CREATE TABLE STEP_RESULT
     ID    INT  PRIMARY KEY,
     UUT_RESULT   INT  NOT NULL,
    ~
    Then update the schema primary and foreign key columns in the TestStand Database Options dialog box to be INT to match the table. For the primary key columns, you will have to set the Primary Key Type to "Get Value from Recordset" and set the Primary Key Command Text to "call getseqid()". This will call the stored procedure to determine the next value to use as the ID value.
    Hope this helps...
    Scott Richardson
    National Instruments

  • Who writes LOG SEQUENCE NUMBER to CONTROL FILE,whether CKPT or LGWR process

    I am in confusion that,
    When log switch occurs that time Log sequence no. is generated by LGWR. then after who writes that LSN to CONTROL FILE whether Checkpoint or LGWR.
    Please provide me proper answer with example.....

    I notice by using fuser on a controlfile on hp-ux, a number of processes keep the controlfile open.  So it would make sense that the one that writes logs would write log sequence numbers to the controlfile too.
    $ for z in  `/usr/sbin/fuser  control03.ctl|awk ' {x=split($0,args); for (i=2;i<=x;i++){print args[i]}}'`
            do
                ps -efx|grep $z|grep -v grep
            done
    control03.ctl: oooooooooo
      oracle 27129     1  0  Sep  5  ?        12:15 ora_arc1_TPRD
      oracle 27073     1  0  Sep  5  ?        52:45 ora_dbw0_TPRD
      oracle 27127     1  0  Sep  5  ?        10:52 ora_arc0_TPRD
      oracle  9485     1  0  Nov  3  ?         9:14 oracleTPRD (LOCAL=NO)
      oracle 22395     1  0 08:36:22 ?         0:24 oracleTPRD (LOCAL=NO)
      oracle 27075     1  0  Sep  5  ?        68:53 ora_lgwr_TPRD
      oracle 22116     1  0 08:33:24 ?         1:06 oracleTPRD (LOCAL=NO)
      oracle 27077     1  0  Sep  5  ?        41:05 ora_ckpt_TPRD
      oracle 26510     1  0  Nov 30  ?        21:26 oracleTPRD (LOCAL=NO)

  • Hai friends after read,how to write the modify stmt

    READ TABLE IT_makt into wa_makt  with key matnr = wa_ekpo-matnr.

    hi check this...
    types: begin of ttab ,
          vbeln(10) type c ,
          vkorg(4)  type c,
          dele(4)   type c,
          end of ttab ,
        begin of ttab1 ,
         vbeln(10) type c,
         dele(4)   type c,
         end of ttab1 .
    data: itab type table of ttab  with header line,
          itab1 type table of ttab1  with header line,
    wa like line of itab ,
    wa1 like line of itab1 .
    itab-vbeln = '0000000001'.
    itab-vkorg = '1000'.
    itab-dele  = 'DEL'.
    append itab .
    itab-vbeln = '0000000002'.
    itab-vkorg = '1000'.
    itab-dele  = 'DEL'.
    append itab .
    itab-vbeln = '0000000003'.
    itab-vkorg = '1000'.
    itab-dele  = 'DEL'.
    append itab .
    itab1-vbeln = '0000000001'.
    itab1-dele  = 'TST'.
    append itab1 .
    itab1-vbeln = '0000000002'.
    itab1-dele  = 'GRE'.
    append itab1 .
    sort itab by  vbeln.
    sort itab1 by vbeln.
    loop at itab into wa.
    data:v_index type sy-index .
    v_index = sy-tabix.
    read table itab1  into wa1 with key vbeln = wa+0(10).
    wa14(4) = wa110(4).
    modify  itab index v_index from wa   .
    endloop.
    loop at itab.
    write:/ itab-vbeln,itab-vkorg,itab-dele .
    endloop.

  • SocketChannel.write() throws IOException instead of returning 0

    I would like your opinion.
    When a send buffer is full in the OS, should a channel's write()
    return 0, or throw an exception? If an exception, should it be the
    same exception (IOException) thrown when truly exceptional events
    happen (e.g, a connection drop)?
    On Win32, SocketChannel.write() internally calls WSASend(). When
    WSASend() returns WSAEWOULDBLOCK, write() throws IOException. I
    think it should return zero instead, or at least throw an exception
    that can be distinguished easily (by other than parsing the
    IOException.getMessage())
    Should I submit a bug?
    Thanks,
    Juan

    The java doc for write() says it should return zero. If you have a simple test case that demonstrates the behavior you describe and it is not already in the bug database, then yes. You should file the bug report.

  • Help writting a file without crlf control characters

    Hi All,
    I have a little trouble when writting a file in UTF-8 format, It's only one string  and this string is writting to a file in UTF-8 format but I need to omitt the CR-LF Control Characters of the file generated.
    OS - HP-UX
    How can I do  this?
    here is the sample code:
    DATA: g_cadena TYPE string,
               g_filcad    TYPE string.
    DATA: l_len TYPE i,
              l_msg TYPE string.
      CONCATENATE '||A|1|2005-09-02T16:30:00|1|ISP900909Q88|'
                  'Industrias del Sur Poniente, S.A. de C.V.|'
                  'Alvaro Obregón|37|3|Col. Roma Norte|México|'
                  'Cuauhtémoc|Distrito Federal|México|06700|'
                  'Pino Suarez|23|Centro|Monterrey|Monterrey|Nuevo Léon|'
                  'México|95460|CAUR390312S87|Rosa María Calderón Uriegas|'
                  'Topochico|52|Jardines del Valle|Monterrey|Monterrey|'
                  'Nuevo León|México|95465|10|Caja|Vasos decorados|20|200|1|'
                  'pieza|Charola metálica|150|150|IVA|52.5||'
            INTO g_cadena.
      l_len = STRLEN( g_cadena ).
      CLEAR g_filcad.
      g_filcad =  '/usr/home/cadena.txt'.
      OPEN DATASET g_filcad
         FOR OUTPUT MESSAGE l_msg IN TEXT MODE ENCODING UTF-8.
      IF sy-subrc NE 0.
        WRITE: / 'Message:', l_msg.
        RETURN.
      ENDIF.
      TRANSFER g_cadena TO g_filcad LENGTH l_len.
      CLOSE DATASET g_filcad.

    Thanks to all.
    I solved by my self.
    Regards

  • Apple remote is launching itunes instead of controlling the current application

    I have a MacMini runnning Lion that I am trying to use as a Media Centre. Obviously no Front Row so I installed XBMC which works ok but Apple Remote failes to control it on a regular basis and launches itunes instead. If I restart the mac then it works ok for a few days but then for no apparent reason it just stops and reverts to only controlling itunes.
    Does anyone have an idea why and what I can do to control the Apple Remote more.
    I am also running eyeTV.

    Are you talking about the Apple Remote app (that runs on iOS)?  or the physical remote control that used to come with the system?

  • Modify the pagination control location in the ALBPM 6 workspace

    I've managed to change the Worklist pagination control to show pages instead of records by making this change in the viewPanelTemplate file:
    <oc:Footer id="instanceListTableFooter" paginationStyle="pages"/>
    However, we would also like to have the page links above the table instead of below it and / or on the left side instead of the right. It is a pain to scroll to the bottom right every time you want to page. Does anyone know if that can be done?

    This tends to be a 32 bits / 64 bits problem. The runtime must match the architecture of the browser you're using; so if it is a 64 bits browser, you MUST have a 64 bits runtime. If it is a 32 bits browser you MUST have a 32 bits runtime. You can install both and cover all cases.

  • Is there a way to make all addons not write anything locally, instead use ram memory?

    Pretty much what it says right there.
    Is there a way to make all addon's write only on RAM?
    I'm pretty certain Private Browsing only works for vanilla Firefox, and many addons don't keep that in mind.
    Is there a firefox setting I can manipulate to make everything RAM only? Something like limiting the amount of data addons can write on disk or something along those lines?

    Session cookies are kept in memory AFAIK and never written to disk.
    What makes you think that Firefox is saving them to disk?
    You can look at the portable Firefox version if you want to minimize writes to the disk that stores your Firefox profile.
    *http://portableapps.com/apps/internet/firefox_portable
    *http://portableapps.com/support/firefox_portable#helper_apps

  • Why doesn't Lightroom organise videos/photos lacking "date taken" by "date modified" instead of "date created"?

    This still seems to be a problem with Lightroom 5. This post is one of the top results after trying to Google this problem, and it's for LR3. I can't understand why something so fundamental to video (and some photo) organisation has been overlooked for so long.
    I've been trying to import and organise all my old photos and videos by date with LR5. They've been backed up and copied many times over the years, most recently to an external drive last week. So every file has a "date created" of last week. But "date modified" remains the original recorded date.
    This doesn't matter for photos with a proper EXIF "date taken" - but LR5 looks at the "date created" for videos, making it completely useless for organising them into date-based folders. It puts videos I recorded in 2010 (as per "date modified") into a 2014-12 folder. Why.
    It's not just a video problem - some photos I took with devices that didn't record EXIF "date taken" are also filed into folders from this month, even though the "date modified" on them is correct as being from 5 years ago.
    How can I rely on LR5 for importing and date-based organisation when it relies on files (lacking "date taken") having never been copied or backed up?

    Hello,
    I use exiftool to modify the  Creation and Modification time of the files. After that I use LR "Ajust time" feature to set the time of the movies in LR to the file creation time (last point). This works fine for me.
    For MOV (Quicktime):
    exiftool "-FileModifyDate<TrackCreateDate"  "-FileCreateDate<TrackCreateDate"
    For AVI:
    exiftool "-FileModifyDate<DateTimeOriginal"  "-FileCreateDate<DateTimeOriginal" *.avi
    Depnding on your camera (and container format mov, avi) you may also ajust the time zone, e.g.
    exiftool -FileModifyDate+=1 -FileCreateDate+=1 -if "$CameraModelName =~ /EOS 600D/i" *.mov
    Which time in the container (MOV, AVI) you use as source, depends on your workflow. I edit my mov files before import. Therfore "CreateDate" is the time when I edited the file. Quicktime and (some) avi file contain a time when the containing stream was created. I use this vaule as source.
    exiftool <filename> gives you detailed information about all available times.

Maybe you are looking for

  • Project Code in recurring journal postings

    Hi All, Does anyone know whether SAP plans to include the option of using project codes on recurring journals in future versions as it's been flagged up a few times by our customers? Kind Regards, Matt

  • How can I search PDF's with iTunes mini player search?

    I have been storeing PDF's in iTunes books becuase its so simple to use. The new mini player in iTunes 11 mini player is amazing and provides some very nice looking searchs. However I can't search PDF's via the mini player. Does anyone know how to ma

  • I am unable to copy images from pdfs

    I have Reader 8 and a trial Acrobat 9 running in Vista. I have set General Preferences to have the select tool choose images over text. When I try to copy a chart or graph I am only able to highlight and copy text. The program does not show the table

  • Os8.6 being crazy / virtual pc patches

    1)Since installation of mexican spanish speech for my pb3400 i cannot use the context menu and select more than one object(appears one hand) I came back the english speech but the problems continues. edit:Now i cannot use the built-in keyboard(letter

  • How do I remove everything from my personal web site.

    I am trying to clean out my basic web space to completely start from scratch. However, when I try to use the "Edit my web site" link, I can't seem to delete everything. I did manage to delete some of the photos but the web site is still published min