惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

A
Arctic Wolf
U
Unit 42
爱范儿
爱范儿
WordPress大学
WordPress大学
博客园 - 司徒正美
腾讯CDC
酷 壳 – CoolShell
酷 壳 – CoolShell
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Last Week in AI
Last Week in AI
美团技术团队
博客园_首页
宝玉的分享
宝玉的分享
Hugging Face - Blog
Hugging Face - Blog
P
Palo Alto Networks Blog
H
Hacker News: Front Page
博客园 - 叶小钗
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
罗磊的独立博客
TaoSecurity Blog
TaoSecurity Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Help Net Security
Help Net Security
雷峰网
雷峰网
S
Security @ Cisco Blogs
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Forbes - Security
Forbes - Security
T
Troy Hunt's Blog
V
V2EX
博客园 - 聂微东
Cloudbric
Cloudbric
大猫的无限游戏
大猫的无限游戏
Google Online Security Blog
Google Online Security Blog
S
Security Affairs
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Recent Commits to openclaw:main
Recent Commits to openclaw:main
IT之家
IT之家
S
SegmentFault 最新的问题
T
Threat Research - Cisco Blogs
J
Java Code Geeks
H
Heimdal Security Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
Know Your Adversary
Know Your Adversary
小众软件
小众软件
Microsoft Azure Blog
Microsoft Azure Blog
The GitHub Blog
The GitHub Blog
AWS News Blog
AWS News Blog
The Cloudflare Blog
Simon Willison's Weblog
Simon Willison's Weblog
月光博客
月光博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

AUR Newest Packages

AUR (en) - xcute AUR (en) - wallrift AUR (en) - smolvm-git AUR (en) - smolvm-bin AUR (en) - smolvm AUR (en) - chess-cat-git AUR (en) - uac-launch-control-bin AUR (en) - openclaw AUR (en) - keyviz-zh-bin AUR (en) - profile-sync-daemon-openrc-git AUR (en) - runex-bin AUR (en) - sing-box-ref1nd-beta-bin AUR (en) - netscan-tui AUR (en) - android-cli AUR (en) - rudo-bin AUR (en) - marmalade-bin AUR (en) - clawx-appimage AUR (en) - echomusic-appimage AUR (en) - vermouth AUR (en) - mautrix-telegram-bin AUR (en) - ketesa AUR (en) - clawd-on-desk-bin AUR (en) - rebased-bin AUR (en) - oxideterm-bin AUR (en) - shed-sh AUR (en) - haus-bin AUR (en) - stably-orca-bin AUR (en) - reflection AUR (en) - emerald-legacy-launcher-git AUR (en) - kwim AUR (en) - pentest-ghostwriter AUR (en) - papagaia AUR (en) - outport-bin AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - python-fastapi-sso AUR (en) - zeed-bin AUR (en) - dwl-git-azerty AUR (en) - libspatialaudio-git AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-git AUR (en) - giff-git AUR (en) - budget-tracker-bin AUR (en) - budget-tracker AUR (en) - tasks-bin AUR (en) - ruri-git AUR (en) - gitmun-bin AUR (en) - python-cozempic AUR (en) - paintfe-bin AUR (en) - paintfe AUR (en) - drop-bin AUR (en) - tritium-launcher-bin AUR (en) - solidc-git AUR (en) - paseo-desktop-bin AUR (en) - dota2-minify-bin AUR (en) - yt-dvr AUR (en) - enneagram AUR (en) - excalidraw-desktop-bin AUR (en) - binaryobjectscanner-bin AUR (en) - openring-rs AUR (en) - openring-rs-bin AUR (en) - brave-origin-beta-bin AUR (en) - whisper.cpp-cuda-bin AUR (en) - libggml-cuda-bin AUR (en) - revdiff AUR (en) - tdesktop-nolimit AUR (en) - cert-checker AUR (en) - yaak-cli AUR (en) - yaak-cli-bin AUR (en) - deez-notes-bin AUR (en) - goosestation-libretro AUR (en) - whispers-cuda-bin AUR (en) - kei AUR (en) - foxguard AUR (en) - hyprlogin-git AUR (en) - kebiki AUR (en) - runex AUR (en) - ikuai-cli AUR (en) - whispers-bin AUR (en) - pipeweaver-app AUR (en) - pipeweaver AUR (en) - agentop-bin AUR (en) - cosmic-ext-connected-git AUR (en) - kwin-dual-mode AUR (en) - skwd-daemon AUR (en) - ter-music-cn AUR (en) - elio-bin AUR (en) - keyboard-chattering-fix-git AUR (en) - qtkeychain-qt5 AUR (en) - gesturecontrol AUR (en) - sharey AUR (en) - ouijit-bin AUR (en) - usque-bin AUR (en) - twig-bin AUR (en) - ascendara-bin
AUR (en) - switchhosts-bin
2026-06-22 · via AUR Newest Packages

