Package Details: xterminal-bin 1.32.10-1

Git Clone URL: https://aur.archlinux.org/xterminal-bin.git (read-only, click to copy)
Package Base: xterminal-bin
Description: Not only powerful SSH tools, but also local consoles, and more coming soon.不仅是强大的SSH工具,更提供本地控制台,以及更多即将推出的开发相关功能.
Upstream URL: https://www.xterminal.cn/
Keywords: console emulator note note-takling ssh terminal
Licenses: LicenseRef-custom
Conflicts: xterminal
Provides: xterminal
Submitter: zxp19821005
Maintainer: zxp19821005
Last Packager: zxp19821005
Votes: 1
Popularity: 0.031901
First Submitted: 2023-11-29 04:47 (UTC)
Last Updated: 2024-09-24 04:53 (UTC)

Dependencies (3)

Required by (0)

Sources (4)

Pinned Comments

zxp19821005 commented on 2024-08-26 11:31 (UTC)

@sunshe35 安装axel之后

$ cat /usr/bin/fake_axel_for_makepkg 
#! /bin/bash
# 该脚本用于处理yay/paru安装软件时,由github下载缓慢甚至无法下载的问题
# 检测域名是不是github,如果是,则替换为镜像网站
# 采用axel代替curl进行20线程下载

domin=`echo $2 | cut -f3 -d'/'`;
others=`echo $2 | cut -f4- -d'/'`;
case "$domin" in
    "github.com")
    url="https://cors.isteed.cc/github.com/"$others;
#    url="https://cf.ghproxy.cc/https://github.com/"$others;
#    url="https://gh.jiasu.in/https://github.com/"$others;
#    url="https://ghproxy.cc/https://github.com/"$others;
#    url="https://ghproxy.net/https://github.com/"$others;
#    url="https://hub.gitmirror.com/https://github.com/"$others;
#    url="https://gh.con.sh/https://github.com/"$others;
#    url="https://gh.h233.eu.org/https://github.com/"$others;
#    url="https://ghps.cc/https://github.com/"$others;
#    url="https://gh.ddlc.top/https://github.com/"$others;
#    url="https://gh.flyinbug.top/https://github.com/"$others;
#    url="https://git.xfj0.cn/https://github.com/"$others;
#    url="https://hub.gitmirror.com/https://github.com/"$others;
#    url="https://slink.ltd/https://github.com/"$others;
#    url="https://mirror.ghproxy.com/https://github.com/"$others;
#    url="https://sciproxy.com/https://github.com/"$others;
#    url="https://download.fgit.cf/"$others;
#    url="https://download.ixnic.net/"$others;
#    url="https://download.nuaa.cf/"$others;
#    url="https://download.yzuu.cf/"$others;
#    url="https://download.fastgit.org/"$others;
#    url="https://kkgithub.com/"$others;
#    url="https://download.njuu.cf/"$others;
#    url="https://github.com/"$others;
    ;;

    "raw.githubusercontent.com")
#    url="https://raw.kkgithub.com/raw.githubusercontent.com/"$others; #香港
    url="https://gitdl.cn/https://raw.githubusercontent.com/"$others; #香港
#    url="https://mirror.ghproxy.com/https://raw.githubusercontent.com/"$others; #韩国
#    url="https://www.ghproxy.cc/https://raw.githubusercontent.com/"$others; #日本
#    url="https://ghproxy.cn/https://raw.githubusercontent.com/"$others; #日本
#    url="https://ghproxy.net/https://raw.githubusercontent.com/"$others; #日本
#    url="https://fastly.jsdelivr.net/gh/raw.githubusercontent.com/"$others; #日本 东京
#    url="https://fastraw.ixnic.net/raw.githubusercontent.com/"$others; #日本 大阪
#    url="https://cdn.jsdelivr.us/gh/raw.githubusercontent.com/"$others; #其他
#    url="https://jsdelivr.b-cdn.net/gh/raw.githubusercontent.com/"$others; #其他
#    url="https://github.moeyy.xyz/https://raw.githubusercontent.com/"$others; #其他
#    url="https://raw.cachefly.998111.xyz/raw.githubusercontent.com/"$others; #其他
#    url="https://raw.githubusercontent.com/"$others; #其他
    ;;

    *)
    url=$2;
    ;;
esac

echo "download from $url\n";
/usr/bin/axel -k -n 32 -a -o $1 $url;
$ cat /etc/makepkg.conf
#只显示修改部分
# DLAGENTS=('file::/usr/bin/curl -qgC - -o %o %u'
#           'ftp::/usr/bin/curl -qgfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
#           'http::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
#           'https::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
#           'rsync::/usr/bin/rsync --no-motd -z %u %o'
#           'scp::/usr/bin/scp -C %u %o')
DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u'
          'ftp::/usr/bin/axel -n 15 -a -o %o %u'
          'http::/usr/bin/axel -n 15 -a -o %o %u'
          'https::/usr/bin/fake_axel_for_makepkg %o %u'
          'rsync::/usr/bin/rsync --no-motd -z %u %o'
          'scp::/usr/bin/scp -C %u %o')

