Package Details: windterm-bin 2.6.1-4

Git Clone URL: https://aur.archlinux.org/windterm-bin.git (read-only, click to copy)
Package Base: windterm-bin
Description: A Quicker and better SSH/Telnet/Serial/Shell/Sftp client for DevOps.(Prebuilt version)
Upstream URL: https://github.com/kingToolbox/WindTerm
Keywords: SSH terminal WindTerm
Licenses: Apache-2.0
Conflicts: windterm
Provides: windterm
Submitter: sakura1943
Maintainer: sakura1943 (zxp19821005)
Last Packager: zxp19821005
Votes: 8
Popularity: 0.127497
First Submitted: 2022-01-01 06:07 (UTC)
Last Updated: 2024-11-19 12:02 (UTC)

Latest Comments

1 2 Next › Last »

yifwon commented on 2024-11-19 13:00 (UTC) (edited on 2024-11-19 13:01 (UTC) by yifwon)

another suggestion: modify /usr/lib/${pkgname%-bin}/profiles.config as backup option, in case each time update the package, this file cleans up and the PATH will need to be set when windterm starts next time.

zxp19821005 commented on 2024-11-19 12:03 (UTC)

@yifwon Thanks for your help , I've changed it , and it works fine now.

yifwon commented on 2024-11-19 07:16 (UTC) (edited on 2024-11-19 07:49 (UTC) by yifwon)

diff --git a/PKGBUILD b/PKGBUILD
index d526074..7cfecdc 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -54,4 +54,5 @@ package() {
     cp -Pr --no-preserve=ownership "${srcdir}/${_pkgname}_${pkgver}/"* "${pkgdir}/usr/lib/${pkgname%-bin}"
     install -Dm644 "${srcdir}/${_pkgname}_${pkgver}/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"
     install -Dm644 "${srcdir}/${_pkgname}_${pkgver}/${pkgname%-bin}.png" -t "${pkgdir}/usr/share/pixmaps"
+    install -Dm666 /dev/null "${pkgdir}/usr/lib/${pkgname%-bin}/profiles.config"
 }

attributes should be set as: a+r+w, or everytime windterm starts, path cannot be read from config file.

zxp19821005 commented on 2024-11-19 07:08 (UTC)

@yifwon Do you mean that?

$ cat /usr/lib/windterm/profiles.config
{
    "path" : "/dev/null"
}

yifwon commented on 2024-11-19 03:37 (UTC)

@mxy221 @zxp19821005 install /dev/null to /usr/lib/windterm/profiles.config to create a null file and give a+w attributes can solve this problem.

zxp19821005 commented on 2024-11-19 03:03 (UTC)

@mxy221 Yes, it was. On my PC, I got the warning every time.

mxy221 commented on 2024-11-19 02:25 (UTC)

if you first start windterm,then it shows that it cannot save in /usr/lib/windterm/profiles.config

zxp19821005 commented on 2024-11-18 08:12 (UTC)

@yifwon Yes, you are right, I've deleted it, and changed the directory to /usr/lib/windterm.

yifwon commented on 2024-11-15 06:10 (UTC) (edited on 2024-11-15 06:13 (UTC) by yifwon)

Is this necessary? I think the install path (/opt) is not a directory owned by user but root. The package has already been given the r+x attributes, so I think this ownship should not been changed as there mat be multiple users.

chown -R "${USER}":"${USER}" "${pkgdir}/opt/${pkgname%-bin}"

EDIT:

@querta, you should not make changes in /opt/windterm/profiles.config, but in ~/.wind/profiles/default.v10/user.config.