Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
Tencent QQのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
Tencent QQ
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:インスタントメッセージ]] [[en:Tencent QQ]] [[zh-hans:Tencent QQ]] QQ は Tencent が開発したインスタントメッセージングソフトウェアで、ICQ の模倣品であり、中国で人気のある IM ソフトウェアです。このページでは、Arch Linux で QQ を使用するためのさまざまなソリューションを紹介しています。 == 公式バージョン == 公式バージョンは既に利用可能です。公式バージョンを使用するには、{{AUR|linuxqq}} をインストールしてください。 {{Note|公式バージョンでは通常の QQ を提供していますが、TIM には公式バージョンがありません。TIM を使用したい場合は、[[#Wine|Wine ソリューション]]を利用してください。}} == 仮想マシン == 完全な Windows システムを仮想マシン上で実行し、その中で QQ を動作させることができます。この方法は、他の方法と比べてエラーの発生確率が最も低いです。デメリットは、より多くのリソースを消費することです。 {{Tip| * [https://www.microsoft.com/en-us/Useterms/OEM/Windows/10Mobile/UseTerms_OEM_Windows_10Mobile_ChineseSimplified.htm ライセンス条項] によると、各仮想デバイスで Windows を実行するには個別のライセンスが必要です。ただし、Microsoft が提供する[https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/ 仮想マシン専用システム]{{Dead link|2024|01|13|status=404}}(無料で使用可能)を選択することができます。 * VirtualBox を使用する場合は、'''[https://www.virtualbox.org/manual/ch04.html#seamlesswindows シームレスモード]''' を有効にすることをお勧めします。この機能により、ホストデスクトップ上で仮想マシンのウィンドウをシームレスに操作できます。}} == Wine == {{Out of date|The wine-based QQ upstream has not been updated for a long time since the official linux version has been released. Basically it is not working due to the old QQ version.}} [[Wine]] is a "compatibility layer" that runs Microsoft Windows programs under UNIX-like systems, and it can be used to simulate QQ environment to run QQ/TIM. {{Warning|The style of Wine QQ/TIM under the tiled window manager may be out of control on a large scale and [[#Configuration under the tiled window manager|additional configuration]] is required.}} === Deepin QQ/TIM === Deepin QQ/TIM is a relatively mature solution in wine. Almost out of the box, with fewer bugs. You can install the normal QQ: {{AUR|deepin-wine-qq}} or TIM: {{AUR|com.qq.office.deepin}} (or {{AUR|com.qq.tim.spark}} from Spark Store), also from [https://www.archlinuxcn.org/archlinux-cn-repo-and-mirror/ Arch Linux CN source] install the normal QQ: {{ic|deepin.com.qq.im}} or TIM: {{ic|deepin.com.qq.office}}。 Or you can install the Light version: {{AUR|deepin.com.qq.im.light}}。 For the KDE/Plasma desktop, see [[Deepin-wine#Deepin-wine applications fails to start]]. === Crossover === You can use [[CrossOver]] to run QQ, TM2013 and TIM. For more details, please refer to [https://www.codeweavers.com/compatibility CrossOver's compatibility list]. === AppImage === AppImage is a format for packaging applications into a single file. You can download the packaged Wine QQ/TIM in [https://github.com/askme765cs/Wine-QQ-TIM].Only need to give executable permissions to use. Since the AppImage format comes with the dependencies required by the program, this method is least affected by the versions of other components in the system. {{Note|Since AppImage does not use the system's Wine, adjustments to Wine may be invalid, such as [[#HiDPI support]].}} === Teacher Qingfeng's Wine QQ program === You can also use the Wine QQ program provided by [https://phpcj.org/wineqq/ Teacher Qingfeng]. {{Note|After the installation is successful, you need to uncheck the automatic update of QQ to avoid unavailability of automatic update. }} === Manual Wine scheme === ==== QQ light chat version ==== {{Note|This program uses QQ Light Chat version 6.7, and later versions require [https://blog.lilydjwg.me/2015/10/26/run-tencent-qq-lite-with-wine.186640.html additional adjustments] in the current wine version to install.}} Install {{Pkg|winetricks}} and {{Pkg|wine}}. Created {{ic|qqlight.verb}} as follows: w_metadata qqlight apps \ title="QQ Light" \ publisher="Tencent" \ year="2015" \ media="download" \ file1="QQ6.7Light.exe" \ installed_exe1="$W_PROGRAMS_X86_WIN/Tencent/QQ/Bin/QQ.exe" \ homepage="https://www.qq.com" \ unattended="no" load_qqlight() { w_download https://dldir1.qq.com/qqfile/qq/QQ6.7Light/13466/QQ6.7Light.exe e1e1ff2bf6461c08047d0a01927a43c5a0746bdf if w_workaround_wine_bug 29636 "Installing native riched20 to work around crash bug" then w_call riched20 fi if w_workaround_wine_bug 34566 "Installing native ctf to work around crash" then w_call msctf fi # Make sure chinese fonts are available w_call fakechinese # uses mfc42u.dll w_call mfc42 cd "$W_CACHE/$W_PACKAGE" w_try "$WINE" "$file1" # fix crash after login mkdir -p ~/.local/share/wineprefixes/qqlight/drive_c/users/$LOGNAME/Application\ Data/Tencent/QQ/Misc/com.tencent.wireless/SDK chmod 000 ~/.local/share/wineprefixes/qqlight/drive_c/users/$LOGNAME/Application\ Data/Tencent/QQ/Misc/com.tencent.wireless/SDK w_declare_exe "$W_PROGRAMS_X86_WIN\\Tencent\\QQ\\Bin" QQ.exe } Run {{ic|winetricks}} to install: $ winetricks qqlight.verb After installation, start it through {{ic|wineconsole}}: $ wineconsole .wine/drive_c/run-qqlight.bat ==== TIM ==== Install {{Pkg|wine}}, {{Pkg|wine-gecko}} and {{Pkg|wine-mono}}. Execute {{ic|winetricks riched20}}, or use {{ic|winecfg}} to set function library substitution. You may need to configure Chinese font display, see [[#Font configuration]]. Install TIM. ===== Generate icon ===== The installed TIM may not have generated an icon in the program list. To add icons by yourself, create a new {{ic|tim.desktop}} file and write the following: {{hc|tim.desktop| <nowiki>[Desktop Entry] Encoding=UTF-8 Version=1 Name=TIM Comment=Tencent TIM Exec=wine '~/.wine/drive_c/Program Files/Tencent/TIM/Bin/TIM.exe' Icon=~/.wine/drive_c/Program Files/Tencent/TIM/TIMUninst.ico Terminal=false Type=Application Categories=Network;</nowiki>}} Move {{ic|tim.desktop}} to {{ic|~/.local/share/applications}} or {{ic|/usr/share/applications}}. == Tips and tricks == === HiDPI support === On the HiDPI display, the QQ/TIM interface may be too small. Support for HiDPI has been added to the newer version of QQ/TIM. Just manually adjust Wine's DPI. Execute {{ic|winecfg}}, switch to the '''display''' tab in the opened window and adjust the DPI. {{Note|If you are not using the default wine container (for example, use deepin QQ/TIM) you need to specify the {{ic|WINEPREFIX}} variable when you execute {{ic|winecfg}}. For example, {{ic|1=env WINEPREFIX=$HOME/.deepinwine/Deepin-QQ deepin-wine winecfg}} or {{ic|1=env WINEPREFIX=$HOME/.deepinwine/Deepin-TIM deepin-wine winecfg}}.}} === Configuration under the tiled window manager === ==== Awesome ==== Wine QQ/TM may be out of control under the tiled window manager, and some configuration is required. The following configuration has these effects: * Set all TM windows to float. * Clear unnecessary window borders to prevent the focus from moving to the menu when the menu pops up. * When using tabbed conversation window, increased [https://blog.lilydjwg.me/2013/11/15/switch-tabs-with-alt-num-in-wined-tm-exe-in-awesome.41729.html use of digital switches Alt+Number] shortcut key, need to install [[xdotool]]. * Automatically close the pop-up news window. Add the following to the [[Awesome]] configuration: function myfocus_filter(c) if awful.client.focus.filter(c) then -- This works with tooltips and some popup-menus if c.class == 'Wine' and c.above == true then return nil elseif c.class == 'Wine' and c.type == 'dialog' and c.skip_taskbar == true and c.size_hints.max_width and c.size_hints.max_width < 160 then -- for popup item menus of Photoshop CS5 return nil else return c end end end awful.rules.rules = { -- All clients will match this rule. { rule = { }, properties = { -- we use our own function focus = myfocus_filter, -- The following is the default part border_width = beautiful.border_width, border_color = beautiful.border_normal, keys = clientkeys, buttons = clientbuttons, } }, { rule_any = { instance = {'TM.exe', 'QQ.exe'}, }, properties = { -- This, together with myfocus_filter, make the popup menus flicker taskbars less -- Non-focusable menus may cause TM2013preview1 to not highlight menu -- items on hover and crash. focusable = true, floating = true, -- remove the border border_width = 0, } }, { -- Other rules } } alt_switch_keys = awful.util.table.join( -- it's easier for a vimer to manage this than figuring out a nice way to loop and concat awful.key({'Mod1'}, 1, function(c) awful.util.spawn('xdotool key --window ' .. c.window .. ' ctrl+1') end), awful.key({'Mod1'}, 2, function(c) awful.util.spawn('xdotool key --window ' .. c.window .. ' ctrl+2') end), awful.key({'Mod1'}, 3, function(c) awful.util.spawn('xdotool key --window ' .. c.window .. ' ctrl+3') end), awful.key({'Mod1'}, 4, function(c) awful.util.spawn('xdotool key --window ' .. c.window .. ' ctrl+4') end), awful.key({'Mod1'}, 5, function(c) awful.util.spawn('xdotool key --window ' .. c.window .. ' ctrl+5') end), awful.key({'Mod1'}, 6, function(c) awful.util.spawn('xdotool key --window ' .. c.window .. ' ctrl+6') end), awful.key({'Mod1'}, 7, function(c) awful.util.spawn('xdotool key --window ' .. c.window .. ' ctrl+7') end), awful.key({'Mod1'}, 8, function(c) awful.util.spawn('xdotool key --window ' .. c.window .. ' ctrl+8') end), awful.key({'Mod1'}, 9, function(c) awful.util.spawn('xdotool key --window ' .. c.window .. ' ctrl+9') end) ) function bind_alt_switch_tab_keys(client) client:keys(awful.util.table.join(client:keys(), alt_switch_keys)) end -- }}} client.connect_signal("manage", function (c, startup) -- other configuration if c.instance == 'TM.exe' then -- add Alt+n support bind_alt_switch_tab_keys(c) -- close all kinds of news notification small windows if c.name and c.name:match('^腾讯') and c.above then c:kill() end end -- other configuration end) You can also look at the complete [https://github.com/lilydjwg/myawesomerc Awesome configuration]. ==== i3 ==== In the native configuration, when {{ic|qq2012}} is started, it will be maximized automatically, and the border is not beautiful. The following two rules can be set in the [[i3]] {{ic|config}} setting to improve: for_window [instance="QQ.exe"] floating enable for_window [instance="QQ.exe"] border none == Troubleshooting == === Font configuration === If you have problems displaying Chinese, you can try to execute {{ic|winetricks fakechinese}} first. See also [[Wine#Fonts|fonts]] and [[Font configuration#Applications without fontconfig support|Applications without fontconfig support]]。 === File is occupied === Just kill the process of QQ or TIM. After exiting QQ/TIM, some related processes are still running in the background. You can also use the following script to start QQ/TIM, it will first find the existing process, kill the process and start a new QQ/TIM. {{hc|start-tim.sh| #!/bin/sh # script to start TIM # kill TIM before start TIM for pid in `pgrep TIM.exe`; do if [ -n ${pid} ]; then kill ${pid} fi done # start TIM wine '~/.wine/drive_c/Program Files/Tencent/TIM/Bin/TIM.exe' }} The above example is applicable to TIM, and can be applied to QQ after a little modification. === Unable to input emoticons under xfce4 (xfwm4) === Open the Settings Manager-Window manager tuning-focus, uncheck the ICCCM focus prompt to activate focus anti-theft and follow the standard. The reason is that incompatibility occurs when the emoji window gains focus. === Cannot enter Chinese under non-Chinese locale === Modify the {{ic|Exec}} of the {{ic|.desktop}} file, which is usually located in {{ic|/usr/share/applications/}}, but must be copied to {{ic|~/.local/share/applications/}} in order to not get overwritten. Add {{ic|1=env LC_ALL=zh_CN.UTF-8}} to the {{ic|Exec}} line. For example, the original {{ic|Exec}} was: Exec=".wine/drive_c/Program Files/QQ/Bin/QQ.exe" Should be changed to: Exec=env LC_ALL=zh_CN.UTF-8 wine ".wine/drive_c/Program Files/QQ/Bin/QQ.exe" === Screen flicker when using a monitor with high refresh rate === See [[Chromium#Chromium rendering at 60 FPS despite using a display with a higher refresh rate]]. == See also == * [https://zh.opensuse.org/SDB:QQ openSUSE wiki] * [http://qun.qzone.qq.com/ QQ group space on the web side] When the QQ client used does not support group space, this service can be used instead. * [https://im.qq.com/mobileqq/ IM QQ-QQ mobile version] Mobile end is also an alternative. * [https://github.com/hillwoodroc/winetricks-zh hillwoodroc/winetricks-zh] hillwoodroc/winetricks-zh
このページで使用されているテンプレート:
テンプレート:AUR
(
ソースを閲覧
)
テンプレート:Dead link
(
ソースを閲覧
)
テンプレート:Hc
(
ソースを閲覧
)
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:META Message
(
ソースを閲覧
)
テンプレート:Note
(
ソースを閲覧
)
テンプレート:Out of date
(
ソースを閲覧
)
テンプレート:Pkg
(
ソースを閲覧
)
テンプレート:Tip
(
ソースを閲覧
)
テンプレート:TranslationStatus
(
ソースを閲覧
)
テンプレート:Warning
(
ソースを閲覧
)
Tencent QQ
に戻る。
検索
検索
Tencent QQのソースを表示
話題を追加