#๐Ÿ‘พ-core-development

1 messages ยท Page 145 of 1

turbid hatch
#

on windows this really isnt the case

#

that's probably where im getting confused

austere talon
#

yeah i tried all tray icons on windows and not a single one had that behaviour

#

i have like 16 tray icons

turbid hatch
#

ya lol

austere talon
#

stock discord also doesn't have it

#

i generally try to keep things similar to discord desktop

#

so people feel "at home"

livid heath
#

a faster home

ebon frigate
#

where did the uwuify plugin go megamind

austere talon
#

gone

soft ginkgo
#

Updated Vesktop Flatpak (i swear to god when will this become official)

austere talon
#
flatpak install --user https://dl.flathub.org/build-repo/67776/dev.vencord.Vesktop.flatpakref
soft ginkgo
#

oh :D

#

mfw my flatpak did not help in the slightest /j

charred monolithBOT
torn knot
#

eh, at least I got to learn a few things from arjix, so I'm thankful to him

charred monolithBOT
charred monolithBOT
charred monolithBOT
#

This issue is a duplicate of #252 , but I do hope we will see a fix for this in the future. Can replicate on Arch & NixOS with Hyprland. Seems like it's a general non-WindowsOS issue.
For a workaround fix you can always use transparency tools like Hyprland's Window Rules. It actually doesn't look that bad, but actually fixing transparency and allowing for themes to do it would be a much better looking solution.

long stream
#

least broken nixos & hyprland install

lime stone
charred monolithBOT
austere talon
#

he's only blocked on my personal account

lime stone
#

๐Ÿ˜ตโ€๐Ÿ’ซ

#

:/ they should know better

austere talon
#

we should merge dev into main again

woeful sable
charred monolithBOT
charred monolithBOT
surreal storm
#

are super reactions by default broken for anyone else?

limber skiff
#

fixed in dev

charred monolithBOT
charred monolithBOT
austere talon
#

SPANISH

charred monolithBOT
charred monolithBOT
#

recently, shiggy was unblurred with image-rendering: pixelated;, but this has revealed a new problem. shiggy is not scaled at an integer of the original animations resolution, causing the pixels to be uneven. if the size was set to 100%, 200%, 300%, or any other integer, the pixels would be square, and this problem would go away. unfortunately, i don't know how to do this since i don't know how this project is structured. maybe someone else more knowledgeable could fix it? it's a fairly sim...

olive aurora
#

nano jumpscare

charred monolithBOT
pine topaz
#

that funny lol moment when someone makes a fork of a program, changes the author and name so it "looks" like they made it, then never updates it again

#

doing a pretty shit job at that too

frail skyBOT
#
Bad Patches

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

surreal storm
ebon frigate
#

can i get rate limited by pinging more than 270 users in a dm?

#

bc i think i just got

placid wave
#

steamos doesn't have the needed stdc++

#

breaks venmic on steam deck

#

<@&1073655264923881602> cc @austere talon

#

oh come on

#

bruh

#

good one

charred monolithBOT
charred monolithBOT
#

I don't really know the code base well enough to definitively say what my findings mean, but looking through the console while having a stream going shows a couple of interesting things.

[UnifiedConnection(default)] updateVideoQuality: {
    "remoteSinkWantsMaxFramerate": 30
}

[UnifiedConnection(default)] BaseWebRTCConnection.updateVideoQuality: resolutionScaleFactor: undefined, encodingVideoWidth: undefined, remoteSinkWantsMaxFramerate: 30, encodingVideoMaxBitRate: undefined, loca...
charred monolithBOT
austere talon
#

just use the flatpak

#
flatpak install --user https://dl.flathub.org/build-repo/67923/dev.vencord.Vesktop.flatpakref
topaz thistle
austere talon
#

hopefully they will merge the pr soon

#

so it'll be easier to install

topaz thistle
#

Yeah usually doesn't take too long

#

Insane that we finally have a Flatpak xd

charred monolithBOT
charred monolithBOT
austere talon
#

the fix is to change it from 6em (96px) to 64px/128px

#

but then it's either small or comically large

austere talon
#

is there really no better way to fix this

#

than to make it bigger

#

i tried

