texadactyl / rpi_clock

Raspberry Pi Clock & Weather display
GNU General Public License v3.0
13 stars 8 forks source link

How do you close it? #1

Closed youanan closed 6 years ago

youanan commented 6 years ago

Hi! I very like this code, but, some times, I want display my desktop,How do you close it?

only: Go Back, Reboot, Shutdown,

texadactyl commented 6 years ago

Thank you for your interest.

Personally, I had no interest in showing the desktop. My device sits in my TV room and serves as a clock / weather display. I rarely interact with the device other than looking at it.

However, it would not be difficult to add an additional button to exit to the desktop if you want that option. See the talk_to_operator procedure, around source line 165. Note that adding a 4th button would probably cause you to adjust the sizes of objects (real estate issue). I'd have readability concerns too.

Alternatively, you could replace one of the existing button functions.

texadactyl commented 6 years ago

By the way, I overkilled by installing Raspbian Stretch full. I could have installed only the minimum command line Raspbian Stretch and just enough xorg to support the Tk GUI. Anyways, you and I seem to have slightly different requirements in deployment.

youanan commented 6 years ago

@texadactyl thank you! you are right!

texadactyl commented 5 years ago

@youanan - I added improved desktop support as one of the parameters in a configuration file (new). This new feature works fine on desktops.