gnome shell (3)


Gnome Shell Screenshot + Imgur

The old gnome-screenshot was a very useful app. Unfortunately it seems to have been dropped in the latest gnome shell. I found this extension that does a similar job though. It’s called  Area Screenshot and you can find the code via github

Looking at the Advanced Usage note it seems that the developer added a hook that allows users to run a program after the screenshot has been taken. I used that to upload screenshots automatically to imgur.com. You will need to download the Bash Script Uploader and save it somewhere accessible as an executable. Then create the following script in ~/bin/area-screenshot-post

#!/bin/bash
url=`imgur "$1"`
notify-send --hint=int:transient:1 "Screenshot Uploaded" "Copied URL to clipboard:\n$url"

You will get the url in the notification area.

Similar Posts:




NatGeo Wallpaper Downloader & Desktop Changer for Gnome Shell

I saw a couple of National Geographic wallpapers and those are pretty nice. I did not find an API on their site to download those on a regular basis, but it seemd pretty simple to just download them.

I just uploaded my code as a gist per https://gist.github.com/3002699 (the gist code should be more up to date than the following code)
And I added the script in my crontab:

@daily	/home/abdallah/Code/scripts/natgeowallpaper.py

Let me know if you have any notes/comments/changes
Here’s the code

Similar Posts:




Customize the Ubuntu/Gnome Launchers

Google Chrome has a special “New Incognito Window” in the Gnome launcher. So how hard would it be to edit the launcher buttons to add some customized commands? Apparently not so hard. Here’s what I got:

Similar Posts: