... | @@ -67,6 +67,8 @@ Not available out-of-the-box. Can be tweaked by using GNOME Tweaks app and set a |
... | @@ -67,6 +67,8 @@ Not available out-of-the-box. Can be tweaked by using GNOME Tweaks app and set a |
|
|
|
|
|
Alternatively, use [gsettings](http://manpages.ubuntu.com/manpages/trusty/man1/gsettings.1.html): `gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"`
|
|
Alternatively, use [gsettings](http://manpages.ubuntu.com/manpages/trusty/man1/gsettings.1.html): `gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"`
|
|
|
|
|
|
|
|
UPDATE: See detailed tutorial below.
|
|
|
|
|
|
### Firewall
|
|
### Firewall
|
|
|
|
|
|
To enable [ufw](https://en.wikipedia.org/wiki/Uncomplicated_Firewall) (**u**ncomplicated **f**ire**w**all), open terminal and enter `sudo ufw status` and if it's not yet enabled, enter `sudo ufw enable`. The default is usually all you need, but you have the options of adding additional rules. Use `sudo ufw disable` to disable the firewall. To call up a graphical interface inside the terminal, first install gufw and install x11-xserver-utils. Next type the following command: `DISPLAY=:0 xhost +` and hit enter, resulting in: `access control disabled, clients can connect from any host`.\
|
|
To enable [ufw](https://en.wikipedia.org/wiki/Uncomplicated_Firewall) (**u**ncomplicated **f**ire**w**all), open terminal and enter `sudo ufw status` and if it's not yet enabled, enter `sudo ufw enable`. The default is usually all you need, but you have the options of adding additional rules. Use `sudo ufw disable` to disable the firewall. To call up a graphical interface inside the terminal, first install gufw and install x11-xserver-utils. Next type the following command: `DISPLAY=:0 xhost +` and hit enter, resulting in: `access control disabled, clients can connect from any host`.\
|
... | @@ -591,3 +593,21 @@ The above automates opening the terminal, running the command, and also saves th |
... | @@ -591,3 +593,21 @@ The above automates opening the terminal, running the command, and also saves th |
|
At this point, either view the output in the terminal opened by the launcher, or close the terminal and view the text file instead.
|
|
At this point, either view the output in the terminal opened by the launcher, or close the terminal and view the text file instead.
|
|
|
|
|
|
For another example, see how to create a launcher to [quick-dial a frequent telephone number](https://forums.puri.sm/t/howto-make-a-quickdial-button/12560).
|
|
For another example, see how to create a launcher to [quick-dial a frequent telephone number](https://forums.puri.sm/t/howto-make-a-quickdial-button/12560).
|
|
|
|
|
|
|
|
### Enable Adwaita-dark theme using `GNOME Tweaks`
|
|
|
|
|
|
|
|
A convenient way to enable dark mode:
|
|
|
|
|
|
|
|
Find and install `Adwaita dark GTK theme` from the PureOS software app.
|
|
|
|
|
|
|
|
Find and install `GNOME Tweaks`. `Tweaks` doesn’t (currently) fit the screen unless you run this:
|
|
|
|
`gsettings set sm.puri.phoc.application:/sm/puri/phoc/application/org-gnome-tweaks/ scale-to-fit true`
|
|
|
|
|
|
|
|
The above command should work with any GNOME app that needs permanent scaling down; just change the package name as applicable. Use `...scale-to-fit false` to turn it off again.
|
|
|
|
|
|
|
|
Alternatively, you can use the Displays sub-menu in the Librem 5’s Settings app to scale to different resolutions on an _ad hoc_ basis.
|
|
|
|
|
|
|
|
Tap the `Tweaks` app icon. Only landscape view is completely usable (currently)…and the text will be tiny; activate Adwaita-dark in the Themes sub-menu.
|
|
|
|
|
|
|
|
GNOME apps will now display in dark mode. To revert to Adwaita (light theme), select it in the Tweaks app.
|
|
|
|
|