Giter Club home page Giter Club logo

linux's Introduction


PreMiD

Your Rich Presence for web services!

GitHub GitHub release (latest by date) Chrome Web Store Chrome Web Store Website FOSSA Status


About

PreMiD is a simple, configurable utility that allows you to show what you're doing on the web in your Discord now playing status. It supports many different websites, and will support multiple users watching the same content simultaneously in an upcoming update.

Features

路 Displays your current web service in Discord as your status.
路 Grants full control over Presences.
路 Supports over 1,000 web services, still rising!
Watch parties and more are coming soon!

Installation/Troubleshooting

Installation instructions, Troubleshooting guides etc. can be located at our docs.

Support us

License

FOSSA Status

linux's People

Contributors

alexbcberio avatar bas950 avatar dependabot-preview[bot] avatar dependabot[bot] avatar dweam avatar encrypteddev avatar i1u5 avatar imaginaryo avatar imgbotapp avatar rxri avatar timeraa 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  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

linux's Issues

DEW

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Adding a inverted color icon.

Port of my issue from the previous repository.

Is your feature request related to a problem? Please describe.
The PreMid application, has only a white icon, making it fade easily in the notification tray for those having a clear bright dock.



Demonstrated on the ZorinOS GNOME dock.
Describe the solution you'd like
Have either an option, to switch to a colored icon, which should help to contrast more on the notification tray.

Demonstrated with the ckb-next application
Or better, having a bright and dark icon switch in the settings.

Demonstrated with the Habits application.

ChromeOS Support

Support is not guaranteed to ever happen but there will be a try soon, any help with ways to install it and still not ruin the OS will be appreciated.

--linux

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

No repo or .deb file for Impish version of Ubuntu

Is your feature request related to a problem? Please describe.
There is no Impish version and thus it gives "the file cannot be located" error everytime

Describe the solution you'd like
An Impish version of the repo.

fhdher

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Add your own log, cease spam of /var/log/messages

Is your feature request related to a problem? Please describe.
I am super frustrated when I want to debug an issue with my Linux system and look at /var/log/messages, which contains lots of important errors logged by my AMD GPUs driver, for example, and I see that PreMiD for some reason logs "Clear all activity" ten whole times every single second into this file, making it horrendous to try looking for actual error messages, which other programs use this file for.

Describe the solution you'd like
I'd like PreMiD to log unnecessary information into its own log file somewhere, and only send logs into these channels for actual errors and crashes.

Describe alternatives you've considered
Completely uninstalling PreMiD.

Additional context
As visible here, it's super annoying to try and find the cause of an actual system crash among the massive spam of this unnecessary information that my Discord status was cleared 10 times per second during that time...
Screenshot_20240423_001520

Find better way to log

Linux/src/index.ts

Lines 37 to 41 in f4523bd

// TODO Find better way to log
process.on("uncaughtException", err => {
dialog.showErrorBox(err.name, err.stack);
app.exit(0);
});


This issue was generated by todo based on a TODO comment in f4523bd. It's been assigned to @doomlerd because they committed the code.

Error: connection closed

Create RPC client (463151177836658699)
Destroy RPC client (463151177836658699)
Error: connection closed

ElementaryOS is not supported.

ElementaryOS is not supported. Is this normal since it is based on Ubuntu?

Can you add it to the list of available distributions.

Or do you have an alternative to install it on this one?

PackageCloud repo install doesn't work on Ubuntu. (README.md)

My Ubuntu version is 21.10, however, this also happens to LTS.
Something like this may also happen to Debian.

After running the repo install script found on line 125 of README.md, running sudo apt install premid returns that there isn't a package named premid.

To fix this, add a different repo install command for Ubuntu.

curl -s https://packagecloud.io/install/repositories/PreMiD/Linux/script.deb.sh | sudo os=Ubuntu dist=hirsute bash
sudo apt install premid

DA.Darin

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

PreMiD Fails to Launch - GPU Process Isn't Usable

Terminal output is as follows:

[relax@relax-laptop ~]$ premid
Gtk-Message: 07:59:31.641: Failed to load module "appmenu-gtk-module"
Opened socket
Socket connection
[34823:0222/075933.653731:FATAL:gpu_data_manager_impl_private.cc(442)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)
[relax@relax-laptop ~]$

