bilelmoussaoui / Hardcode-Tray

Fixes Hardcoded tray icons in Linux
Other
862 stars 62 forks source link

can't run hardcoded-tray from terminal #322

Closed Feichtmeier closed 7 years ago

Feichtmeier commented 7 years ago

Specifications

Expected behavior and actual behavior

Steps to reproduce the problem

  1. open a terminal
  2. try to run hardcoded-tray
  3. doesn't work :(
bilelmoussaoui commented 7 years ago

Is there any output ?

Feichtmeier commented 7 years ago

It's german :( But it is like "didn't find that commad" (in the path?)

bildschirmfoto vom 2017-03-02 21-59-42

bilelmoussaoui commented 7 years ago

It's not hardecode-tray but hardcode-tray :P

Feichtmeier commented 7 years ago

image

Yeah typo there but it really can't be found. Normally it was found with TAB autocomplete.

bilelmoussaoui commented 7 years ago

@Feichtmeier Can you check if you have anything under /opt/Hardcode-Tray? Something like ls -la /opt/Hardcode-Tray/ would be great :) also which hardcode-tray Thanks

Feichtmeier commented 7 years ago

frederik@akira:/opt/Hardcode-Tray$ ls -la insgesamt 60 drwxr-xr-x 6 root root 4096 Mär 3 13:42 . drwxr-xr-x 8 root root 4096 Mär 2 16:17 .. drwxr-xr-x 2 root root 12288 Mär 3 13:42 database -rwxr-xr-x 1 root root 1148 Mär 3 13:01 hardcode-tray -rwxr-xr-x 1 root root 1646 Mär 3 13:01 install.sh drwxr-xr-x 2 root root 4096 Mär 3 13:42 license drwxr-xr-x 6 root root 4096 Mär 3 13:42 modules -rw-r--r-- 1 root root 7476 Mär 3 13:01 README.md drwxr-xr-x 2 root root 4096 Mär 3 13:42 screenshots -rwxr-xr-x 1 root root 6942 Mär 3 13:01 script.py -rw-r--r-- 1 root root 168 Mär 3 13:01 uninstall.sh

I can run the script from within opt now since the last update (5 mins ago updated with your ppa) I have no idea how to check the version without the terminal command

image

Oh god... and now my chrome icon is blurry :( Since I ran the script from opt

edit: okay ... I reinstalled it after updating the ppa and now I have the version hardcode-tray (3.5.2.1~728~ubuntu16.04.1) But all icons (skype, playmusic, and chrome are blurry now) .. Okay I will remove the ppa and install it manually

bilelmoussaoui commented 7 years ago

It seems that the PPA is broken. Can you please follow the manual installation in the README ? It's just one line to copy paste in your terminal. Please make sure to remove the current version. Once it's done can you report back if everything's working fine ?

Feichtmeier commented 7 years ago

Okay I removed the ppa and purged the ppa version and installed it manually. Now skype and play music got their sharp icons back but chrome is still blurry. :(

bilelmoussaoui commented 7 years ago

Which version of Chrome are you using ? Have you killed chrome and tried again? a restart would do the same thing

Feichtmeier commented 7 years ago

Yup, killed it, rebooted, still the same. Used the revert command and still The blurry icon. Version is the most up to date version from the google ppa: 56.0.2924.87

image

bilelmoussaoui commented 7 years ago

Ah okey, try using an other icon size for chrome hardcode-tray --only google-chrome --size 22 or even 16 if 22 isn't enough for you :)

Feichtmeier commented 7 years ago

Hm... tried all sizes and still the blurry icon :( Sorry for stealing your time

bilelmoussaoui commented 7 years ago

Hmmm, i have really no idea about that! :( Do you have something else other than Unity to try it on? We have tried it on Unity and everything was working perfectly! The same on Gnome, mate, xfce and KDE!

Also, it seems that the conversion tool used by Hardcode-Tray is ImageMagick. do you have Inkscape installed? if so try forcing it using hardcode-tray -ct Inkscape which will use it to convert the icons from SVG to PNG instead of ImageMagick (which sucks a little :p, was added only for the sake of not forcing users to use only Inkscape or another conversion tool)

Feichtmeier commented 7 years ago

Atm only Unity here. It worked for me perfectly too for many versions. Can I manually remove the chrome icons? Would it help to reinstall chrome?

bilelmoussaoui commented 7 years ago

Give it a try and let me know :) Try something like hardcode-tray --update-git to update to the latest git version and see if it fixes the issue for you

Feichtmeier commented 7 years ago

I reinstalled chrome and deleted all folders in .cache .config of hardcode tray and chrome and now I got the old google icon back :dagger: And your script doesn't change anything at all now :(

Papirus had a ppa update too today maybe there is any connection to your script?

bilelmoussaoui commented 7 years ago

I will take a look today ;) when you run the script, can you paste the output ?

Feichtmeier commented 7 years ago

frederik@akira:~$ hardcode-tray [sudo] Passwort für frederik: Welcome to the tray icons hardcoder fixer! Your indicator icon size is : 22 Your current icon theme is : Papirus Svg to png functions are : Enabled Conversion tool : Inkscape Applications will be fixed : All 1 - Apply 2 - Revert Please choose: 1 Applying now..

Google Chrome [#.......................................] 1/37 2.7% Google Play Music Desktop Player [########................................] 7/37 18.9% Skype [########################################] 37/37 100.0%

Done, Thank you for using the Hardcode-Tray fixer! frederik@akira:~$

bilelmoussaoui commented 7 years ago

What's the version of Google chrome ? Can you get me the log under tmp file ?

Feichtmeier commented 7 years ago

Chrome Version is 56.0.2924.87

The logs in /tmp are empty

bilelmoussaoui commented 7 years ago

Can you ping me on Telegram? This way i can get you sort this out easily :)

Feichtmeier commented 7 years ago

Sure, is there any other option than to share phone numbers on github? :D

bilelmoussaoui commented 7 years ago

Fixed

MarekAG commented 7 years ago

@bil-elmoussaoui Hi, I want to inform you that using PPA still stops hardcode-tray from being run from terminal. I can run app from /opt/Hardcode-Tray/ and also running --update-git fixes it (at least to the next update trough PPA).

bilelmoussaoui commented 7 years ago

@wa4557 Can you check the PPA once you've some free time? it must be a symlink issue; or at worst you can add @varlesh as a collaborator on launchpad and let's see if he have some free time to get this fixed :)

andia89 commented 7 years ago

I'll do that:) I should have a bit more freetime from now on