SSブログ

freebsd11.2 + mame [その他linux,パソコン・物欲]

freebsd11.2  + mame

お仕事の方はご苦労さまです。

あいかわらずlinuxであそんでいます。

今回の私のパソコンは i7-4770K   osfreebsd11.2 jwmデスクトップ

 

 

 

 

 

FreeBSD-11.2-RELEASE-amd64-memstick.img

 

上記のものをwindows10にてwin32diskimagerを使用してusbにいれる。

私の前の記事も参照されたし。

 

 

 

 

freebsdkdeとか、gnomeとかやってみたけど次から次と不具合が出てきた。

kdegnomeなどは大量のアプリが入っているせいで不具合がでていると推測される。

それではこれらの既存のデスクトップを使わなければいいでしょう。というわけで

jwmデスクトップにしました。設定はkdeと、xfce4を参考にしました。

 

 

 

 

インストールした主なものは

pkg install jwm feh screenfetch scrot txt2tags python xdg-menu ark p7zip pulseaudio alsa-utils pcmanfm lxterminal ja-ibus-anthy japanese/libreoffice firefox mirage deadbeef smplayer anjuta fluxbox slim mame catfish leafpad firefox-i18n

 

 

そのほかにxdgmenumakerもインストールした。

 

ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー

/home/satou/.jwmを新規作成。

/home/satou/.jwmrcのルートメニューのところに以下を記入

 

<Program icon="terminal.png" label="jwm-freebsd">xdgmenumaker -n -i -f jwm > ~/.jwm/applications_menu</Program>

<Include>$HOME/.jwm/applications_menu</Include>

 

 

 

jwmの下のトレイ左端のアイコンが表示されないときは

元のアイコンを半分ぐらいに縮尺して、pngファイルとして保存する

/usr/local/share/jwm/jwm-orange.png

 

/home/satou/.jwmrcのトレイのところに以下を記入

<TrayButton icon="/usr/local/share/jwm/jwm-orange.png">root:1</TrayButton>

 

 

 

ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー

 

 

 

nvidiaドライバーも入れた。参考サイト様

 

以下私の主な設定

/etc/rc.conf

hostname="satou"

keymap="jp.kbd"

ifconfig_em0="DHCP"

ifconfig_em0_ipv6="inet6 accept_rtadv"

sshd_enable="YES"

# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable

devfs_system_ruleset="devfsrules_common"

ntpd_enable="YES"

dumpdev="AUTO"

dbus_enable="YES"

hald_enable="YES"

polkitd_enable="YES"

avahi_daemon_enable="Yes"

avahi_dnsconfd_enable="YES"

slim_enable="YES"

 

ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー

/etc/fstab

# Device Mountpoint FStype Options Dump Pass#

/dev/ada0s1a / ufs rw 1 1

/dev/ada0s1b none swap sw 0 0

proc    /proc    procfs  rw   0 0

 

ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー

/etc/sysctl.conf

# $FreeBSD: releng/11.2/etc/sysctl.conf 112200 2003-03-13 18:43:50Z mux $

#

# This file is read when going to multi-user and its contents piped thru

# ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details.

#

 

# Uncomment this to prevent users from seeing information about processes that

# are being run under another UID.

#security.bsd.see_other_uids=0

kern.ipc.shmmax=1073741824

kern.ipc.shmall=262144

kern.maxfiles=65536

vfs.usermount=1

kern.ipc.shm_allow_removed=1

 

ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー

壁紙画像を用意して下記に記入してください。

/home/satou/.xinitrc

#/usr/local/bin/bspwm

fbsetbg -f /home/satou/.fluxbox/backgrounds/1280x1024.jpg&

 

export LC_ALL=ja_JP.UTF-8

export LANGUAGE=ja_JP.UTF-8

export LANG=ja_JP.UTF-8

 

export XIM=ibus

export GTK_IM_MODULE=ibus

export QT_IM_MODULE=xim

export XMODIFIERS=@im=ibus

export XIM_PROGRAM="ibus-daemon"

export XIM_ARGS="-r --daemonize --xim"

 

setxkbmap jp

#lxpanel&

 

ibus-daemon --config=/usr/local/libexec/ibus-dconf -drx

 

exec jwm

 

ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー

 

/home/satou/.jwmrc←ダウンロード可。


 

 

現在のPackages数は 641個 おかげさまで快適に動いております。

 

mameソフトも動きます。romsの場所は一度端末で $mame64  と入力して起動すると

/home/satou/.mameフォルダが作成されます。このフォルダに入れます。

/home/satou/.mameフォルダにもう一個、 

/usr/local/share/examples/mame/mame.iniからコピーしてきて入れます。

以上で動くでしょう。

 

以下参考画像

 

2018-07-10-190956_1024x768_scrot.jpg

jwmデイスクトップ

 

 

19:26:42.jpg

screenfetchの画像

 

 

 

19:21:57.jpg

$ mame64 pengo

 

 

20:08:01.jpg

firefox

 

firefox   error

# dbus-uuidgen > /etc/machine-id

 


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

nice! 0

コメント 0

コメントを書く

お名前:
URL:
コメント:
画像認証:
下の画像に表示されている文字を入力してください。