Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: ENOENT on ubuntu #13

Open
yazaldefilimone opened this issue Feb 21, 2024 · 7 comments
Open

Error: ENOENT on ubuntu #13

yazaldefilimone opened this issue Feb 21, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@yazaldefilimone
Copy link

yazaldefilimone commented Feb 21, 2024

Description

image

Neovim version

NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1692716794

OS information

ubuntu 23

Steps to reproduce

return {
  'IogaMaster/neocord',
  event = "VeryLazy",
  config = function(_, opts)
    require("neocord").setup({
      logo                = "auto",                -- "auto" or url
      logo_tooltip        = nil,                   -- nil or string
      main_image          = "language",            -- "language" or "logo"
      client_id           = "1157438221865717891", -- Use your own Discord application client id (not recommended)
      log_level           = nil,                   -- Log messages at or above this level (one of the following: "debug", "info", "warn", "error")
      debounce_timeout    = 10,                    -- Number of seconds to debounce events (or calls to `:lua package.loaded.presence:update(<filename>, true)`)
      blacklist           = {},                    -- A list of strings or Lua patterns that disable Rich Presence if the current file name, path, or workspace matches
      file_assets         = {},                    -- Custom file asset definitions keyed by file names and extensions (see default config at `lua/presence/file_assets.lua` for reference)
      show_time           = true,                  -- Show the timer
      global_timer        = false,                 -- if set true, timer won't update when any event are triggered

      -- Rich Presence text options
      editing_text        = "Editing %s",         -- Format string rendered when an editable file is loaded in the buffer (either string or function(filename: string): string)
      file_explorer_text  = "Browsing %s",        -- Format string rendered when browsing a file explorer (either string or function(file_explorer_name: string): string)
      git_commit_text     = "Committing changes", -- Format string rendered when committing changes in git (either string or function(filename: string): string)
      plugin_manager_text = "Managing plugins",   -- Format string rendered when managing plugins (either string or function(plugin_manager_name: string): string)
      reading_text        = "Reading %s",         -- Format string rendered when a read-only or unmodifiable file is loaded in the buffer (either string or function(filename: string): string)
      workspace_text      = "Working on %s",      -- Format string rendered when in a git repository (either string or function(project_name: string|nil, filename: string): string)
      line_number_text    = "Line %s out of %s",  -- Format string rendered when `enable_line_number` is set to true (either string or function(line_number: number, line_count: number): string)
      terminal_text       = "Using Terminal",     -- Format string rendered when in terminal mode.
    })
  end,
}

Logs

image

@yazaldefilimone yazaldefilimone added the bug Something isn't working label Feb 21, 2024
@IogaMaster
Copy link
Owner

I will look into this

@yazaldefilimone
Copy link
Author

I will look into this

it's requerid to use nix?

@IogaMaster
Copy link
Owner

No

@IogaMaster IogaMaster moved this to Backlog in Neocord Stable Mar 18, 2024
@IogaMaster IogaMaster moved this from Backlog to Ready in Neocord Stable Mar 18, 2024
@IogaMaster
Copy link
Owner

So what exactly happens?
Is discord running with necessary settings to use RPC?

@yazaldefilimone
Copy link
Author

yazaldefilimone commented Mar 18, 2024

I think so, because I use the same extension on vscode and that work correctly

I don't why but, it's cannot connect with may discord...

@priyansu1001
Copy link

priyansu1001 commented Mar 20, 2024

In windows also, it say no 'pipediscord-ipc-0', do I have to make one?
image

@harryssecret
Copy link

harryssecret commented Jun 17, 2024

maybe check if you are using a flatpak/snap version of discord. i think only the vanilla linux version works. i am using fedora with flatpak and it doesnt works too.

edit : using the rpmfusion discord and neocord works fine. i dont know how flatpak and snaps use the rpc integration but try figuring it out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Ready
Development

No branches or pull requests

4 participants