from https://forums.freebsd.org/threads/how-to-stop-laptop-from-sleeping-when-lid-is-closed.37822/
Check the value from sysctl hw.acpi.lid_switch_state
ex it's S3
| set ( GNUSTEP_FOUND True ) | |
| enable_language( OBJC ) | |
| ## | |
| # | |
| # gnustep-config --objc-flags | |
| # |
from https://forums.freebsd.org/threads/how-to-stop-laptop-from-sleeping-when-lid-is-closed.37822/
Check the value from sysctl hw.acpi.lid_switch_state
ex it's S3
| /# Get release at https://github.com/peppermintos/ice/releases/tag/v6.0.8 | |
| tar xvzf ice-6.0.8.tar.gz | |
| cd ice-6.0.8 | |
| sudo cp usr/bin/ice /usr/bin/ice | |
| sudo cp usr/bin/ice /usr/bin/ice-firefox | |
| sudo mkdir -p /usr/lib/peppermint/ice | |
| sudo cp usr/lib/peppermint/ice/ice.glade /usr/lib/peppermint/ice/ice.glade | |
| sudo cp usr/lib/peppermint/ice/places.sqlite /usr/lib/peppermint/ice/places.sqlite |
| install kde on rpi400: | |
| https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit | |
| make a disk for Raspberry Pi OS Lite | |
| sudo apt update | |
| sudo apt upgrade | |
| sudo apt dist-upgrade |
| desktop2app | |
| sudo cp ./debian.img /compat | |
| catlock -t wallpaper -p 420420 | |
| zsh wallpaper/copy.sh ~/Pictures/MyWallpaper.jpg 1366 768 | |
| mkdir -p ~/.local/share/catlock/themes | |
| convert th.png MyWallpaper.jpg |
| #!/bin/bash | |
| ## Script to install the newest available version of GNUstep on Debian stable (bullseye) | |
| # Show prompt function | |
| function showPrompt() | |
| { | |
| if [ "$PROMPT" = true ] ; then | |
| echo -e "\n\n" | |
| read -p "${GREEN}Press enter to continue...${NC}" |
| # /usr/local/etc/pkg/repos/Local.conf | |
| Poudriere: { | |
| url: "file:///usr/local/poudriere/data/packages/main-default" | |
| } | |
| FreeBSD: { | |
| enabled: no | |
| } |
git clone https://github.com/AppleDesignResources/SanFranciscoFont
cp -rf ~/SanFranciscoFont ~/.fonts
defaults write NSGlobalDomain NSFont SanFranciscoDisplay-Regular
defaults write NSGlobalDomain NSFontSize 14
defaults write NSGlobalDomain NSBoldFont SanFranciscoDisplay-Bold
defaults write NSGlobalDomain NSBoldFontSize 14
defaults write NSGlobalDomain NSLabelFont SanFranciscoDisplay-Regular
defaults write NSGlobalDomain NSLabelFontSize 14
| #import <GL/gl.h> | |
| #import <SDL2/SDL.h> | |
| /* | |
| * OpenGL Loader | |
| */ | |
| typedef struct OpenGL OpenGL; | |
| extern OpenGL gl; | |
| OpenGL gl; |