Giter Club home page Giter Club logo

Comments (11)

ivan-hc avatar ivan-hc commented on July 30, 2024

Ciao Vit, sto cercando su google se questo problema è correlato a Cinnamon e non ho trovato risultati.

Cosa dice l'output di echo $XDG_DATA_DIRS?

Questo è il mio

/usr/share/xfce4:/usr/local/share/:/usr/share/:/usr/share

non so perchè /usr/share sia ripetuto due volte, ma /usr/local/share è dove dovrebbe essere.

from am.

ivan-hc avatar ivan-hc commented on July 30, 2024

Continueremo a parlare qui nel caso ci siano novità, ma non essendo un problema direttamente legato a AM, chiudo.

from am.

Samueru-sama avatar Samueru-sama commented on July 30, 2024

There is one way to fix this, but this is a last resort once the issue is reported to cinnamon and they said that they wont fix it.

if [ "$XDG_CURRENT_DESKTOP" = "X-Cinnamon" ] && [ ! -d /usr/local/share/applications ]; then
	$SUDOCOMMAND ln -s /usr/share/applications /usr/local/share
fi

from am.

ivan-hc avatar ivan-hc commented on July 30, 2024

@Samueru-sama but this way you create a symlink of /usr/share/applications to /usr/local/share. What if someone want to install third party apps (using AM) and the user have no RW permissions in /usr/share (as already happens with immutable distros)?

from am.

Samueru-sama avatar Samueru-sama commented on July 30, 2024

@Samueru-sama but this way you create a symlink of /usr/share/applications to /usr/local/share. What if someone want to install third party apps (using AM) and the user have no RW permissions in /usr/share (as already happens with immutable distros)?

Are there immutable cinnamon distros?

If that's the case then there has to be a way for cinnamon to read the .desktop in /usr/local/share/applications.

The snipped I shared checks if the current DE is cinnamon and if there isn't already a /usr/local/share/applications directory. If your distro was inmutable you would have the directory already.

from am.

vitforlinux-gimp avatar vitforlinux-gimp commented on July 30, 2024

(ITALIAN)
Ho usato JGMENU su Cinnamon in Mint 22 Wilma beta, e la voce per avviare Chrome, c'è, ma nel menù di Cinnamon no. Credo che il problema sia nel menu di Cinnamon, che evidentemente non "cerca" file .desktop in /usr/local/share/applications/.

Fare collegamenti (link) ad altre cartelle non va bene, tanto varrebbe allora mettere i file .desktop in /usr/share/applications/ avendo megari cura di aggiungere AM nel nome(chrome-AM.desktop)... così da non guastarne altri quando si disinstalla.

È un errore di Cinnamon.
(ENGLISH-matic)
I used JGMENU on Cinnamon in Mint 22 Wilma beta, and the entry to launch Chrome is there, but not in the Cinnamon menu. I believe the problem is in Cinnamon's menu, which evidently doesn't "search" for .desktop files in /usr/local/share/applications/.

Making connections (links) to other folders is not good, so you might as well put the .desktop files in /usr/share/applications/ taking care to add AM in the name (chrome-AM.desktop)... so as not to damage them others when you uninstall.

Is a Cinnamon error.

from am.

ivan-hc avatar ivan-hc commented on July 30, 2024

Penso che sia meglio segnalare questo errore al team di linux mint / cinnamon

https://github.com/linuxmint/cinnamon/issues

questi sono gli issue relativi alla ricerca per "usr/local/share/applications" (con virgolette, per avere il risultato preciso)

https://github.com/linuxmint/cinnamon/issues?q=%22usr%2Flocal%2Fshare%2Fapplications%22

from am.

vitforlinux-gimp avatar vitforlinux-gimp commented on July 30, 2024

Devo chiedere scusa, evidentemente gli sviluppatori di Cinnamon si sono accorti del difetto e lo hanno risolto.

I have to apologize, evidently the Cinnamon developers noticed the flaw and fixed it.

from am.

ivan-hc avatar ivan-hc commented on July 30, 2024

Devo chiedere scusa, evidentemente gli sviluppatori di Cinnamon si sono accorti del difetto e lo hanno risolto.

I have to apologize, evidently the Cinnamon developers noticed the flaw and fixed it.

Non scusarti, è bene che ci teniamo informati.

PS: sempre e solo forza XFCE! xD

from am.

vitforlinux-gimp avatar vitforlinux-gimp commented on July 30, 2024

Forza svarioni che fanno pigliare lucciole per lanterne... anche il vecchio Cinnamon (e anche Budgie) di Debian 12 funzionano, e eppure ci vedo ancora.
Devo mangiare più gelato e usare meno distro diverse... così tengo la testa più fresca.

from am.

ivan-hc avatar ivan-hc commented on July 30, 2024

Devo mangiare più gelato e usare meno distro diverse... così tengo la testa più fresca.

Hai ragione, questi non sono tempi adatti a un pinguino ;)

from am.

Related Issues (20)

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.