filter: scale(1.5);
``` but it has the same issue
junior olive
#

config option for big or small shiggy

#

/s

turbid hatch
#

because you need to scale it by an amount that is a multiple of the original size

austere talon
#

yes

austere talon
#

is there really no way

#

the old one, 96px was ideal

gleaming trellis
#

scaling pixel art is hard ono

crude raptor
#

i wanna see

#

is there an easy way to put the loading window up cause that shit didn't and does NOT look 96px

#

unless my pixels got bigger

placid wave
#

I need to fix the steam support for it

crude raptor
#

wait holy shit-

#

its the person from the fucking circle thing i got a while back

#

i had no idea who they were i just liked seeing the funny furry randomly

placid wave
#

yoo it's nano

crude raptor
#

randomly finding people you recognise in places you had no reason to expect them is so cool

austere talon
#

according to someone earlier it works on steameros

placid wave
#

calls into the steam binary to run the url

#

need to use xdg open or some shit instead since it's a flatpak so it can't see the host steam binary

#

I'll fix it later if I have a chance

austere talon
#

ohhhh

#

i see

charred monolithBOT
#
[Vencord/venmic] New tag created: v2.1.4
austere talon
#

how does one share Chromium

#

cause sharing "Chromium" will also include vesktop

#

maybe we need to always exclude vesktop

#
 obtainVenmic()?.link(
  {
    props: targets.map(target => ({ key: "application.name", value: target })),
    mode: "include"
  },
  {
    props: [{
      key: "application.process.id",
      value: getRendererAudioServicePid()
    }],
    mode: "exclude"
  }
)
#

like this or smth

#

or do u have a better idea? @topaz thistle

topaz thistle
#

Yeah I guess that should work but I don't think you can mix include / exclude currently

#

I should probably make that possible?

austere talon
#
venmic.link({
  include: [{ key: "application.name", value: target }],
  exclude: [{ key: "application.process.id", value: getRendererAudioServicePid() }]
})
#

maybe a better api

topaz thistle
#

Yeah it's gonna get fucked in venmic then regarding the logic

#

But that's okay

austere talon
#

wdym

#

like hard to parse?

charred monolithBOT
austere talon
#

we will definitely need another major bump xd

topaz thistle
#

No I just think I'll have to refactor a lot xD

#

But that's good anyways

austere talon
#

u understand why tho right?

topaz thistle
#

Will allow for a way more flexible core

#

Yeah absolutely

austere talon
#

like what this is for

topaz thistle
#

I thought about this before

#

But then I didn't see why I'd need it but thought we probably have to do it some day anyway

#

And now the day has come

austere talon
#
function link(data: {
  include?: { key: string, value: string }[];
  exclude?: { key: string, value: string }[];
}): void;
topaz thistle
#

Looks good

#

Will get to it later

gleaming trellis
#

@austere talon related to the notification badges in tray PR, should mainWin be handled with ! or ? ?. I think I changed the raw accesses to ! ... it shouldn't be null except at startup right?

austere talon
#

yes

gleaming trellis
#

ahhh all my commits are showing up as unverified

#

i thought i set up my signing key correctly

#

ohh you need to add it as a signing key as well

topaz thistle
#

maybe even

#
function link(targets: { key: string, value: string, mode: "include" | "exclude" }[]): void;
austere talon
#
link(
  { mode: "include", props: [{ key: "application.name", value: target }] },
  { mode: "exclude", props: [{ key: "application.process.id", value: getRendererAudioServicePid() }] }
)
#

i find this way less clean than

venmic.link({
  include: [{ key: "application.name", value: target }],
  exclude: [{ key: "application.process.id", value: getRendererAudioServicePid() }]
})
topaz thistle
#

Yeah true

#

okay

#

problem

#

the way we have it currently is that venmic either works in exclude or include mode

#

where exclude means include everything that's not specified

#

We'd probably still like to have this, no?

austere talon
#

yes

topaz thistle
#

Because if we mix them then it's not quite clear which mode should be used

#

Huh

#

Do we even need a rework regarding this

austere talon
#

if only exclude is specified: same behaviour as before
if only include is specified: same behaviour as before
if both are specified: include everything in include that isnt excluded by exclude

topaz thistle
#

Ah

#

Yes makes sense

#

Argh this is a little fucked

#

Should we still keep the mode?

austere talon
#

we could keep backwards compatibility in API by taking varargs like this

link(
  { mode: "include", props: [{ key: "application.name", value: target }] },
  { mode: "exclude", props: [{ key: "application.process.id", value: getRendererAudioServicePid() }] }
)
#

but its less clean and imo we dont need backwards compat

topaz thistle
#
venmic.link({
  include: [{ key: "application.name", value: target }],
  exclude: [{ key: "application.process.id", value: getRendererAudioServicePid() }],
  mode: "include"
})
topaz thistle
#

Nah that's superflous

#

Yeah it's dumb lol

topaz thistle
#

okay I think this was way easier than I anticipated

charred monolithBOT
#
[Vencord/Vesktop] New branch created: docs/flathub
#
[Vencord/Vesktop] branch deleted: docs/flathub
austere talon
#

thanks i wanted to do the same

#

but u were faster

turbid hatch
#

delightfully large

#

easy to click

#

also means people might switch to flathub instead

#

xd

charred monolithBOT
#
[Vencord/vencord.dev] New branch created: chore/flathub
#

Deploying with ย <a href="https://pages.dev"><img alt="Cloudflare Pages" src="https://user-images.githubusercontent.com/23264/106598434-9e719e00-654f-11eb-9e59-6167043cfa01.png" width="16"></a> ย Cloudflare Pages

<table><tr><td><strong>Latest commit:</strong> </td><td>
<code>a68acb3</code>
</td></tr>
<tr><td><strong>Status:</strong></td><td>ย โœ…ย  Deploy successful!</td></tr>
<tr><td><strong>Preview URL:</strong></td><td>
<a href='https://19021002.vencord-website.pages.dev'...

turbid hatch
#

weeeee

charred monolithBOT
turbid hatch
#

oh that is

#

true

#

hm

#

yeah i didnt think about that

#

we dont actually have a uh

#

vesktop page

austere talon
#

we need to make vesktop pagee

charred monolithBOT
lime stone
#

does rpc work on flaesktop?

#

inv did

turbid hatch
rotund parcel
#

Is there a mod where you can change the time that shows up next to a message

charred monolithBOT
teal halo
#

else no

jagged skiff
#

It's possible they mean the weird time format people use in the US with AM/PM instead of the normal clock

#

Anyway, I joined this server to thank you @turbid hatch

Great job with the flatpak! Immediately removed the classic deb installation I had and used that one!

#

Amazing!

teal halo
#

in that case, change ur discord language to english US or UK

jagged skiff
#

Yeah I know, it's something default Discord has too

#

I had a weird bug in the standard deb where every so often I would lose the tray icon of Vesktop and my only option would be to go into Vencord settings and restart the client to make it re-appear

#

Testing now if the flatpak still has that bug too

#

WIll let you know in case

lime stone
austere talon
#

qhar

grizzled plaza
#

Hello,
I hope I can ask here.

I'd like to develop a plugin that would allow me to get a discord/system notification when a specific user (or group of users) posts a message on one of the servers I'm on.
I've read the Github and I'm having a bit of trouble understanding this patch concept.
Imo, for me, it's a matter of intercepting the "received" message event on a server (it exists, of course, because you can already have notifications for every message sent to a server, on Discord) and just executing some JS code on the desktop side if possible (via Electron to send a notification), or possibly calling an api (for myself to have an auxilary notification system that running on node / rust that send a notification system using the Win32API / Mac API ).

Any ideas on how to do this with Vencord and its plugin system?

lime stone
austere talon
#

funny bunny

charred monolithBOT
topaz thistle
# charred monolith

@austere talon Sorry got interrupted when I wanted to push earlier, can you see if that works?

charred monolithBOT
#
[Vencord/venmic] New tag created: v3.0.0
small mural
lime stone
#

๐Ÿ‡ณ๐Ÿ‡ด

small mural
#

By the way

lime stone
#

norway

small mural
#

I saw a PR stating flatpak support

#

today

#

So I'm guessing the flatpak is "official"?

topaz thistle
#

it's a trap

lime stone
small mural
#

wat

lime stone
#

๐Ÿชค

small mural
#

anyways if it is

#

might wanna update the download page-

lime stone
#

it's official

charred monolithBOT
long stream
#

would have been updated by now but lewi called it stupid for some reason

small mural
#

nice

#

anyways what are the chances discord breaks for me and I'm trying to fix it only to resort to vesktop so I don't have to rely on the shitty discord app (I use flatpaks)

charred monolithBOT
turbid hatch
#

not for vesktop

#

so its not suitable

#

we will make a vesktop page soon

long stream
#

oh

#

im stupid

turbid hatch
#

the flatpak is still wip but im happy with how it is right now

#

though it needs a little more upstream support to use portals and autogen the metadata, which i will work on soon

#

but for now im happy

topaz thistle
#

Yeah good on work on that guys

#

Good to finally have a flatpak :3

turbid hatch
#

as we find more issues with it and fix them we hope it can become the best way of installing vesktop

#

and maybe one day we can deprecate the debs and rpms

#

appimage will remain available of course

jagged skiff
#

That sounds great

topaz thistle
mellow temple
#

Suggestion: Make an plugin that lets you use join sound effects to vencord users

crude raptor
#

you could probably make it auto-soundboard but whether that soundboard works is a question (cause they need nitro ๐Ÿ™„)

topaz thistle
#

Venmic cache miss be like

austere talon
austere talon
austere talon
#

flatpak is the future

mortal fractal
#

i dont mind flatpak in most cases but this just seems counterproductive imo

#

i very much see flatpak as a last resort like how i had to use it to play EAC games on void because of gcc bs

#

i dont want flatpak to end up with the same image problem as docker because of developer laziness if anything

topaz thistle
#

Sorry but if your distro ships old stuff and you can't upgrade to newer glibc / libstdc++ then it's just better to use flatpak instead of some cursed static linked shit

austere talon
#

developer laziness is when you don't want to support stone age versions of gcc

shy veldt
#

@austere talon die

austere talon
#

it's not developer laziness, distro maintainers should just stop using prehistoric software versions

topaz thistle
mortal fractal
#

then yell at valve

austere talon
#

or just use flatpak that works..

topaz thistle
#

Flatpak is the recommended thing to use on steam decks anyways?

mortal fractal
#

the issues i had on void were at the cause of updating glibc

#

but whatever

#

die on this hill i dont care

#

im just an opinionated asshole ๐Ÿ™ƒ

#

freedom of choice is fucking dead

topaz thistle
mortal fractal
#

i only made the issue because a friend was on a steam deck for a while so whatever

topaz thistle
#

@vagrant topaz is also on a steam deck - And from what I can tell flatpak is the way to go there anyways - it's the recommended way of installing things on there If I recall correctly

#

Valve is actively recommending flatpak use there

#

Can this finish already ๐Ÿฅฑ

charred monolithBOT
topaz thistle
#

@austere talon

#

Workflow done

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
turbid hatch
#

0.4.4 is purposely left out to test

junior olive
#

@austere talon sorry to bother you but could you maybe do the dev to main merge, it's been a few days and you've been talking about doing it

charred monolithBOT
turbid hatch
#

ci is so hard to get right

charred monolithBOT
#
[Vencord/Vesktop] branch deleted: ci/meta-update
turbid hatch
#

okay so github actions cant override the checks

#

its not considered an admin

#

that's a shame

#

ah well

#

i'll do an automerge instead

#

let it test the PR even though testing is nonsensical

austere talon
#

wdym

#

just make it push to main

#

or better yet put it in releases

turbid hatch
#

cant and what

#

oh well i guess i can do that

#

no wait no that would be annoying

#

i need the latest version of the file at all times and keeping it in version control is the best way

turbid hatch
#

which is a good thing and a bad thing

#

justification is that a malicious contributor could theoretically create a workflow on another branch and cause it to make changes to main

charred monolithBOT
turbid hatch
#

ew why did it make a merge commit

#

it shouldnt have done that

#

anyway we'll just screw with this next release if we must, but i think it should work fine

charred monolithBOT
turbid hatch
#

hey it worked this time

#

just missing the title stuff cause its not running on a release publish

#

oh

#

github actions wont run on github actions prs

#

that makes sense

charred monolithBOT
#
[Vencord/Vesktop] branch deleted: ci/meta-update
turbid hatch
#

@austere talon best solution for now, i'll come up with a better alternative another time (aka the everlasting temporary bandaid)

#

github actions can't push to main due to branch protection, and it can't automerge a PR due to itself blocking it (since actions wont run on PRs opened by actions)

#

so we have to manually accept it

#

attaching it to a release is.. okay, but i still need a way of getting the old file, and going back through to the last release with one seems like a slightly bad idea

#

i dont know it seems like it would cause issues

#

maybe it wont! maybe it'll work fine

#

this will work fine too though

#

and i've written it in a way so that flathub can update the file itself too i believe

topaz thistle
#

@austere talon btw venmic v3 is published, let me know if the API works for you as it is right now

#

vee ping spam rn

turbid hatch
#

yeah flathub seems happy

austere talon
topaz thistle
#

too fame

turbid hatch
#

unless

#

i just made a new branch and stored the meta there

#

that would work

#

poi_think yeah why dont i do that

#

then gh actions can push all it likes and update it too without it affecting main

#

fixes loads of things

austere talon
#

35k ๐Ÿ’€

#

Aliucord 50k

frail skyBOT
#
Bad Patches

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
charred monolithBOT
charred monolithBOT
gleaming trellis
#

@untold tangle solid username

untold tangle
charred monolithBOT
oak hull
#

๐Ÿ”ฅ

charred monolithBOT
charred monolithBOT
stark axle
#

why do i get logged out when i try to open dev tools

lime stone
#

vns

nimble pendantBOT
lime stone
#

would it be stupid to have a timeout duration plugin

charred monolithBOT
#

The flatpak seems to have a GPU error. The window with the chat doesn't show up when starting the app after being logged in.

I am using the latest flatpak with the latest Fedora Kinoite 39 and Nvidia Drivers 545.29.06. The rpm version installed in a toolbox doesn't have this problem.

I haven't seen this error with any similar apps (like Discord, Armcord or anything else that uses electron)

When I start the installed .rpm file, I get this and the app starts normally

$ vencordd...
#

That made it crash instantly

Using NVIDIA on Wayland, disabling gpu sandbox
Passing the following arguments to Electron: --ozone-platform-hint=auto --disable-gpu-sandbox
[3:1205/134019.008248:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:1205/134019.275759:ERROR:wayland_connection.cc(193)] Failed to connect to Wayland display: No such file or directory (2)
[3:1205/134019.275771:ERROR:ozone_platf...
austere talon
#

oh interesting

#

looks like opting out doesn't work

charred monolithBOT
#

Now I get this:

Using NVIDIA on Wayland, disabling gpu sandbox
Passing the following arguments to Electron: --disable-gpu-sandbox
[3:1205/135602.472384:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:1205/135602.735364:ERROR:ozone_platform_x11.cc(240)] Missing X server or $DISPLAY
[3:1205/135602.735373:ERROR:env.cc(255)] The platform failed to initialize.  Exiting.
/app/bin/startvesktop: line 17:...
#

okay so

  • this is an issue with your gpu. (just your average nvidia on linux moment)
  • you don't seem to have XWayland

your options:

  • try adding --disable-gpu to the launch flags by editing the script. if this works, we can maybe incorporate a way to do this properly into the flatpak
  • enable XWayland and try again with it
  • based option: sell your nvidia gpu and buy a radeon instead
austere talon
#

actually

#

maybe x11-fallback doesn't work if wayland isn't allowed

haughty atlas
#

x11-fallback is a different permission and I tried both with disabling and enabling wayland, so that can't be the issue

austere talon
#
flatpak override --user --nosocket=wayland dev.vencord.Vesktop
flatpak override --user --nosocket=fallback-x11 dev.vencord.Vesktop
flatpak override --user --socket=x11 dev.vencord.Vesktop
#

this doesn't work?

haughty atlas
#

Oh it does

#

wtf

austere talon
#

funny how i was about to ping u but u showed up the same second

#

@haughty atlas could you try running the normal non flatpak variant of vesktop with --ozone-platform-hint=auto

#

?

#

does it crash

haughty atlas
#

Yes

austere talon
#

could you build from source with the pr i linked applied and see if that fixes it?

haughty atlas
#
โฌข[janybanny@toolbox janybanny]$ vencorddesktop --ozone-platform-hint=auto
Failed to parse Vencord settings.json: SyntaxError: Unexpected token ']', ..."css",
    ],
    "en"... is not valid JSON
    at JSON.parse (<anonymous>)
    at Mi (VCDMain:1:3217)
    at VCDMain:1:3596
    at VCDMain:1:225
    at VCDMain:1:2511
    at VCDMain:1:225
    at Object.<anonymous> (VCDMain:37:328)
    at Module._compile (node:internal/modules/cjs/loader:1271:14)
    at Object..js (node:internal/modules/cjs/loader:1326:10)
    at Module.load (node:internal/modules/cjs/loader:1126:32)
libEGL warning: egl: failed to create dri2 screen
[arRPC > ipc] listening at /run/user/1000/discord-ipc-0
[arRPC > websocket] listening on 6463
[arRPC > process] started
[15360:1205/143023.166823:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
Gtk-Message: 14:30:23.177: Failed to load module "colorreload-gtk-module"
Gtk-Message: 14:30:23.177: Failed to load module "window-decorations-gtk-module"
libEGL warning: egl: failed to create dri2 screen
[15411:1205/143023.270936:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[15365:1205/143023.339712:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.

austere talon
#

lol ur settings.json is corrupt u should maybe fix that xd

haughty atlas
#

I don't plan on using that again lol. The flatpak settings are fine afaik

austere talon
lime stone
#

AAGaming

haughty atlas
#

Works

% pnpm start --ozone-platform-hint=auto

> VencordDesktop@0.4.3 start /tmp/Vesktop
> pnpm build && electron . "--ozone-platform-hint=auto"


> VencordDesktop@0.4.3 build /tmp/Vesktop
> tsx scripts/build/build.mts

[arRPC > ipc] listening at /run/user/1000/discord-ipc-0
[arRPC > websocket] listening on 6463
[arRPC > process] started
libEGL warning: egl: failed to create dri2 screen
[16750:1205/143800.924417:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
Gtk-Message: 14:38:00.940: Failed to load module "colorreload-gtk-module"
Gtk-Message: 14:38:00.940: Failed to load module "window-decorations-gtk-module"
libEGL warning: egl: failed to create dri2 screen
[16803:1205/143801.038784:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[16755:1205/143801.108480:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
#

@austere talon

austere talon
#

sanest nvidia

#

the fix:

mainWin!.show();
mainWin!.hide();
mainWin!.show();
#

how did you even find that @placid wave ๐Ÿ˜ญ

placid wave
#

yop

#

dumb renderer process race condition and for some reason doing that properly restarts the renderer process instead of just leaving it dead

placid wave
austere talon
#

sane

#

ok I will make sure that fix doesn't make it funky on other platforms and then merge

placid wave
#

and u have to run with ozone platform auto for Wayland becaude

austere talon
#

or maybe we could make it detect shitvidia and only apply the fix then

placid wave
#

if you use x11

#

xwayland on shitvidia sucks

#

and it will randomly teleport in time

#

like ur keystrokes will disappear and reappear

#

because Nvidia doesn't implement gbm correctly in their driver so xwayland can't properly sync

#

very good driver

austere talon
#

gonna throw a bomb at nvidias hq

placid wave
#

also detect Wayland on Nvidia and force it to run under Wayland if possible

austere talon
#

not possible

#

you just have to pass the flag

placid wave
#

insane

#

guhhh steal Nvidia driver source and fix

austere talon
grave mangoBOT
placid wave
#

tru

austere talon
grave mangoBOT
placid wave
#

@austere talon did flatpak release yet

austere talon
#

yea

placid wave
#

will you be able to get a new release out immediately once I fix steamer

austere talon
#

it's on the hub

#

uhh

#

kinda

placid wave
#

wdym

austere talon
#

btw we should disable auto updater on flatpak too

#

gonna do that too

placid wave
#

yop lmaoo

#

do in the same release

austere talon
#

or rather not auto updater but update notifications

placid wave
placid wave
haughty atlas
#

I'm genuinely confused how this driver runs at all at this point

placid wave
#

same

haughty atlas
#

I'm still gonna buy an amd card

placid wave
#

good

#

Nvidia and chromium are masters at writing insane shitcode

normal lodge
#

me too :)

austere talon
placid wave
#

@austere talon can you test ways to run protocol urls on the host within flatpak

#

that's all I need for steam

#

it just needs to run a steam:// url

austere talon
#

I also want to experiment with making vesktop have platform compile variables

then:

  • remove our own update checker
  • enable electron autoupdater on windows
  • have no updater on linux (people should use flatpak or we can selfhost apt/rpm repo eventually)
  • mac users will cope ig?
placid wave
#

electron auto updater works on Mac I think?

austere talon
#

only if you sign

placid wave
#

INSANE

#

i hate apple

#

terrible

austere talon
#

average crapple

placid wave
#

does squirrel work without it

austere talon
#

no

#

all needs signing

placid wave
#

insaneeeeee

austere talon
#

you love

placid wave
#

horrible

#

tbh at least it's not appx on windoes

austere talon
#

crapple fans have stockholm syndrome they're used to being treated poorly so they'll cope just fine without auto updater i think

placid wave
#

appx is so good but you can't self sign without requiring users to manually install your certificate

#

it will just give you dumb cryptic error

austere talon
placid wave
#

very dumb

placid wave
#

you just run it and package installer handles it

#

it's very nice

#

but you can't use it without $1000000000000 certificate

#

without asking users to manually install ur cert

#

if Microsoft opened up msix to everyone we wouldn't need exe or msi installers

#

you could just use msix

#

but no

placid wave
austere talon
#

nahhh

#

i think someone actually wanted to share their cert

placid wave
#

lol

#

apparently xdg-open will work

austere talon
#

guh you're the steamos user

#

try

placid wave
#

I am not home

#

it's a flatpak thing

#

not steamos specific

#

supposedly it has a custom xdg-open in the flatpak runtime that hands off to AppChooser

#

hopefully steamos knows to make steam the default for steam:// urls without asking the user

#

otherwise horror

topaz thistle
nimble plaza
#

my plugin isnt rebuilding?

#

wait im dumb

#

i accidentally edited the wrong file a bit ago to have the same name and it was overwriting

charred monolithBOT
crude hearth
#

for end user macos probably has best ux

charred monolithBOT
#

Host details: KDE 5.28.8 with kernel 6.5.0-14 Kubuntu.

Flatpak installation type.

Vesktop details:
Stable 250836 (84e28a2)
Vencord 6573c47 (Vesktop V0.4.4)
Electron 27.1.2
Chromium 118.0.5993.144
Linux 64-Bit

Relevant settings: "Start with System" set on enabled in the "Vesktop Settings" left menu tab.

Despite such an option being enabled the process does not automatically start at system boot.

jagged skiff
#

Will open an issue

charred monolithBOT
#

Host details: KDE 5.28.8 with kernel 6.5.0-14 Kubuntu.

Flatpak installation type.

Vesktop details:
Stable 250836 (84e28a2)
Vencord 6573c47 (Vesktop V0.4.4)
Electron 27.1.2
Chromium 118.0.5993.144
Linux 64-Bit

Sometimes the Vesktop tray icon disappears, this bug was present both when I was using the .DEB version of the program and even now that I am using the Flatpak one.

![Screenshot_20231205_181142](https://github.com/Vencord/Vesktop/assets/40299833/3040513e-81e2-4afe-...

charred monolithBOT
#

Host details: KDE 5.28.8 with kernel 6.5.0-14 Kubuntu.

Flatpak installation type.

Vesktop details:
Stable 250836 (84e28a2)
Vencord 6573c47 (Vesktop V0.4.4)
Electron 27.1.2
Chromium 118.0.5993.144
Linux 64-Bit

Whenever you press the button "Restart Client" in the "Vencord" settings tab the client closes fully but fails to start back up again.

Found workaround: Just re-open the app manually.

austere talon
#

how would u use portals from js?

#

would we need to write a native module

charred monolithBOT
turbid hatch
#

from my understanding, portals run through dbus

turbid hatch
#

so all we need is an interface, a la https://npm.im/dbus

#

(preferably more up to date)

#

and then we're sorted

topaz thistle
#

But the package you need is still probably gonna be a native module

turbid hatch
#

most likely

olive aurora
#

by reimplementing dbus via sockets

#

horrifying

turbid hatch
#

ConfusedThinking thought dbus was just unix sockets

olive aurora
#

yes it is

#

and a library that handles it all for you

#

rewritten in plain js of all fuckbg things

#

WEBDEV WAS A MISTAKE

turbid hatch
#

heh

austere talon
charred monolithBOT
#

Really though if the gifs gonna be changed it should be the Vencord icon. Personally I think it shouldn't be changed at all since it's opinionated and should be left up to the user

You have to talk a way in which they understand otherwise they'll push back, dw I have an idea


Guys I want to be able to upload a custom Shiggy gif for the splashscreen but there's no option to change it ๐Ÿ˜”

jagged skiff
#

I felt really bad for having opened up so many issues today on your Github so I made a small Github donation. It's the first time I did something like that so I don't know if it was the proper place but money got sent to V, if V is in here know I thank you and everyone else.

I am on Linux only since almost a year now on all of my devices and frankly it would have been a way worse experience without a proper Discord client that connects me with my friend community. Thanks to you all!

#

Oh ok, V is @austere talon, hello, sorry I didn't recognize the name. I had just read it from GitHub, pardon!

charred monolithBOT
jagged skiff
#

Well, yes.. But they are also extra work

#

So wanted to give a small contribution

charred monolithBOT
charred monolithBOT
frail skyBOT
#
Bad Patches

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
charred monolithBOT
austere talon
#

???

cunning canyon
#

somehow found vesktop but can't find discord

austere talon
#

why would u comment that on some random ass vesktop issue

spark pivot
#

couldn't find a discord to ask this
try clicking on ONE link and scrolling down a little

delicate venture
#

im curious how the maintainers would respond to a pr to the clearURLs plugin copying the logic for x.com to fixupx.com, fxtwitter, vxtwitter, etc. since twitter embeds no longer unfurl on discord, these alternative tools have spread quite quickly

spark pivot
#

that's what textreplace is for

nimble plaza
#

nop

charred monolithBOT
nimble plaza
#

that would be accepted

#

i think

delicate venture
#

the only curious thing is it seems vx and fx twitter both remove the tracking shit when redirecting

nimble plaza
spark pivot
#

it just removes stuff, it's not supposed to add stuff

nimble plaza
#

???

#

they mean

#

make the rules for twitter apply to vxtwitter

spark pivot
#

oh i cant read sorry

delicate venture
#

just do this a few more times #2005

charred monolithBOT
rugged vault
#

Is there a way to change the notification sound volume?

dull pulsar
#

If I wanna add my own div element or something like that and not have to use CSS magic. Where would I add the code?

spark pivot
#

a plugin

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
rotund parcel
#

Is there a way to use regex to replace the first letter of a sentence into uppercase if it is in lowercase? I tried...

find: (?<=(^|[.!?]\s))([a-z])
replace: ???

charred monolithBOT
verbal pumice
#

unless you add a rule for every letter

#

js replacement when /hj

charred monolithBOT
#

The flatpak version of Vesktop does not allow for screen sharing under Wayland. The sharing portal opens and allows for a screen selection, but the screen is never shared and causes Vesktop to think a screen is being shared. This does not happen under X11.

The error that is presented in console upon trying to select a screen is:
[3:1205/225117.744585:ERROR:shared_x_display.cc(39)] Unable to open display

charred monolithBOT
rugged vault
#

Is there a way to change the notification sound volume?

haughty atlas
austere talon
#

just wontfix?

#

cause its an issue with their system

#

worksonmymachine

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
neon crescent
#

hey guys

#

how can i open devtools without discord self destructing and logging me off

austere talon
#

by reading the faq

charred monolithBOT
charred monolithBOT
warped turret
#

MenuItem has action attribute that runs a function on click.
How can I assign an action for right click?

verbal pumice
#

with onContextMenu normally

#

not sure if it works for menu items

warped turret
charred monolithBOT
dusky sonnet
# charred monolith

doesnโ€™t look like theyโ€™ve read the requirements for opening an issue above

charred monolithBOT
#

Since we now have a Flatpak, please try it instead and see if the issue still persists: https://flathub.org/apps/dev.vencord.Vesktop

Flatpak works great, the issue seems to be rather when compiling from unsupported architecture, like arm m1.
I tested both compiling flatpak right on steam deck and flathub version and these work.
I'm guessing that compiling from some linux container would also work.

Weird thing is that even when supplying arch flags posted few comments above, it still...

stoic echo
#

bruh why you on vencord on a steamdeck anyway

lime stone
#

gaming

gritty iris
#

I was wondering why there was a steamos.ts this solves that

verbal pumice
#

some people have friends apparently

stoic echo
#

id just go on the vc with my phone

verbal pumice
#

what if you want in game audio or wanna screenshare

#

the issue talks about venmic, the module for audio in screenshare, so there is at least one person who screenshares from a deck

charred monolithBOT
topaz thistle
austere talon
topaz thistle
#

Thanks!

charred monolithBOT
#

I can confirm that this does not occur using the non-flatpak version and everything works correctly there. The only reason I want to use the flatpak version is that my c libraries are too old. The only console output is: ERROR:shared_x_display.cc(39)] Unable to open display. Upon which the flatpak version doesn't bring up the Vesktop share window, only the initial pipewire sharing one.

System:
Debian 12
KDE 5.27.5 Wayland

topaz thistle
# charred monolith

@austere talon That's rather interesting, are we sure that it's 100% a system config issue?

austere talon
#

works on my machine

charred monolithBOT
tender bramble
#

If I'm making a theme, how do I get something like

.userProfileOuterThemed__6eb84.userPopoutOuter_d739b2, .userProfileOuterThemed__6eb84.userProfileOuter__46bb7``` into something that actually can be used to theme?
#

