mirror of
https://github.com/clockworkpi/launcher.git
synced 2026-03-19 02:12:38 +01:00
db5408d198b63a90e04f782f5829fe350a91f270
* Revert "Respond to user requests (#35)" This reverts commitdc1b7e007c. * Revert "image text" This reverts commit968db78adb. * Revert "add restore in POWEROPT event" This reverts commit88523224de. * Revert "off to OFF" This reverts commit586aa75ae4. * Revert "text fix" This reverts commit8e3a90589a. * Revert "ignore powerlevel" This reverts commit164b55fb4b. * Revert "switch smalltext" This reverts commit01a5f2ef9a. * Revert "text fix" This reverts commite03a9da323. * Revert "text fix" This reverts commitb5603bcf7c. * Revert "sudo rfkill" This reverts commit2bbeba5665. * Revert "InspectionTeam" This reverts commit3db3b0e8b3. * Revert "move back CurKeySet" This reverts commit10f7e35e2e. * Revert "rm png" This reverts commitbfdb83683a. * Revert "airplane mode with animation" This reverts commit6e19ad88a7. * Revert "add detail on power mode" This reverts commitd66a0df823. * Revert "add PowerLevel options" This reverts commit36c54a4f9d. * Revert "TitleBar show airplane mode icon" This reverts commit74e7f8ab69. * Revert "Toggle AirPlane Mode" This reverts commit2d11df8c37. * Revert "start sheep" This reverts commit8f965b3ba5. * Revert "fix bug dosbox on rom_list_page and remove scalesmooth on sec level icons" This reverts commitb4e40d052a. * Revert "fix fav display bug on dosbox" This reverts commit40be34e30d. * Revert "add dosbox on fav" This reverts commit2cba2e5808. * Revert "add dosbox" This reverts commitbd71c64a5c. * Revert "Move back to 10_Settings" This reverts commit4acacaf736. * Revert "change load modules checking in Settings list_page" This reverts commit385b672eeb. * Revert "develop branch commit" This reverts commitf604310bb2.
GameShell launcher
This is the launcher for GameShell based on 320x240 resolution and D-Pad layout.

Create the necessary user and group
- User name: cpi
- Password: cpi
- Group ID: 31415 with group name: cpifav
sudo adduser cpi
sudo groupadd cpifav -g 31415
sudo adduser cpi cpifav
Directory structure
/home/cpi/
├── apps
│ ├── emulators
│ └── launcher <-Here we are
│ ├── Menu
│ ├── sys.py
│ └── truetype
├── games
│ ├── FreeDM
│ ├── MAME
│ └── nxengine
└── music
Create the necessary directories
mkdir -p /home/cpi/apps/emulators
mkdir -p /home/cpi/games
mkdir -p /home/cpi/music
Dependent packages
- validators, numpy, requests, python-mpd2, beeprint, python-pycurl, python-alsaaudio, python-pygame, python-gobject, python-xlib, python-wicd
- wicd (For Wi-Fi)
- mpd (For music player)
Install dependent packages
sudo apt-get -y install mpd ncmpcpp git libuser
sudo apt-get -y install python-wicd wicd wicd-curses python-pycurl python-alsaaudio python-pygame python-gobject python-xlib
sudo apt-get -y install python-pip
sudo pip install validators numpy requests python-mpd2
Create “.mpd_cpi.conf” config
vim ~/.mpd_cpi.conf
music_directory "/home/cpi/music"
playlist_directory "/home/cpi/music/playlists"
db_file "/home/cpi/music/tag_cache"
log_file "/tmp/mpd.log"
pid_file "/tmp/mpd.pid"
state_file "/home/cpi/music/mpd_state"
sticker_file "/home/cpi/music/sticker.sql"
user "cpi"
bind_to_address "/tmp/mpd.socket"
auto_update "yes"
auto_update_depth "3"
input {
plugin "curl"
}
audio_output {
type "alsa"
name "My ALSA Device"
}
audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
filesystem_charset "UTF-8"
Languages
Python
97.7%
Lua
2%
Shell
0.3%