GhostSquad57 / Steam-Installer-for-Wheezy

Re-write of Valve's deb package. (Orphaned)
193 stars 20 forks source link

Icon problem #43

Closed jfernandz closed 10 years ago

jfernandz commented 10 years ago

I had a problem with icons's pics during the installation and not works them. I had to put them after.

GhostSquad57 commented 10 years ago

@WyRe Try installing this package and see if it fixes it: [old link]

jfernandz commented 10 years ago

but... isn't the same .deb that there is here? Or... have some changes? ...

And... And shouldn't uninstall the previous one? Thanks, men ... I go to try it (when u respond xD)

Very thanks and really nice work :D

GhostSquad57 commented 10 years ago

@WyRe Maybe I should have been more descriptive :D

Uninstall you current version of steam-debian and install the deb I linked too.

The one I linked too has a mild change in one of the files; specifically, the file /usr/share/applications/steam.desktop

The difference is: OLD: Icon="steam-debian" NEW: Icon="steam-deb"

jfernandz commented 10 years ago

I have some problems ... but i don't understand ... I had installed nice the first time, then i try some more times because the problem is with the menu icons, not the desktop icon ... (i should have been more descriptive xD) ... and the next times that i tried install it ... everithing seems go fine (except no install icons ... :S ... ) but when i try launch it shell sais me: http://pastebin.com/ukRMQbJ0

Maybe there is a problem with my glibc ... :S ... but ... I insist ... the first time that i try the replacemen the new 48-5 worked ... I can understand nothing ... :S xD

And... sorry for the worst englis in the world xD

GhostSquad57 commented 10 years ago

@WyRe You're launching with steam-debian right?

jfernandz commented 10 years ago

I'm dumb.

But... i havent any icon :(

GhostSquad57 commented 10 years ago

@WyRe What desktop are you using? Gnome?

jfernandz commented 10 years ago

Yes :) Gnome 3.4.2

GhostSquad57 commented 10 years ago

@WyRe Try gtk-update-icon-cache

this should refresh icons

jfernandz commented 10 years ago

Not works ... I try reboot xD

Nothing ... I must say that icons I deleted them because uninstalling steam-debian did not leave.

GhostSquad57 commented 10 years ago

@WyRe Do you mind sharing screenshot of applications menu?

jfernandz commented 10 years ago

captura de pantalla de 2014-08-05 21 19 05

Before tries there is one in Internet and games menu. and neither in desktop

GhostSquad57 commented 10 years ago

@WyRe Alright. Remove steam-debian package and try this one: https://dl.dropboxusercontent.com/u/82856418/Steam-Installer-For-Wheezy/steam-debian_test.deb

jfernandz commented 10 years ago

