|
2 months ago | |
---|---|---|
.twm | 4 years ago | |
Menu | 2 years ago | |
awesome | 4 years ago | |
skin | 3 years ago | |
sys.py | 2 months ago | |
.cpirc | 3 years ago | |
.gitignore | 3 years ago | |
.gitmodules | 3 years ago | |
.twmrc | 4 years ago | |
.xinitrc | 2 months ago | |
.xorg.conf | 4 years ago | |
.xorg_lima.conf | 4 years ago | |
LICENSE | 3 years ago | |
README.md | 2 years ago | |
aria2.conf | 3 years ago | |
aria2c | 1 year ago | |
bluetooth_firmware.sh | 3 years ago | |
dwm-mod | 4 years ago | |
launcher.sublime-project | 3 years ago | |
load.sh | 3 years ago | |
requirements.txt | 3 years ago | |
update.sh | 3 years ago |
This is the launcher for GameShell based on 320x240 resolution and D-Pad layout.
Group ID: 31415 with group name: cpifav
sudo adduser cpi
sudo groupadd cpifav -g 31415
sudo adduser cpi cpifav
/home/cpi/
├── apps
│ ├── emulators
│ └── launcher <-Here we are
│ ├── Menu
│ ├── sys.py
│ └── truetype
├── games
│ ├── FreeDM
│ ├── MAME
│ └── nxengine
└── music
mkdir -p /home/cpi/apps/emulators
mkdir -p /home/cpi/games
mkdir -p /home/cpi/music
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 beeprint
mkvirtualenv launcher
pip install -r requirements.txt
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"