Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't run hardcoded-tray from terminal #322

Closed
Feichtmeier opened this issue Mar 2, 2017 · 26 comments
Closed

can't run hardcoded-tray from terminal #322

Feichtmeier opened this issue Mar 2, 2017 · 26 comments
Labels

Comments

@Feichtmeier
Copy link

Feichtmeier commented Mar 2, 2017

Specifications

  • Hardcode-Tray version : i cant check because of this issue but my ppa updated like 10 mins ago
  • Distribution : ubuntu 16.04
  • Gtk version : 3.18
  • Inkscape version : `` if installed
  • Cairo version : `` if installed
  • Sni-qt version: `` if installed
  • Application name : ``
  • Application version : ``

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
Copy link
Owner

Is there any output ?

@Feichtmeier
Copy link
Author

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

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

@bilelmoussaoui
Copy link
Owner

bilelmoussaoui commented Mar 2, 2017

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

@Feichtmeier
Copy link
Author

image

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

@bilelmoussaoui
Copy link
Owner

@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
Copy link
Author

Feichtmeier commented Mar 3, 2017

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.1728ubuntu16.04.1)
But all icons (skype, playmusic, and chrome are blurry now) .. Okay I will remove the ppa and install it manually

@bilelmoussaoui
Copy link
Owner

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
Copy link
Author

Feichtmeier commented Mar 3, 2017

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
Copy link
Owner

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

@Feichtmeier
Copy link
Author

Feichtmeier commented Mar 3, 2017

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
Copy link
Owner

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
Copy link
Author

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

@bilelmoussaoui
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

Feichtmeier commented Mar 3, 2017

I reinstalled chrome and deleted all folders in .cache .config of hardcode tray and chrome and now I got the old google icon back 🗡️
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
Copy link
Owner

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

@Feichtmeier
Copy link
Author

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
Copy link
Owner

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

@Feichtmeier
Copy link
Author

Chrome Version is 56.0.2924.87

The logs in /tmp are empty

@bilelmoussaoui
Copy link
Owner

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

@Feichtmeier
Copy link
Author

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

@bilelmoussaoui
Copy link
Owner

Fixed

@MarekAG
Copy link
Contributor

MarekAG commented Mar 14, 2017

@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
Copy link
Owner

@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
Copy link
Collaborator

andia89 commented Mar 14, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants