Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] telegram-desktop-bin Uploading files does not work
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
bagas
Apprentice
Apprentice


Joined: 29 Jun 2018
Posts: 207

PostPosted: Wed Oct 11, 2023 3:14 pm    Post subject: [SOLVED] telegram-desktop-bin Uploading files does not work Reply with quote

Hello.
telegram-desktop-bin Uploading files does not work correctly.
When uploading files to telegram, telegram closes completely and me have to start again telegram.
Code:
Linux 6.1.53-gentoo-r1 x86_64
xfce4 4.18.4
net-im/telegram-desktop-bin-4.10.3

https://github.com/telegramdesktop/tdesktop/issues/26919 they advise
Code:
-- Your system is supported up to 4.9.x. Please downgrade or or get a gtk with wayland.
--- Yeah, that's the thing. gtk with wayland is required since 4.10.0. Your system is uncapable to run new versions.

how to fix?
_________________
BSD, Linux systems blog


Last edited by bagas on Mon Oct 16, 2023 12:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Wed Oct 11, 2023 3:32 pm    Post subject: Reply with quote

Try
Code:

USE="wayland" emerge -1av gtk+

If it works create an entry in package.use.
You can even set "wayland" USE in make.conf and rebuild @world.
No harm will arise.
_________________
:)
Back to top
View user's profile Send private message
bagas
Apprentice
Apprentice


Joined: 29 Jun 2018
Posts: 207

PostPosted: Thu Oct 12, 2023 1:18 pm    Post subject: Reply with quote

alamahant wrote:
Try
Code:

USE="wayland" emerge -1av gtk+

If it works create an entry in package.use.
You can even set "wayland" USE in make.conf and rebuild @world.
No harm will arise.


It helped by adding the wayland flag to gtk+.
I decided to add the wayland flag globally (in make.conf).
I'm rebuilding the world, and an incomprehensible dependency popped up.
How to fix?

Code:
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-qt/qtbase:6

  (dev-qt/qtbase-6.5.2-r2:6/6.5::gentoo, ebuild scheduled for merge) USE="X concurrent dbus gui libinput network nls opengl sql sqlite ssl udev wayland widgets xml -accessibility -brotli -cups -eglfs -evdev -gles2-only -gssapi -gtk -icu -libproxy -mysql -oci8 -odbc -postgres -sctp -test -tslib -vulkan -zstd" conflicts with
    ~dev-qt/qtbase-6.5.2:6[-opengl] required by (dev-qt/qttools-6.5.2-r2:6/6.5::gentoo, installed) USE="assistant linguist widgets -clang -designer -distancefieldgenerator -gles2-only -opengl -pixeltool -qdbus -qdoc -qml -qtattributionsscanner -qtdiag -qtplugininfo -test -vulkan"

_________________
BSD, Linux systems blog
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1685

PostPosted: Thu Oct 12, 2023 1:26 pm    Post subject: Reply with quote

bagas wrote:
I'm rebuilding the world, and an incomprehensible dependency popped up.
How to fix?

Code:
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-qt/qtbase:6

  (dev-qt/qtbase-6.5.2-r2:6/6.5::gentoo, ebuild scheduled for merge) USE="X concurrent dbus gui libinput network nls opengl sql sqlite ssl udev wayland widgets xml -accessibility -brotli -cups -eglfs -evdev -gles2-only -gssapi -gtk -icu -libproxy -mysql -oci8 -odbc -postgres -sctp -test -tslib -vulkan -zstd" conflicts with
    ~dev-qt/qtbase-6.5.2:6[-opengl] required by (dev-qt/qttools-6.5.2-r2:6/6.5::gentoo, installed) USE="assistant linguist widgets -clang -designer -distancefieldgenerator -gles2-only -opengl -pixeltool -qdbus -qdoc -qml -qtattributionsscanner -qtdiag -qtplugininfo -test -vulkan"

For some reason, you have opengl enabled on qtbase but not qttools. They are required to be equal opengl USE settings across both packages.
On a desktop system, I'd recommend that opengl be enabled system-wide and not removed in package.use without a good reason.
Back to top
View user's profile Send private message
bagas
Apprentice
Apprentice


Joined: 29 Jun 2018
Posts: 207

PostPosted: Mon Oct 16, 2023 12:49 pm    Post subject: Reply with quote

thank you all!
_________________
BSD, Linux systems blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum