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|Wine ベースの QQ の上流は、公式の Linux バージョンがリリースされて以来、長い間更新されていません。基本的に古い QQ バージョンのため動作しません。}} [[Wine]] は、UNIX 系システム上で Microsoft Windows プログラムを実行するための「互換レイヤー」であり、QQ/TIM を実行するための環境をエミュレートするのに使用できます。 {{Warning|タイル型ウィンドウマネージャーでは、Wine QQ/TIM のウィンドウスタイルが制御不能になる場合があり、[[#Configuration under the tiled window manager|追加設定]]が必要です。}} === Deepin QQ/TIM === Deepin QQ/TIM は、Wine 上で比較的成熟したソリューションで、ほぼそのまま使用でき、バグも少ないです。 通常の QQ をインストールするには {{AUR|deepin-wine-qq}} を、TIM をインストールするには {{AUR|com.qq.office.deepin}}(または Spark Store から {{AUR|com.qq.tim.spark}})を使用することができます。または、[https://www.archlinuxcn.org/archlinux-cn-repo-and-mirror/ Arch Linux CN ソース] から通常の QQ を {{ic|deepin.com.qq.im}}、または TIM を {{ic|deepin.com.qq.office}} としてインストールできます。 軽量バージョンをインストールするには、{{AUR|deepin.com.qq.im.light}} を使用します。 KDE/Plasma デスクトップ環境の場合は、[[Deepin-wine#Deepin-wine applications fails to start]] を参照してください。 === Crossover === [[CrossOver]] を使用して、QQ、TM2013、TIM を実行することもできます。詳細は [https://www.codeweavers.com/compatibility CrossOver の互換性リスト] を参照してください。 === AppImage === AppImage は、アプリケーションを 1 つのファイルにパッケージ化する形式です。パッケージ化された Wine QQ/TIM を [https://github.com/askme765cs/Wine-QQ-TIM] からダウンロードできます。実行権限を与えるだけで使用できます。AppImage 形式にはプログラムに必要な依存関係が含まれているため、この方法はシステムの他のコンポーネントのバージョンに最も影響されにくいです。 {{Note|AppImage はシステムの Wine を使用しないため、Wine の設定変更が無効になる場合があります(例: [[#HiDPI support]])。}} === Teacher Qingfeng の Wine QQ プログラム === [https://phpcj.org/wineqq/ Teacher Qingfeng] が提供する Wine QQ プログラムを使用することもできます。 {{Note|インストールが成功した後、QQ の自動更新をオフにして、自動更新による使用不能を防ぐ必要があります。}} === 手動 Wine ソリューション === ==== QQ 軽量チャットバージョン ==== {{Note|このプログラムは QQ 軽量チャットバージョン 6.7 を使用しています。後続のバージョンでは、現在の wine バージョンでのインストールに [https://blog.lilydjwg.me/2015/10/26/run-tencent-qq-lite-with-wine.186640.html 追加の調整] が必要です。}} {{Pkg|winetricks}} と {{Pkg|wine}} をインストールします。以下の内容で {{ic|qqlight.verb}} を作成します: 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 "クラッシュバグを回避するためにネイティブ riched20 をインストール" then w_call riched20 fi if w_workaround_wine_bug 34566 "クラッシュを回避するためにネイティブ ctf をインストール" then w_call msctf fi # 中国語フォントが利用可能であることを確認する w_call fakechinese # mfc42u.dll を使用 w_call mfc42 cd "$W_CACHE/$W_PACKAGE" w_try "$WINE" "$file1" # ログイン後のクラッシュ修正 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 } {{ic|winetricks}} を実行してインストールします: $ winetricks qqlight.verb インストール後、{{ic|wineconsole}} を使用して起動します: $ wineconsole .wine/drive_c/run-qqlight.bat ==== TIM ==== {{Pkg|wine}}、{{Pkg|wine-gecko}}、{{Pkg|wine-mono}} をインストールします。 {{ic|winetricks riched20}} を実行するか、{{ic|winecfg}} を使用して機能ライブラリの置換を設定します。 中国語フォントの表示を構成する必要がある場合があります。詳細は [[#Font configuration]] を参照してください。 TIM をインストールします。 ===== アイコンの生成 ===== インストールされた TIM は、プログラムリストにアイコンを生成していない場合があります。自分でアイコンを追加するには、新しい {{ic|tim.desktop}} ファイルを作成し、以下の内容を書き込みます: {{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>}} {{ic|tim.desktop}} を {{ic|~/.local/share/applications}} または {{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のソースを表示
話題を追加