Page MenuHomeLubuntu

Port over "additional drivers" tab from software-properties-gtk to -qt
Open, NormalPublic

Description

FYI, can't turn to Kubuntu as they use kubuntu-driver-manager in KCM.

Event Timeline

wxl created this task.Oct 25 2018, 5:26 PM
wxl triaged this task as Unbreak Now! priority.
wxl lowered the priority of this task from Unbreak Now! to Normal.Oct 26 2018, 1:58 PM

Isn't this as easy as to put a GUI (Qt) that:
1.- runs sudo ubuntu-drivers list
2.- populate a list in which you chose the driver you want to install
3.- run sudo apt install "the driver you chose"
???
That sound to me easier than porting and if that is, I think I can take it.

As long as it has complete feature parity with the GTK version, that's fine by me. Either way, take it and run with it. 😄

Could you maybe aim for it to be an agnosticish "Ubuntu Driver Manager" just written in Qt (no KDE frameworks if you can help it) so we can pitch this to the wider ecosystem and avoid redundancy? Otherwise I guess I fear every future Qt flavor will "just have to write their own."

Oh, and one more thing; systray functionality would be cool. On first startup (or maybe in the welcome center, @TheWendyPower?) it should start up and perhaps run a very minimal daemon.

Again, up to you though.

In 18.04 the application that makes this happen is software-properties-gtk and I found this code which has some qt mentions maybe it's very easy to compile this with qt https://bazaar.launchpad.net/~ubuntu-core-dev/software-properties/main/files @tsimonq2 @wxl

Right, it could be relatively simple to port it from PyGTK to PyQt.

I have commit and upload access to that package too, so I can just merge there if you wanted to do it in that menu.

I found out that we ship software-properties-qt (and software-properties-kde) but it doesn't have a menu entry. Although at the moment it doesn't have the "additional driver" tab, I think we should have the menu entry, people (and with that I mean myself) are used to use this instead of muon or synaptic for handle updates, repos, and the others.

software-properties-qt (and software-properties-kde)

software-properties-kde should no longer exist; I personally renamed everything to Qt.

Although at the moment it doesn't have the "additional driver" tab, I think we should have the menu entry, people (and with that I mean myself) are used to use this instead of muon or synaptic for handle updates, repos, and the others.

Sure; maybe write a .desktop file and put it here? I can get it in the branch for you.

kc2bez added a comment.Nov 5 2018, 7:01 PM

There is a .desktop file already in /usr/share/applications/software-properties-qt.desktop It is set to NoDisplay=true Perhaps if we changed it to OnlyShowIn=LXQt

and it doesn't have lxqt-sudo in Exec line. That edited should look like:

[Desktop Entry]
Name=Software Sources
GenericName=Software Sources
Comment=Configure the sources for installable software and updates
Exec=lxqt-sudo software-properties-qt
Icon=applications-other
#NoDisplay=true
Terminal=false
X-MultipleArgs=false
Type=Application
Categories=System;Settings;
MimeType=text/x-apt-sources-list;
X-KDE-SubstituteUID=true
X-Ubuntu-Gettext-Domain=software-properties