Latest Comments

1 2 Next › Last »

sunshe35 commented on 2024-09-08 02:29 (UTC)

感谢指点。

根据你的方式,配置好axel之后,成功安装,但是启动失败。

10:23:12.135 › SocketGateway subscribed to the "deleteNote" message WebSocketsController
10:23:12.135 › SocketGateway subscribed to the "emptyTrash" message WebSocketsController
10:23:12.135 › SocketGateway subscribed to the "updateCategoryIndex" message WebSocketsController
10:23:12.135 › SocketGateway subscribed to the "getNoteCategories" message WebSocketsController
10:23:12.136 › SocketGateway subscribed to the "createCategory" message WebSocketsController
10:23:12.136 › SocketGateway subscribed to the "updateCategory" message WebSocketsController
10:23:12.136 › SocketGateway subscribed to the "deleteCategory" message WebSocketsController
10:23:12.140 › Nest application successfully started NestApplication
10:23:12.257 › uncaughtException Error: ERR_FAILED (-2) loading 'xterminal://./index.html#/a/ssh?port=35035'
    at rejectAndCleanup (node:electron/js2c/browser_init:2:79067)
    at finishListener (node:electron/js2c/browser_init:2:79229)
    at WebContents.stopLoadingListener (node:electron/js2c/browser_init:2:79616)
    at WebContents.emit (node:events:519:28)
    at WebContents.callbackTrampoline (node:internal/async_hooks:130:17)
[sunshe35@arch ~]$ 

删除原来的配置文件后就可以成功启动了。

这个软件已经正版,但是不怎么用,只是用来看着他更新。

zxp19821005 commented on 2024-08-26 11:31 (UTC)

@sunshe35 安装axel之后

$ cat /usr/bin/fake_axel_for_makepkg 
#! /bin/bash
# 该脚本用于处理yay/paru安装软件时,由github下载缓慢甚至无法下载的问题
# 检测域名是不是github,如果是,则替换为镜像网站
# 采用axel代替curl进行20线程下载

domin=`echo $2 | cut -f3 -d'/'`;
others=`echo $2 | cut -f4- -d'/'`;
case "$domin" in
    "github.com")
    url="https://cors.isteed.cc/github.com/"$others;
#    url="https://cf.ghproxy.cc/https://github.com/"$others;
#    url="https://gh.jiasu.in/https://github.com/"$others;
#    url="https://ghproxy.cc/https://github.com/"$others;
#    url="https://ghproxy.net/https://github.com/"$others;
#    url="https://hub.gitmirror.com/https://github.com/"$others;
#    url="https://gh.con.sh/https://github.com/"$others;
#    url="https://gh.h233.eu.org/https://github.com/"$others;
#    url="https://ghps.cc/https://github.com/"$others;
#    url="https://gh.ddlc.top/https://github.com/"$others;
#    url="https://gh.flyinbug.top/https://github.com/"$others;
#    url="https://git.xfj0.cn/https://github.com/"$others;
#    url="https://hub.gitmirror.com/https://github.com/"$others;
#    url="https://slink.ltd/https://github.com/"$others;
#    url="https://mirror.ghproxy.com/https://github.com/"$others;
#    url="https://sciproxy.com/https://github.com/"$others;
#    url="https://download.fgit.cf/"$others;
#    url="https://download.ixnic.net/"$others;
#    url="https://download.nuaa.cf/"$others;
#    url="https://download.yzuu.cf/"$others;
#    url="https://download.fastgit.org/"$others;
#    url="https://kkgithub.com/"$others;
#    url="https://download.njuu.cf/"$others;
#    url="https://github.com/"$others;
    ;;

    "raw.githubusercontent.com")
#    url="https://raw.kkgithub.com/raw.githubusercontent.com/"$others; #香港
    url="https://gitdl.cn/https://raw.githubusercontent.com/"$others; #香港
#    url="https://mirror.ghproxy.com/https://raw.githubusercontent.com/"$others; #韩国
#    url="https://www.ghproxy.cc/https://raw.githubusercontent.com/"$others; #日本
#    url="https://ghproxy.cn/https://raw.githubusercontent.com/"$others; #日本
#    url="https://ghproxy.net/https://raw.githubusercontent.com/"$others; #日本
#    url="https://fastly.jsdelivr.net/gh/raw.githubusercontent.com/"$others; #日本 东京
#    url="https://fastraw.ixnic.net/raw.githubusercontent.com/"$others; #日本 大阪
#    url="https://cdn.jsdelivr.us/gh/raw.githubusercontent.com/"$others; #其他
#    url="https://jsdelivr.b-cdn.net/gh/raw.githubusercontent.com/"$others; #其他
#    url="https://github.moeyy.xyz/https://raw.githubusercontent.com/"$others; #其他
#    url="https://raw.cachefly.998111.xyz/raw.githubusercontent.com/"$others; #其他
#    url="https://raw.githubusercontent.com/"$others; #其他
    ;;

    *)
    url=$2;
    ;;
esac

