Linuxを使う上でのちょっとしたTipsです。
あんまりTipsとはいえないかも…自分が困ったからメモしてるだけで(^_^;
■文字化けしたファイル名を削除する
■名前にスペースの入ったディレクトリを作成する
■環境変数の一覧を表示
■特定のディレクトリ配下のファイルすべてにgrepをかける
■Firefoxカスタマイズ(IPAUIゴシックを使う)
■Thunderbirdカスタマイズ(IPAUIゴシックを使う)
(参考)クルミノ コーボー サンダーバード(Thunderbird)をカスタマイズ
http://homepage1.nifty.com/akshiba/mail_web/tb_cus...
あんまりTipsとはいえないかも…自分が困ったからメモしてるだけで(^_^;
■文字化けしたファイル名を削除する
$ rm -i ./*これで消したくないファイル名が出てきたときは「n」「Enter」で、消したいファイル名が出てきたときは「y」「Enter」を入力する。
■名前にスペースの入ったディレクトリを作成する
$ mkdir "hoge hoge"" "で囲めばいいだけ。
■環境変数の一覧を表示
$ printenv
■特定のディレクトリ配下のファイルすべてにgrepをかける
$ find /home/hoge -type f -print | xargs grep hoge /dev/null/home/hoge配下のファイルすべてを対象に、grepで「hoge」を検索します。
■Firefoxカスタマイズ(IPAUIゴシックを使う)
$ vi ~/.mozilla/firefox/(プロファイル名)/chrome/userChrome.css環境によってfirefoxディレクトリがどこにあるのか違うかもしれません
window { font-size: 3.2mm !important; font-family: IPAUIGothic !important; } .bookmark-group > .toolbarbutton-text { font-family: IPAUIGothic !important; font-size: 3.2mm !important; } menubutton, menulist, menu, menuitem { font-family: IPAUIGothic !important; font-size: 3.2mm !important; } /* 1 行のテキストフィールド */ input { font-family: IPAUIGothic !important; } textarea { font-family: IPAUIGothic !important; } /* URL ドロップダウンボックス */ #ubhist-popup { font-family: IPAUIGothic !important; } /* オートコンプリート (自動補完) テキストフィールド */ .textfield-popup { font-family: IPAUIGothic !important; }
■Thunderbirdカスタマイズ(IPAUIゴシックを使う)
(参考)クルミノ コーボー サンダーバード(Thunderbird)をカスタマイズ
http://homepage1.nifty.com/akshiba/mail_web/tb_cus...
$ vi ~/.thunderbird/(プロファイル名)/chrome/userChrome.css(環境によって.thunderbirdが、.mozilla-thunderbirdだったりします)
window { font-family: IPAPGothic !important; } /* フォルダペインのフォントやフォントサイズ、色を変える */ #folderTree treechildren{ font-family: "IPAUIGothic" !important; font-size: 13px; } /* ヘッダビューのフォントを変える */ #msgHeaderView{ font-family: "IPAUIGothic"; font-size: 12px; } /* メッセージリストペイン(スレッドペイン)の */ /* フォントやフォントサイズ、色を変える */ #threadTree treechildren{ font-family: "IPAUIGothic" !important; font-size: 13px; } /* アドレス帳の左ペインのフォントやフォントサイズ、色を変える */ #dirTree treechildren{ font-family: "IPAUIGothic" !important; font-size: 13px; } /* アドレス帳の右上ペインのフォントやフォントサイズ、色を変える */ #abResultsTree treechildren{ font-family: "IPAUIGothic" !important; font-size: 13px; } /* アドレス帳の右下ペインのフォントやフォントサイズ、色を変える */ #CardViewInnerBox{ font-family: "IPAUIGothic" !important; font-size: 16px; } /* メニューなどのフォントを変える */ menu, menuitem { font-family: "IPAUIGothic" !important; font-size: 12px !important; }
コメントをかく