SSブログ

plamo linux + mpd cantata fvwm 2020 [slackware,puppy系]

plamo linux + mpd cantata fvwm   2020
あいもかわらずlinuxであそんでいます。

今回の私(satou)のパソコン環境   os  plamo linux   fvwmウインドーマネージャー
CPU: Intel i7-7700K (8) @ 4.500GHz
GPU: NVIDIA GeForce GT 730
moniter HDMI接続


plamo-7.2_x86_64_2019-09-09_usb.iso


わたしの前回の記事も参照されたし




adduser
ーーーーlxde、fcitx を選択してすすんだ。



removepkg uim

fcitxの設定
素の設定ではusキーボードになっています。
日本語キーボードになおす。


update
get_pkginfo -a -d
readline-8.0.1-x86_64-B1.txz errorでとまる。

get_pkginfo -i -d
readline7-7.0.5-x86_64-B1.txz  に更新する yes
ctrl + c 強制終了、そして再開。
get_pkginfo -a -d


/home/satou/.config/openbox/lxde-rc.xml  編集 scrot インストール必須
306行目
<action name="Execute"><command>scrot '%Y-%m-%d-%T_$wx$h_scrot.jpg' -e 'mv $f /home/satou/Pictures'</command></action>

installpkg nano-2.6.0-x86_64-1.txz
sudo ln -s /usr/lib/libncursesw.so /usr/lib/libncursesw.so.5

nano /etc/sudoers
satou ALL=(ALL) ALL

設定終了

以下改悪
mpd cantata fvwm のインストール。




mpd 依存関係アプリ
libupnp-1.6.20-x86_64-1sl.txz
libmpdclient-2.9-x86_64-1alien.tgz
yajl-2.1.0-x86_64-1dj.txz
libmikmod-3.3.8-x86_64-1dj.txz
wavpack-4.75.2-x86_64-1.txz
libmpcdec-1.2.6-x86_64-1sl.txz
libmms-0.6.4-x86_64-2_microlinux.txz
bzip2-1.0.8-x86_64-1.txz 注 removepkgはしないこと、更新 rm /var/log/packages/bzip2を削除してから。
libshout-2.3.1-x86_64-1ponce.txz
libid3tag-0.15.1b-x86_64-4.txz
twolame-0.3.13-x86_64-1ponce.txz




mpd install
https://github.com/MusicPlayerDaemon/MPD/releases/tag/v0.21.20
mkdir /home/satou/Music
mkdir /home/satou/ダウンロード/mpd
cd /home/satou/ダウンロード/mpd
$ unzip /home/satou/ダウンロード/MPD-0.21.20.zip
cd /home/satou/ダウンロード/mpd/MPD-0.21.20
$ meson . output/release --buildtype=debugoptimized -Db_ndebug=true
$ meson configure output/release
$ ninja -C output/release
$ sudo ninja -C output/release install


cantata 2.3.3 のインストール
https://linux.softpedia.com/get/Multimedia/Audio/Cantata-88767.shtml

mkdir /home/satou/ダウンロード/cantata
cd /home/satou/ダウンロード/cantata
tar xf /home/satou/ダウンロード/cantata-2.3.3.tar.bz2

cd /home/satou/ダウンロード/cantata/cantata-2.3.3
mkdir build
cd build
cmake ..
make
sudo make install
cantata


ubuntu studio19.10 + mpd + cantata参照されたし

ifconfig
nano /usr/local/etc/mpd.conf  私(satou)の場合
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
music_directory    "/home/satou/Music"

playlist_directory    "/home/satou/.mpd/playlists"
db_file        "/home/satou/.mpd/tag_cache"
log_file        "/home/satou/.mpd/mpd.log"
pid_file        "/home/satou/.mpd/pid"
state_file        "/home/satou/.mpd/state"

group                "audio"

port                "6600"
bind_to_address "192.168.2.111"

input {
        plugin "curl"
#       proxy "proxy.isp.com:8080"
#       proxy_user "user"
#       proxy_password "password"
}

audio_output {
    type        "alsa"
    name        "My ALSA Device"
    device        "hw:0,0"    # optional
    mixer_type      "hardware"    # optional
    mixer_device    "default"    # optional
    mixer_control    "PCM"        # optional
    mixer_index    "0"        # optional
}