Ubuntu 22.04 Support

Is your feature request related to a problem? Please describe.
For some reason PreMid doesn't work properly on Ubuntu 22.04, requiring that I open the app multiple times to get it working.

Describe the solution you'd like
Add a official support for it. Please.

Switched to my fork of discord-rpc for snapstore/flatpak support

Is your feature request related to a problem? Please describe.
This is related to how discordjs's rpc doesn't support snap/flatpak version of discord

Describe the solution you'd like
Switched over to my fork of discord-rpc, here

Describe alternatives you've considered

Additional context

Add deb package for debian/bookworm

The only latest Debian deb package is bullseye. The installation script isn't working for me because I'm running Debian Bookworm and there's no deb file targeted for my distribution. Honestly surprised there wasn't any support yet since Bookworm has been out for months now.

There's the appimage sure, but it sounds annoying that I will have to re-open premid every time I open my PC.

Unable to downloads repo

Unable to download repo config from: https://packagecloud.io/install/repositories/PreMiD/Linux/config_file.list?os=Pop&dist=focal&source=script

This usually happens if your operating system is not supported by
packagecloud.io, or this script's OS detection failed.

You can override the OS detection by setting os= and dist= prior to running this script.
You can find a list of supported OSes and distributions on our website: https://packagecloud.io/docs#os_distro_version

For example, to force Ubuntu Trusty: os=ubuntu dist=trusty ./script.sh

If you are running a supported OS, please email [email protected] and report this.

i get this error when i ruen the curl command running pop os

Presence Buttons Support for PreMiD Linux

Is your feature request related to a problem? Please describe.
I'm making my first PreMiD Presence and i added the new buttons feature but PreMiD Linux app does not support buttons so not working.

Describe the solution you'd like
Presence buttons update for PreMiD Linux.

PackageCloud doesn't have a release file

Describe the bug
PackageCloud has problems for Linux based OS

To Reproduce
Steps to reproduce the behavior:

  1. Run this inside of ur debian console:
    curl -s https://packagecloud.io/install/repositories/PreMiD/Linux/script.deb.sh | sudo bash
  2. sudo apt update
  3. The error will show up.

Expected behavior
Doesn't include any error while updating using sudo apt update

Screenshots
image

Desktop:

  • OS: Kubuntu 20.10
  • Browser: Brave
  • Version: Latest

Additional context
This might have something to do with the newest ubuntu update which is 20.04 and higher.

gkyf

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
1.
2.
3.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Chrome sandbox must be owned by root and mode 4755 on linux

Describe the bug
Running the app will result in error about chrome-sandbox (probably because of electron), but it can't be fixed as the directory is always generated and doesn't persist.

To Reproduce
Steps to reproduce the behavior:

  1. Download latest PreMiD from downloads
  2. Run it

Expected behavior
Either normally running application, or ask for sudo at startup.

Screenshots

[7514:0402/100824.292785:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_PreMiDQC5vcq/chrome-sandbox is owned by root and has mode 4755.
[1]    7514 trace trap  ./PreMiD-Portable.AppImage

Desktop (please complete the following information):

  • OS: Linux Debian Buster
  • Browser: Chrome
  • Version: 2.2.15

Additional context
This is a linux only bug, as sandbox doesn't require those rights on Windows and MacOS. This is specific to chromium, but since you're probably using electron in the PreMiD, it's standart.

CLI Support

Beneficial for users without a DE or simply ones who don't like tray menus.

Discord not detect the activity

Describe the bug
As you can see at the image, on right window premid already connect with discord because premid extension got my discord photo profile. But the discord can't get premid activity(left window)

To Reproduce
Steps to reproduce the behavior:

  1. Install premid and premid extension
  2. start discord
  3. start premid
  4. open youtube muisc

Expected behavior
Discord will attach the activity

Screenshots
Screenshot_20240104_192808

Desktop (please complete the following information):

  • OS: Kubuntu 23.10
  • Browser: Brave
  • Version: 2.3.4

Additional context
I also test on youtube too, but it's still not detect my activity

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.