C2N14 / AutomaThemely

Simple, set-and-forget python application for changing between desktop themes according to light and dark hours
GNU General Public License v3.0
205 stars 32 forks source link

Cinnamon: problematic install and theme incomplete #16

Open bipox opened 5 years ago

bipox commented 5 years ago

Thank you for this program, very neat. I think such a tool has the potential to become a default in some distribution - like Redshift for example.

I use Linux Mint Cinnamon 19.1.

I installed the .deb based on python 3.6, with dependencies.

Install problems

After install no icon was present. It launched with "automathemely --manage", I could modify settings, but it wouldn't work. "automathemely --restart" shows a popup "INFO: restarted the scheduler", but themes wouldn't start. After relogin, the icon was there, but theme still wouldn't change.

I deleted the configuration files, launched in console "automathemely" and then it worked.

Theme partially supported

kelebek333 commented 5 years ago

You can try to purge automathemely, after reinstall with sudo dpkg -i command. If you install with gdebi, path of autothscheduler.py file is incorrectly added to startup applications. I think it's because gdebi uses pkexec. Therefore, postinstall file in the package not working properly.

packdir="$(sudo -u ${SUDO_USER} python3 -m pip show automathemely | grep -oP "^Location: \K.*")/automathemely"

bipox commented 5 years ago

You can try to purge automathemely, after reinstall with sudo dpkg -i command. If you install with gdebi, path of autothscheduler.py file is incorrectly added to startup applications. I think it's because gdebi uses pkexec. Therefore, postinstall file in the package not working properly.

packdir="$(sudo -u ${SUDO_USER} python3 -m pip show automathemely | grep -oP "^Location: \K.*")/automathemely"

Thanks.

I installed Automathemely on a different machine today, running Linux Mint Cinnamon too.

I ran: sudo dpkg -i python3.6-automathemely_1.3_all.deb

This would not install dependencies automatically. After I installed them, I ran the command again and it worked, but no automathemely icon. After reboot, icon is there.

Unfortunately problem is still there, "desktop" drop down menu is still greyed out.

Also Automathemely is indeed added to startup applications. Is that not supposed to happen?

kelebek333 commented 5 years ago

You can use gdebi from terminal instead of dpkg. In this way, dependencies are installed automatically.

sudo gdebi python3.6-automathemely_1.3_all.deb

You can use to Cblack for auto switch the window borders theme. It is able to auto switch according to dark and bright theme.

You can try to edit configuration file for Desktop themes. Open conf file following command.

xed ~/.config/automathemely/user_settings.json

Find the following sections in the opened file.

        "cinnamon": {
            "light": {
                "gtk": "Mint-Y",
                "desktop": "",
                "icons": "Mint-Y"
            },
            "dark": {
                "gtk": "Mint-Y-Dark",
                "desktop": "",
                "icons": "Mint-Y-Dark"

Edit desktop part according to the theme you are using. For example as follows.

        "cinnamon": {
            "light": {
                "gtk": "Mint-Y",
                "desktop": "Mint-Y",
                "icons": "Mint-Y"
            },
            "dark": {
                "gtk": "Mint-Y-Dark",
                "desktop": "Mint-Y-Dark",
                "icons": "Mint-Y-Dark"