found using inspect element

#

would the random letters afterwards actually work like normal, or are those randomised?

charred monolithBOT
nimble plaza
#

the vesktop install isnt respecting the show in tray setting

#

ive repeatedly reinstalled os the past few days and every time it enables tray when i told it not to

austere talon
#

owned

#

it really shouldn't tho

#

try debugging it

jagged skiff
# nimble plaza the vesktop install isnt respecting the show in tray setting

I opened a similar but opposite issue yesterday, where the tray icon despite being enabled in my settings sometimes disappears. Perhaps the two bugs are connected.
https://github.com/Vencord/Vesktop/issues/274

GitHub

Host details: KDE 5.28.8 with kernel 6.5.0-14 Kubuntu. Flatpak installation type. Vesktop details: Stable 250836 (84e28a2) Vencord 6573c47 (Vesktop V0.4.4) Electron 27.1.2 Chromium 118.0.5993.144 L...

#

Oh cool, I am pink now!

#

Thanks!

charred monolithBOT
rancid cobalt
charred monolithBOT
nimble plaza
#

not logged into gh so saying it here

#

@chilly bough predicates dont need to be a function iirc

chilly bough
#

I did the funny coding tactic of copying what other plugins did

#

but I'll investigate

limber skiff
#

you are right in using a function

