LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-09-2022, 08:43 PM   #1
generic.newb_
LQ Newbie
 
Registered: Apr 2021
Posts: 21

Rep: Reputation: Disabled
qbittorrent.appimage is broken If Not Launched manually from terminal by ./


Hi, I have really wierd problem with qbittorren appimage. Im on slackware current installed to drive from live mate iso. Whenever I run it by executing ./qbittorrent.appimage it works fine. But any other way, being it desktop launcher, shell script or just clicking on it, there is a weird bug that causes qbittorrent to close whenever I click on "add torrent file" button.

The wierdest thing is that the bug persists even if i put something like "xterm ./qbittorrent.appimage" in a shell script and then execute it, even tho a terminal window literalily appears and qbittorrent is visibly running from this terminal window. But executing "xterm ./qbittorrent.appimage" from other terminal works just fine. Is there some different way to work around it? It makes me wonder what is even the difference here?

*Im just looking for a way to trutly run it "as if" it was ran from a terminal without having to open a terminal and type everything in each time.

Last edited by generic.newb_; 01-09-2022 at 08:58 PM.
 
Old 01-09-2022, 08:57 PM   #2
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
So, what's the problem? LL

Add: aside from finding: a trillion search results on the internet,,, oh wait that's babies multiplying?!.

Come-on space race!!!

Add, again: I know, my bad, everyone can pitch with b now...

Last edited by jamison20000e; 01-09-2022 at 09:08 PM.
 
Old 01-09-2022, 09:03 PM   #3
generic.newb_
LQ Newbie
 
Registered: Apr 2021
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jamison20000e View Post
So, what's the problem? LL
Sorry if the way i phrased it is confusing, but this is so dumb I don't know how to say it better. The point is Im forced to first open terminal, login, type in cd /home/user/Desktop ; ./qbittirrent.appimage and then have terminal window hanging for qbittorrent to not break every time i click on "add torrent file". Every other way, including putting "xterm ./qbittorrent.appimage" in a shell script and running it ends with qbittorrent breaking every time i click on "add torrent file" button.

I would like to be able to open it through desktop launcher without it breaking every time i click on "add torrent file", even if additional terminal window has to hang around.

Last edited by generic.newb_; 01-09-2022 at 09:08 PM.
 
Old 01-09-2022, 09:10 PM   #4
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Have you tried oping it with -v
 
Old 01-09-2022, 09:33 PM   #5
generic.newb_
LQ Newbie
 
Registered: Apr 2021
Posts: 21

Original Poster
Rep: Reputation: Disabled
-v does nothing unfortunatelly, no additional messages, It doesn't even launch.
It only says this on launch when I launch it by opening terminal and typing the command in:


QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-user'
QSystemTrayIcon::setVisible: No Icon set
(but it still works, so i guess this is not where the problem lies)


The most annoying is that when i run it through shell file containing "xterm ./qbittorrent.appimage" it does show some crash message in the terminal that opens. But the terminal window closes instantly along with qbittorrent upon clicking "add torrent file" and it is impossible to read the crash message.
 
Old 01-09-2022, 10:02 PM   #6
generic.newb_
LQ Newbie
 
Registered: Apr 2021
Posts: 21

Original Poster
Rep: Reputation: Disabled
After multiple trials I managed to get 2 screenshots of what was on xterm window of qbittorrent that was run by shell script cotainining "./qbittorrent.appimage" just before it closed after clicking "add new torrent file".

https://i.ibb.co/6v2XDzz/1.png
https://i.ibb.co/LCK8Rpd/2.png

It works if I run shell script containing "xterm ./qbittorrent.appimage" from a terminal window "wha..?"

Last edited by generic.newb_; 01-09-2022 at 10:20 PM.
 
Old 01-10-2022, 02:17 AM   #7
giomat
Member
 
Registered: Jul 2017
Posts: 339

Rep: Reputation: 239Reputation: 239Reputation: 239
I don't see this issue running the appimage on -current (KDE). Are you on -current or 14.2?
what desktop are you using? these GTK warnings are a bit strange, qbittorrent is a Qt application, perhaps something broken on your system tray makes qbittorrent misbehave?
 
