Giter VIP home page Giter VIP logo

discord's Introduction

Discord

This is the snap for Discord. It is a community-maintained package to easily install Discord on Ubuntu, Fedora, Debian and other major Linux distributions. It is available in the Snap Store, Ubuntu Software, and a number of other applications.

"Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities."

Snap Status

Install

snap install discord

(Don't have snapd installed?)

Published for with ๐Ÿ’ by Snapcrafters

Snap configuration

Discord by default does not have access to check which games are running on your system. If you want to enable this, run the following command.

snap connect discord:system-observe

Enabling this is also a good way to reduce the log spam from Discord's failed attempts at looking at other processes.

How to contribute to this snap

Thanks for your interest! Below you find instructions to help you contribute to this snap.

The general workflow is to submit pull requests that merges your changes into the candidate branch here on GitHub. Once the pull request has been merged, a GitHub action will automatically build the snap and publish it to the candidate channel in the Snap Store. Once the snap has been tested thoroughly, we promote it to the stable channel so all our users get it!

Initial setup

If this is your first time contributing to this snap, you first need to set up your own fork of this repository.

  1. Fork the repository into your own GitHub namespace.

  2. Clone your fork, so that you have it on your local computer.

  3. Configure your local repo. To make things a bit more intuitive, we will rename your fork's remote to myfork, and add the snapcrafters repo as snapcrafters.

    git remote rename origin myfork
    git remote add snapcrafters https://github.com/snapcrafters/discord.git
    git fetch --all

Submitting changes in a pull request

Once you're all setup for contributing, keep in mind that you want the git information to be all up-to-date. So if you haven't "fetched" all changes in a while, start with that:

git fetch --all -p

Now that your git metadata has been updated you are ready to create a bugfix branch, make your changes, and open a pull request.

  1. All pull requests should go to the stable branch so create your branch as a copy of the stable branch:

    git checkout -b my-bugfix-branch snapcrafters/candidate
  2. Make your desired changes and build a snap locally for testing:

    snapcraft --use-lxd
  3. After you are happy with your changes, commit them and push them to your fork so they are available on GitHub:

    git commit -a
    git push -u myfork my-bugfix-branch
  4. Then, open up a pull request from your my-bugfix-branch to the snapcrafters/candidate branch.

  5. Once you've opened the pull request, it will automatically trigger the build-test action that will launch a build of the snap. You can watch the progress of the snap build from your pull request (Show all checks -> Details). Once the snap build has completed, you can find the built snap (to test with) under "Artifacts".

  6. Someone from the team will review the open pull request and either merge it or start a discussion with you with additional changes or clarification needed.

  7. Once the pull request has been merged into the stable branch, a GitHub action will rebuild the snap using your changes and publish it to the Snap Store into the candidate channel. After sufficient testing of the snap from the candidate channel, one of the maintainers or administrators will promote the snap to the stable branch in the Snap Store.

Maintainers

License

  • The license of both the build files in this repository are MIT.
  • Discord itself is a proprietary application.

discord's People

Contributors

brlin-tw avatar flexiondotorg avatar jnsgruk avatar joshuasing avatar kenvandine avatar lucyllewy avatar merlijn-sebrechts avatar muffincollector avatar popey avatar snap-advocacy-bot avatar snapcrafters-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

discord's Issues

Discord 0.0.5 will not launch because update is available

Discord installed via snap won't launch the app. It just gives me this screen (see screenshot) and lets me choose between "Ubuntu (deb)", "Linux (tar.gz)" or "I'll figure it out". The last one quits the application. I had to install the deb to be able to launch the application.

image

Can't exit Discord

When using Discord, I can't properly exit the application. File > Exit either does nothing or makes the window go 'black' (Discord's background colour, really) and then reloads Discord, with the 'black' screen still there in another window.

screenshot from 2017-08-13 20-27-04
Image of the latter case