filesystem_charset        "UTF-8"
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
mkdir /home/satou/.mpd   新規作成
mkdir /home/satou/.mpd/playlists   新規作成(空白)
nano /home/satou/.mpd/pid   新規作成(空白) 


sudo groupadd mpd
sudo gpasswd -a satou mpd

ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
fvwm のインストール
fvwmは、austrumi 4.1.6 linuxが参考になります。

installpkg /home/satou/ダウンロード/fvwm-2.6.9-x86_64-2.txz
installpkg hsetroot-1.0.2-x86_64-2_slonly.txz

fvwm の設定

nano /usr/share/xsessions/fvwm.desktop  新規作成
[Desktop Entry]
Name=fvwm
Comment=Log in using the fvwm window manager (without a session manager)
Exec=/usr/bin/fvwm
TryExec=/usr/bin/fvwm
Icon=fvwm
Type=Application

アイコンの準備とか
mkdir /home/satou/.fvwm
mkdir /home/satou/Pictures
cp -r /usr/share/fvwm/default-config /home/satou/.fvwm/
cp /usr/share/icons/elementary-xfce/apps/22/utilities-terminal.svg /home/satou/.fvwm/images/icons/lxterminal.svg
cp /usr/share/icons/elementary-xfce/apps/24/system-file-manager.svg /home/satou/.fvwm/images/icons/pcmanfm.svg
cp /usr/share/icons/elementary-xfce/apps/24/firefox.png /home/satou/.fvwm/images/icons/firefox.png
cp /usr/local/share/icons/hicolor/24x24/apps/cantata.png /home/satou/.fvwm/images/icons/cantata.png
cp /usr/share/fvwm/FvwmScript-Quit /home/satou/.fvwm/
背景画像の用意
cp /-------  /home/satou/.fvwm/images/background/--------.jpg
nano /home/satou/.fvwm/FvwmScript-Quit  編集
88行目
Do {Exec lxsession-logout}
94行目
Do {Exec lxsession-logout}

fvwm メニューの設定
nano /home/satou/.fvwm/config  編集以下わたしの(satou)の場合
56行目から
AddToFunc StartFunction
+ I Exec exec xrandr -s 1360x768 &
+ I Exec exec sleep 8
+ I Exec exec fcitx -d &
+ I Exec exec mpd &
+ I Exec exec hsetroot -fill /home/satou/.fvwm/background/Kinkaku_Ji_by_Elizabeth_K_Joseph.jpg
+ I Module FvwmButtons RightPanel

290行目付近
+ "&firefox%/home/satou/.fvwm/images/icons/firefox.png%" Exec exec firefox
+ "&pcmanfm%/home/satou/.fvwm/images/icons/pcmanfm.svg%" Exec exec pcmanfm
+ "&lxterminal%/home/satou/.fvwm/images/icons/lxterminal.svg%" Exec exec lxterminal
+ "&cantata%/home/satou/.fvwm/images/icons/cantata.png%" Exec exec cantata
xtermの行は削除
304行目付近
+ "&Quit%icons/quit.png%" Module FvwmScript FvwmScript-Quit

474行目付近
Key F4 A M Close
Key Print A N exec scrot '%Y-%m-%d-%T_$wx$h_scrot.jpg' -e 'mv $f /home/satou/Pictures'


plamo linux 7.2 は、外見あまり変わっていません。あいかわらず快適にうごきます。


以下参考画像
2020-03-15-145003_1360x768_scrot.jpg
fvwmの画像

2020-03-15-09:18:04_1024x768_scrot.jpg
fcitxの画像
2020-03-15-14:34:43_0x3c00001x768_scrot.jpg
Quitの画像

2020-03-15-13:51:26_0xe00003x768_scrot.jpg
neofetchの画像

2020-03-15-12:55:14_0x2400003x768_scrot.jpg
バイリンガル姉妹
三女のyukiちゃんは目が離せません。 
カメラマン?お母さんのyukiちゃんへのコメント(吹き出し)もおもしろい。



















nice!(0)  コメント(0) 
共通テーマ:パソコン・インターネット