QjackCtl-44.1k-256-3

QjackCtl-44.1k-256-3

/home/ユーザー名/.config/QjackCt/QjackCtl-44-1k.sh

内容

*************************************以下

[Desktop Entry]
Version=1.0
Type=Application
Name=QjackCtl-44.1k
Comment=
Exec=/home/ユーザー名/.config/QjackCt/QjackCtl-44-1k.sh
Icon=/usr/share/icons/hicolor/32x32/apps/qjackctl.png
Terminal=false
Name[ja_JP]=QjackCtl-44.1k-256-3

*******************************************

/home/ユーザー名/.config/QjackCt/QjackCtl-44-1k.sh

内容

****************

#!/bin/sh
ln -fs /home/ユーザー名/.config/rncbc.org/QjackCtl-44-1k.conf /home/ユーザー名/.config/rncbc.org/QjackCtl.conf
/usr/bin/qjackctl

****************

これはQjackCtlを起動で44.1k-256-3に設定でQjackCtlを終了で

/home/ユーザー名/.config/rncbc.org/QjackCtl.confをリネイムでQjackCtl-44-1k.confにする

QjackCtl-48k-256-3

QjackCtl-96k-512-3

QjackCtl-192k-1k-3

QjackCtl-352.8k-2k-3

QjackCtl-384k-2k-3も同様に作業

 

 

gladishの最短な設定方法

gladishの最短な設定方法

44k-1k-3で多数のplayerを登録で音声が出るようにしてhoge-44k-1k-3と言う名称でセーブ

で下記のファイルが自動で出来ている

 

設定の保存ディレクト

/home/ユーザー名/.ladish/studios/hoge-44k-1k-3.xml

内容

****************************************下記

<?xml version="1.0"?>
<!--
ladish Studio configuration.
-->
<!-- Thu Apr 2 11:43:39 2020 -->
<studio>
<jack>
<conf>
<parameter path="/engine/driver">alsa</parameter>
<parameter path="/engine/realtime">true</parameter>
<parameter path="/engine/realtime-priority">89</parameter>
<parameter path="/engine/verbose">false</parameter>
<parameter path="/engine/client-timeout">500</parameter>
<parameter path="/engine/port-max">128</parameter>
<parameter path="/driver/device">hw:0</parameter>
<parameter path="/driver/capture">hw:0</parameter>
<parameter path="/driver/playback">hw:0</parameter>
<parameter path="/driver/rate">44100</parameter>
<parameter path="/driver/period">1024</parameter>
<parameter path="/driver/nperiods">3</parameter>
<parameter path="/driver/hwmon">false</parameter>
<parameter path="/driver/hwmeter">false</parameter>
<parameter path="/driver/duplex">true</parameter>
<parameter path="/driver/softmode">false</parameter>
<parameter path="/driver/monitor">false</parameter>
<parameter path="/driver/dither">n</parameter>
<parameter path="/driver/shorts">false</parameter>
<parameter path="/internals/audioadapter/rate">44100</parameter>
<parameter path="/internals/audioadapter/periodsize">1024</parameter>
<parameter path="/internals/audioadapter/nperiods">3</parameter>
</conf>

以下略

*******************************

このファイルをcopyしてリネイムでhoge-48k-1k-3.xmlにして赤字部分を修正する

192kまでのplayerはhoge-352.8k-1k-3.xmlなどでは削除する

 

/etc/modprobe.d/alsa-base.conf

/etc/modprobe.d/alsa-base.conf

これにしなくて下記にした模様

/etc/modprobe.d/alsa.conf

# Alsa kernel modules' configuration file.
################################################
options snd slots=snd_usb_audio,snd_hda_intel,snd_hda_intel
options snd_usb_audio index=0
options snd_hda_intel index=1
options snd_hda_intel index=2

#################################################

Kona5 起動時に Numlock を有効化 - ArchWiki

起動時に Numlock を有効化 - ArchWiki

https://wiki.archlinux.jp/index.php/%E8%B5%B7%E5%8B%95%E6%99%82%E3%81%AB_Numlock_%E3%82%92%E6%9C%89%E5%8A%B9%E5%8C%96

********************************

あっているのか不明だが

synapticで numlockx をinstall

https://wiki.archlinux.jp/index.php/LightDM#NumLock_.E3.82.92_ON_.E3.81.AB.E3.81.99.E3.82.8B

より

/etc/lightdm/lightdm.conf   の

[Seat:*]   の下段に
greeter-setup-script=/usr/bin/numlockx on

を追加で保存でPCを再起動で有効に成った numlockx をinstallは不要のような気がするがどうなのかは不明 調べる気がしない

コマンドを見るとnumlockx をinstallは必要!!!! 

****************************************

KLUE3

ログアウト

lxde-logout

/usr/share/icons/gnome/48x48/actions/gnome-logout.png

******************************************

PulseAudioの設定

/etc/kona/pulseset.sh

/usr/share/pixmaps/sonata.png

******************************************

 

 

 

 

 

 

 

 

サウンドの設定 kona5

サウンドの設定

/etc/kona/soundset.sh

/usr/share/applications/soundset.desktop

/usr/share/icons/gnome/scalable/emblems/emblem-music-symbolic.svg

******************************