echo "download from $url\n";
/usr/bin/axel -k -n 32 -a -o $1 $url;
$ cat /etc/makepkg.conf
#只显示修改部分
# DLAGENTS=('file::/usr/bin/curl -qgC - -o %o %u'
#           'ftp::/usr/bin/curl -qgfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
#           'http::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
#           'https::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
#           'rsync::/usr/bin/rsync --no-motd -z %u %o'
#           'scp::/usr/bin/scp -C %u %o')
DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u'
          'ftp::/usr/bin/axel -n 15 -a -o %o %u'
          'http::/usr/bin/axel -n 15 -a -o %o %u'
          'https::/usr/bin/fake_axel_for_makepkg %o %u'
          'rsync::/usr/bin/rsync --no-motd -z %u %o'
          'scp::/usr/bin/scp -C %u %o')

sunshe35 commented on 2024-08-25 12:08 (UTC)

我试了下curl确实不能用,但是wget可以。

[sunshe35@arch ~]$ curl  https://cdn-cn.xterminal.cn/xterminal/XTerminal-1.25.1-linux-amd64.deb
<html><head><title>ERROR: ACCESS DENIED</title></head><body><center><h1>ERROR: ACCESS DENIED</h1></center><hr>
<center>Sun, 25 Aug 2024 12:07:09 GMT (taikoo/BC22_yd-guangdong-huizhou-33-cache-1)</center></BODY></HTML>
<!-- web cache -->

有没有办法让下载方式把curl改成wget?
毕竟,https://www.cnblogs.com/bluestorm/p/17155625.html 这个文章 看不懂。

zxp19821005 commented on 2024-08-21 09:24 (UTC)

@sfchen-cs6589043 建议参考 https://www.cnblogs.com/bluestorm/p/17155625.html 这个,官网应该是禁止使用 curl 进行下载。

sfchen-cs6589043 commented on 2024-08-21 06:54 (UTC)

==> 正在创建软件包:xterminal-bin 1.25.1-1 (2024年08月21日 星期三 14时53分37秒) ==> 正在检查运行时依赖关系... ==> 正在检查编译时依赖关系 ==> 获取源代码... -> 找到 LICENSE.html -> 找到 xterminal.sh -> 正在下载 xterminal-1.25.1-x86_64.deb... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 403 ==> 错误: 无法下载 https://cdn-cn.xterminal.cn/xterminal/XTerminal-1.25.1-linux-amd64.deb 正在放弃... Finished with result: exit-code Main processes terminated with: code=exited, status=1/FAILURE Service runtime: 1.752s CPU time consumed: 1.890s Memory peak: 8.4M (swap: 0B) 错误: 构建 xterminal-bin 失败

sunshe35 commented on 2024-06-16 16:06 (UTC) (edited on 2024-06-16 16:06 (UTC) by sunshe35)

@zxp19821005,我用的也是移动宽带。
wget https://cdn-cn.xterminal.cn/xterminal/XTerminal-1.25.1-linux-amd64.deb 可以正常下载,但是yay -S xterminal-bin就会报错。报错信息如下:

==> 正在创建软件包:xterminal-bin 1.25.1-1 (2024年06月17日 星期一 00时02分45秒)
==> 获取源代码...
  -> 找到 LICENSE.html
  -> 找到 xterminal.sh
  -> 正在下载 xterminal-1.25.1-x86_64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 403
==> 错误: 无法下载 https://cdn-cn.xterminal.cn/xterminal/XTerminal-1.25.1-linux-amd64.deb
    正在放弃...
 -> 下载源文件时出错: /home/sunshe35/.cache/yay/xterminal-bin 
         context: exit status 1 

我试过全局代理,关闭代理,都不行。不知道怎么回事儿,烦死我了。

zxp19821005 commented on 2024-06-03 15:28 (UTC)

@sunshe35 重复安装了多次,都可以正常下载。建议你换一个网络试试看呢?我这里用的是移动的宽带。

sunshe35 commented on 2024-06-02 03:53 (UTC)

报错,无法下载: https://cdn-cn.xterminal.cn/xterminal/XTerminal-1.25.1-linux-amd64.deb

实际上这个连接没错,可以通过浏览器下载。

zxp19821005 commented on 2024-04-17 22:03 (UTC) (edited on 2024-07-01 07:18 (UTC) by zxp19821005)

@Xiaozhu1337 我是参考 https://www.cnblogs.com/bluestorm/p/17155625.html 这个文章,使用了 axel 进行分段下载的,所以没有遇到你说的问题。

Xiaozhu1337 commented on 2024-04-17 06:44 (UTC) (edited on 2024-04-17 06:44 (UTC) by Xiaozhu1337)

好奇怪,paru 安装时提示无法下载 https://cdn-cn.xterminal.cn/xterminal/XTerminal-1.20.23-linux-amd64.deb ,curl返回403,但是手动wget是可以下载到这个包的,看了下好像是这个站禁止了curl的UA。

直接curl https://cdn-cn.xterminal.cn/xterminal/XTerminal-1.20.23-linux-amd64.deb 会提示 ACCESS DENIED。 如果给 curl 加个参数 --user-agent "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36" 就可以正常下载了