Ubuntu :: Writing A Single Shell Script To Change Preview Settings And A Launcher's Icon
Mar 22, 2010
I want to write a single shell script that allows me to, once executed from a panel launcher, change the image preview setting between "local files only" and never. Right now i have two tiny scripts, one for local files only and another one for never, that is:
[Code]...
and the other says string "local_only". But that means i need to have two launchers, because i don't know how to write the condition <<when set to never, change it to local only. And is it possible to make a script that also changes the launcher's icon when the preview config is set to one or the other value? That way i'd know what it is set to just by looking at it. It would act as a diagnostic and therapeutic tool XD
I would like to know how to set the icon of a launcher in my GNOME desktop to a custom image that is more representative of what it launches. I can't seem to find any icon options in the Preferences.Its default icon is the one with the spring:
to something else, how do i accomplish such a task?Have mounted a second drive as /data and changed ownership and then created a launcher on the desktop all is functioning well although i would rather it resemble a folder.
I'm slightly puzzled trying to change the icon on my single "gnome main menu" button. I've added it to a panel and gone to gconf-editor aps>panel and there is no objects folder on my home pc (which is a installed version of 9.10). In work I do the same steps on an install of 8.04 and it works fine. The only difference I can think of is on 8.04. I add the menu to the bottom panel that ubuntu has by default and at home its a panel I've added. I cant get a custom icon for my main menu in 9.10!
I have installed the new Ubuntu 10.04 LTS and do not see where I can change the toolbar icon settings such that I only display icons, not text labels beside the icons. Does anyone know how to fix this?
I've installed Office 2007 under wine, and would like to add launchers for Word, Excel, etc to the Unity launcher bar.
So, I've created a launcher on the Desktop that will run Word with wine. I've changed the icon to the Word Icon and everything works great from the desktop. If I drag that launcher to the Unity bar, it adds it, but changes the icon to the springboard default icon that new launchers use. Please see attached picture.
As a side note, I am really starting to like Unity (puts on flamesuit), but it seems very easy to break the install of 11.04. I've had to reinstall 4 times now.
I'm using Ubuntu 10.04 and my problem is with this one video the preview icon in nautilus will not load for me. It's encoded the same as the other 120 videos on the drive and plays just fine in totem. I copied the video from another drive and the preview icon for the video is present on it. Just seems like it's not even attempting to create a preview icon, is there a way of making it?
how to disable or customize some of the preview settings on the alt-tab window..MY Question is if its possible to disable the "Grouping" part..such as having multiple nautilus windows.primarily thunderbird is the largest annoyance.. if im writing an email on my laptop and accedentally (touchpad 'palming') off the 'compose message' window; by default and second nature, my brain tells my fingers to alt-tab back into it.
alt tab doesnt allow tabbing into the sub-groups..you CAN although use the arrow keys combined with alt-tab, and eventually find your way down into the hierarchy, and to the right email. this is much too much work compared to a simple alt-tab once, like most other situations.i did notice an option to disable touchpad while youre typing in the settings. is there a gconf entry to adjust the delay? or how many keys need to be typed before its disabled?
problem there, is that if i hit return, or esc, or delete, or pretty much anything that should just be a QUICK one button press, and back to the touch pad, results in waiting 2-3 SECONDS.
Just installed openSUSE 11.3 (KDE) and not expert about it yet, I am experiencing two problems.
Skype: just installed 2.1.0.81-suse.i586rpm, starting it I get just the icon jumping on the desktop a bit and nothing else.
If I try with the command line, this is the result:
After that, I dont have preview about stored file images and even online, Google Images does not showing preview, just colored strips; if I go with the mouse on it, the image comes out.
I am running Fedora 14 on my Thinkpad T410. Tried to see what Gnome 3 shell looks like. So I went to: System->Preferences->Desktop Effects and chose GNOME Shell. Now the bottom and the top pannels are gone. I can see only the desctop and the icons on it. How can I get back to the previous settings? I tried and tried without any luck.
Is anyone else seeing the default icon in GNOME Shell instead of the usual Firefox icon? I am talking about the default icon that looks like a purple diamond.
It always shows a same icon, for every application which shows message tray icon. I just did some shell extension work after fresh installation of F15, nothing related on message tray. Don't know how to change it back.Dose anyone knows how to customize message tray icon for gnome-shell?
I'm installing thunderbird. not icedove, as that's several versions behind and not compatible with a lot of add ons. I'd like to make a launcher using the normal mozilla icon, but the icon chooser won't let me pick the .png file. What would I have to do to be able to use it ?
I created a custom launcher for 2 wine programs on my desktop and dragged them to my launcher to add them. They were both using the default cup of wine icon.The first one kept this icon, the second one changed to the default custom launcher icon for gnome. I have since changed them to the games real icons but they aren't changing in the launcher even after removing and re-adding it to the launcher.So 2 things are happening here, it seems the launcher is unable to use the same icon multiple times, and the launcher is "remembering" the icon's somewhere separatly from what the custom launcher is saying the icon should be.
Ubuntu 11.04.Dragging the Text Editor launcher into the Unity dock will create a blank space with a blank label which launches Text Editor. How can I choose an icon for it?Also, how can I make it so middle clicking on the icon (or other ways of opening multiple instances) will open more instances of Text Editor instead of doing exactly nothing (does nothing if Text Editor is already open, otherwise it opens "Untitled Document 1")?it doesn't "launch text editor" per se. instead it opens "Untitled Document 1". maybe this is why you can't middle click it to open multiple instances?
I've been using natty for a few weeks. I can't remember to add something to the launcher, other than dragging it. I had thunderbird in the launcher, but accidentally removed it.Now, when I drag it back to the launcher, it's there in the launcher, but as a blank space. The thunderbird icon is missing. I can click on the blank space to launch it, but would like to add the icon
After installing Ubuntu 11.04, I removed the Home Icon from the launcher by right clicking on the Home Icon and chosing the - Keep In Launcher option. Then it disappeared. Now I am wondering how do I restore it, because I think it was not a good idea and I need it now.
I want to perform an action with a shell script and then log the event in a file in /var/log. However, I keep getting permission denied error messages.
I have noticed that the icon for launcherspplication in terminal) I create has changed.The icon was previously "preferred.png" but now it is "nonpreferred.png" - see attached pics. ow can I select the "preferred.png" icon when I create a launcher? Also, in what directory are these located?
I've already used ubuntu last time, and I want to open my mind, so I've trying to install OpenSUSE, it's really nice.Now I want to add an application to quicklaunch on taskbar such as a .sh or .jar file, however I haven't known how to set the icon for this launcher. I could do this in ubuntu by right click on launcher and set properties.
The short version: I have created a launcher shortcut on my Desktop for Evolution Mail, and right now it uses the springboard icon. I would like to use the icon that I see in the applications menu launcher for Evolution. Where do I find this icon?
The longer version: A few Ubuntu versions ago, I got rid of the Evolution Mail icon from the top panel, as there was no apparent way for me to set mail accounts to other than the standard ports. I went with Thunderbird instead.
Well, while Thunderbird gives me a box to set the port number in, Evolution doesn't, but I can still specify my nonstandard port by placing a : and the port number after: example.com:26 for a mail server at example.com om port 26.
Now, I have put Evolution Mail to use, and have created a desktop launcher for it. For now I am using the default springboard icon. I see the envelope icon in the applications menu for Evolution but I have no idea of the icon's address. I am familiar with Windows XP, and it is easy to assign a program's icon to a new shortcut. I have just added shortcut for example.exe. I go to the shortcut's Properties and click on the icon, and immediately see the program or library file that contains the icon I am currently using, either as an embedded icon or set of icons, or I see an .ico file for that icon. I can navigate to Program Filesexample and see either example.exe with its embedded icons or example.ico.
I created a new shortcut on my Ubuntu Desktop. and was presented with a springboard icon. I click on the icon in the creation process and am presented with a pile of generic icons, much the same as with Windows.
if I open the Properties and click on the icon, I end up looking at a listing in my Home directory. This is regardless of where the current icon is located. I looked in /usr/share/applications/evolution and saw icons folder, but it had no envelope for Evolution Mail. All I see is icons dealing with the calendar, in anything from 16x16 to 48x48 and scalable.
I am using Ubuntu 10.10 and having trouble setting a custom icon for an application launcher that I created. I have created and SVG file and placed it in /usr/shared/icons/hicolor/scalable/apps/ and when I try to select it as the icon for the application launcher, it just goes back to the gnome-panel-launcher.svg default.If I put the SVG file on my desktop and then select it, all is well. I'm assuming this is some type of permission problem, but I cannot seem to figure it out. I have set the permissions to be identical to the other icons in /usr/shared/icons/hicolor/scalable/apps/, but have no luck doing that either.
I am using Ubuntu 10.10 and having trouble setting a custom icon for an application launcher that I created. I have created and SVG file and placed it in /usr/shared/icons/hicolor/scalable/apps/ and when I try to select it as the icon for the application launcher, it just goes back to the gnome-panel-launcher.svg default.
If I put the SVG file on my desktop and then select it, all is well. I'm assuming this is some type of permission problem, but I cannot seem to figure it out. I have set the permissions to be identical to the other icons in /usr/shared/icons/hicolor/scalable/apps/, but have no luck doing that either.