Coder Social home page Coder Social logo

Launching certain apps about nwg-drawer HOT 10 CLOSED

nwg-piotr avatar nwg-piotr commented on August 19, 2024
Launching certain apps

from nwg-drawer.

Comments (10)

nwg-piotr avatar nwg-piotr commented on August 19, 2024

Sorry, couldn't confirm. Just installed gnome-chess and launched it from nwg-drawer with no issue.

image

from nwg-drawer.

matuck avatar matuck commented on August 19, 2024

This may be a distribution problem. I am running debian and gnome chess is installed to /usr/games. The problem seems to be around games so things installed to /usr/games. However /usr/games is in my path

from nwg-drawer.

nwg-piotr avatar nwg-piotr commented on August 19, 2024

The drawer takes the exec name (or full path) from the .desktop file. Check your /usr/share/applications/org.gnome.Chess.desktop file.

[Desktop Entry]
(...)
Exec=gnome-chess %U

On my side it's just the name, w/o path. This means that the gnome-chess binary location must be included in your $PATH environment variable.

Check the binary location:

$ command -v gnome-chess
/usr/bin/gnome-chess

And then if it's on your path:

$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl

The question is whether you .desktop file specifies just the name, w/o a path different from /usr/games/.

from nwg-drawer.

matuck avatar matuck commented on August 19, 2024

on my side it is just the path gnome-chess as well

[Desktop Entry]
(...)
Exec=gnome-chess %U

Path for excuteable

$ command -v gnome-chess
/usr/games/gnome-chess

My path

$ echo $PATH
/home/matuck/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

However, if I put a sysmlink from /usr/games/gnome-chess to /usr/local/bin/gnome-chess, it works fine.

from nwg-drawer.

nwg-piotr avatar nwg-piotr commented on August 19, 2024

Strange. I haven't seen Ubuntu for years. Can't install to check it myself, as I'm on vacation, with an ancient laptop and a slow Internet connection only. :/

from nwg-drawer.

matuck avatar matuck commented on August 19, 2024

will keep working at it to see if i find a solution and will post here if i do.

from nwg-drawer.

nwg-piotr avatar nwg-piotr commented on August 19, 2024

Excellent.

from nwg-drawer.

matuck avatar matuck commented on August 19, 2024

looks to be a problem with gdm. If I stop gdm and login to console then run sway it works fine some something in the way gdm is launching sway

from nwg-drawer.

nwg-piotr avatar nwg-piotr commented on August 19, 2024

Looks like a step forward. For sway and Hyprland sddm is a decent choice. Or you may just start with sway from the command line.

from nwg-drawer.

matuck avatar matuck commented on August 19, 2024

Works fine with sddm. Just in case anyone else runs across a similar problem.

from nwg-drawer.

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.