vinceliuice / WhiteSur-gtk-theme

MacOS like theme for all gtk based desktops
MIT License
5.95k stars 615 forks source link

`./install.sh` needs `sudo` (why?) and cannʼt work with `-d` #695

Open sutnistj opened 2 years ago

sutnistj commented 2 years ago

Info

The First Run

➜  pwd               
/home/$USER/Public/WhiteSur-gtk-theme
➜  sudo ./install.sh -d "/usr/share/themes" -o solid -c Dark

  Removing the old 'WhiteSur' themes...

  Installing 'WhiteSur' themes in '/usr/share/themes'...

  --->>> GTK | GNOME Shell | Cinnamon | Metacity | XFWM | Plank <<<---
  Color variants   : Dark
  Theme variants   : default
  Opacity variants : solid
  Alt variants     : normal
  Icon variant     : standard
  Nautilus variant : stable

Where: $USER is just [a-z]{5} in regex.

Result: there're nothing — no any new folder.

The Second Try

The same $PWD. In this time without -d:

➜ ./install.sh -o solid -c Dark

  Oops! Operation failed...

  =========== ERROR LOG ===========
  >>> Час очікування вичерпано

  =========== ERROR INFO ==========
  FOUND  :
    >>> install.sh at 191
    >>> lib-core.sh
    >>> lib-install.sh
  SNIPPET:
    >>> notify-send "'${name}' theme has been installed. Enjoy!" "${notif_msg}" -i "dialog-information-symbolic"
  TRACE  :
    >>> signal_error
    >>> main

  =========== SYSTEM INFO =========
  DISTRO : ubuntu debian;linuxmint;21
  SUDO   : no
  GNOME  : none
  REPO   : 2022-10-10T18:22:02+0300

  HINT: You can google or report to us the info above 

  https://github.com/vinceliuice/WhiteSur-gtk-theme/issues 

Where Час очікування вичерпано is Timed out or more literally The waiting time has expired in Ukrainian.

But it worked with sudo where I get four new folders:

➜  ls ~/.themes
WhiteSur-Dark  WhiteSur-Dark-hdpi  WhiteSur-Dark-solid  WhiteSur-Dark-xhdpi
vinceliuice commented 2 years ago

It can not run notify-send on ubuntu, I did not find the reason

sutnistj commented 2 years ago

Interesting. If what, I have this program which can work from console.

image