Old 01-10-2022, 05:12 AM   #8
generic.newb_
LQ Newbie
 
Registered: Apr 2021
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by giomat View Post
I don't see this issue running the appimage on -current (KDE). Are you on -current or 14.2?
what desktop are you using? these GTK warnings are a bit strange, qbittorrent is a Qt application, perhaps something broken on your system tray makes qbittorrent misbehave?
Slackware current, mate 1.26 version installed from liveslak ISO. Everything is updated to the most recent in current. Yea, this might have something to do with my current DE.
 
Old 01-10-2022, 05:17 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,930

Rep: Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321
I have a tr.sh and if I click on a torrent file in the browser it will start this script with the given url. And the script will do the rest (send the request to the torrent server).
 
Old 01-10-2022, 07:32 AM   #10
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,074

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
You might have a good reason for using appimage, but if not, you might want to try out AlienBob's qbittorrent package (plus the depencency libtorrent-rasterbar) - I've never had any issues with that.
 
1 members found this post helpful.
Old 01-10-2022, 11:19 AM   #11
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 321

Rep: Reputation: 215Reputation: 215Reputation: 215
Quote:
Originally Posted by kgha View Post
You might have a good reason for using appimage, but if not, you might want to try out AlienBob's qbittorrent package (plus the depencency libtorrent-rasterbar) - I've never had any issues with that.
This might be why...

From the latest release notes:
---
qBittorrent v4.4.0 was released.
LINUX: An AppImage is now offered. It uses the latest versions of Qt6, libtorrent, boost, openssl. It is created on Ubuntu 20.04 and it should work on any other similarly aged distro. It isn't well tested. Also Ubuntu 20.04 is dropped from the PPAs because it doesn't have the minimum required Qt5 version (5.15.2). The AppImage should cover any users left on that version.
---

Myself I use the docker version and the web gui.
 
Old 01-10-2022, 04:14 PM   #12
generic.newb_
LQ Newbie
 
Registered: Apr 2021
Posts: 21

Original Poster
Rep: Reputation: Disabled
Yeah, thanks I'll consider regular installation. Using appimages because it's convenient to have your set of software across every fresh installation without messing with each one of them.
 
Old 01-10-2022, 06:51 PM   #13
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,407
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
One script to manage all the slackbuilds ? Or a repo configured with slackpkg+ ?
For each his way...

I always found appimage and all somehow bloated.
 
1 members found this post helpful.
Old 01-11-2022, 02:11 AM   #14
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 780
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
appimage is not slackware way

build slackware packages and manage installation, upgrading, and removal with slackware's pkgtools.

Of course there's tools built on top of pkgtools to make it even easier, such as sbopkg:

Code:
sbopkg -r
sbopkg -i libtorrent-rasterbar
sbopkg -i qbittorrent
 
1 members found this post helpful.
Old 01-12-2022, 04:59 PM   #15
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by slac-in-the-box View Post
appimage is not slackware way

build slackware packages and manage installation, upgrading, and removal with slackware's pkgtools.

Of course there's tools built on top of pkgtools to make it even easier, such as sbopkg:

Code:
sbopkg -r
sbopkg -i libtorrent-rasterbar
sbopkg -i qbittorrent
The "Slackware Way" is to be the admin of your own box. If that consists of using appimage, docker, pip, or Slackware packages, so be it. I prefer Slackware packages in a lot of cases, but sometimes the ease of prebuilt images can't be beat. I'm running steam through conty, because I don't want to install multilib for just steam.
 
4 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: qBittorrent 4.4 Open-Source BitTorrent Client Adds an Official AppImage, Qt 6 Support LXer Syndicated Linux News 0 01-07-2022 09:34 AM
Unable to run .AppImage file in terminal frankschroeriv Linux - Software 2 04-19-2020 02:47 PM
Trying to sync qbittorrent to web page ( choose app ) cannot find qbittorrent in the jango42 Linux - Software 1 03-16-2014 11:57 AM
service center does not open, neither does qbittorrent - pls help lentschgal Ubuntu 3 07-23-2011 12:56 AM
HPlip woes on --current ; Sharing printer gets broken if the hplip gui is launched Old_Fogie Slackware 2 10-28-2010 10:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration