https://wiki.archlinux.org/api.php?action=feedcontributions&user=Poudink&feedformat=atomArchWiki - User contributions [en]2024-03-29T07:27:03ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=User:Poudink/common.css&diff=737456User:Poudink/common.css2022-07-13T19:29:44Z<p>Poudink: removed user style</p>
<hr />
<div></div>Poudinkhttps://wiki.archlinux.org/index.php?title=User:Poudink/common.css&diff=737253User:Poudink/common.css2022-07-11T16:43:34Z<p>Poudink: Created page with "@import "https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-dark-mode.css&action=raw&ctype=text/css";"</p>
<hr />
<div>@import "https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-dark-mode.css&action=raw&ctype=text/css";</div>Poudinkhttps://wiki.archlinux.org/index.php?title=Browser_plugins&diff=736154Browser plugins2022-07-03T05:15:30Z<p>Poudink: KDE's Falkon browser still supports PPAPI. Also update Ruffle progress.</p>
<hr />
<div>[[Category:Web browser]]<br />
[[de:Browser Plugins]]<br />
[[ja:ブラウザプラグイン]]<br />
{{Related articles start}}<br />
{{Related|Browser extensions}}<br />
{{Related articles end}}<br />
<br />
There are two types of browser plugins, based on the plugin API they use:<br />
<br />
* Netscape plugin API ([[Wikipedia:NPAPI|NPAPI]]): these plugins work in some smaller browsers ([[Firefox]] and [[Chromium]] do '''not''' support these plugins).<br />
* Pepper plugin API ('''PPAPI'''): these plugins work in some smaller browsers ([[Firefox]] and [[Chromium]] do '''not''' support these plugins).<br />
<br />
== Flash players ==<br />
<br />
=== Adobe Flash Player ===<br />
<br />
{{Warning|Adobe Flash Player support ended on 31 December 2020. As a result, the NPAPI and PPAPI plugins are no longer supported in any browser. Additionally, the project will no longer receive any bug fixes or security updates. [https://www.adobe.com/products/flashplayer/end-of-life.html]}}<br />
<br />
An older standalone version can be [[install]]ed with the {{AUR|flashplayer-standalone}} package. This package predates the hard coded end-of-life clock being inserted in Flash Player and therefore continues to work.<br />
<br />
=== Gnash ===<br />
<br />
{{Warning|Gnash is not actively maintained.[https://git.savannah.gnu.org/cgit/gnash.git/tree/README] The final release was in 2012.}}<br />
<br />
[[Wikipedia:Gnash (software)|Gnash]] is a free (libre) alternative to Adobe Flash Player. It is available both as a standalone player for desktop computers and embedded devices, as well as a browser plugin, and supports the SWF format up to version 7 (with some features of versions 8 and 9) and about 80% of ActionScript 2.0.<br />
<br />
Gnash can be [[install]]ed with the {{AUR|gnash-git}} package.<br />
<br />
=== Lightspark ===<br />
<br />
[https://lightspark.github.io/ Lightspark] is another attempt to provide a free alternative to Adobe Flash aimed at supporting newer Flash formats. Lightspark has the ability to fall back on Gnash for old content, which enables users to install both and enjoy wider coverage. Although it is still very much in development, it supports some [https://github.com/lightspark/lightspark/wiki/Status-of-Lightspark-support#support-for-various-websites-using-flash popular sites].<br />
<br />
Lightspark can be [[install]]ed with the {{AUR|lightspark}} or {{AUR|lightspark-git}} package.<br />
<br />
=== Ruffle ===<br />
<br />
[https://ruffle.rs/ Ruffle] is a Flash Player emulator written in [[Rust]]. It runs natively as a standalone application, and on all modern browsers through the use of [[Wikipedia:WebAssembly|WebAssembly]]. While still being under active development, decent ActionScript 1.0/2.0 support is in place and improving; ActionScript 3.0 support is in early stages.<br />
<br />
Ruffle can be [[install]]ed with one of the {{AUR|ruffle-git}} or {{AUR|ruffle-nightly-bin}} packages.<br />
<br />
== Java (IcedTea) ==<br />
<br />
{{Note|Both Java plugins are NPAPI-only and thus do '''not work''' in Chromium, Opera and Firefox.}}<br />
<br />
To enable [[Java]] support in your browser, you have two options: the open-source [[Wikipedia:OpenJDK|OpenJDK]] (recommended) or Oracle's proprietary version. For details about why OpenJDK is recommended see [https://mailman.archlinux.org/pipermail/arch-general/2011-August/021671.html].<br />
<br />
To use OpenJDK, you have to install the [[Wikipedia:IcedTea|IcedTea]] browser plugin, {{Pkg|icedtea-web}}.<br />
<br />
If you want to use Oracle's JRE, install the {{AUR|jre}} package.<br />
<br />
== Multimedia playback ==<br />
<br />
Many browsers support the [[GStreamer]] framework to play multimedia inside HTML5 {{ic|<audio>}} and {{ic|<video>}} elements. Check the optional dependencies of the browser package (or of the web engine, e.g. {{Pkg|webkit2gtk}} or {{Pkg|qt5-webkit}}) to see if GStreamer is supported. See [[GStreamer#Installation]] for the description of each plugin.<br />
<br />
For media formats that are not natively supported by your browser (e.g. most browsers do not play {{ic|.mkv}} files), the following plugins are available:<br />
<br />
* {{App|VLC Plugin|NPAPI plugin that uses VLC as backend.|https://code.videolan.org/videolan/npapi-vlc|{{AUR|npapi-vlc}}}}<br />
<br />
== MozPlugger ==<br />
<br />
{{warning|MozPlugger is not maintained. The final release was in 2014.}}<br />
<br />
[https://web.archive.org/web/20190405220309/http://mozplugger.mozdev.org/ MozPlugger] is a NPAPI plugin which can show many types of multimedia inside your browser. To accomplish this, it uses external programs such as MPlayer, xine, Evince, OpenOffice, TiMidity, etc.<br />
<br />
MozPlugger can be installed with the {{AUR|mozplugger}} package.<br />
<br />
To modify or add applications to be used by MozPlugger just modify the {{ic|/etc/mozpluggerrc}} file. For a more complete list of MozPlugger options see {{man|7|mozplugger|url=https://www.freebsd.org/cgi/man.cgi?query=mozplugger}}.<br />
<br />
=== PDF viewers ===<br />
<br />
If you want to use MozPlugger with Evince, for example, you have to find the lines containing {{ic|pdf}} in the {{ic|/etc/mozpluggerrc}} file and modify the corresponding line after {{ic|GV()}} as below:<br />
repeat noisy swallow(evince) fill: evince "$file"<br />
(replace {{ic|evince}} with something else if it is not your viewer of choice).<br />
<br />
When using Firefox, you may need to change 2 values in {{ic|about:config}}:<br />
* Change {{ic|pdfjs.disabled}}'s value to ''true'';<br />
* Change {{ic|plugin.disable_full_page_plugin_for_types}}'s value to an empty value.<br />
<br />
Then restart Firefox to use the plugin.<br />
<br />
=== Use LibreOffice instead of OpenOffice ===<br />
<br />
For example, MozPlugger uses OpenOffice by default to open {{ic|doc}} files. To change it to use LibreOffice instead, look for the OpenOffice section:<br />
{{hc|/etc/mozpluggerrc|<br />
...<br />
### OpenOffice<br />
define([OO],[swallow(VCLSalFrame) fill: ooffice2.0 -nologo -norestore -view $1 "$file"<br />
swallow(VCLSalFrame) fill: ooffice -nologo -norestore -view $1 "$file"<br />
swallow(VCLSalFrame) fill: soffice -nologo $1 "$file"])<br />
...<br />
}}<br />
and add LibreOffice at the beginning of the list:<br />
{{hc|/etc/mozpluggerrc|<br />
...<br />
### LibreOffice/OpenOffice<br />
define([OO],[swallow(VCLSalFrame) fill: libreoffice --nologo --norestore --view $1 "$file"<br />
swallow(VCLSalFrame) fill: ooffice2.0 -nologo -norestore -view $1 "$file"<br />
swallow(VCLSalFrame) fill: ooffice -nologo -norestore -view $1 "$file"<br />
swallow(VCLSalFrame) fill: soffice -nologo $1 "$file"])<br />
...<br />
}}<br />
{{Note|Be sure to also choose LibreOffice as your preferred application to open {{ic|doc}} files.}}<br />
<br />
=== Open cpp files in Kate ===<br />
<br />
As another simple example, if you want to open {{ic|cpp}} files with your favorite text editor (we will use Kate) to get syntax highlighting, just add a new section to your {{ic|mozpluggerrc}} file:<br />
{{hc|/etc/mozpluggerrc|<br />
text/x-c++:cpp:C++ Source File<br />
text/x-c++:hpp:C++ Header File<br />
repeat noisy swallow(kate) fill: kate -b "$file"<br />
}}<br />
<br />
=== Use mpv instead of MPlayer ===<br />
<br />
To change the default of MPlayer so that [[mpv]] is used instead, change the appropriate lines such that:<br />
{{hc|1=/etc/mozpluggerrc|2=<br />
...<br />
### MPlayer<br />
<br />
#define(MP_CMD,[mplayer -really-quiet -nojoystick -nofs -zoom -vo xv,x11 -ao esd,alsa,oss,arts,null -osdlevel 0 $1 </dev/null])<br />
define(MP_CMD,[mpv -really-quiet $1 </dev/null])<br />
<br />
#define(MP_EMBED,[embed noisy ignore_errors: MP_CMD(-xy $width -wid $window $1)])<br />
define(MP_EMBED,[embed noisy ignore_errors: MP_CMD(--autofit=$width -wid $window $1)])<br />
<br />
#define(MP_NOEMBED,[noembed noisy ignore_errors maxaspect swallow(MPlayer): MP_CMD($1)])<br />
define(MP_NOEMBED,[noembed noisy ignore_errors maxaspect swallow(mpv): MP_CMD($1)])<br />
<br />
...<br />
<br />
#define(MP_AUDIO,[mplayer -quiet -nojoystick $1 </dev/null])<br />
define(MP_AUDIO,[mpv -really-quiet $1 </dev/null])<br />
<br />
#define(MP_AUDIO_STREAM,[controls stream noisy ignore_errors: mplayer -quiet -nojoystick $1 "$file" </dev/null])<br />
define(MP_AUDIO_STREAM,[controls stream noisy ignore_errors: mpv -really-quiet $1 "$file" </dev/null])<br />
...<br />
}}<br />
<br />
== Troubleshooting ==<br />
<br />
=== Firefox: plugins are installed but not working ===<br />
<br />
A common problem is that the plugin path is unset. This typically occurs on a new install, when the user has not re-logged in before running Firefox after the installation. Test if the path is unset:<br />
$ printenv MOZ_PLUGIN_PATH<br />
If unset, then either re-login, or source {{ic|/etc/profile.d/mozilla-common.sh}} and start Firefox from the same shell:<br />
$ source /etc/profile.d/mozilla-common.sh && firefox</div>Poudinkhttps://wiki.archlinux.org/index.php?title=Talk:Browser_plugins&diff=736153Talk:Browser plugins2022-07-03T05:09:38Z<p>Poudink: /* Remove or merge with other articles? */ reply</p>
<hr />
<div>== Remove or merge with other articles? ==<br />
<br />
Although there are a few browsers like Pale Moon and Waterfox classic (although the latter comes with security disclaimers) that allow NPAPI plugins and are packaged, there are no browsers that allow PPAPI that are actively maintained, and no actively maintained NPAPI or PPAPI plugins.<br />
<br />
Should the ruffle and lightspark parts of this be merged elsewhere, and much of this removed?<br />
[[User:Tvd4FoXC3|Tvd4FoXC3]] ([[User talk:Tvd4FoXC3|talk]]) 14:30, 12 April 2022 (UTC)<br />
<br />
This is wrong. There is at least one actively maintained browser with support for PPAPI, KDE's Falkon browser. [[User:Poudink|Poudink]] ([[User talk:Poudink|talk]]) 05:09, 3 July 2022 (UTC)</div>Poudinkhttps://wiki.archlinux.org/index.php?title=Discord&diff=726814Discord2022-04-17T21:12:53Z<p>Poudink: /* Graphical clients */ The page previously presented no options for non-proprietary graphical clients, so I added the the ones that are still actively maintained. You may also consider adding DiscordQt (discord-qt or discord-qt-appimage). It's pretty complete, but unmaintained. It's likely also worth also writing a more informative blurb to compare the graphical clients, maybe later.</p>
<hr />
<div>[[Category:Instant messaging]]<br />
[[ja:Discord]]<br />
[[zh-hans:Discord]]<br />
Discord is a proprietary, cross-platform, all-in-one voice and text chat application. Many open-source communities have [https://discord.com/open-source official Discord servers] as well. Discord can be used through a web browser or through the desktop application, which is made with [https://github.com/electron/electron Electron].<br />
<br />
== Installation ==<br />
<br />
You can use one of the following packages to install the desktop application for Discord:<br />
<br />
{{Warning|The usage of third-party clients, or any unofficial package or application that modifies the Discord client, is against [https://discord.com/terms Discord's Terms of Service] and may get your account banned. You take all responsibility when using such packages. Avoid using outdated or abandoned clients, as they are more likely to trigger Discord's anti-spam system in their API and thus get your account banned.}}<br />
<br />
=== Graphical clients ===<br />
<br />
The [https://discord.com/ official app]:<br />
<br />
* Stable: {{Pkg|discord}}<br />
* Testing: {{AUR|discord-ptb}}<br />
* Nightly: {{Pkg|discord-canary}}<br />
<br />
Official clients, using the system provided {{Pkg|electron}} for increased security and performance:<br />
<br />
* Stable: {{AUR|discord_arch_electron}}<br />
* Nightly: {{AUR|discord-canary-electron-bin}}<br />
<br />
Third-party clients:<br />
<br />
* {{AUR|abaddon-git}}, an alternative Discord client made with C++/gtkmm<br />
* {{AUR|gtkcord4-git}}, GTK4 Discord client in Go<br />
* {{AUR|ripcord}}, see the [[Ripcord]] article for more information<br />
<br />
=== Command-line clients ===<br />
<br />
There are numerous CLI-based third party clients on the AUR (and non-packaged ones on Github), although most are deprecated or broken. [https://github.com/ayntgl/discordo discordo] is maintained and packaged on the AUR as {{AUR|discordo-git}}. [https://github.com/gord-project/gord Gord] is abandoned, but still accessible on the AUR as {{AUR|gord-git}} and {{AUR|gord-bin}}.<br />
<br />
=== Chat client plugins ===<br />
<br />
* By using {{AUR|purple-discord-git}}, you can use Discord on graphical or terminal messenger softwares based on {{Pkg|libpurple}} such as [[Pidgin]].<br />
* By using {{AUR|bitlbee-discord-git}}, you can use Discord via [[Bitlbee]].<br />
<br />
=== Custom CSS & plugins ===<br />
<br />
[https://betterdiscord.app/ BetterDiscord] is a project which allows Discord to be modified to use custom CSS and plugins. It can be installed through the {{AUR|betterdiscord-installer}} Electron-based installer or {{AUR|betterdiscordctl-git}} management utility.<br />
<br />
[https://powercord.dev/installation Powercord] is an alternative client modification for using themes and plugins which requires {{Pkg|discord-canary}} instead of the stable version. It can be installed via the {{AUR|powercord-electron-git}} package, the package contains modifications that allow it to work with a system-wide electron install.<br />
<br />
=== Overlay ===<br />
<br />
For linux clients, Discord does not support in-game overlay. {{AUR|discover-overlay}} is an open-source GTK application that provides these functions. Discover works on X11 or wlroots environments.<br />
<br />
== Tips and tricks ==<br />
<br />
=== GNOME top bar icon ===<br />
<br />
If you would like to have the icon on the top bar of GNOME, install the [https://extensions.gnome.org/extension/615/appindicator-support/ AppIndicator and KStatusNotifierItem Support extension] and {{Pkg|libappindicator-gtk3}}.<br />
<br />
=== Discord asks for an update not yet available in the repository ===<br />
<br />
Discord will refuse to launch if there is an update available. If the updated version is not yet available in the official repos, you can build and install the updated package using the [[Arch Build System]].<br />
<br />
To disable the update check, add the following to {{ic|~/.config/discord/settings.json}}:<br />
<br />
"SKIP_HOST_UPDATE": true<br />
<br />
Or you can cheat. Check for discord's path: <br />
<br />
file $(which discord)<br />
<br />
and cd to where the symbolic link points. In this directory (probably {{ic|/opt/discord/}}) edit the file {{ic|resources/build_info.json}} that should look like:<br />
<br />
{<br />
"releaseChannel": "stable", <br />
"version": "0.0.13"<br />
}<br />
<br />
You can "upgrade" the version, in this case with {{ic|"0.0.14"}}, and trick the launcher. All is reset in a future update.<br />
<br />
=== Start Discord minimized ===<br />
<br />
Discord can be started minimized through the {{ic|--start-minimized}} argument.<br />
<br />
=== Microphone noise suppression using pipewire (Krisp replacement) ===<br />
<br />
Although Krisp is not available in Linux, you can achieve similar noise reduction level with [[PipeWire#Noise suppression for voice]].<br />
<br />
=== Screen sharing with audio ===<br />
<br />
Screen sharing with audio is [https://support.discord.com/hc/en-us/community/posts/360050971374-Linux-Screen-Share-Sound-Support not supported on Linux]. Alternatives include:<br />
* For PulseAudio, following [[PulseAudio/Examples#Remapping select audio sources]] to obtain a ''Monitor of'' source for the program to share, which can be used as input for another instance of Discord running in a browser.<br />
<br />
=== Enabling Developer Tools ===<br />
<br />
{{Warning|Code that is pasted into the ''Console'' of the developer tools has the ability to steal your credentials and compromise your Discord account. Do not enable this unless you know what you are doing.}}<br />
<br />
After a recent update, devtools were disabled by default on Discord for safety reasons. To re-enable them, add this to {{ic|~/.config/discord/settings.json}}:<br />
<br />
"DANGEROUS_ENABLE_DEVTOOLS_ONLY_ENABLE_IF_YOU_KNOW_WHAT_YOURE_DOING": true<br />
<br />
== Troubleshooting ==<br />
<br />
=== Lagging when scrolling through your guilds ===<br />
<br />
If you experience lags and stutters while scrolling through your guilds please ensure that your hardware acceleration is working correctly. You can do this by opening {{ic|chrome://gpu}} in a [[Chromium]] based browser. If it is not working please check the chapter on [[Chromium#Hardware_video_acceleration|Hardware video acceleration]] and try running Discord with some additional options:<br />
<br />
$ discord --ignore-gpu-blocklist --disable-features=UseOzonePlatform --enable-features=VaapiVideoDecoder --use-gl=desktop --enable-gpu-rasterization --enable-zero-copy<br />
<br />
=== Crackling during voice calls ===<br />
<br />
If you experience crackling sounds when in voice chat, try the steps outlined in [[PulseAudio/Troubleshooting#Glitches, skips or crackling]].<br />
<br />
=== Enabling rich presence on Flatpak ===<br />
<br />
When using the [[Flatpak]] version of Discord, Rich Presence will not work out of the box. To make it work, it is necessary to create a symlink from {{ic|$XDG_RUNTIME_DIR/discord-ipc-0}} to {{ic|$XDG_RUNTIME_DIR/app/com.discordapp.Discord/discord-ipc-0}}. To create the symlink for the current user session, run:<br />
<br />
$ ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-0<br />
<br />
To automatically create the symlink, [[systemd-tmpfiles]] can be used by adding the following line to a file with the ''.conf'' extension in {{ic|~/.config/user-tmpfiles.d/}}:<br />
<br />
L %t/discord-ipc-0 - - - - app/com.discordapp.Discord/discord-ipc-0<br />
<br />
=== Discord becomes unresponsive during long calls ===<br />
<br />
If Discord becomes unresponsive during long calls, try the {{ic|--no-sandbox}} argument. You can also add the following to your [[.bashrc]], or alias file for your shell:<br />
<br />
alias discord='discord --no-sandbox'<br />
<br />
=== Discord freezes after getting pinged or messaged ===<br />
<br />
If a message that would trigger a notification (pings, DMs, servers with notifications on, etc) causes the client to freeze, the client is failing to find a [[Desktop notifications#Libnotify|notification server]]. To fix it without installing a notifications server, disable ''Enable Desktop Notifications'' in the ''Notifications'' options.<br />
<br />
=== Emojis are not rendered correctly ===<br />
<br />
If you encounter rendering issues regarding emojis (rendering as rectangles for example), {{AUR|discord-canary-electron-bin}} has the appropriate fonts as optional dependencies. You should install {{AUR|ttf-symbola}}, {{Pkg|noto-fonts-cjk}}, and {{Pkg|noto-fonts-emoji}}.<br />
<br />
=== Clicking link does not open the web browser ===<br />
<br />
If clicking a link does not open a tab in your default web browser, you should install the {{Pkg|xdg-utils}} optional dependency.<br />
<br />
=== Sync with computer feature not working ===<br />
<br />
Discord is parsing the following file to find which theme to apply:<br />
$HOME/.config/gtk-3.0/settings.ini<br />
and it is looking for these specific lines:<br />
[Settings]<br />
gtk-theme-name=Adwaita-dark<br />
If you change the theme from Adwaita-dark to Adwaita, then Discord will automatically change to light version and vice-versa.<br />
<br />
Note that Discord only supports a few popular themes, so if it doesn't work for your particular theme (in this example with Materia theme), a "dirty" fix would be to put the following in your settings.ini file:<br />
[Settings]<br />
gtk-theme-name=Adwaita-dark<br />
gtk-theme-name=Materia-dark<br />
The definition order is important because GTK will use the second variable definition so in this case Materia-dark but Discord will still successfully detect that you are using a dark theme by providing Adwaita-dark in the first variable definition of the GTK theme.<br />
<br />
=== Blurry Discord icon in KDE Plasma system tray ===<br />
You can attempt to fix this issue by installing {{Pkg|libappindicator-gtk3}} to replace {{Pkg|libappindicator-gtk2}}, which is known to cause this issue.</div>Poudink