2008-05-01から1ヶ月間の記事一覧
FireGestures のサイトにあった [Hybrid] Close Tab / Close Window がうまく動かなかったので自分で作ってみた。常時タブを表示する設定だと、アプリケーションを閉じる BrowserCloseWindow() がエラーになるようだ。 var isLastTab = (gBrowser.mTabs.leng…
twitte.rb の212行を書き換える。 < if Gdk.windowing_win32? and @prefs.window_x != nil and @prefs.window_y != nil then --- > if @prefs.window_x != nil and @prefs.window_y != nil then
glibc-2.7 のソースコードで確認した。以下は jmp_buf から実際のアドレスを抜き出すテストプログラム。 #include <stdio.h> #include <setjmp.h> #define PTR_DEMANGLE(var) asm("rorq $17, %0;" \ "xorq %%fs:0x30, %0;" : "=r"(var) : "0"(var)) int main(int argc, char** a</setjmp.h></stdio.h>…
○△→などが表示はできるが、直後の文字がかぶって表示される。これは幅の認識の不具合らしい。 LANG=ja_JP.utf8 VTE_CJK_WIDTH=1 gnome-terminal --disable-factory とすれば直る。VTE_CJK_WIDTH は ja などの一部のロケールでしか有効でないので、デフォルト…
SCIM-Anthy か SCIM-Prime あたりを利用しているが、emacs だとインライン入力できずに入力ウィンドウが開くのが嫌だった。そこでテキストファイルにたいしての関連付けを以下のようにして gnome-terminal 内で emacs -nw で開くようにしてみた。専用のプロ…
USB オーディオの Vender ID と Product ID を調べる $ lsusb Bus 007 Device 006: ID 0b39:0001 Omnidirectional Control Technology, Inc. Bus 007 Device 005: ID 046d:c521 Logitech, Inc. MX620 Laser Cordless Mouse Bus 007 Device 004: ID 0d8c:0002…
gconf-editor の apps → metacity keybinding_commands の command_1 〜 command_12 にコマンドを記述する 例: firefox http://www.amazon.co.jp/ global-keybindings の run_command_1 〜 run_command_12 にキーバインドを記述する 例: a
hardy で main になった VL ゴシックがとても良い感じ。Sans-serif 系はこれで足りている。 http://dicey.org/vlgothic/
レポジトリを追加すれば Synaptic でダウンロードできる automatix2 は hardy で開発中止になっている http://www.medibuntu.org/
jp.archive.ubuntu.com が重いようだ Setting → Repositories → ubuntu software タブ → Download from で Server for United States を選択
フォルダの右クリックメニューで Properties → Open With タブで Add して VLC media player を選択→ Use a custom command で vlc %s %s がないとうまく動かない? .local/share/applications/userapp-vlc-XXXXXX.desktop が生成されるので name=VLC media p…