Kona5 起動時に Numlock を有効化 - ArchWiki
起動時に Numlock を有効化 - ArchWiki
********************************
あっているのか不明だが
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
sudo dpkg --configure -a
sudo dpkg --configure -a
Debian10のsources.list
Debian10 MATEにLXDE追加
/etc/apt/sources.list
# See https://wiki.debian.org/SourcesList for more information.
######deb http://deb.debian.org/debian buster main
######deb-src http://deb.debian.org/debian buster main
######deb http://deb.debian.org/debian buster-updates main
######deb-src http://deb.debian.org/debian buster-updates main
######deb http://security.debian.org/debian-security/ buster/updates main
######deb-src http://security.debian.org/debian-security/ buster/updates main
#
# deb cdrom:[Debian GNU/Linux 10.0.0 _Buster_ - Official amd64 NETINST 20190706-10:23]/ buster main
# deb cdrom:[Debian GNU/Linux 10.0.0 _Buster_ - Official amd64 NETINST 20190706-10:23]/ buster main
deb http://ftp.jp.debian.org/debian/ buster main contrib non-free
deb http://ftp.jp.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.jp.debian.org/debian/ buster main contrib
deb http://security.debian.org/debian-security buster/updates main contrib
deb-src http://security.debian.org/debian-security buster/updates main contrib
# buster-updates, previously known as 'volatile'
deb http://ftp.jp.debian.org/debian/ buster-updates main contrib
deb-src http://ftp.jp.debian.org/debian/ buster-updates main contrib
# buster-backports, previously on backports.debian.org
deb http://ftp.jp.debian.org/debian/ buster-backports main
deb-src http://ftp.jp.debian.org/debian/ buster-backports main
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
*****************************************************
/etc/apt/sources.list.dで
konalinux.list
deb http://simosnet.com/debian/packages/Konalinux/debian/5.0/ ./
******************************************************
上記ならQupZillaがOK
******************************************************
Debian10 MATE のみでは下記
/etc/apt/sources.list
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main
deb http://deb.debian.org/debian buster-updates main
deb-src http://deb.debian.org/debian buster-updates main
deb http://security.debian.org/debian-security/ buster/updates main
deb-src http://security.debian.org/debian-security/ buster/updates main
*****************************************************
Kona5 LXDE
/etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 10.0.0 _Buster_ - Official amd64 NETINST 20190706-10:23]/ buster main
# deb cdrom:[Debian GNU/Linux 10.0.0 _Buster_ - Official amd64 NETINST 20190706-10:23]/ buster main
deb http://ftp.jp.debian.org/debian/ buster main contrib non-free
#deb http://ftp.jp.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.jp.debian.org/debian/ buster main contrib
deb http://security.debian.org/debian-security buster/updates main contrib
deb-src http://security.debian.org/debian-security buster/updates main contrib
# buster-updates, previously known as 'volatile'
deb http://ftp.jp.debian.org/debian/ buster-updates main contrib
deb-src http://ftp.jp.debian.org/debian/ buster-updates main contrib
# buster-backports, previously on backports.debian.org
deb http://ftp.jp.debian.org/debian/ buster-backports main
deb-src http://ftp.jp.debian.org/debian/ buster-backports main
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
**************************************************************
/etc/apt/sources.list.dで
konalinux.list
deb http://simosnet.com/debian/packages/Konalinux/debian/5.0/ ./
雑記 日記帳 USB-DACでalsaとpulseとjackとトリのVerとweb browser
USB-DACでalsaとpulseとjackとトリのVerとweb browserでYoutube
まずUSB-DACが一番最初の順番に成る作業をする、pulseaudio完全削除でqjackctlを起動しない時にalsaで音を出す為に。
Debian10ではpulseaudio完全削除でjackでFirefox esrでYoutubeが行けるのかも?
Debian9ではpulseaudio完全削除でjackでFirefox esrでYoutubeが行けない
qjackctlを終了してalsaでFirefox esrを起動する
***********************************
Debian10でbuild環境を整えJDimをbuildした、リポのVerが0.1でしたが、これで0.2に成ったが相変わらず5chがNG。
libflashsupport.soをbuildで作って入れた。効果は不明。無くても行けていた気がする。
**********************************
User Agent Switcher
Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
**********************************
brave
https://brave-browser.readthedocs.io/en/latest/installing-brave.html#linux
***********************************
:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DMI [8086:d131] (rev 11)
雑記 日記帳 USB DACを一番最初の順番
USB DACを一番最初の順番にする作業が必要、pulseaudioを完全削除でalsaでweb browserで音声を出す為には。
$ cat /proc/asound/cards
$ cat /proc/asound/modules <ーーコマンドを端末に打ち込みで確認
0 snd_usb_audio <ーーこれ!!!!
1 snd_hda_intel
2 snd_hda_intel
端末で
$ cat /proc/asound/modules
0 snd_hda_intel
1 snd_hda_intel
2 snd_usb_audio
起動の度毎にUSBの認識の順番が違いますが、今回起動では2
qjackctlを起動で 設定>設定>インターフェース で ▼をクリッックで(既定)を変えて
hw:al384ds al384ds(hw:2) に設定で > OK をクリック
----------------------------------
qjackctlを終了してから
gladishを起動で
Tools> Configure JACK >JACK driver で device で右側をクリックで▼が表示で
▼をクリッックで hw:al384ds - al384ds を選択して
hw:al384ds にする。<ーーー重要!!!!! 所謂”俺環境”の影響かも?
playback は、device の設定をコピーします。つまり hw:al384ds にする。
JACK "audioadapter" は、JACK driver と同じ値を入れます。 の作業。で
PCを再起動
設定を変えたら認識するまでに時間が掛かるのか?不明。
リアルタイムkernel 4.9.0-klue でも192kHzで
外部Playerをaudaciousに設定のstreamtuner2で行けました。
* * * * * *
$ cat /proc/asound/cards <ーーコマンドを端末に打ち込みで確認
参考 下記
cobo's room on the blog Ubuntuサウンドデバイス認識順の固定化
http://cobo4u.blog87.fc2.com/blog-entry-237.html
ここまで//
*****************
デフォルトでpulseaudioインストール済みなら削除しない方がUSB-DACで音声を出すのはpulseaudio完全削除かkillした物よりも簡単。
普通のkernel或いはローレイテンシkernelならUSB-DACで音声を出すのはリアルタイムkernelよりも簡単。
グラボ無しPCならUSB-DACで音声を出すのはグラボ付きPCよりも簡単。
グラボ付きPCでリアルタイムkernelでpulseaudio完全削除かkillしたOSでUSB-DACで音声を出すのは困難。 こうだったのか????忘れている。もう疲れたのでDebian10は程々で切り上げる。
pulseaudio完全削除
普通のkernel グラボ付きPC
JDimがDebian10では5chがNG、Debian9ではOKだったのに。諦めた。Debian9はバックポートリポ追加だったような気がする、Debian10ではデフォで有った、リポを弄ったのか覚えていない。
deadbeefにjack.soを/optの何処かに追加 tar展開で出て来る物を落とす。
************************
忘れていたので追加 2021-11-01
/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
###########################################################################