Linux is nothing if not customizable. And this is not to say that the customizability comes with a price (although who hasn’t spent far too much time trying to figure out exactly which wallpaper out of a pack of 300 would be perfect for a favorite combination of themes and icons?), but sometimes there’s just so much you can change that you begin to lose track of where things are! “Did this icon set come with the theme?” “Where did I download this?” If I delete this theme, will the wallpaper disappear as well?”
This article doesn’t have the answers to all those questions, but it will help you with one specific task: finding an icon.
GNOME Linux uses Nautilus as its default file manager, and Nautilus can use scripts. Scripts are little bits of code, tiny programs if you will, which can be accessed instantly from the scripts folder in your right-click contextual menu. They’re almost always intended to act upon whatever you had highlighted when you clicked. So, for instance, if you download a script that can convert music from one format to another, you would right-click on a music file (MP3, AAC, WMA, etc.), and the script would assume you wanted to convert that item.
The where-is-this-icon script works the same. Right-click on any folder, file or desktop launcher, and it will give you the direct path to where the icon that item uses is stored on your computer. This is great for when you see an icon you like, and might want to use with another file, but just don’t have a real good idea where the icon is located.
Once you’re there, simply scroll down to the download link and click it.
You’ll get the typical “wait 3 seconds” screen, and then the download should begin.
The download, however, may not simply download as you’d expect; the script itself might load in your web browser window.
If that’s the case, just save the page as plain text. Go to the File menu of your browser (in Firefox, at least), and click the Save Page As option.
Then just choose a download location, and you’re done.
When the Properties window appears, select the Permissions Tab.
Then, at the bottom, make sure the Allow executing file as program option is checked.
That accomplished, close the Properties window and open a Terminal; we need to properly install the script.
Type the following:
mv /home/username/Desktop/where-is-this-icon /home/username/.gnome2/nautilus-scripts/
Note: make sure to substitute the actual path to the script (where you saved it), as well as replace “username” with your own username. Also, if the nautilus-scripts folder doesn’t exist yet, this command will create it.
Now that we have the script installed, it’s fairly trivial to use. As stated earlier, the script can show us the path to the icon for a file, folder or launcher. Here’s what it looks like finding a launcher’s icon. Right-click the item, then navigate down to the scripts folder, and choose the where-is-this-icon script.
A new window should pop up, informing you that the item has no set icon (as is sometimes the case), or the path to the icon, as shown below:
It’s that simple! The where-is-this-icon script is truly a one-trick pony. It doesn’t do anything more than this, and probably never will. But it is certainly a nice time-saver for those moments when you love an icon… but you just don’t know where it’s located. With where-is-this-icon installed, now you know!
This article doesn’t have the answers to all those questions, but it will help you with one specific task: finding an icon.
GNOME Linux uses Nautilus as its default file manager, and Nautilus can use scripts. Scripts are little bits of code, tiny programs if you will, which can be accessed instantly from the scripts folder in your right-click contextual menu. They’re almost always intended to act upon whatever you had highlighted when you clicked. So, for instance, if you download a script that can convert music from one format to another, you would right-click on a music file (MP3, AAC, WMA, etc.), and the script would assume you wanted to convert that item.
The where-is-this-icon script works the same. Right-click on any folder, file or desktop launcher, and it will give you the direct path to where the icon that item uses is stored on your computer. This is great for when you see an icon you like, and might want to use with another file, but just don’t have a real good idea where the icon is located.
Downloading The Script
First you’ll need to head to the script’s home page on gtk-apps.org; the direct link is right here.Once you’re there, simply scroll down to the download link and click it.
You’ll get the typical “wait 3 seconds” screen, and then the download should begin.
The download, however, may not simply download as you’d expect; the script itself might load in your web browser window.
If that’s the case, just save the page as plain text. Go to the File menu of your browser (in Firefox, at least), and click the Save Page As option.
Then just choose a download location, and you’re done.
Installing and Using The Script
Once the script has downloaded, locate it on your computer and right-click it. Choose the Properties option from the contextual menu.When the Properties window appears, select the Permissions Tab.
Then, at the bottom, make sure the Allow executing file as program option is checked.
That accomplished, close the Properties window and open a Terminal; we need to properly install the script.
Type the following:
mv /home/username/Desktop/where-is-this-icon /home/username/.gnome2/nautilus-scripts/
Note: make sure to substitute the actual path to the script (where you saved it), as well as replace “username” with your own username. Also, if the nautilus-scripts folder doesn’t exist yet, this command will create it.
Now that we have the script installed, it’s fairly trivial to use. As stated earlier, the script can show us the path to the icon for a file, folder or launcher. Here’s what it looks like finding a launcher’s icon. Right-click the item, then navigate down to the scripts folder, and choose the where-is-this-icon script.
A new window should pop up, informing you that the item has no set icon (as is sometimes the case), or the path to the icon, as shown below:
It’s that simple! The where-is-this-icon script is truly a one-trick pony. It doesn’t do anything more than this, and probably never will. But it is certainly a nice time-saver for those moments when you love an icon… but you just don’t know where it’s located. With where-is-this-icon installed, now you know!
No comments:
Post a Comment