this post was submitted on 24 Jan 2024
37 points (91.1% liked)

Linux

48141 readers
456 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

hi all, i tried installing through apt and got an older 0.6.4 and i tried installing through an appimage but for some reason nvchad didnt accept it. also what is nerdfonts and is that the default for linux mint? been at this for an hour and am very confused

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 9 months ago* (last edited 9 months ago) (1 children)

does this all work for flatpak variants? i dont have to use ch mod for that but can i add it to the path and then add nvchad?

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago) (2 children)

I am assuming you had a typo and mean NvChad (edit: just now realized you did mention NvChad in the title already). Yes you can, but calling flatpak applications on the command line is kinda weird so I would actually suggest an alias if you want to be able to just type nvim in your terminal.

To start the flatpak version of neovim via the CLI you'll need to type flatpak run io.neovim.nvim. Of course you don't want to do that, so you can tell your terminal to remember that whenever you type nvim you actually meant flatpak run io.neovim.nvim. To do that you can put the following in your terminal: alias nvim='flatpak run io.neovim.nvim'

As far as I understand, NvChad is a plugin for neovim. The command they provide for installing it just downloads the necessary files to the default config location for neovim, and starts neovim. however the flatpak version of neovim seems to be using a different location for it's configuration. This blog post seems to say that the config location for flatpak neovim is ~/.var/app/io.neovim.nvim/config/nvim/, so you'll probably have to move the files there for NvChad to work.

[–] [email protected] 1 points 9 months ago (2 children)

Nvchad is a ready made neovim config, that can be extended, not just a plugin.

[–] [email protected] 1 points 9 months ago (2 children)

hi! have you foubd out if nvchad works on flatpak?

[–] [email protected] 2 points 9 months ago (1 children)

Haven't gotten to try yet, will do

[–] [email protected] 1 points 9 months ago (1 children)
[–] [email protected] 1 points 9 months ago (1 children)

For me personally, it doesnt load my configs. So better use appimage

[–] [email protected] 1 points 9 months ago (1 children)

does appimage get added to the bottom left app menu? it doesnt for me

[–] [email protected] 1 points 9 months ago (1 children)

No, you'd have to add a desktop file

[–] [email protected] 1 points 9 months ago (1 children)
[–] [email protected] 2 points 9 months ago

You can use this desktop file.

Add desktop files like this. Be encouraged to search the web for solutions on your own :)

[–] [email protected] 1 points 9 months ago (1 children)

is the appimage really not an option? I think if you did what the original comment told you it should work.

[–] [email protected] 1 points 9 months ago

tried but it was funny, wouldnt lrt me doubld click into it and its ui was weirf

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago) (1 children)

I never used neovim so I'm not so familiar with the functionalities/terms. I was torn between writing plugin or config, but I thought a plugin would be more relevant. I'm assuming a plugin can change more than a config could.

[–] [email protected] 1 points 9 months ago

The config for modern neovim users mainly consists of plugins and configs for plugins.

[–] [email protected] 1 points 9 months ago (1 children)

i tried copying and pasting into the config file in the flatpak but it just ignored them and recreated thw original flatpak filws?

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago) (1 children)

I don't think I'll be able to help you with this issue, sorry

[–] [email protected] 1 points 9 months ago

thats cool dw :3