AwesomeWM and scrot keybind [SOLVED]

My keybind is:
awful.key({"Mod1"}, "Print", function() awful.util.spawn("scrot-select") end)
where scrot-select is this script:
#!/bin/sh
scrot -s 'screenshot-%s.png' -e 'mv $f ~/images/ && gimp ~/images/$f'
This does not work. But if I launch scrot-select from a terminal then it does work. I have a different keybind that just screenshots the entire screen and that works fine. Something about the -s flag is problematic.
Solution, put a sleep 1s before the scrot command:
https://bbs.archlinux.org/viewtopic.php … 4#p1219944
Last edited by anonymous_user (2013-01-20 03:18:28)

using the -s flag doesn't work for me, either.
and it should be a comma after "Mod1",  i don't know why but without it the keybinding doesn't work

Similar Messages

  • My Airport Time Capsule only works when I turn off and turn on, but I think this may end up with the unit. What can this happening and how to solve?

    Time Capsule Airport
    Hello to all, good day, sorry my english google, but it is the tool I have at the moment. I'm having trouble with my Time Capsule Airport, I made all the settings according to the manual, but there has been a connection problem with my iMac. When I finish my work I turn off the imac and then again when they return to work and care, it can not connect to Time Capsule Airport, making it impossible to remove the files and make back up by Time Machine only works when I turn off and turn on the Airport Time Capsule , but I think this may end up with the unit. What can this happening and how to solve? Thank you.
    Olá a todos, bom dia, desculpe meu inglês google, mas é a ferramenta que tenho no momento. Estou tendo dificuldades com a minha Airport Time Capsule, fiz todas as configurações de acordo com o manual, mas tem existido um problema de conexão com meu iMac. Quando termino meus trabalhos desligo o imac e depois quando retorno pra trabalhar novamente e ligo, ele não se conecta a Airport Time Capsule, impossibilitando retirar os arquivos e fazer o back-up pelo Time Machine, só funciona quando desligo e ligo a Airport Time Capsule, mas acho que isso pode acabar com o aparelho. O que pode esta acontecendo e como resolver? Obrigado.

    This is easier to do with pictures perhaps.. since we do not share a common language and machine translation leaves a lot to be desired.
    In the airport utility bring up your Time Capsule.
    Simply post the screenshots here.
    So here is mine.
    Click on the Edit button and give us the Internet and Wireless and Network tab..
    eg.
    Please also make sure you are set to ipv6 in your wireless or ethernet .. whichever is used.. and do tell which.
    This is wifi in your computer.
    The following are important..
    DO not use long names with spaces and non-alphanumeric names.
    Use short names, no spaces and pure alphanumeric.
    eg TC name. TCgen5
    Wireless name TCwifi
    Use WPA2 Personal security with 10-20 character pure alphanumeric password.
    read apple instructions to help with TM and TC.. they did finally admit it has issues in Mavericks.
    OS X Mavericks: Time Machine problems
    Mount the TC manually in finder.
    AFP://TCgen5.local
    When asked for the password .. that is the disk access password and save it in the keychain.
    Reset Time Machine
    See A4 here. http://pondini.org/TM/Troubleshooting.html

  • I upgraded to Lion, Excel won't open, and what is "Solver" found in the "Launchpad"?

    I upgraded to Lion last night, I have Mac OX X 10.7.1 and all other Microsoft Office products (Word & PowerPoint) work just fine, but within the "Launchpad" of Lion, there is an icon called "Solver).  When I click on it, the Excel - icon opens up but the program does NOT, and something called "Solver" (found in the Launchpad) also opens up but immediately shuts down, showing an error.  WTH???

    Hello jburrett,
    From what you are describing it sounds like iTunes thinks the files are there, but they are missing or have been relocated. Use this article to locate the files.
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/ts1408
    You also have the option of deleting the entries you see in iTunes, and re downloading them using:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/ht2519
    All the very best,
    Sterling

  • Spotlight and finder cannot find files as of a certain date. What can be the problem and how to solve?

    Spotlight and search field in Outlook on MacBoon cannot find files as of a certain date. What can be the problem and how to solve?

    Reinstall on both.
    Reinstall Lion, Mountain Lion, or Mavericks without erasing drive
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
    Reinstall Mountain Lion or Mavericks
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it isthree times faster than wireless.
    Restore your iPhone to reinstall iOS. Be sure to do this while connected to your computer and iTunes.
         Tap Settings > General > Reset > Erase all content and settings.

  • Saving from Safari as PDF results in an icon with 0 byte volume that fails to open as it is "damaged" Why and how to solve?

    saving from Safari as PDF results in an icon with 0 byte volume that fails to open as it is "damaged" Why and how to solve?

    Back up all data before making any changes. Please take each of the following steps until the problem is resolved.
    Step 1
    If Adobe Reader or Acrobat is installed, and the problem is just that you can't print PDF's displayed in Safari, you may be able to print by moving the cursor to the the bottom edge of the page, somewhere near the middle. A black toolbar may appear under the cursor. Click the printer icon.
    Step 2
    There should be a setting in its preferences of the Adobe application such as Display PDF in Browser. I don't use those applications myself, so I can't be more precise. Deselect that setting, if it's selected.
    Step 3
    If you get a message such as ""Adobe Reader blocked for this website," then from the Safari menu bar, select
    Safari ▹ Preferences... ▹ Security
    and check the box marked
    Allow Plug-ins
    Then click
    Manage Website Settings...
    and make any required changes to the security settings for the Adobe PDF plugin.
    Step 4
    Triple-click anywhere in the line of text below on this page to select it, the copy the selected text to the Clipboard by pressing the key combination command-C:
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, move to the Trash any items that have "Adobe" or “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari.
    Step 5
    The "Silverlight" web plugin distributed by Microsoft can interfere with PDF display in Safari, so you may need to remove it, if it's present. The same goes for a plugin called "iGetter," and perhaps others — I don't have a complete list. Don't remove Silverlight if you use the "Netflix" video-streaming service.
    Step 6
    Do as in Step 4 with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari.

  • My macbook pro 2.0 early 2011 will not go to sleep with the power source connected. only enters sleep mode when running on battery. Someone did this happen, and it could solve?

    Alo, my Macbook pro i7 2 GHz Intel Core i7 (early 2011) will not go to sleep with the power source connected. only enters sleep mode when running on battery. Someone did this happen, and it could solve?

    There is no output from that command line?   Maybe the pid changed.
    I'll repeat what I am trying to find out...
    1. You do a pmset -g on the terminal.
    2. The output from that pmset should have a line that says "sleep 0 (imposed by n)" where n is some number.
    3. The ps ax | grep n is supposed to display what the process associated with n is.
    It's the output from step 3 that should indicate what is causing you not to sleep.
    But speaking of sleep, that's where I am going.

  • Help urgently needed, I have installed Logic Pro 9, since then my Final Cut Pro X keep freezing. Anyone what is wrong and how to solve it? I desperately need help on this. Thanks

    Help urgently needed, I have installed Logic Pro 9, since then my Final Cut Pro X keep freezing. Anyone what is wrong and how to solve it? I desperately need help on this. Apple support says I have to pay £85 for to help me. Thanks

    Just a word of advice. Never ever use the word "urgent" on this forum

  • Apple has a problem and the cant solve it. I had some very important call but this new iphone just shut down on me and wont turn on i tried everything u can find in apple support nothing works for me. Anyone know what i can do?

    Apple has a problem and the cant solve it. I had some very important call but this new iphone just shut down on me and wont turn on i tried everything u can find in apple support nothing works for me. Anyone know what i can do?

    I would instead say you have a problem since nearly all IPs work as advertised.  IF you do have a bad phone, take it into an Apple store and get a replacement.  Hope you didn't jailbreak your phone though as Apple probably will tell you, you broke it, you fix it.

  • Most common BW data load errors in production and how to solve them ..

    Hi All,
    Most common BW data load errors in production and how to solve them ..
    Any doc on it ,if so plz send it across to this id [email protected]
    Thanks in advance.
    Rgrds
    shoba

    hi
    1) RFC connection lost.
    2) Invalid characters while loading.
    3) ALEREMOTE user is locked.
    4) Lower case letters not allowed.
    5) While loading the data i am getting messeage that 'Record
    the field mentioned in the errror message is not mapped to any infoboject in the transfer rule.
    6) object locked.
    7) "Non-updated Idocs found in Source System".
    8) While loading master data, one of the datapackage has a red light error message:
    Master data/text of characteristic 'so and so' already deleted .
    9) extraction job aborted in r3
    10) request couldnt be activated because theres another request in the psa with a smaller sid
    11) repeat of last delta not possible
    12) datasource not replicated
    13) datasource/transfer structure not active ´
    14) Idoc Or Trfc Error
    15. ODS Activation Error

  • TS1506 In most of my email attachment the logo ( Mimi attachment ) show and I can not open that attachment , why and how to solve this problem ??? iPad 2, iOS 7

    In most of my email attachment the logo ( Mimi attachment ) show and I can not open that attachment , why and how to solve this problem ???
    iPad 2, iOS 7

    When did this start?  What was the last thing you changed before problem started?
    Have you tried sending the attachment from a different account.  Have a friend send you an attachment. Get a gmail account.
    Send the email with attachments to two different accounts one to your ipad and the other to a gmail account in a web browser and not on an iPad.  See if you can read the ones to the gmail account.
    You did reboot your ipad?
    Standard stuff for ipad.
    http://www.my-iguru.com/ipad/ipad-hints-tips/ipad-viewing-saving-email-attachmen ts.php

  • I have problem c connecting to cellular data network. There is massage "couldn't activate cellular data network, PDP authentication failure". What is it and how I solve this problem?

    I have problem c connecting to cellular data network. There is massage "couldn't activate cellular data network, PDP authentication failure". What is it and how I solve this problem?

    If you have a data only plan for the iPad with your carrier, if no change after powering your iPad off and on you will need to contact your carrier.

  • HT201363 Hello I forgot my Security question of my Apple ID ? I don't kow what should I do and how to solve this problem ? could you please help  ?

    Hello I forgot my Security question of my Apple ID ? I don't kow what should I do and how to solve this problem ? could you please help  ?

    You need to ask Apple to reset your security questions; ways of contacting them include phoning AppleCare and asking for the Account Security team, clicking here and picking a method for your country, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (104569)

  • Iphone 6 automatically turn on even not connect to charger, why would this happen and how to solve it?

    iphone 6 automatically turn on even not connect to charger, why would this happen and how to solve it?

    I'm not an apple expert or anything, but after hearing this from a coworker (and doing a quick google search) many of the generic chargers do not work in the 5s (especially after the most recent update.) I'm thinking this may be the problem in your case...the charger is not working so the phone just needs a good charge from either an apple certified charger or a generic that will actually work with the phone. I've read some people are able to pull the cable out, turn it around and then plug it back in facing the opposite direction to get it to work. Many have reported, however, that even when this remedies the cable issue, its still won't charge the phone while it is completely dead (which is likely the case since it won't power on at all.) So if you haven't fixed your problem by now, go buy a new charger and see what happens. You might be able to go into and apple store and borrow a charger there for a few minutes to see if this actually IS the problem. That way you don't waste your money before buying.

  • What is the error code mean? And how to solve it ?Please give your answer. Thanks

    What is the error code  mean? And how to solve it ?Please give your answer. Thanks
    Attachments:
    QQ截图20140403134626.png ‏59 KB

    duplicate post
    LabVIEW Champion . Do more with less code and in less time .

  • HT201210 what is error 409 and how to solve the error

    i was trying to restore my iphone but it give an error 409
    what  does this mean and how to solve it

    Why apple technical support will help the apple customer to solve this problem ??????????
    the complication of apple products let most of  my county's people use SAMSUNG phones

Maybe you are looking for

  • Cups filter problems?

    upgrade to cups has my network printing broken: logs Leave this: [Job 292] Running /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=pxlcolor -sstdout=%stderr -r600 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dMediaPosition=0 -dBit

  • Oracle 10g as password

    Hi, I am new bie to oracle application 10g.We have the oracle application server instance with EBS. i don't know the passwords for all of them. how to change them. http://ebs.yantro.com:1156/emd/console/aboutApplication http://ebs.yantro.com:1810/emd

  • Backing up a macbook to a mini over the Internet w/ Time Mach.

    I have a Mac Mini at home and a MacBook. I need to backup my MacBook while on the road doing business. Is there a way to backup to my MacMini at home thru Time Mach. over Apple Remote Desktop? Is there a way to backup over the Internet thru an IP add

  • 24" iMac stand doesn't align with the body??

    When I look at my 24" iMac, the unit itself doesn't align very well with the stand. I noticed that from many different angles. It looks a little bit wired, but the unit swing very smoothly. Does anyone has the same problem too?? Will it be better if

  • Set new value for VO attribut

    I have function in package on database which is param is String and return value is also String(VARCHAR2). That function calculate some field on db and return a result.That is OK I made VO in my AM. "SELECT package_name.func_name("string") from dual"