#

else the predicate will run instantly but Settings isnt defined yet

chilly bough
#

yeah I just tested it

#

it breaks it completely

nimble plaza
#

oh

#

sorry

austere talon
#

they have to be functions xd

chilly bough
#

so yeah that's needed there

austere talon
#

if u dont make them functions vencord explodes

#

vencord gonn

chilly bough
#

can confirm, am exploded

#

๐Ÿ’ฅ

austere talon
#

cuz u cant use setings on the top level

#

has to be lazy

chilly bough
#

anyways, feel free to ping me about the PR anytime

#

and ty for the quick review I suppose

#

also I'm like 90% sure you could make these two settings work without requiring a restart

#

but I'm not sure how

real zenith
#

ok possibly stupid idea, how would I

  • list all guilds I'm in
  • leave a guild by id
    from the console? (yes, I want to leave all guilds)
austere talon
#

why

real zenith
#

wdym why

#

I wanna clean up my alt

chilly bough
#

this sounds like more effort than just right-click leaving each server

austere talon
#
const { leaveGuild } = findByProps("leaveGuild")
findByProps("getGuildIds").getGuildIds().forEach(leaveGuild)
#

not tested cause im not insane but it should work probably

real zenith
#

is there some documentation for all the findByProps values btw clueless

austere talon
#

