Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've just installed Wallch, and it's working wonderfully. I have set the program to cycle a huge number of images all within a folder on my computer. There are so many images that I've forgotten about many of the ones popping up! I'm like to look into what they are.

Is there any way to tell which image is currently my background? I'd expect the answer to be in some linux code I' unfamiliar with, or a hidden feature of Wallch.

I found nothing in the Wallch GUI nor the Appearance settings. I'm running Ubuntu 12.4 and Wallch 3.0.

share|improve this question

2 Answers 2

up vote 5 down vote accepted

you can use script like this:

#!/bin/bash
notify-send -i "terminal" "current-background" "$(gsettings get org.gnome.desktop.background picture-uri)"

generally you can get current wallpaper location by this command entered in a shell gsettings get org.gnome.desktop.background picture-uri

share|improve this answer
    
just what i was looking for! –  pirtle Aug 16 '12 at 1:39

I just want to inform you that we have released a PPA for the 3+ versions of Wallch, which supports opening the folder of the current image set as background (under the 'File' menu or via the indicator). Also it has more features and bug fixes. If you want to install it, please run the following things through a terminal:

sudo add-apt-repository ppa:wallch/3+
sudo apt-get update && sudo apt-get install wallch

This will install the newest version of Wallch and will let you updated with any other newer versions!

share|improve this answer
    
Thank you very much! The automatic updates will be helpful, indeed! However, the feature doesn't sound like what I need. All the wallpapers are in the same folder, so although it opens the folder of the current wallpaper, it also opens the folder of the other 250+ images. @shinnra 's code worked nicely for just letting me know what image was being used. –  pirtle Aug 17 '12 at 6:06
    
But many thanks for the info! –  pirtle Aug 17 '12 at 6:06
    
Ok, use what it works best for you :) –  hakermania Aug 17 '12 at 10:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.