[SOLVED] Can't use scrot with a shortcut in Xfce

I don't need to be bothered by a dialog and browsing to my screenshots directory every time I want to take a screenshot, so I've tried to set a keyboard shortcut in Xfce that lets me simply put a screenshot in the directory for me.  However, nothing seems to be happening.
I've set the command to be just plain old 'scrot' (and '/usr/bin/scrot' just to be sure) as suggested on the Arch Wiki and have tried the format suggested in the scrot man page.  Neither works, and I can't figure out why.  As a point of information, the
scrot '%Y-%m-%d.png' -e 'mv $f ~/shots/'
suggested by the man page doesn't work because it says that --.png is not a valid option.  So it would seem that the calls to strftime are being interpreted wrongly or at the wrong time?
Thanks for any help.
Last edited by JeSuisNerd (2012-03-31 23:55:38)

What if you create a script like this:
#!/bin/bash
scrot '%Y-%m-%d.png' -e 'mv $f ~/shots/'
Make it executable:
chmod +x the_script
Then try it in the terminal and see if you get a screenshot, if you do, then modify the key bind in xfce to run:
/home/username/the_script
And see if it works that way. It's not really a solution if it works, because you need the script.

Similar Messages

  • [SOLVED] Can't use CTRL+F shortcut on applications.

    Since i updated my desktop to KDE 4.6, i can't use the Ctrl+F shortcut of all the applications i use.
    When i press Ctrl+F, a console window appears. But its not konsole. It looks like some default X.org console or something.
    What can i do? I really need to use that shortcut.
    Really annoying.
    Thanks in advance!
    Last edited by Hyugga (2011-03-11 01:36:49)

    I had something similar. Are you using .xbindkeysrc to use back/forward buttons in Dolphin and did you copy the directions from the Wiki? Wiki Link
    If so you will need to comment out the following lines in /home/yourusername/.xbindkeysrc
    # set directly keycode (here control + f with my keyboard)
    "xterm"
    c:41 + m:0x4
    # specify a mouse button
    "xterm"
    control + b:2
    Hope this helps.
    I see you figured it out yourself. Good one!
    Last edited by rotave (2011-03-11 01:42:31)

  • Command button opens mission control, so I can't use it for other shortcuts

    I have only had my macbook air for a few weeks, and I think I may have fiddled with settings before I had any clue what I was doing, as now every time I press the command key, it opens mission control, and I can't use command for other shortcuts... What have I done wrong and how do I undo it??? Help much appreciated!

    I am having this issue, too, and Keyboard Shortcuts doesn't fix it, as I have not assigned Command to anything. It just states at the bottom "for additional choices press Shift, Control, Option, or Command," but doesn't seem to allow me to change these. Do you know of a way?

  • I ordered my Macbook Air with Aperture two years ago. I now have an iMac - can I use that with Aperture in any way?

    I ordered my Macbook Air with Aperture two years ago. I now have an iMac - can I use that with Aperture in any way? I appreciate that it is a different computer but I am now the end user of both devices and I was just wondering if it was possible.
    Thanks,
    Sean

    The answer would be in your software license agreement for Aperture. However if you cannot locate it you can ask in the Aperture forum, the link for that is:
    https://discussions.apple.com/community/professional_applications/aperture
    However I believe you can have Aperture installed on two machines however only one may be using it at a time.
    On the new iMac launch the Mac App Store - Purchased - look for Aperture and download to your new machine.

  • I installed 5 but now I can't use it with Mac osx - how do I go back to my old version?!

    I was prompted to install Firefox 5 on my Mac. Now when I try to open it says I can't use Firefox with osx. How do I go back to using the previous version - has it been written over? My previous version was fine!

    Firefox 4 requires at least OS X 10.5 and an Intel Mac. There is a third party version of Firefox 4 that runs on OS X 10.4/10.5 and PPC Macs, for details see http://www.floodgap.com/software/tenfourfox
    If you prefer, you can get the latest version of Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html
    Mozilla are working to prevent Mac users with non-compatible systems from getting the notification about Firefox 4, and also not displaying the "Download Firefox 4" button on http://www.mozilla.com

  • I gave my old iPad to my daughter without restoring it to original configuration, how can she use it with her iTunes?

    I gave my old iPad to my daughter without restoring it to original configuration, how can she use it with her iTunes?

    try
    http://support.apple.com/kb/ht2589

  • How can I use LCCS with ActionScript 3 and Flash CS4?

    Hi,
    Using Stratus I was able to create an an application using Action Script 3 and Flash CS4.  The sample code on the Adobe site was quite straight forward and easy to understand.  I now want to switch over to  LCCS but can't find anything any where on how to use Action Script 3 and Flash CS4 with LCCS.  Do I need to know Flex to be able to use LCCS?  Everything was quite simple and easy to understand with Stratus and makes complete sense.  But LCCS is really confusing.  Is there any sample code on how to establish a connection in Action Script 3 and then stream from a webcam to a client.  There is nothing in the  LCCS SDK that covers Flash and Action Script 3.  Please help!  I found the link below on some forum but it takes me nowhere.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=75 9&threadid=1407833&enterthread=y

    Thanks Arun!
    Date: Thu, 29 Apr 2010 11:44:10 -0600
    From: [email protected]
    To: [email protected]
    Subject: How can I use LCCS with ActionScript 3 and Flash CS4?
    Hi,
    Welcome to the LCCS world.
    Please refer to the SDK's sampleApps folder. There would be an app called FlashUserList. The app demonstrates how LCCS can be used with Flash CS4. Its a  pretty basic app, but should help you moving.
    We are trying to improve our efforts to help developers in understanding our samples. Please do let us know if we can add something that would help others.
    Thanks
    Arun
    >

  • How can I use Bluetooth with another devices?

    How can I use Bluetooth with another devices?

    You can set up your FaceTime account in Settings > FaceTime.

  • How can i use ipad with apple tv

    How can i use ipad with appletv

    Assuming both devices are on the same network and that AirPlay is not turned off on the Apple TV, then simply tap on the screen when you are watching content you wish to stream to your Apple TV, then tap the airplay icon that appears in the control bar, choose the Apple TV from the menu that appears.
    When displaying the content you wish to mirror on the iPad 2 (or better), iPad Mini, iPhone 4S (or better), double tap the home button (quickly) and swipe the bottom row of apps to the right to reveal the playback controls, tap the AirPlay icon and select your Apple TV from the list of available devices.

  • How can i update my old 2006 iMac Intel core 2 duo running 10.6.8 to OSX Lion so that I can sync using iCloud with my newer devices?  Mountain Lion is not an option for my older model and Lion is no longer available at App store.

    How can i update my old 2006 iMac Intel core 2 duo running 10.6.8 to OSX Lion so that I can sync using iCloud with my newer devices?  Mountain Lion is not an option for my older model and Lion is no longer available at App store. 

    Call Apple's online store's telesales agents: 1-800-MY-APPLE (1-800-692-7753) or Customer Service and Sales Support at 1-800-676-2775. For Lion you'll get a redemptions code via e-mail and need to DL from the Mac Apple Store (requires SL 10.6.6+).

  • Can i use pandrive with iPad, i want to access word, excel, pdf files on iPad via pandrive

    Can i use pandrive with iPad, i want to access word, excel, pdf files on iPad via pandrive

    You cannot use pendriver.
    Have a look at the following:
    http://itunes.apple.com/sg/app/quickoffice-pro-hd-edit-office/id376212724?mt=8&l s=1
    http://itunes.apple.com/sg/app/office2-hd/id364361728?mt=8&ls=1
    http://itunes.apple.com/sg/app/documents-to-go-premium-office/id317107309?mt=8&l s=1
    http://itunes.apple.com/sg/app/polaris-office/id513188658?mt=8&ls=1

  • My iPhoto icon has a cross over it, when i open it, it You have "iPhoto" 9.2.1. you can't use this with this version of OSX? it used to work ?what's gone wrong?

    my iPhoto icon has a cross over it, when i open it, it You have “iPhoto” 9.2.1. you can't use this with this version of OSX? it used to work ?what's gone wrong?

    iPhoto 9.2.3 is incompatible with MacOS 10.9.3 Mavericks. If you are running Mavericks on your system you need to update iPhoto to 9.5.1. Only, the problem is, that this version is no longer available at the App Store.
    The easiest way to get a compatible iPhoto version in that case would be to upgrade to Yosemite, MacOS X 10.10, and then download the most recent iPhoto version from the AppStore, iiPhoto 9.6, like LarryHN suggested.
    If you cannot download iPhoto after upgrading to iPhoto 9.6 post back.

  • HT2499 Can I use Airplay with dvd to watch dvd on my tv via AppleTV 3?

    Can I use Airplay with dvd to watch dvd on my tv via AppleTV 3?

    Welcome to Apple Support Communities
    Of course. If your Mac is compatible with AirPlay Mirroring, you can watch your DVD in your TV with the Apple TV. Read > http://support.apple.com/kb/HT5404 You just have to play the DVD on your MacBook and turn on AirPlay Mirroring.
    If your Mac isn't compatible with AirPlay Mirroring, you can use a third-party app like Beamer

  • I can't use Quicken with Lion.  Now what?

    I can't use Quicken with Lion.  Now what?

    Peter,
    Another solution, though not particularly convinient, would be to create a Snow Leopard boot drive on a external drive that you can switch to when you want to run Quicken.
    Matt

  • Can I use Ping with Russian App store account?

    I have a russian App Store account. Can I use Ping with it?
    And if I can't, Can I make an USA App Store account without a card?

    Put a credit card in the payment methods. The credit balance will be used first and the remainder charged to the card.

Maybe you are looking for