2019-04-05 03:30:46 +00:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head><meta name="generator" content="Hexo 3.8.0">
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
|
<meta name="google-site-verification" content="xBT4GhYoi5qRD5tr338pgPM5OWHHIDR6mNg1a3euekI">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
<meta name="description" content="">
|
|
|
|
|
<meta name="keyword" content="">
|
2020-03-13 08:59:12 +00:00
|
|
|
|
<link rel="shortcut icon" href="./img/favicon.ico">
|
2019-04-05 03:30:46 +00:00
|
|
|
|
|
|
|
|
|
<title>
|
|
|
|
|
|
|
|
|
|
笔记及手机复制(富)文本至PC剪贴板
|
|
|
|
|
|
|
|
|
|
</title>
|
|
|
|
|
|
|
|
|
|
<!-- Custom CSS -->
|
2020-03-13 08:59:12 +00:00
|
|
|
|
<link rel="stylesheet" href="./css/aircloud.css">
|
2019-04-05 03:30:46 +00:00
|
|
|
|
<link href="//at.alicdn.com/t/font_620856_pl6z7sid89qkt9.css" rel="stylesheet" type="text/css">
|
|
|
|
|
<!-- ga & ba script hoook -->
|
|
|
|
|
<script></script>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<div class="site-nav-toggle" id="site-nav-toggle">
|
|
|
|
|
<button>
|
|
|
|
|
<span class="btn-bar"></span>
|
|
|
|
|
<span class="btn-bar"></span>
|
|
|
|
|
<span class="btn-bar"></span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="index-about">
|
|
|
|
|
<i> </i>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="index-container">
|
|
|
|
|
|
|
|
|
|
<div class="index-left">
|
|
|
|
|
|
|
|
|
|
<div class="nav" id="nav">
|
|
|
|
|
<div class="contents" id="nav-content">
|
|
|
|
|
<ul>
|
|
|
|
|
<li>
|
2020-03-13 08:59:12 +00:00
|
|
|
|
<a href="./">
|
2019-04-05 03:30:46 +00:00
|
|
|
|
<i class="iconfont icon-shouye1"></i>
|
2020-02-27 03:14:10 +00:00
|
|
|
|
<span>HOME</span>
|
2019-04-05 03:30:46 +00:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
2020-03-13 08:59:12 +00:00
|
|
|
|
<a href="./tags">
|
2019-04-05 03:30:46 +00:00
|
|
|
|
<i class="iconfont icon-biaoqian1"></i>
|
2020-02-27 03:14:10 +00:00
|
|
|
|
<span>TAGS</span>
|
2019-04-05 03:30:46 +00:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
2020-03-13 08:59:12 +00:00
|
|
|
|
<a href="./archives">
|
2019-04-05 03:30:46 +00:00
|
|
|
|
<i class="iconfont icon-guidang2"></i>
|
2020-02-27 03:14:10 +00:00
|
|
|
|
<span>ARCHIVES</span>
|
2019-04-05 03:30:46 +00:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="toc" class="toc-article">
|
2019-04-15 13:45:30 +00:00
|
|
|
|
<ol class="toc"><li class="toc-item toc-level-4"><a class="toc-link" href="#Windows-PC"><span class="toc-text">Windows PC</span></a></li></ol>
|
2019-04-05 03:30:46 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="search-field" id="search-field">
|
|
|
|
|
<div class="search-container">
|
|
|
|
|
<div class="search-input">
|
|
|
|
|
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
|
|
|
|
<input id="search-input">
|
2020-02-27 03:14:10 +00:00
|
|
|
|
<span id="begin-search">search</span>
|
2019-04-05 03:30:46 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div class="search-result-container" id="search-result-container">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="index-about-mobile">
|
|
|
|
|
<i> </i>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="index-middle">
|
|
|
|
|
<!-- Main Content -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="post-container">
|
|
|
|
|
<div class="post-title">
|
|
|
|
|
笔记及手机复制(富)文本至PC剪贴板
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="post-meta">
|
2020-02-27 03:14:10 +00:00
|
|
|
|
<span class="attr">Post:<span>2019-06-05 17:55:34</span></span>
|
2019-04-05 03:30:46 +00:00
|
|
|
|
|
2020-02-27 03:14:10 +00:00
|
|
|
|
<span class="attr">Tags:/
|
2019-04-05 03:30:46 +00:00
|
|
|
|
|
2020-03-13 08:59:12 +00:00
|
|
|
|
<a class="tag" href="./tags/#termux" title="termux">termux</a>
|
2019-04-10 09:32:52 +00:00
|
|
|
|
<span>/</span>
|
|
|
|
|
|
2020-03-13 08:59:12 +00:00
|
|
|
|
<a class="tag" href="./tags/#ssh" title="ssh">ssh</a>
|
2019-04-10 09:32:52 +00:00
|
|
|
|
<span>/</span>
|
|
|
|
|
|
2020-03-13 08:59:12 +00:00
|
|
|
|
<a class="tag" href="./tags/#剪贴板" title="剪贴板">剪贴板</a>
|
2019-05-25 12:28:50 +00:00
|
|
|
|
<span>/</span>
|
|
|
|
|
|
2020-03-13 08:59:12 +00:00
|
|
|
|
<a class="tag" href="./tags/#PC" title="PC">PC</a>
|
2019-05-25 12:28:50 +00:00
|
|
|
|
<span>/</span>
|
|
|
|
|
|
2020-03-13 08:59:12 +00:00
|
|
|
|
<a class="tag" href="./tags/#Windows" title="Windows">Windows</a>
|
2019-05-25 12:28:50 +00:00
|
|
|
|
<span>/</span>
|
|
|
|
|
|
2019-04-10 09:32:52 +00:00
|
|
|
|
|
|
|
|
|
</span>
|
2019-04-05 03:30:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-content ">
|
|
|
|
|
<p>技巧等级:笔记(中级) PC剪贴板(高级)</p>
|
2019-04-10 09:32:52 +00:00
|
|
|
|
<p>手机需安装uweb定制<a href="../pcdown">Termux</a>。如使用剪贴板功能,termux还需安装openssl。</p>
|
2019-06-05 10:00:15 +00:00
|
|
|
|
<p>配置/sdcard/uweb/default.select如下:</p>
|
2019-04-18 16:13:11 +00:00
|
|
|
|
<pre>笔记::(cat;echo;echo;)>>notes.txt
|
|
|
|
|
富文本笔记:html:(cat;echo '<p></p>';echo;)>>notes.html
|
|
|
|
|
命名笔记:(cat;echo;echo;)>>%s
|
|
|
|
|
复制至PC剪贴板::ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"
|
|
|
|
|
复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"</pre>
|
|
|
|
|
|
2019-06-05 10:00:15 +00:00
|
|
|
|
<p>此处假定远程PC的IP地址为192.168.2.102,PC已经开通了ssh服务。建议用户配置ssh服务为免密码登录,此时用户无需将密码写入文件default.select。用户PC上安装有xsel剪贴板工具。使用其它工具请酌情修改。</p>
|
2019-04-05 03:30:46 +00:00
|
|
|
|
<p>重启浏览器,长按“书签”按钮,将弹出菜单。若用户当前窗口并无选中文本,则选取整个页面作相应操作,否则以选中文本为准。</p>
|
2019-04-10 03:25:57 +00:00
|
|
|
|
<p>采用以上配置,笔记将储存在/sdcard/uweb目录下文件note.txt或note.html中(富文本)。命名笔记储存文件则由用户在地址栏输入框内指定。</p>
|
2019-04-12 09:52:30 +00:00
|
|
|
|
<p>手机其它应用中的文本可选中后分享给超微浏览器,再由超微浏览器作笔记或进一步分享给PC。如果其它应用无法分享选中文本,这种情况可以先复制文本至剪贴板。<br><a href="data:text/html;charset=utf-8,<body contenteditable%3E" target="_blank" rel="noopener">在超微浏览器中长按并在新窗口打开此链接</a>,然后点击窗口并粘贴文本。长按书签按钮选择适当功能即可复制至PC剪贴板。</p>
|
|
|
|
|
<p>通过新窗口打开上述链接,超微浏览器因此亦可用作简单的文本/html编辑器。用户可通过“命名笔记”存为地址栏输入框指定文件。</p>
|
2019-04-15 13:45:30 +00:00
|
|
|
|
<h4 id="Windows-PC"><a href="#Windows-PC" class="headerlink" title="Windows PC"></a>Windows PC</h4><p>对Windows PC而言,vista及以后自带clip.exe,此时配置如下:<br>复制文本至PC剪贴板::ssh [user:password]@192.168.2.102 clip.exe</p>
|
|
|
|
|
<p>其它推荐工具(读取PC剪贴板):<br><a href="http://unxutils.sourceforge.net/" target="_blank" rel="noopener">pclip</a></p>
|
2019-04-05 03:30:46 +00:00
|
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
<div id="comment-container">
|
|
|
|
|
</div>
|
|
|
|
|
<div id="disqus_thread"></div>
|
|
|
|
|
|
|
|
|
|
<div id="lv-container">
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="footer">
|
|
|
|
|
<ul class="list-inline text-center">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
// We expose some of the variables needed by the front end
|
|
|
|
|
window.hexo_search_path = ""
|
2020-03-13 08:59:12 +00:00
|
|
|
|
window.hexo_root = "./"
|
2019-04-05 03:30:46 +00:00
|
|
|
|
window.isPost = true
|
|
|
|
|
</script>
|
2020-03-13 08:59:12 +00:00
|
|
|
|
<script src="./js/index.js"></script>
|
2019-04-05 03:30:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</html>
|