請問在icewm下抓圖 [論壇 - Ubuntu 與其它桌面系統]
正在瀏覽:
1 名遊客
請問在icewm下抓圖 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2006/8/22 22:04 所屬群組:
已註冊使用者 等級: 1
HP : 0 / 8
![]() |
之前用gnome按printscreen就直接抓好了...一換到icew下就不知道該用什麼方法了
想請各位指點一下 ![]()
2006/10/11 0:01
|
||||||||||
![]() |
Re: 請問在icewm下抓圖 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2006/9/6 2:33 所屬群組:
已註冊使用者 等級: 3
HP : 0 / 57
![]() |
跟您一樣 剛才為止我只知道Synaptic套件管理中 找得到好用的抓圖軟體(KSnapshot) ICEWM方面我比較沒有使用經驗(印象中KNOPPIX BV1AL使用ICEWM模式) 這篇有提到 似乎可以將KSnapshot預設為快速鍵(F7) IceWM comes with default shortcuts (like the ubiquitous Alt+Tab) as we have seen there are a ton of them in the Preferences file. For example: Ctrl + Alt + t will give you the xterm or whatever terminal you want. Ctrl + Alt + will put you in the workspace you specified Playing with it, i found out that the "Windows" key in my keyboard will take the place of the 'ctrl+alt' combo. Thus, i save one key: Windows key + t = xterm Windows key + 4 = will take me to the workspace 4 Now, not knowing didly about macros/scripts/programs, i still thought that one key, was the best way to launch my apps, if it worked with 2 keys, why not with one key? This is what i changed in my ~/.icewm/keys and ended up with: *********************************************************************** # A list of all valid keyboard symbols can be found in # /usr/include/X11/keysym.h, keysymdefs.h, XF86keysym.h, ... # You'll have to omit XK_ prefixs and to replace XF86XK_ prefixes by # XF86. Valid modifiers are Alt, Ctrl, Shift, Meta, Super and Hyper. # key "F1" aterm key "F2" xfe key "F3" mozilla key "F4" mozilla -mail key "F5" opera key "F6" xchat key "F7" ksnapshot key "F8" oowriter key "F9" xzgv key "F10" gedit key "Alt+Ctrl+KP_Divide" aumix -v -5 # lower volume key "Alt+Ctrl+KP_Multiply" aumix -v +5 # raise volume 換句話說,您在某OS的ICEWM模式中 可能有內建這套軟體 請找看看 並請瀏覽這篇好用的IceWM Tips 老樣子 希望使用感覺不錯 抽空回來給我們使用心得喔^^ ps.[Ubuntu_TIP]剛剛學到Alt+Print鍵可以存取更方便(尤其在瀏覽器F11_全螢幕之下)
2006/10/11 1:21
|
||||||||||
|
|||||||||||
![]() |
訪客
|
Re: 請問在icewm下抓圖 |
|
---|---|---|
Anon:訪客
|
看到 K 字頭的, 如果你不想用 KDE, 就不必找 KSnapshot 了!
因為它跟 KDE 是綁死在一起的, 一坨肥胖的怪獸. 用 xwd 吧!幾乎只要有安裝 Xwindow 就會有 xwd, 小巧好用, 再藉由 script 就可以 抓螢幕, 再存成圖檔. 以下是取自 BV1AL DSL 裡的 Xscreen 的 script. xwd $OBJ |xwdtopnm |pnmtopng > $HOME/$Fname.png 而這個 $OBJ 則是 script 中另一段 讓 user 選全螢幕或單一工作窗(再分加框或不加框) 它們可以是 空白: 不加框 -frame: 加框 -screen -root: 全螢幕 而 $Fname 可以用「年月日時分秒」 Fname=`date +%Y%m%d%H%M%S` 如果要 delay 再拍可以利用 sleep 來控制.
2006/10/11 17:10
| e6c3d d6304 28fd5 48341
|
|
![]() |
Re: 請問在icewm下抓圖 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2006/8/22 22:04 所屬群組:
已註冊使用者 等級: 1
HP : 0 / 8
![]() |
謝謝,用apt一裝才知道原來系統早裝了XD
不過我不是寫成script,而是直接執行後有了以下的輸出 "xwdtopnm: writing PPM file" 但是home以及該帳號的資料夾底下似乎啥都沒看到...
2006/10/12 20:05
|
||||||||||
![]() |
訪客
|
Re: 請問在icewm下抓圖 |
|
---|---|---|
Anon:訪客
|
你確定有轉向到 $HOME 裡嗎?(或者你 $HOME 裡的哪裡?)
不然你試一下 xwd -screen -root |xwdtopnm|pnmtopng > /tmp/test.png 這是抓全螢幕並產出到 /tmp 之下的 test.png
2006/10/13 10:09
| e6c3d d6304 28fd5 48341
|
|
![]() |
您可以查看帖子.
您不可發帖.
您不可回覆.
您不可編輯自己的帖子.
您不可刪除自己的帖子.
您不可發起投票調查.
您不可在投票調查中投票.
您不可上傳附件.
您不可不經審核直接發帖.