Here is a working PKGBUILD providing the latest version (v3.5.4). I get a white window the first time I open it but after minimizing and restoring the window, the content appears. I also have a problem with the icon in the application menu. I will try to fix those little things (at least the icons) and maybe provide a new AUR package if someone is interested. Personnaly, I love this software and I can't find good enough alternatives.

pkgname=switchhosts-bin
pkgver=3.5.4
pkgrel=5517
pkgdesc="Switch hosts quickly!"
arch=('any')
url="https://oldj.github.io/SwitchHosts"
license=("MIT")
options=(!strip)
depends=("gconf" "gtk2" "libnotify" "libxtst" "nss" "python2" "xdg-utils" "desktop-file-utils" "alsa-lib")
makedepends=("imagemagick" "npm")

source=(
    "https://github.com/oldj/SwitchHosts/releases/download/v${pkgver}/SwitchHosts._linux_x64_${pkgver}.${pkgrel}.zip"
    "https://raw.githubusercontent.com/oldj/SwitchHosts/master/app/assets/logo@512w.png"
    "${pkgname}.install"
    "${pkgname}.desktop"
)

md5sums=('bd23ba93ba19ed1377e0bd36f6f9376b'
         '06eb97a4b5b5ddf7a06841e01d5562eb'
         '0b6211b511da48346cecdc1d2f963c76'
         '30df36e53ef2d815a2c2395f0378f9bb')

package() {
    install -dm755 "$pkgdir/"{opt,usr/bin}
    cp -r "${srcdir}" "${pkgdir}/opt/${pkgname}"
    ln -s "/opt/${pkgname}/switchhosts" "$pkgdir/usr/bin/switchhosts"
    install -Dm644 ${srcdir}/${pkgname}.desktop "$pkgdir"/usr/share/applications/${pkgname}.desktop
    # icons generation
    mkdir -p "icons"
    cd "icons"
    mv ${srcdir}/logo@512w.png logo_icon.png
    convert -background transparent logo_icon.png -define icon:auto-resize=16,32,48,64,128,256 app.ico
    convert app.ico logo_icon.png
    # icons installation
    sizes=(16 32 48 64 128 256)
    for i in 0 1 2 3 4 ; do
      install -d "${pkgdir}/usr/share/icons/hicolor/${sizes[$i]}x${sizes[$i]}/apps"
      install -Dm644 "logo_icon-${i}.png" \
      "${pkgdir}/usr/share/icons/hicolor/${sizes[$i]}x${sizes[$i]}/apps/${pkgname}.png"
    done
}

Please update the PKGBUILD

Maintainer: Douglas Soares de Andrade douglas@archlinux.org

pkgname=switchhosts-bin pkgver=3.5.0 pkgrel=5287 pkgdesc="Switch hosts quickly!" arch=('any') url="https://oldj.github.io/SwitchHosts" license=("MIT") options=(!strip) depends=("gconf" "gtk2" "libnotify" "libxtst" "nss" "python2" "xdg-utils" "desktop-file-utils" "alsa-lib") makedepends=("imagemagick" "npm")

source=( "https://github.com/oldj/SwitchHosts/releases/download/v3.5.0/SwitchHosts._linux_x64_3.5.0.5486.zip" "https://raw.githubusercontent.com/oldj/SwitchHosts/master/assets/app.ico" "${pkgname}.install" "${pkgname}.desktop" )

md5sums=('c051e239ce81a89d22b14c099c1afd66' '88fe4a72cf9630119dd512c91b54edd9' '0b6211b511da48346cecdc1d2f963c76' '30df36e53ef2d815a2c2395f0378f9bb')

package() { install -dm755 "$pkgdir/"{opt,usr/bin} cp -r "${srcdir}" "${pkgdir}/opt/${pkgname}" ln -s "/opt/${pkgname}/switchhosts" "$pkgdir/usr/bin/switchhosts" install -Dm644 ${srcdir}/${pkgname}.desktop "$pkgdir"/usr/share/applications/${pkgname}.desktop mkdir -p "icons" cd "icons" convert ${srcdir}/app.ico logo_icon.png cd - sizes=(256x256 128x128 48x48 32x32 16x16) for i in 0 1 2 3 4 5 ; do install -d "${pkgdir}/usr/share/icons/hicolor/${sizes[$i]}/apps" install -Dm644 "icons/logo_icon-${i}.png" \ "${pkgdir}/usr/share/icons/hicolor/${sizes[$i]}/apps/${pkgname}.png" done

Hello, can you please update this AUR package? Last version is 3.3.12 (2018-07-09). Thanks.