2ntブログ

余白の余白

日々のメモ書き アダルトもあるかも・・・

Debian Squeeze 音 出ない(2枚 内臓realtech pci SB)

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

↓追加

options snd-hda-intel model=generic
  1. 2013/08/29(木) 23:08:27|
  2. 未分類

debian wheezy 端末

.bashrc にfbterm の自動起動記述したら stdin isn't a interactive tty! ってでやがった!!
わかんねーんだよおおおおおおおおおおおおおおおおおおおお!!!!!!

とりあえず man fbterm やったら書いてあった
つかえねーんだよ!!!!!

コマンド打てだってさ*1
manman@chinko:~$ sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm

stdin isn't a interactive tty!

ウガアアアアアアアアアアアアアアア!!!!!!

これやるとか
chmod 0666 /dev/fb0

~.bashrcに何か書けって書いてあった
if grep '^fbterm' /proc/$PPID/cmdline > /dev/null; then
export TERM=fbterm
fi

お?出なくなった

ついでに記述してこんな感じになった↓
alias fbterm='env LANG=ja_JP.UTF8 fbterm'

if grep '^fbterm' /proc/$PPID/cmdline > /dev/null; then
export TERM=fbterm
fi

#...
case "$TERM" in
linux*)
fbterm
;;
*)
;;
esac

~/.fbtermrc は一回fbterm 起動するとできる

編集
font-names=IPAGothic
font-size=16


/etc/fonts/fonts.conf
<!--
  Accept deprecated 'sans' alias, replacing it with 'sans-serif'
-->
    <match target="pattern">
        <test qual="any" name="family">
            <string>sans</string>
        </test>
        <edit name="family" mode="assign">
            <string>sans-serif</string>
        </edit>
    </match>
<!--
  Load fbterm customization 256color Option
-->
    <match target="font">
        <edit name="hinting" mode="assign">
            <bool>true</bool>
        </edit>
        
        <edit name="autohint" mode="assign">
            <bool>true</bool>
        </edit>
        
        <edit name="hintstyle" mode="assign">
            <const>hintslight</const>
        </edit>
        
        <edit name="embeddedbitmap" mode="assign">
            <bool>false</bool>
        </edit>
        
        <edit name="antialias" mode="assign">
            <bool>true</bool>
        </edit>
    </match>


作る
/etc/modprobe.d/uvesafb.conf
options uvesafb mode_option=1680x1050-32


おわり



*1
SECURITY NOTES
FbTerm tries to change linux kernel key map table to setup shortcuts,
which requires SYS_TTY_CONFIG capability since kernel version 2.6.15.
It means FbTerm should be a setuid 0 program to allow non-root users to
use shortcuts. FbTerm only switches to root privilege temporarily when
changing key map table, we believe it's pretty much free from security
problems. If you really don't like this and have a linux kernel with
file system capabilities enabled, which allow user to give binaries a
subset of root's powers without using setuid 0 (official kernel 2.6.27
includes it), you can run command "sudo setcap 'cap_sys_tty_config+ep'
/path/to/fbterm".

FbTerm redirects /dev/tty0 output to the pseudo terminal of current
sub-window. In linux before version 2.6.10, anybody can do this as long
as the output was not redirected yet; since version 2.6.10, only root
or a process with the CAP_SYS_ADMIN capability may do this. You should
do similar work with above ones for FbTerm to enable this feature for
non-root users.



  1. 2013/08/25(日) 02:48:11|
  2. 未分類

gnomeのアクティビティから削除

debian 7 wheezy (64bit) gnome 3.4.2って環境での話

消しかたがわからないんじゃ!!!
chronium インストールしてアンインストールしたらゴミ残って気持ち悪い

ショートカットっていうかリンクっていうかエントリ?
わかりずらいんじゃああああああああああああああ!!!!!

ここらへん探して消せ↓

/usr/share/applications/
/root/.local/share/applications
/root/.local/share/applications
/home/wheel/.local/share/applications

  1. 2013/08/24(土) 19:00:28|
  2. 未分類

玄箱HG

ぶっ壊れたけどJTAGで復旧
心配なのでFLASHROMをバックアップしておいた

玄箱HG用FL0-FL4
  1. 2013/03/25(月) 15:53:24|
  2. ハード

やべぇーなぁー(WESTERN DIGITAL WD30EZRX)

この3TBHDDやばい・・・

フォーマット失敗したら再起不能!?・・・



ぶっ壊す方法(笑)


①GPT認識できるフォーマッタでext4フォーマット
②途中でキャンセル

終了



復旧方法

①ジャンパー7、8をショート
②5、6もショート(おまじない)

以下ASUSのママボード

③Disk Unlockerでcreate
④復旧

焦った・・・
  1. 2013/02/28(木) 12:40:24|
  2. 未分類
次のページ

プロフィール

S

Author:S
FC2ブログへようこそ!

訪問

訪問者数:

常駐

現在の閲覧者数:

最新記事

最新コメント

最新トラックバック

月別アーカイブ

カテゴリ

未分類 (5)
参考になったページ (4)
ゲーム (1)
.net (5)
ハード (5)
ソフトウェア (1)

検索フォーム

RSSリンクの表示

リンク

このブログをリンクに追加する

ブロとも申請フォーム

この人とブロともになる

QRコード

QR