GithubHelp home page GithubHelp logo

Launch on Startup about nymphcast HOT 4 CLOSED

mayaposch avatar mayaposch commented on May 15, 2024
Launch on Startup

from nymphcast.

Comments (4)

PureTryOut avatar PureTryOut commented on May 15, 2024 1

At least with alpha 0.4 the NymphCast server starts up in fullscreen by default. As for starting it by default I just use the provided init script, in my case rc-update add nymphcast. Then it'll autolaunch after a reboot.

from nymphcast.

PureTryOut avatar PureTryOut commented on May 15, 2024 1

I've recently taken an interest in running NymphCast on Plasma Bigscreen installations as well and the init script method wasn't good enough/not what I wanted there. For a device that's purely going to be used as a Chromecast-like device an init script does the job well, but for devices that want to do more than just casting it's good to have the NymphCast server run as the same user as the system in use.

For that purpose I just created a .desktop file which I've put in /etc/xdg/autostart:

[Desktop Entry]
Version=1.0
Name=Nymphcast
Comment=Start Nymphcast
Exec=/usr/bin/nymphcast_server -c /etc/nymphcast/nymphcast_video_config.ini -a /usr/share/nymphcast/apps
Terminal=false
Type=Application
X-KDE-autostart-phase=2

On systemd systems I would recommend looking into systemctl --user instead, but you probably get the idea.

from nymphcast.

MayaPosch avatar MayaPosch commented on May 15, 2024 1

The installation routine for the systemd unit file provided with NC Server has been changed to run as a (global) user service rather than as a system (root-level) service. This offers the benefits of not using (risky & unneeded) root permissions, and enables the use of graphical content with the same environment and permissions as the currently logged in user.

This has been successfully tested on Manjaro Linux.

For any issues that may still exist with this functionality, please open a new ticket.

from nymphcast.

MayaPosch avatar MayaPosch commented on May 15, 2024

The SDL code in NymphCast Server has been refactored significantly over the past months. I have noticed some issues with full-screen mode as well, though most issues should be resolved by now.

Fixing the remaining issues with full-screen are definitely a priority before Beta testing starts. Exact steps to reproduce encountered issues would be most welcome here.

from nymphcast.

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.