Ubuntuã§wineã§IrfanViewã使ã£ã¦ã¿ã
IrfanViewãããã©ã«ãã®ç»åãã¥ã¢ã«è¨å®ãã¡ããã
æ軽ãã¨å§åçãªæ©è½ã¨ãå
¼ãåããä¸è½ç»åãã¥ã¢ï¼ç·¨éã½ãããIrfanViewã¯æ¬ ãããªããWindowså°ç¨ã½ããã ããUbuntuã§ãããã¤ã使ã£ã¦ã¿ãããªã£ãã以åã®wineã®åä½ç¢ºèªã§IrfanViewã¯ã»ã¼å®ç§ã«åä½ãã¦ããã®ã§å°æ´ã ãããããªããã³ãã³ãã©ã¤ã³ã§wineãèµ·åãã¦ããã¡ãã¡[ãã¡ã¤ã«]->[éã]ããéãã®ã¯é¢åã§ããããã©ãã°ã¢ã³ãããããããã¾ãåä½ããªããã¨ããããã§ä»åã¯IrfanViewãããã©ã«ãã®ç»åãã¥ã¢ã«ãã¦ã¿ããã
ã¾ãåãã«IrfanViewãã¤ã³ã¹ãã¼ã«ãããIrfanView 日本語版のページããZipå§ç¸®ãã¡ã¤ã«ãæ¾ã£ã¦ãããããã /home/yuyarin/bin/ ã«å±éãã*1ãã²ã¨ã¾ãã¯wineã«IrfanViewãã¤ã³ã¹ãã¼ã«ããããã«ã³ãã³ããå©ãã
~$wine /home/yuyarin/bin/iview410j/i_view32.exe
ããã§èµ·åã確èªã
次ã«ã以ä¸ã®ã¹ã¯ãªãããæ¸ã㦠/home/yuyarin/bin/ ã« IrfanView ã¨ããååã§ä¿åãã*2ã
#!/bin/sh IRFANVIEW="/home/yuyarin/bin/iview410j/i_view32.exe" ROOT_DRIVE="Z:\\" for arg do wine "$IRFANVIEW" "${ROOT_DRIVE}$(echo "$arg" | sed 's/\//\\/g')" done
ä¿åãã IrfanView ã§å³ã¯ãªãã¯->[ããããã£ï¼ã¡ãã¥ã¼ï¼]->[ã¢ã¯ã»ã¹æ¨©ï¼ã¿ãï¼]->[ããã°ã©ã ã¨ãã¦å®è¡ã§ãã]ããã§ãã¯ãã¦ãå®è¡å¯è½ã«ããã
æå¾ã«ãã¡ã¤ã«ã»ãã©ã¦ã¶ï¼nautilusï¼ã§ä¾ãã°jpgãã¡ã¤ã«ãå³ã¯ãªãã¯->[ããããã£ï¼ã¡ãã¥ã¼ï¼]->[éãæ¹ï¼ã¿ãï¼]->[追å ï¼ãã¿ã³ï¼]->[ã³ãã³ããæå®ããï¼æåï¼]->[åç
§ï¼ãã¿ã³ï¼]ã§ãã¤ã¢ãã°ãéãã®ã§ãå
ã»ã©ã® /home/yuyarin/bin/IrfanView ãæå®ãããã©ã¸ãªããã¯ã¹ã®ã³ã³ããã¼ã«ã« IrfanView ã追å ãããã®ã§ããããé¸æãã¦éããããã¡ã¤ã«ã»ãã©ã¦ã¶ã§ããã«ã¯ãªãã¯ããã¨IrfanViewã§jpgãã¡ã¤ã«ãéããããã¨ã¯pngã¨ãgifã¨ãbmpã¨ãã«ãåããã¨ããã¦ãããã
ããã§å¿«é©ç»åå å·¥ã©ã¤ãã
é¢é£è¨äº
wineã®ã¤ã³ã¹ãã¼ã«æ¹æ³ã¯ãã¡ãâã
wineを使ってUbuntuでWindowsのソフトを動かしてみるテスト
*1:ãã£ã¬ã¯ããªæ§æã¯ãèªç±ã«ããã¥ã¢ã«ãã¼ãç°å¢ã§Windowså´ã®å®è¡ãã¡ã¤ã«ãç´æ¥å¼ã³åºãã¨ãWindowsã§å¤ãªãã¨ããããå¯è½æ§ããããã®ã§ï¼ååã®åä½ç¢ºèªã§ã¯å¤å°ä¸å ·åãåºãï¼/home/yuyarin/bin/ ã«ç½®ãããã«ãã¦ããã
*2:ã使ãã®ãã¼ã¸ã§ã³ãã¦ã¼ã¶åã«å¿ãã¦é©å®æ¸ãç´ãã¦ãã ãããã¾ãä¿åãããã¡ã¤ã«åãã好ããªããã«ãã¦ãã ããã