GithubHelp home page GithubHelp logo

aarnt / octoxbps Goto Github PK

View Code? Open in Web Editor NEW
67.0 6.0 10.0 1.01 MB

A Qt-based XBPS front end

License: GNU General Public License v2.0

QMake 0.95% Shell 0.09% C++ 97.52% C 1.45%
xbps voidlinux trident qt

octoxbps's Introduction

This is OctoXBPS, a powerful XBPS front end using Qt libs.

Main window

OctoXBPS is a Qt based GUI front end to the XBPS package manager, derived from OctoPkg. It consists of a lxqt-sudo clone called qt-sudo used to gain root privileges, a package browser application used to search, install, remove and update packages and a system tray icon notifier to notify the user about package changes. The project is compatible with Void Linux.

You can use XBPS to install the latest OctoXBPS version available in your distro:

# xbps-install -S octoxbps

Follow the steps bellow to compile the latest source code (you'll need curl, git and qt5 packages):

$ git clone https://github.com/aarnt/qt-sudo
$ cd qt-sudo
$ qmake-qt5
$ make
# make install
$ cd ..
$ git clone https://github.com/aarnt/octoxbps
$ cd octoxbps/notifier
$ qmake-qt5
$ make
# make install
$ cd ..
$ qmake-qt5
$ make
# make install

In order to run OctoXBPS main package browser:

$ octoxbps

To execute OctoXBPS system tray notifier:

$ octoxbps-notifier

You'll also need "curl" and "sudo" packages installed and your user to be a member of the wheel group.

Enjoy!

octoxbps's People

Contributors

42loco42 avatar aarnt avatar carmina16 avatar dexgs avatar madanadam avatar vistaus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

octoxbps's Issues

Tray icon disappears completely when syncing

I know it's not a bug nor an error, but when the update interval is set too low (5 minutes) or the syncing is too slow, could confuse the user. It's just a personal opinion, the software works great nonetheless.

Stop Octoxbps from syncing databases on launch

After a system update a few days ago I noticed that Octoxbps now automatically syncs databases on launch, is it possible to turn this off? I often just want to install cached packages and don't want to perform a full system update, this is very cumbersome especially on a rolling distro.

Thank you.

Octoxbps not showing any packages

I have installed both the void package and built manually but in either case there are no packages showing on the octo screen. Its blank both at start and if i try to search.
I can sync database and it asks for password and says it syncs ok but still no packages show.

post-install warnings?

Are post-install warnings somehow collected and presented to the user?

I wonder since I have not noticed anything yet, since installing. I guess it's important to know if a service needs to be restarted to continue working, or a reboot or even config adaption becomes necessary.

Respect SOCKS_PROXY env variable

xbps supports supplying SOCKS_PROXY environment variable. With it xbps can use .onion mirrors, Void Linux has onion mirrors in documentation. octoxbps can not reach .onion mirrors, when manual xbps-install -S can reach them.

distro news moved

the get latest distro news (ctrl-g) , shows

301 Moved Permanently

nginx/1.12.0

command errors with certain su frontends

Problem: When trying to refresh databases, update or anything that requires su or sudo access; some su frontends (lxqt-sudo in this instance) instead of running the program it uses the bash exec command, causing an error

bash: line 0: exec: xbps-install -Syy: not found

How to replicate: using the lxqt-sudo package as a frontend for su, refresh databases or install updates

Misc. information:
OctoXBPS - 0.2.2 (Qt 5.11.3)

XBPS: 0.59.1 API: 20200221 GIT: UNSET

OctoXBPS always prompts for password on start

Every time OctoXBPS is started, it displays a password prompt in order to authenticate running xbps-install -Syy to synchronize the local and remote package databases. It is my understanding that it is only meant to show this prompt if it cannot find pkgdb*.plist in /var/db/xbps, so it seems like showing this prompt every time the program starts is not intended.

octoxbps as root ?

EDITED

Hello @aarnt ,

I currently use octoxbps in Void linux

When I try to run the program as root:
$ sudo octoxbps
I see this message: "You can not run octoXBPS with administrator's credential."

Now when I run the program as a regular user:
$ octoxbps
I can start it.
But when I want to install / remove a package, I see this error: "There are no means to get administrator's credentials. You'll need to install a su frontend like gksu or kdesu."

I can't use your program without gksu / kdesu.
Why ?
It doesn't make sense for me...
...but if everyone thinks it's okay, well, I guess I'm wrong. ๐Ÿ˜‰

Regards.

search doesn't find all it could

~]$ xbps-query -Rs game | wc -l
140

if I type game into octoxbps find dialog it only finds 13 packages, I believe this because its not looking in the package descriptions

octoxbps would be much more useful if the search included the description

Failed to exec 'sudo': No such file or directory

When trying to sync the database manually (in the main window of OctoXBPS), I get this error message:

Synchronizing databases...

octoxbps-sudo: Failed to exec 'sudo': No such file or directory

Command finished with errors!

I don't have sudo installed, only doas (Void Linux). I thought it would work with doas, too, but I'm not sure.

