mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
blog update
This commit is contained in:
parent
c816b91e80
commit
438cce1ee7
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@
|
|||
<div class="post-content ">
|
||||
<p>技巧等级:笔记(中级) PC剪贴板(高级)</p>
|
||||
<p>手机需安装uweb定制Termux。如使用剪贴板功能,termux还需安装openssl。</p>
|
||||
<p>配置/sdcard/uweb/selection.txt如下:<br>笔记::(cat;echo;echo;)>>notes.txt<br>富文本笔记:html:(cat;echo ‘</p><p></p>‘;echo;)>>notes.html<br>复制至PC剪贴板::ssh [user:password]@192.168.2.102 “DISPLAY=:0 xsel -i”<br>复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 “DISPLAY=:0 xsel -i”<p></p>
|
||||
<p>配置/sdcard/uweb/selection.txt如下:<br><code>笔记::(cat;echo;echo;)>>notes.txt<br>富文本笔记:html:(cat;echo ‘<p></p>‘;echo;)>>notes.html<br>复制至PC剪贴板::ssh [user:password]@192.168.2.102 “DISPLAY=:0 xsel -i”<br>复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 “DISPLAY=:0 xsel -i”</code></p>
|
||||
<p>此处假定远程PC的IP地址为192.168.2.120,PC已经开通了ssh服务。建议用户配置ssh服务为免密码登录,此时用户无需将密码写入文件selection.txt。用户PC上安装有xsel剪贴板工具。使用其它工具请酌情修改。</p>
|
||||
<p>重启浏览器,长按“书签”按钮,将弹出菜单。若用户当前窗口并无选中文本,则选取整个页面作相应操作,否则以选中文本为准。</p>
|
||||
<p>采用以上配置,笔记将储存在/sdcard/uweb目录下文件note.txt或note.html中(富文本)。</p>
|
||||
|
|
Loading…
Reference in a new issue