Closing the app obviously (as expected) leaves Discord running in the background (though the indicator doesn't work). Using kill on the Discord PID (which I find with top) successfully kills the app, then I can reload it as normal from the Dash.

$ snap list
core          16-2.26.14          2462  canonical     -
discord       0.0.2               19    snapcrafters  -
$ snap version
snap    2.26.14
snapd   2.26.14
series  16
ubuntu  17.04
kernel  4.10.0-32-generic

Snap seems to be out of date

Getting Discord window saying 'Update is available' on startup

Dropdown options are 'deb', 'tar.gz', 'I'll figure it out'

AppArmor DENIED for /proc/PID/cmdline and ptrace

floods of this in dmesg -- and wasnt sure if setting it to aa-complain was the right move or if its something you want to fix in the profile
Heres output from:sudo /snap/bin/snappy-debug.security scanlog discord
only diference is this is only 1 line - multiply it by hundreds every hour 24/7
= AppArmor =
Time: Aug 12 15:43:24
Log: apparmor="DENIED" operation="open" profile="snap.discord.discord" name="/proc/25387/cmdline" pid=5744 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
File: /proc/25387/cmdline (read)
Suggestion:

  • adjust program to not access '@{PROC}/@{pid}/cmdline'

heres dmesg|tail
[946448.115608] audit: type=1400 audit(1502563984.266:9598434): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=5744 comm="Discord" requested_mask="trace" denied_mask="trace" peer="unconfined"
[946448.115653] audit: type=1400 audit(1502563984.270:9598435): apparmor="DENIED" operation="open" profile="snap.discord.discord" name="/proc/23178/cmdline" pid=5744 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[946448.115668] audit: type=1400 audit(1502563984.270:9598436): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=5744 comm="Discord" requested_mask="trace" denied_mask="trace" peer="unconfined"
[946448.116021] audit: type=1400 audit(1502563984.270:9598437): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=5744 comm="Discord" requested_mask="trace" denied_mask="trace" peer="unconfined"
[946448.116051] audit: type=1400 audit(1502563984.270:9598438): apparmor="DENIED" operation="open" profile="snap.discord.discord" name="/proc/25387/cmdline" pid=5744 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[946448.116052] audit: type=1400 audit(1502563984.270:9598439): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=5744 comm="Discord" requested_mask="trace" denied_mask="trace" peer="unconfined"
[946448.116090] audit: type=1400 audit(1502563984.270:9598440): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=5744 comm="Discord" requested_mask="trace" denied_mask="trace" peer="unconfined"
[946448.116218] audit: type=1400 audit(1502563984.270:9598441): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=5744 comm="Discord" requested_mask="trace" denied_mask="trace" peer="unconfined"
[946448.116292] audit: type=1400 audit(1502563984.270:9598442): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=5744 comm="Discord" requested_mask="trace" denied_mask="trace" peer="unconfined"
[946448.116296] audit: type=1400 audit(1502563984.270:9598443): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=5744 comm="Discord" requested_mask="trace" denied_mask="trace" peer="unconfined"

Can't quit discord

Hey, I'm trying to quit discord installed via snap and can't do it. I need to use killall Discord (sometimes twice because it restarts itself). I'm trying to quit it by right clicking the tray icon and selecting "quit".

Some more info:
discord 0.0.4 52 snapcrafters
This is on Solus Linus

discord spamming log with apparmor="DENIED" messages

I have installed Discrod application on Ubuntu 18.04. When I run it, it spams log with several messages per second like this:

audit[17638]: AVC apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=17638 comm="Discord" requested_mask="trace" denied_mask="trace" peer="unconfined"

The above are the main bulk. Then there are few like the following sprinkled around:

AVC apparmor="DENIED" operation="open" profile="snap.discord.discord" name="/proc/2750/cmdline" pid=17638 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

[Issue] Discord Not Displaying [Fixed]

I am using Arch Linux.

snap run discord output:

[syntist@archlinux ~]$ snap run discord
Discord 0.0.2
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Install path: /home/syntist/snap/discord/19/.config/discord/0.0.2/modules
*** stack smashing detected ***: /var/lib/snapd/snap/discord/19/usr/share/discord/Discord --type=gpu-process --no-sandbox --supports-dual-gpus=false --gpu-driver-bug-workarounds=7,23,71 --gpu-vendor-id=0x0000 --gpu-device-id=0x0000 --gpu-driver-vendor --gpu-driver-version --gpu-driver-date --service-request-channel-token=1FCB3746DFAE7319172A19D929D99E8D --v8-natives-pas terminated

Though its running but no display and no notification indicator

snap version output:

[syntist@archlinux ~]$ snap version
snap    unknown
snapd   unknown
series  16
arch    unknown
kernel  4.12.8-2-ARCH

Edit: Fixed with the new version.

[syntist@archlinux ~]$ snap version
snap    2.27.3-1
snapd   2.27.3-1
series  16
arch    
kernel  4.12.8-2-ARCH

Can't input with fcitx

I can't change input method of fcitx when the cursor is in an input line of Discord.
OS: Ubuntu 18.04 XFCE

Proxy settings ?

Hi,

Discord completely ignores proxy environment variables thus doesn't work behind a proxy.

Log:

(Discord:41366): IBUS-WARNING **: Unable to connect to ibus: Could not connect: Connection refused
[Modules] No updates to install
[Modules] Checking for host updates.
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discordapp.com/api/modules/stable/versions.json
[Modules] No module updates available.
[WebContents] did-fail-load -105 ERR_NAME_NOT_RESOLVED retry in 1000 ms
[WebContents] retrying load https://discordapp.com/app?_=1536857809179
[WebContents] did-fail-load -105 ERR_NAME_NOT_RESOLVED retry in 1719.915786628663 ms

Version:

snap 2.35-1.fc28
snapd 2.35-1.fc28
series 16
fedora 28
kernel 4.17.5-200.fc28.x86_64

Black&White Emojis

I get the B&W Emojis only on Discord. I don't understand why, I'm using Noto Color Emoji font and I'm on Ubuntu 18.04 LTS. They usually work on every apps that I have but on Discord I still get the B&W Emojis (they are showed correctly in the title bar).

Screen capture

Is something missing ? or is it related to the app?

Cannot open link

I have Discord installed as Snap on Ubuntu 16.04, including snapd-xdg-open. Yet I am unable to directly open links from Discord. I have to copy and paste them manually into the browser.

Please let me know whether this is already a known issue, or this is wrong place to report such an issue.

$ sudo apt install snapd-xdg-open
Reading package lists... Done
Building dependency tree       
Reading state information... Done
snapd-xdg-open is already the newest version (0.0.0~16.04).
0 upgraded, 0 newly installed, 0 to remove and 77 not upgraded.

$ sudo snap install discord
snap "discord" is already installed, see "snap refresh --help"

Edit: Running xdg-open from the commandline works fine.

Discord crash at startup. vulkan/icd.d not found

Ubuntu 16.04. Installed from snap.

Discord crashes at startup with:

failed to create prefix path: /tmp/snap.rootfs_3knyfv/var/lib/snapd/lib/vulkan/icd.d: Permission denied

Tried reinstalling, purging configurations and installing mesa-vulkan-drivers. No help.
The files that the discord seems to be looking for are located at
/usr/share/vulkan/icd.d

Why are so many libs included?

I was having a look through the snap of Discord and noticed that there are a lot of libs included. Why is this? Most of the libs look like they have nothing to do with Discord and would definitely be present on a normal user's install.

Including so many libs might be the reason that the snap of Discord doesn't seem to want to follow my system theme (and also cause other problems with incompatibilities with the system and those libs).

Cannot attach files from my steamapps

Hello!

It seems like this snap does not have access to my steamapps folder. I often attach screenshots from certain games to Discord. (~/.steam/steam/steamapps/common/Rust/Screenshots f.i.)

Expected behaviour
Attach any file that your user owns successfully. Either with drag and drop or the attach file menu.

Current behaviour
Attaching files from for instance .steam makes Discord angry and it will not upload the file. Seems to be related to missing access.

Reasoning for the expected behaviour
Discord is a voice and chat application made for gamers. Users will share pictures from their games.

Current workaround
Copy picture to ~ before attaching to Discord.
Remove picture from ~ after sending.

Font with emoji support missing?

It seems like the snap does not include a font with emoji support.

While discord mostly use their own built-in emojis, it is possible that certain people or applications use standard emojis instead. Using the snap you'll only see a square instead of the expected emoji.

Discord not running at startup

Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial

Discord isn't running at startup with "Open Discord" enabled under LINUX SETTINGS -> SYSTEM STARTUP BEHAVIOR.

Discord Snap is out of date

I got a pop up asking me to download either the .deb file or the .tar.gz file. It won't let me use it if I click "I'll figure it out".

screenshot_20190115_143915

I ran # snap refresh, and everything's up-to-date. In addition, according snap info discord, last refresh was yesterday.

Launch failure - failed to create symbolic link gtkfilechooser.ini

$ snap run discord
/snap/discord/64/bin/desktop-launch: line 23: /home/adam/.config/user-dirs.dirs: Permission denied
ln: failed to create symbolic link '/home/adam/snap/discord/64/.config/gtk-2.0/gtkfilechooser.ini': File exists

I also have the Deb installed.

Discord 0.0.5 (65)
$ snap info discord
tracking:  stable
refreshed: 2018-05-09T20:15:40+01:00
installed:   0.0.5 (64) 140MB -
$ snap version
snap    2.32.8+18.04
snapd   2.32.8+18.04
series  16
ubuntu  18.04
kernel  4.15.0-20-generic
$ snap info core
tracking:  beta
refreshed: 2018-05-11T15:51:12+01:00
installed:   16-2.32.8                (4650) 90MB core

Emojis at channel names doesn't appear

I think it's similar issue with #30

It's works smooth on chrome
screenshot from 2018-06-20 20-55-43

And this is the Discord snap package on the same OS
screenshot from 2018-06-20 20-55-21

So definitely it's not an OS related issue. Probably the snap package has some missing parts for emojis

Clicking 'update now' (top-right) creates empty window

Similar to #3 , I get an empty Discord window but this time I get this when clicking the 'update now' button in the top right (it looks like the Firefox Download logo, but it's green) and updating via that. I get the new Discord come up but also an unclose-able blank window even if I close the working Discord client. Presumably snapd alone should be handling updates, is there an easy way of disabling in-app updates?

AppArmor denial cluttering systemd logs

audit[6291]: AVC apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=6291 comm="Discord" requested_mask="trace" d (I can't see the rest of the line through systemctl and I can't open the file in Text Editor (it's too big) and cat and nano can't seem to read it (is that normal?)) is repeated many times in /var/log/journal/system.journal making it 100MB for just a few days of logging. The /var/log/journal directory is over 4GB.

v0.0.8 in edge segfaults after first click

Last line in terminal output:
Failed to generate minidump.[4632:0100/000000.907082:FATAL:memory.cc(22)] Out of memory. size=32768
Segmentation fault (core dumped)

dmesg:
[ 5677.634701] Discord[22373]: segfault at 4 ip 00007fc6ee48a7ed sp 00007ffd299a2be8 error 4 in libgobject-2.0.so.0.4800.2[7fc6ee456000+52000]

snap package received audio cuts in and out

Expected Behavior

Clear audio on receive.

Actual Behavior

Audio cuts in and out, infact there is more silence than audio.

Steps to Reproduce the Problem

  1. sudo apt-get install snapd
  2. sudo snap install discord
  3. Wait it to update then connect to voice with another user and try receiving.

Specifications

  • Version: 1 Apr 2018 because there isn't a clear in app version number. Especially when launcher can be different version from actual electron app.
  • Platform: Ubuntu 16.04 x64
  • Subsystem: What subsystem?

Screenshots

image

Debug log

I would attach the voice debugging log I enabled in the settings but it isn't specified where I can find that too.

discordlinux/support#18

Consider changing `contact` field

To my mind, it would make more sense if the contact field were https://github.com/snapcrafters/discord/issues instead of [email protected] (which I presume is from when Martin had snapped Discord and not transferred it over).

SnapD containement malfonctioning?

sudo snap disconnect discord:process-control core:process-control
sudo snap disconnect discord:system-observe core:system-observe

Both tell me that these are not connected but Discord still sees the processes on my computer? ๐Ÿค”

On install discord has autostart enabled in the UI, but the autostart desktop file is missing

On install, under settings, the checkbox under Linux Settings -> System startup behaviour is enabled, but

$ grep -r X-GNOME ~/snap/discord/
$ 

then you disable it and

$ grep -r X-GNOME ~/snap/discord/
/home/john/snap/discord/79/.config/autostart/discord-stable.desktop:X-GNOME-Autostart-enabled=false
$ 

and then enable it again

$ grep -r X-GNOME ~/snap/discord/
/home/john/snap/discord/79/.config/autostart/discord-stable.desktop:X-GNOME-Autostart-enabled=true
$ 

cannot attach from fuse mount

i have a couple of folders mounted from ntfs partition and i am denied access when trying to open them
this might related to PR-30

Discord not opening after 0.0.8 update

I have refreshed the snap to the latest rev 86.
I have tried removing and installing again.
Have done more than one reboot cycle.
Running discord from cli exits nearly instantly exit code 1 with no output.

$ snap version
snap    2.36.3
snapd   2.36.3
series  16
ubuntu  18.04
kernel  4.15.0-43-generic
$ snap info discord
name:      discord
summary:   All-in-one voice and text chat for gamers
publisher: Snapcrafters
contact:   https://github.com/snapcrafters/discord/issues
license:   unset
description: |
  All-in-one voice and text chat for gamers that's free, secure, and
  works on both your desktop and phone.

  This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
  officially maintained by the upstream developers.
commands:
  - discord
snap-id:      qHVefGEBezeuCeSfTND40uoUD6GRw8BO
tracking:     stable
refresh-date: today at 08:40 EST
channels:
  stable:    0.0.8 (86) 136MB -
  candidate: โ†‘
  beta:      0.0.8 (86) 136MB -
  edge:      0.0.8 (86) 136MB -
installed:   0.0.8 (86) 136MB -

I am unsure what other info you may want, please let me know anything else you need.

"Discord": snap not found (raspbian command line install error)

I'm trying to get discord to run on my Raspberry Pi Model 3 b but for some reason the command line install doesn't work
"sudo snap install discord
error: cannot install "discord": snap not found"
The first command is lifted directly from the snapcraft store, but for whatever reason it seems to think Discord doesn't exist
I'm running both the latest version of Raspbian and snap so I have no idea what the issue is

(be gentle I'm new)

RPC API Calls such as pypresence not working

https://github.com/qwertyquerty/pypresence

Plugin using API works well via installed .deb, but not in snap. Tried the following in snap, but still got a file not found error

image

After some research I found some snap plugins which opened up a few more permissions, which did not work - at least with Ubuntu 18.04 (since it's referencing Unity, I assume this worked on earlier versions).
snap connect discord:system-observe :system-observe snap connect discord:unity7 :unity7

Plugin in question is: https://github.com/ToppleKek/discord-rhythmbox-plugin which works perfectly if .deb is installed.

System is Ubuntu 18.04

Discord not closing properly

Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial

When clicking "Quit Discord" from the Unity panel in the top right, the Discord window pops up, but doesn't close. Clicking "Quit Discord" repeatedly doesn't work either.

Icon changes path between Discord upgrades

Icon changes path between some Discord upgrades and that makes (at least on kde) that shortcuts on panels become invisible until deleted and created again.

I've seen this issue in other snap upgrades, mostly on Discord recently, but it's definitely an issue on snaps as a whole.

Can't type Japanese characters

Discord seems unable to use the IME (in my case, Anthy) and hence I can't type Japanese characters (copying in/out works just fine, but it's annoying). Japanese characters also appear as boxes, though it seems to be issue #8 (which I'm not entirely sure if it's the fonts or not, I'm only using whatever build was readily available in the snap repo a few days ago).

Also I noticed Discord is not using the native open dialog box which makes me wonder if it's related (it may mean a library issue), though that can also just be a red herring.

Running Ubuntu 16.04 64-bit.

Link not opening in browser when clicked

Whenever I click on a link in discord, nothing happens. Nothing is opened in the browser.

If I use the discord debian package, all good.

I'm not sure what's causing this only with the snap version. I'm on Kubuntu 18.04 and use google chrome (install from apt).

I'd love some direction on how to debug this. I know there is very little information, so it's a hard guess.

Cannot open links

Reviving #1 on Kubuntu 18.04. Did stuff break again?

Like that thread's OP, I have snapd-xdg-open installed, and xdg-open [url] works in a console, yet clicking any links in Discord that would normally open in the browser does nothing.

Latests versions (52 & 53) 0.0.4 think they are 0.0.1

$ snap info discord
name:      discord
summary:   All-in-one voice and text chat for gamers
publisher: snapcrafters
contact:   https://github.com/snapcrafters/discord/issues
license:   Proprietary
description: |
  All-in-one voice and text chat for gamers that's free, secure, and
  works on both your desktop and phone.
snap-id:     qHVefGEBezeuCeSfTND40uoUD6GRw8BO
channels:               
  stable:    0.0.4 (52) 131MB -
  candidate: 0.0.4 (52) 131MB -
  beta:      0.0.4 (52) 131MB -
  edge:      0.0.4 (53) 127MB -
$ snap install discord --edge
discord (edge) 0.0.4 from 'snapcrafters' installed
$ discord
Discord 0.0.1
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Install path: /home/maciej/.config/discord/0.0.1/modules
[Modules] No updates to install
[Modules] Checking for host updates.
[Updates] You are out of date!
[Modules] Host update is available. Manual update required!

fonts missing

i have noticed certain fonts are missing in the snap version
image
image

Discord continues to run after it's been removed

Discord was running like a bag of crap, UX freezing for a few seconds, etc. So when I found it also spamming /var/log/syslog to death, it was off to the chopping block...

Except, even after removing, it was still spamming up my logs.

 ๏€• ~ ๎‚ฐ                                                                                                                                                                      ๎‚ฒ ๏€Œ ๎‚ฒ 4211 ๎‚ฒ 09:46:31 
$ snap remove discord
snap "discord" is not installed
 ๏€• ~ ๎‚ฐ                                                                                                                                                                      ๎‚ฒ ๏€Œ ๎‚ฒ 4212 ๎‚ฒ 09:46:49 
$ ps aux | grep Discord
paul      7673  0.1  0.3 1583080 113776 tty2   Sl+  Jun20   2:32 /snap/discord/66/usr/share/discord/Discord
paul      7889  0.0  0.0 328744 27840 tty2     S+   Jun20   0:00 /snap/discord/66/usr/share/discord/Discord --type=zygote --no-sandbox
paul      7917  0.2  0.2 494544 96272 tty2     Sl+  Jun20   3:34 /snap/discord/66/usr/share/discord/Discord --type=gpu-process --no-sandbox --supports-dual-gpus=false --gpu-driver-bug-workarounds=7,23,71 --gpu-vendor-id=0x0000 --gpu-device-id=0x0000 --gpu-driver-vendor --gpu-driver-version --gpu-driver-date --service-request-channel-token=CFB58879D921497DB70D49FEC0327E67 --v8-natives-passed-by-fd --v8-snapshot-passed-by-fd
paul      7962  0.7  1.0 2261920 333864 tty2   Sl+  Jun20  11:14 /snap/discord/66/usr/share/discord/Discord --type=renderer --no-sandbox --primordial-pipe-token=493BE2D487D09AF9CB5D80A14658CDCB --lang=en-GB --app-path=/snap/discord/66/usr/share/discord/resources/app.asar --node-integration=false --preload=/home/paul/snap/discord/66/.config/discord/0.0.5/modules/discord_desktop_core/core.asar/app/mainScreenPrel
paul     20800  0.0  0.0  21536  1004 pts/0    S+   09:47   0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn Discord
 ๏€• ~ ๎‚ฐ                                                                                                                                                                      ๎‚ฒ ๏€Œ ๎‚ฒ 4213 ๎‚ฒ 09:47:17 
$ tail -n 10 /var/log/syslog
Jun 21 09:47:24 ryzen1804 kernel: [124230.689093] audit: type=1400 audit(1529570844.907:1581716): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=7962 comm="Discord" requested_mask="trace" denied_mask="trace" peer="unconfined"
Jun 21 09:47:24 ryzen1804 kernel: [124230.689115] audit: type=1400 audit(1529570844.911:1581717): apparmor="DENIED" operation="open" profile="snap.discord.discord" name="/proc/2162/cmdline" pid=7962 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jun 21 09:47:24 ryzen1804 kernel: [124230.689130] audit: type=1400 audit(1529570844.911:1581718): apparmor="DENIED" operation="open" profile="snap.discord.discord" name="/proc/2175/cmdline" pid=7962 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jun 21 09:47:24 ryzen1804 kernel: [124230.689139] audit: type=1400 audit(1529570844.911:1581719): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=7962 comm="Discord" requested_mask="trace" denied_mask="trace" peer="unconfined"
Jun 21 09:47:24 ryzen1804 kernel: [124230.689164] audit: type=1400 audit(1529570844.911:1581720): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=7962 comm="Discord" requested_mask="trace" denied_mask="trace" peer="unconfined"
Jun 21 09:47:24 ryzen1804 kernel: [124230.689182] audit: type=1400 audit(1529570844.911:1581721): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=7962 comm="Discord" requested_mask="trace" denied_mask="trace" peer="unconfined"
Jun 21 09:47:24 ryzen1804 kernel: [124230.689206] audit: type=1400 audit(1529570844.911:1581722): apparmor="DENIED" operation="open" profile="snap.discord.discord" name="/proc/2290/cmdline" pid=7962 comm="Discord" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jun 21 09:47:24 ryzen1804 kernel: [124230.689214] audit: type=1400 audit(1529570844.911:1581723): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=7962 comm="Discord" requested_mask="trace" denied_mask="trace" peer="unconfined"
Jun 21 09:47:24 ryzen1804 kernel: [124230.689233] audit: type=1400 audit(1529570844.911:1581724): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=7962 comm="Discord" requested_mask="trace" denied_mask="trace" peer="unconfined"
Jun 21 09:47:24 ryzen1804 kernel: [124230.689254] audit: type=1400 audit(1529570844.911:1581725): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=7962 comm="Discord" requested_mask="trace" denied_mask="trace" peer="unconfined"
 ๏€• ~ ๎‚ฐ                                                                                                                                                                      ๎‚ฒ ๏€Œ ๎‚ฒ 4214 ๎‚ฒ 09:47:28 
$ ls -l /snap 
total 4
drwxr-xr-x 1 root root 138 Jun 21 09:44 bin
drwxr-xr-x 1 root root  22 May 24 18:26 canonical-livepatch
drwxr-xr-x 1 root root  38 Jun 19 23:32 core
drwxr-xr-x 1 root root  18 Jun  2 19:38 gimp
drwxr-xr-x 1 root root  26 May  9 18:34 gnome-3-26-1604
drwxr-xr-x 1 root root  28 Jun 12 20:07 gnome-characters
drwxr-xr-x 1 root root  26 Jun 12 20:07 gnome-logs
drwxr-xr-x 1 root root  26 Jun 12 20:07 gnome-system-monitor
-r--r--r-- 1 root root 548 Apr 28 16:11 README

It seems the program continues to live even after it's been removed. Shouldn't the removal process also kill off any running programs from the snap being removed?

Discord AppIndicator not working on Ubuntu 17.04

The Discord AppIndicator doesn't work out-of-the-box on Ubuntu 17.04. As I said here, I think the likely reason is because Ubuntu changed the value of XDG_CURRENT_DESKTOP from Unity to Unity:Unity7 for Ubuntu 17.04.

@flexiondotorg 's patch for the Dropbox Deb was:

# Fix indicator icon and menu on Unity environments. (LP: #1559249)
new_env = os.environ.copy()        
if 'Unity' in os.environ.get("XDG_CURRENT_DESKTOP", '').split(":"):
  new_env['XDG_CURRENT_DESKTOP'] = 'Unity'

Presumably we could do a similar thing in a scriptlet for the Discord snap?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.