Giter Club home page Giter Club logo

discover's People

Contributors

aleasto avatar aleixpol avatar alex1701c avatar antonio-rojas avatar aspotashev avatar bhush9 avatar carlschwan avatar davidedmundson avatar easyteacher avatar espidev avatar grulja avatar heirecka avatar hsitter avatar ismailof avatar jbruechert avatar jontheechidna avatar jriddell avatar kbroulik avatar leinir avatar montel avatar nicolasfella avatar notmart avatar pointedstick avatar ratijas avatar smarter avatar smfloris avatar travier avatar vogtinator avatar ximion avatar yurchor avatar

Watchers

 avatar

discover's Issues

Drivers Testing

  • Component kind driver should now be filtered in their own section
  • If the driver appstream data provides modaliases then the driver should only be shown if the modaliases matches the installed hardware

How to test:

There are two versions of this patch. First one is the https://github.com/getsolus/discover/tree/drivers-appstream branch, that targets Discover v5.15.80. The second one targets v5.15.10, which is the version Solus currently ships and it's only available as a tarball.
The following steps explain how to install a test release of the modified Discover v5.15.10 .eopkg archive.

  1. On a Solus machine (ideally a virtual machine, I don't take any blame for non-working systems), switch to the Unstable repository by issuing:
    sudo eopkg ar Unstable https://packages.getsol.us/unstable/eopkg-index.xml.xz
    sudo eopkg disable-repo Solus
    sudo eopkg up
  2. Download a Discover .eopkg archive from here https://shared.getsol.us/livingsilver94 and install it.
  3. Launch plasma-discover. You should see some drivers in "Hardware Divers" section.
  4. If no drivers appear specifically for your system in "Drivers For Your Device", you can create a fake driver.
    1. Save the following XML file as /usr/share/app-info/xmls/fakerepo.xml:
      <?xml version="1.0" encoding="UTF-8"?>
      <components origin="redaril.me" version="0.8">
      
      <component type="driver">
      <id>me.redaril.nano</id>
      <name>Redaril Nano</name>
      <summary>Fake Nano as a Driver</summary>
      <description>
         <p>
         Fake Nano as a Driver
         </p>
      </description>
      <url type="homepage">http://www.nvidia.com/Download/index.aspx</url>
      <metadata_license>CC0-1.0</metadata_license>
      <project_license>LicenseRef-proprietary:NVIDIA</project_license>
      <pkgname>nano</pkgname>
      
      <developer id="nvidia.com">
         <name>NVIDIA Corporation</name>
      </developer>
      
      <provides>
         <modalias>pci:v00001022d000014DBsv00001022sd00001453bc06sc04i00</modalias>
      </provides>
      </component>
      
      </components>
    2. Run find /sys -name modalias -exec cat {} \;. Choose any modalias you want from the list and replace a few characters with a single *. For example, the modalias above may become pci:v00001022d*14DBsv*sd00001453bc06sc04i00
    3. Replace the modalias above with the one you created.
    4. rm -rf ~/.cache/appstream.
    5. Now relaunch plasma-discover.

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.