#!/bin/bash
sdsystem="pulse!alsa"
accelators="normal!wide!deep"
resolves="10!20!25!50!100"
#
system0="$(cat /etc/kona/soundsystem)"
accel="$(cat /etc/kona/accelator)"
resolve="$(cat /etc/kona/timeslice)"
if [ -f /etc/kona/mpdstart ]; then
mpdstart="TRUE"
else
mpdstart="FALSE"
fi
listunits=$(systemctl list-unit-files|grep -e upmpdcli.service -e ssh.service)
if [ ! -z "$(echo $listunits|grep upmpdcli.service|grep enable)" ]; then
upmpdcli0="TRUE"
else
upmpdcli0="FALSE"
fi
if [ -f /lib/systemd/system/bubbleupnpserver.service ]; then
bubbleupnp0="TRUE"
else
bubbleupnp0="FALSE"
fi
if [ ! -z "$(echo $listunits|grep ssh.service|grep enable)" ]; then
ssh0="TRUE"
else
ssh0="FALSE"
fi
if [ -f /etc/kona/autoinitmem ]; then
autoim="TRUE"
else
autoim="FALSE"
fi
if [ -f /etc/kona/noipv6 ]; then
noipv6="TRUE"
else
noipv6="FALSE"
fi
if [ -f /etc/kona/stopcups ]; then
cupsstop="TRUE"
else
cupsstop="FALSE"
fi
ret=$(yad --form --center --no-wrap --title="サウンドの設定" --image="/usr/share/icons/Adwaita/32x32/emblems/emblem-music-symbolic.symbolic.png" --text="サウンドを設定します\n\n音響特性:システムや音源に最適なものを選択します\n normal ... 奥行きがあり響きが良い音(推奨)\n wide ... 広がりのある音\n deep ... 奥行きのある音\n" --field="サウンド・システム:CB" --field="音響特性:CB" --field="音の解像度:CB" --field="mpdを起動する:CHK" --field="upmpdcliを起動する:CHK" --field="bubbleupnpserverを起動する:CHK" --field="sshサーバーを起動する:CHK" --field="メモリーリフレッシュを定期的に行う(推奨):CHK" --field="ipv6は使用しない(推奨:音質が向上):CHK" --field="cups(印刷)を停止する(推奨:音質が向上):CHK" --button="キャンセル(_C):1" --button="OK(_O):0" "$system0!$sdsystem" "$accel!$accelators" "$resolve!$resolves" "$mpdstart" "$upmpdcli0" "$bubbleupnp0" "$ssh0" "$autoim" "$noipv6" "$cupsstop")
rcd="$?"
if [ "$rcd" = "0" ]; then
soundsystem=$(echo $ret|cut -d'|' -f1)
if [ "$soundsystem" != "$system0" ] && [ "$soundsystem" = "alsa" ]; then
zenity --warning --text="$soundsystemはDSDを再生するとき以外は使用しないでください" --no-wrap
fi
accelator=$(echo $ret|cut -d'|' -f2)
resolve=$(echo $ret|cut -d'|' -f3)
mpd=$(echo $ret|cut -d'|' -f4)
upmpdcli=$(echo $ret|cut -d'|' -f5)
bubbleupnp=$(echo $ret|cut -d'|' -f6)
ssh=$(echo $ret|cut -d'|' -f7)
autoim=$(echo $ret|cut -d'|' -f8)
noipv6=$(echo $ret|cut -d'|' -f9)
cupsstop=$(echo $ret|cut -d'|' -f10)
echo "$soundsystem" > /etc/kona/soundsystem
echo "$accelator" > /etc/kona/accelator
echo "$resolve" > /etc/kona/timeslice
if [ "$mpd" = "TRUE" ]; then
touch /etc/kona/mpdstart
else
rm -f /etc/kona/mpdstart
fi
if [ "$upmpdcli" != "$upmpdcli0" ]; then
if [ "$upmpdcli" = "TRUE" ]; then
gksudo systemctl enable upmpdcli.service
else
gksudo systemctl disable upmpdcli.service
fi
fi
if [ "$bubbleupnp" != "$bubbleupnp0" ]; then
if [ "$bubbleupnp" = "TRUE" ]; then
gksudo mv /usr/local/etc/kona/bubbleupnpserver.service /lib/systemd/system
else
gksudo mv /lib/systemd/system/bubbleupnpserver.service /usr/local/etc/kona
fi
fi
if [ "$ssh" != "$ssh0" ]; then
if [ "$ssh" = "TRUE" ]; then
gksudo systemctl enable ssh.service
else
gksudo systemctl disable ssh.service
fi
fi
if [ "$autoim" = "TRUE" ]; then
touch /etc/kona/autoinitmem
else
rm -f /etc/kona/autoinitmem
fi
if [ "$noipv6" = "TRUE" ]; then
touch /etc/kona/noipv6
echo 768 > /etc/kona/mtu
else
rm -f /etc/kona/noipv6
echo 1280 > /etc/kona/mtu
fi
if [ "$cupsstop" = "TRUE" ]; then
touch /etc/kona/stopcups
else
rm -f /etc/kona/stopcups
fi
zenity --info --title="サウンドの設定" --text="サウンドを設定しました\nシステムを再起動すると有効になります。" --no-wrap
elif [ "$rcd" = "2" ]; then
zenity --info --title="サウンドの設定" --text="メモリーをリフレッシュする前にプレイヤーを終了し\nリフレッシュ後に再起動すると効果的です。" --no-wrap
/etc/kona/initmem.sh
zenity --info --title="サウンドの設定" --text="メモリーをリフレッシュしました(ただちに反映)" --no-wrap
fi

****************

yad はDebian10の時にはsynapticで追加したような気がする

 

 

Icon Browser     Debian9系

Icon Browser

yad-icon-browser

/usr/share/icons/hicolor/48x48/apps/yad.png

***************

Caja

caja --no-desktop --browser %U

/usr/share/icons/mate/48x48/apps/system-file-manager.png

****************

gksudo caja

gksudo caja

/usr/share/icons/mate/48x48/apps/system-file-manager.png

****************

MATE システムモニター

mate-system-monitor

/usr/share/icons/mate/48x48/apps/utilities-system-monitor.png

*********************

synaptic-pkexec