Announcement

Collapse
No announcement yet.

Screenshots and hotkeys

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Screenshots and hotkeys

    When I want to make a quick screenie, I simply hit my 'printscreen' button and it loads the program. Bla bla bla and everyone's happy.

    However, I work at a company that uses Macs and I've gotten spoiled by the ctrl-shift-3 quick screen or ctrl-shift-4 for the area to drag.

    I'd love a way to integrate a key combo to do the same thing in KDE. Is there any widget that can be programmed for such a thing?

    #2
    Re: Screenshots and hotkeys

    You can press Alt+Print to save a copy of the entire screen to the clipboard.

    You could install scrot and assign some hotkey to scrot -s and then interactively choose a region of the screen (image will be saved in your home dir with some timestamp as filename). Copying that to the clipboard might be a bit more difficult, I'm afraid.

    Comment


      #3
      Re: Screenshots and hotkeys

      I'll give it a shot when I get home. I don't really care about clipboard, i'd simply like to have the image file placed on my desktop or home dir automatically. Thanks for the tip and I'll let everyone know how it works.

      Comment


        #4
        Re: Screenshots and hotkeys

        Well I did it last night. After installing scrot, I went into KDE settings and created a hotkey process where alt-shift-4 (or alt-$) will initiate scrot -s, and it does exactly as you said it would. I also added alt-shift-3 (or alt-#) for the entire screen. It works just like it does on my Mac at work. Now if I can only figure out how to get F11 to minimize all windows I'll be set.

        Thank you, thank you, thank you! I am one happy man.

        Comment


          #5
          Re: Screenshots and hotkeys

          You're welcome
          The default hotkey to show/hide the desktop in KDE is Ctrl+Alt+D and can be changed using kcontrol. You can do more tweaks using http://sweb.cz/tripie/utils/wmctrl/
          Another nifty application to reduce the number of windows and changes between them is yakuake - you'll like it if you use the command line often.

          Comment


            #6
            Re: Screenshots and hotkeys

            I hate to necro posts, but this reply is related to my original post. Thanks, by the way, for the extra tip for showing desktop. I remapped it to F11. I'm happy, though I no long work for Apple, I got used to the usability of the OS and found it quite easy to adopt on kubuntu. Here's my issue.

            Currently, I have scrot mapped to do the following:
            scrot -s -e 'mv $f /home/rydan/Desktop/'

            So far, I've had limited success with:
            scrot -s -e mv $n screenshot.png -e 'mv $f /home/rydan/Desktop/'

            If I run it again, it won't write a new one with the number appended or write over the existing one.

            This outputs a file on my desktop with the filename as date_time.png. While this is fine and dandy, my ultimate wish would be to have screenshot.png, screenshot1.png, etc.

            I tried the command rename but it's limited in scope. I'd like to use the command rn and its backup feature to append a number to the filename, but can't figure out the application. Can someone suggest something?


            Originally posted by Earthwings
            You're welcome
            The default hotkey to show/hide the desktop in KDE is Ctrl+Alt+D and can be changed using kcontrol. You can do more tweaks using http://sweb.cz/tripie/utils/wmctrl/
            Another nifty application to reduce the number of windows and changes between them is yakuake - you'll like it if you use the command line often.

            Comment

            Working...
            X