no cause it just finds discord functions

#

just guess the name

#

90% of names are super easy to guess

real zenith
#

oh, fair enough

austere talon
#

method to send a message: sendMessage
method to edit a message: editMessage
method to join a server: joinGuild

#

etc

real zenith
austere talon
#

test it

real zenith
#

yeah I was gonna

#

worst that could happen is

#

.. nothing? the temp cloudflare ban is for 10k 429 requests, right?

#

ehh fck it

#

you are being rate limited 2dstare

#

hol up I should probs just put a delay in-between the leaves, idc how long this takes

charred monolithBOT
charred monolithBOT
#

1b179f3 Simplify some components finds; Make undo of pa... - Nuckyz
1619ee4 Utility function for loading Discord chunks (#2... - Nuckyz
f814eeb VoiceMessages: fix preview being blank - Vendicated
597a74f ClientTheme: make color picker finder more spec... - Nuckyz
9b6308a Fix a console shortcut and suppressExperimental... - Nuckyz

junior olive
#

LETS FUCKING GOO

shut ridge
#

LET'S GOOOO

#

ME WHEN MY DEC IS OR

austere talon
#

can u take my decor off now btw

junior olive
#

i did

austere talon
#

oh wait i can probabl do it myself

junior olive
#

a bit ago

austere talon
#

ohh ok

#

i didnt really test any of the shit i merged

#

it probably works

junior olive
#

my shit works ThumbsUp0

shut ridge
austere talon
#

if it looks good and doesn't cause crashes then thats good enough

#

what is it brewing

#

it proabbly worked anyway

frail skyBOT
#
Bad Patches

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

jagged cloak
austere talon
#

y

jagged cloak
#

jumpscare

#

xD

charred monolithBOT
frail skyBOT
#
Bad Patches

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

NoTrack (found no module):
ID: -
Match: window.DiscordSentry=

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

placid wave
#

@austere talon its time

#

i will fix flatpaker

#

@turbid hatch

echo "Using NVIDIA on Wayland, disabling gpu sandbox"
FLAGS+=(--disable-gpu-sandbox)

remove this it pipebombs the renderer on nvidia wayland

#

iirc

#

i will check

#

ywah

#

remove that

#

sandbox works fine

#

at least on appimage

#

i just tested it

austere talon
#

that's from other flatpak

charred monolithBOT
placid wave
#

vesktop doesnt

#

chromium fixed

charred monolithBOT
limber skiff
#

it was a different module ๐Ÿ˜‚

#

oops

#

this could use the MessageActions import though

#

MessageSender and are the same

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
fossil otter
#

why does the ClearUrls plugin not just use the rules from the browser extension

#

or well, if that isn't enough, why not just extend that

charred monolithBOT
limber skiff
#

@austere talon dev is protected

charred monolithBOT
inner eagle
#

(idk if this is the right channel for this but) im trying to disable the really annoying overlay soundboard keybind (ctrl + `). i can probably copy the same code used in the NoF1 plugin but idk how I would disable a hold ctrl + [key] command. anyone know if this has already been made or if it is easy to disable a specfic hold key without interrupting other keybinds that use hold ctrl?

charred monolithBOT
charred monolithBOT
charred monolithBOT
austere talon
#

i enabled it cause otherwise it doesn't enforce successful test on prs

tidal cloud
lime stone
#

I've almost got a VC unread plugin working!!

#

this took too long!!

sly totem
#

nicee

lime stone
#

well what i have done is figured out how to work out if a vc is unread

#

and it probably breaks stuff

#

lol

charred monolithBOT
lime stone
#

at first i ended up changing some code which explicitly enabled unreads for vcs

#

(they can be unread while focused unlike other channels)

charred monolithBOT
charred monolithBOT
finite tusk
#

there is probleme

#

the sound bord don't work

woeful sable
#

make a vencord mobile app!

lime stone
warped turret
#

How can I load my plugin last (after all other ones)?

charred monolithBOT
charred monolithBOT
#

Discord Account

No response

What happens when the bug or crash occurs?

Cannot move categories on my own discord server.

What is the expected behaviour?

I should be able to move the categories.

How do you recreate this bug or crash?

Enable "ShowHiddenChannels" plugin
Go on your own server and try to move categories above and below other categories

Errors

No response

Request Agreement

  • [X] I am using Discord Stable or tried on Stable and this bug happens...
lime stone
#

PLUGIN WORKING JUMPSCARE

austere talon
#

the spec doesnt say how long they will be valid

lime stone
lime stone
austere talon
#

yes it did

lime stone
#

but i doubt it would persist across reboot

austere talon
#

but idk if it survives a reboot for example

#

it survived a reboot

#

O.O

charred monolithBOT
charred monolithBOT
charred monolithBOT
limber skiff
austere talon
#

nah

#

ill fix it later

limber skiff
#

Actors may only be added to bypass lists when the repository belongs to an organization.

#

this is so sad

slender osprey
#

hey, i saw this message while installing vencord for MacOS. I happen to have a developer license due to the main open source project I develop. Idk if you'd be interested in it but I think i can issue a developer certificate or build it on my machine so that y'all could sign it

charred monolithBOT
wanton wasp
slender osprey
#

Oop. Ty

#

Whatโ€™s their @?

nimble plaza
#

@austere talon

slender osprey
#

ty

charred monolithBOT
woeful sable
#

Quite new to creating plugins in general so I apologise if my question is trivial.

const MessageDelete = findByPropsLazy("deleteMessage");

Extension complains that it found more than one result. I searched around this channel and tried this.

const MessageDelete = findByPropsLazy("deleteMessage", "patchMessageAttachments");

Now the extension doesn't give a response when I click Test Find (is that a good thing?)

limber skiff
#

use this instead

import { MessageActions } from "@util/discord" or utils i dont remember
MessageActions.deleteMessage(...)

#

MessageActions is the same thing you are searching for, but as a common so you each plugin doesnt have to search for it individually

austere talon
#

should be anyway

limber skiff
#

MessageActions is in util

grave mangoBOT
austere talon
#

why are these here

#

they should not be there

limber skiff
#

mainly cuz they are mostly used by the utils in that file

#

but a plugin may want direct access to them

austere talon
#

they should be in webpack commons

limber skiff
#

lmao just realized ThemesTab still has their own find for InviteActions

#

oh it doesnt use the util for opening an invite

charred monolithBOT
charred monolithBOT
junior olive
#

@limber skiff what do you think for that

#

idk if using localstorage apis directly like that for something like that is vencord style

austere talon
#

dont use localStorage

junior olive
#

yeah i didn't think that was the right api to use

limber skiff
#

local storage bad

junior olive
#

yeah i thought so

#

so like what api

#

a hidden vencord setting was what came to my mind

unkempt oak
#

i'll try that

limber skiff
#

@junior olive many new users?

junior olive
#

(like 5000)

limber skiff
#

WTF

#

fr???

junior olive
#

yea

limber skiff
#

no way you got 5k users in like 1 or 2 days

junior olive
#

under 24 hours

#

we were at 2.7kish before vencord

limber skiff
#

vencord is so popular

#

I didnt know people looked at new plugins so much

junior olive
#

just wait for tomorrow's ntts video