The files /usr/bin/doas and /etc/doas.conf seem to exist:

ls -al /usr/bin/doas
-rwsr-xr-x 1 root root 43168 26. Jan 2022  /usr/bin/doas
ls -al /etc/doas.conf   
-rw-r--r-- 1 root root 23 13. Feb 2021  /etc/doas.conf

handle xbps-src

What about if oxtoxbps can handle also software from xbps-src repository like on arch can be AUR through octopi. Or using some wrapper around..
Vpsm or ...

Dark theme ?

Please tell us how did you get a dark theme for octoxbps.
I run Gnome40 and I use the theme Mojave-dark.
Regards

v0.3.1: notifier now asking for password when checking for updates in the background.

After updating octoxbps on Void from v0.3.0_4 to v0.3.1_1 the notifier is asking for a password before checking for updates in the background (= syncing the database). That never happened in previous versions.

As the template for this package on the void packages github doesn't seem to have changed other than adjusting the version number, the source url and the hash, I would assume it's in the code itself, hence I post the bug report here. Unless, of course, some dependency changed, but that change isn't reflected in the template.

I use the notifier only as an indicator for available updates, and the terminal for updating. So, I never get asked for a password by the notifier. Until v0.3.1. That's why I noticed the change immediately.

For now, I downgraded to v0.3.0 to avoid this issue.

Latest version of octoxbps-notifier doesn't show updates

When I ask it to sync database (by right-clicking on the tray icon), I sometimes get a dot on the icon, very briefly (for much less than a second), sometimes I don't get any visual feedback, then the dot disappears and nothing happens. Left-clicking on the icon then does nothing.

Then, when I immediately do at the terminal sudo xbps-install -Su, I get a list of packages that can be updated (if such exist).

Then, when I immediately do a sync database on the notifier icon, I get a red dot, and then clicking on the icon brings me the option to install the new packages.

I shouldn't have to run sudo xbps-install -Su on the terminal to update my packages.

rcc: not found

I'm trying to compile octoxbps but I seem to be missing an SDK or something. I'm on Void Linux, what xbps package should I install to remedy this?

[nim@pc-gamma sudo]$ qmake-qt5
Info: creating stash file /home/nim/repositories/octoxbps/sudo/.qmake.stash
sh: 1: /usr/lib/qt5/bin/rcc: not found
sh: 1: /usr/lib/qt5/bin/uic: not found
[nim@pc-gamma sudo]$ 

Thanks!

kdesu fails to trigger due to paths changed

In Qt based desktops like KDE it seems that Octoxbps tries to use kdesu, which doesn't exist in /usr/bin these days apparently. The result is application lock up which is only resolved by force killing Octoxbps.

Please also check in /usr/lib/libexec/kf5/ since that appears to be where the main binary is located.

OctoXBPS doesn't see a plus symbol

Looks like it doesn't see a + (plus) symbol which is used in package names.
Someone complained about a missing package and I decided to test it:

Just put in the search string: 'gtk+'

Am I the only one or is it a bug?

Thanks.

New release

I see a lot of activity on the master branch, but the latest release was in 2016 (and Void Linux still ships that version).

Improve install local package error

I downloaded an .xbps that compiled myself in another machine. I opened octoxbps, File -> install local package.

This is the error that I get:

Installing selected packages...

Updating repository https://repo-default.voidlinux.org/current/musl/x86_64-musl-repodata
Package 'Desktop' not found in repository pool.

Command finished with errors!

This error doesn't explain what happened and what can I do about it. I would like to be able to install .xbps files without having to open a terminal.

description pane covers package name list

Randomly the description pane started to cover the package name list every time it's started. Now every time I start Octoxbps I have to pull the description pane down to view the package name list and searches.

OctoXBPS not detecting specific shells

Hello I just want to notify a little "warning" that I'm receiving when installing packages using OctoXBPS.

read illegal option -n

2020-12-08-125437_3840x1080_scrot

It has to do with the program not detecting the specific shell I'm using (in this case mksh). I know it's not a huge problem but could be fixed easily.

One solution could be that temporary installation scripts (.qt_temp_*) get executed using bash (with a shebang in the script) or maybe simple dash?

I'm really liking OctoXBPS, thx for the work ๐Ÿ˜€

LANG env variable ?

Hello,
It's seemed that octoxbps doesn't take in account the LANG env variable when launching xbps-install.
I've checked that with grub-mkconfig.
grub-mkconfig uses LANG to make a locale version of /boot/grub/grub.cfg. When grub-mkconfig is launched by octoxbps, it creates a US version of grub.cfg
Is there a solution for that ?
Thx for reading
vTT

OctoXBPS doesn't start at all in Void Linux

Hello,

OctoXBPS doesn't work in Void for some time already and still not fixed. Is it Void's fault or yours?

It just doesn't start. If run from CLI I get this:

octoxbps: symbol lookup error: octoxbps: undefined symbol: _ZN11QTermWidget20setScrollBarPositionENS_17ScrollBarPositionE

TIA

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.