nothing neither ... :( ... maybe i am making a mistake in replacement ... but i had reboot after installation and... same xD no icons

I mean ... The first time that i installed the launcher of this repository (48-4) the installation creates me the menu icons (even the icon desktop, and he had pic) but the pic menu icons was by defect in a element menu; the fail is in .png file, i think...

However... In this installations the installers cannot creates me the icons :(

Say other than i can create the launchers, but we are trying to solve this problem with installer package xD

GhostSquad57 commented 10 years ago

@WyRe does this file exist /usr/share/applications/steam.desktop

jfernandz commented 10 years ago

hummmm yes... exist ... but have not pic (no how the rest)

GhostSquad57 commented 10 years ago

@WyRe OK. cat /usr/share/applications/steam.desktop | grep Icon what is output?

jfernandz commented 10 years ago

wyre@WyRePC:~$ cat /usr/share/applications/steam.desktop | grep Icon Icon=steam-deb wyre@WyRePC:~$

GhostSquad57 commented 10 years ago

@WyRe Hmm... try
sudo desktop-file-install --set-name=steam --set-icon=/usr/share/pixmaps/steam.png --rebuild-mime-info-cache /usr/share/applications/steam.desktop

that's all one command

jfernandz commented 10 years ago

wyre@WyRePC:~$ sudo desktop-file-install --set-name=steam --set-icon=/usr/share/pixmaps/steam.png --rebuild-mime-info-cache /usr/share/applications/steam.desktop Error on file "/usr/share/applications/steam.desktop": Nombre de clave no válida: [zh_TW] wyre@WyRePC:~$

says: name of the invalid key

zh_TW ... is Asian? ... xD

GhostSquad57 commented 10 years ago

@WyRe Edit /usr/share/applications/steam.desktop remove lines that have [zh_TW]

then try sudo desktop-file-install --set-name=steam --set-icon=/usr/share/pixmaps/steam.png --rebuild-mime-info-cache /usr/share/applications/steam.desktop again

jfernandz commented 10 years ago

Wait .. yes... its work (I needed to delete a line xD) :D Now steam.desktop has pic ... but i havent any icon yet....

And the "sudo desktop-file-install ....." return noting but i think that works :)

GhostSquad57 commented 10 years ago

@WyRe OK download this: https://dl.dropboxusercontent.com/u/82856418/Steam-Installer-For-Wheezy/steam.desktop

Place it in /usr/share/applications/ overwrite old steam.desktop

jfernandz commented 10 years ago

ok done, and then? xD

GhostSquad57 commented 10 years ago

@WyRe Reload gnome does it fix it?

jfernandz commented 10 years ago

no... I use "sudo /etc/init.d/gdm3 restart" for reload gnome but i havent icons yet :( maybe its my debian ... xD or its becausa i deleted it ...

GhostSquad57 commented 10 years ago

@WyRe Try adding the item back on your application menu: right-click on Applications > edit menus > new item

jfernandz commented 10 years ago

but.... this is manually no? ... Steam icons dont show here, i mean .... there isnt it; if i add a new item is not automatically no?

jfernandz commented 10 years ago

Yes... I can create it ... but... manually :D captura de pantalla de 2014-08-06 00 27 23 But ... we are trying to solve the installer package problem... or we are trying to solve only my problem? XD

I'm sorry ... it's too later here in Spain and ... Tomorrow i work ... so ... i go to bed xD tomorrow we continue :D

GhostSquad57 commented 10 years ago

@WyRe Does it show under the category "Other"? The original desktop file not the new launcher you just made.

EDIT: Explanation If Steam shows up under "other", chances are it's a localization issue.

jfernandz commented 10 years ago

No ...it neither is in this category ...

GhostSquad57 commented 10 years ago

@WyRe OK delete the Steam launcher I asked you to make earlier. Then Try copying /usr/share/applications/steam.desktop to $HOME/.local/share/applications and then restarting gnome.

GhostSquad57 commented 10 years ago

@WyRe I think this is a problem with just your system and not a bug of package.

I switched language to Spanish and it still shows up fine on my gnome menus: 2014-08-06-080359_1280x720_scrot

jfernandz commented 10 years ago

I am at work ... when i arrive at house i try use your option and will comment here :)

But i too suspect that is my system or the fact to i had been deleted them in the second installation try (with your 48-5 version) xD

And... how u take screenshots of ur app menu? ... I can't do it when the menu is open! ... xD Maybe u delay the shoot?

jfernandz commented 10 years ago

But... Copying? or Cuting? and after i shouldn't reinstall steam?

I had to replace him ... there is one equal... xD

jfernandz commented 10 years ago

Oh ... Man ... Works! ... the last opción has worked!! And the incons have pic too!! :D :P It was that! :D

Thanks for your work and your attention man! ... :D People how u are the people that brings Debian where is! .... at the TOP... xD

A last thing ... Really; how u did the screenshoot of u app menu? ! ... xD

GhostSquad57 commented 10 years ago

@WyRe Gnome 3 has it's own screenshot hotkey. By default it's the "Print" key. The screenshot is saved in $HOME/Pictures

To find screenshot hotkey: System Settings > Hardware > Keyboard > Shortcuts > Screenshots

jfernandz commented 10 years ago

Yes... my hotkey is "Impr Pt" key in my keyboard, phisical, by defect xD ... But if i have open app or places menus ... the hotkey not works! ... :S

GhostSquad57 commented 10 years ago

@WyRe I usually use scrot for taking screenshots. Use a delay of three seconds. scrot -d 3

jfernandz commented 10 years ago

And... where was the problem? ... was my system, your launcher? or me? xD

GhostSquad57 commented 10 years ago

@WyRe It was your system; it wasn't loading the steam.desktop file into the applications menu. Copying the desktop file to your local applications directory fixed it, so it couldn't have been a problem with the formatting of the desktop file.

jfernandz commented 10 years ago

But... Why the first time that i try install ur 48-4 version my gnome didn't show the pictures in the Steam's icons in app menu? ... :S

GhostSquad57 commented 10 years ago

@WyRe With 48-4, the desktop file didn't point to the correct icon.

The icon problem was an easy fix, it was Steam not showing in the application's menu that was a tricky problem.

jfernandz commented 10 years ago

Thanks for ur work and ur answers ... :P Really nice work :)

Especially because official Steam's package breaks my Gnome and i don't know why... :S

Maybe ... libc6 is a dangerous and important library? ... xD

GhostSquad57 commented 10 years ago

@WyRe No problem; I'm always happy to help.

And yeah, libc6 is a VERY dangerous package to upgrade.