Hi Mark
in peppermint 2 there was a problem with icons in ice, not appearing where they should,
it worked perfect originally, but when I re installed the os, the png icon wasn’t on the link,
Plenty of posters had the same problem,
the png downloaded ok into the ice folder ~/.local/share/ice/
and could be manually edited in ~/.local/share/applications/ by using the text editor.
for such an integral part of peppermint, I would have thought it should be automatic, as originally.
any way of sorting?
thanks
keith
“Sorted” as in:- making it work all the time ? … not that I’m aware of at the moment.
or
“Sorted” as in:- fixing the icon in the Ice shortcuts you’ve already created ?
just sorted as in when url is entered in ice, then name,where in the menu, select icon for your app, create.
it creates the icon on the ssb automatically, as it did originally, without having to do it manually.
I just thought it being such a big part of the os, its a shame its not working correct,
OK, for some reason, .desktop files are ignoring the $HOME variable.
So the only way I can see to get this working, is to edit the Ice application (python script) itself.
First let’s back it up … open a terminal and run:
sudo cp -v /usr/bin/ice /usr/bin/ice.backup
Then open it for editing:
sudo gedit /usr/bin/ice
Find the line that reads:-
appfile1.write("Icon=$HOME/.local/share/ice/" + str(desktop) + ".png\n")
and make it read:-
appfile1.write("Icon=/home//.local/share/ice/" + str(desktop) + ".png\n")
(obviously you need to replace with YOUR username)
So MINE would read:-
appfile1.write("Icon=/home/mark/.local/share/ice/" + str(desktop) + ".png\n")
SAVE the file … and test.
Be aware, this is only going to work for the user account you specified … it won’t work on multi user setups.
and before you ask … I have no idea why Peppermint appears to be ignoring the $PATH variable … but if I find anything, I’ll let you know (if I remember)
tried above, double checked everything, but did not work.
terminal says
keith@keith-AOA110 ~ $ sudo cp -v /usr/bin/ice /usr/bin/ice.backup
[sudo] password for keith:
/usr/bin/ice' ->
/usr/bin/ice.backup’
keith@keith-AOA110 ~ $ sudo gedit /usr/bin/ice
(gedit:2302): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel’, but failed: Failed to create file ‘/root/.local/share/recently-used.xbel.RKOOIW’: No such file or directory
(gedit:2302): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel’, but failed: No such file or directory
(gedit:2302): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel’, but failed: Failed to create file ‘/root/.local/share/recently-used.xbel.S7Y4IW’: No such file or directory
(gedit:2302): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel’, but failed: No such file or directory
(gedit:2302): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel’, but failed: Failed to create file ‘/root/.local/share/recently-used.xbel.78E3IW’: No such file or directory
(gedit:2302): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel’, but failed: No such file or directory
keith@keith-AOA110 ~ $
not sure what this means
Those errors are unimportant and can be safely ignored, but if you really don’t want to see them again … run:
sudo mkdir -p /root/.local/share
Did you make the edit to /usr/bin/ice ?
yeah appfile1.write(“Icon=home/keith/.local/share/ice/” + str(desktop) + “.png\n”)
looks like it should work but
tried this site on ice
it put the link on the menu but had the cog wheel as icon
in the ice folder had the penguin icon
You missed a forward slash at the beginning of the path
it should be:-
appfile1.write("Icon=/home/keith/.local/share/ice/" + str(desktop) + ".png\n")
If you’re a Chromium user … did you know you can create SSB shortcuts DIRECTLY from within Chromium ?
In Chromium, navigate to the webpage you want a shortcut for … then click the “Spanner” icon on the toolbar, then go to Tools>Create Application Shortcuts
If you tick the “Desktop” box … you’ll end up with a shortcut on your desktop
If you tick the “Applications menu” box … you’ll end up with shortccut in menu>Internet
and FYI … here’s where Chromium places the files:-
menu .desktop file = ~/.local/share/applications
icon = ~/.local/share/icons/hicolor/16x16/apps
and obviously there’s another .desktop file on your desktop if you chose to have it put one there too.
many thanks yet again, works perfect ;D
yes I’m a chromium user and will try that method of creating a shortcut.
Keith
You’re welcome
I actually think the Chromium method is easier … but it gives you less control over the shortcut “name”, and where in the menu’s it goes.
yeah,
the chromium tip works and is so easy,
on these shortcuts theres no back and forward button, but using alt key and left or right arrow key navigates forward and back, in case you didn’t know,
thanks again for your time, you never cease to amaze me
If you want them to open in a “normal” chromium browser (with toolbar) and not an SSB wiindow … you’ll have to edit the .desktop file they created in ~/.local/share/applications (and/or the one chromium created on the desktop).
change the “Execc=” line … removing the --app= part.
so you’d change:-
Exec=chromium-browser --app=“http://linuxforums.org.uk/”
to
Exec=chromium-browser “http://linuxforums.org.uk/”
and SAVE the file.
That shortcut should now open a “normal” chromium browser window/tab
it even gets better
BTW I have P3 running really well and set up just as I want it,( great without loads of bloatware)
If you’d prefer the Ice application to ALWAYS create shortcuts that open in a “normal” chromium window … or even firefox instead … let me know
Yeh … I couldn’t agree more … Peppermint is a solid distro to tweak to your own likings
i’d be interested in what banko considers loads of bloatware in peppermint three… or is he just happy there isn’t any?
I could be wrong, and don’t want to put words into banko’s mouth … but I think he meant “great distro that doesn’t contain loads of bloatware”
Although he may have been referring to things I’ve removed, like the blueman (bluetooth manager), that new notification doodad in PM3, and in my case the MintUpdater. … all of which are loaded at startup and use system resources
I consider the MintUpdater, and the new notification-daemon bloatware (well more like unnecessary cruft) … so I replaced them :)… though I know most people will like at least the MintUpdater.
I also went out of my way to get PM3’s appearance back to PM2 … not a big fan of “light” themes, and the default transparent panel with dark icons just doesn’t work with a dark wallpaper.
So effectively I’ve now turned Peppermint Three into Peppermint Two … but with the 12.04 LTS repos and support length … which suits me just fine, IMHO PM2 was always going to be hard to improve
I realise othher people will like the new stuff, but I liked PM2 because I saw it as the perfect distro as a uncluttered starting point for me to tweak to my requirement… PM3 benefits from the 12.04 LTS repos, but I found myself having to remove a couple of things (not much, and no big deal) … I’m just hoping they don’t start adding things just to be seen to be doing something.
As I said, it’s hard to improve something that was close to perfection … and I don’t envy the devs the task of being seen to move forward without actually moving backwards.
@ SeZo
At this point, I just know you’re going to jump in and draw parallels with Gnome 2.x → Gnome 3
But I’ve already admitted to being an inconsistent old git
i’m conflicted by the mint updater… i’d like to understand what exactly its updating… but i don’t … i suppose i should study something about what its actually updating… but i’d prefer to just update via the terminal occasion… since that seems to be just as cryptic but itsn’t loading on start up or eating resources…
EDIT deleted blueman bluez & mintupdater … boot speed marginally faster… cool…
anybody deleted software manager? it never works… always hangs…
I didn’t do away with an update manager all together … I just don’t like the “MintUpdater” and the way it autostarts at boot … I went back to the GNOME update manager as in Peppermint two:
sudo apt-get install update-manager
Non of my tweaks particularly improve boot performance, but they do cut down the amount of RAM that is being used … which is what you want on low resource systems.
Hi spence, i just happy that there isn’t loads of things pre installed, that i have to delete and then install what I want.
Its almost like a blank page that we can tweak just as we like.
AND its super fast and if its like P2 it will be solid (no crashes)
Peppermint as bought new life into a ZG5 and runs quicker than a system with much higher specs running something like windows, which does have loads of bloatware
so its a big THUMBS UP from me ;D
keith
I do like the MintUpdater, got mine set for once a day, not every 15min as default as that could be a pain.
[b]@ SeZo[/b]At this point, I just know you’re going to jump in and draw parallels with Gnome 2.x → Gnome 3
But I’ve already admitted to being an inconsistent old git
Is that an invitation? I would not dream of doing that
