You are not logged in.

#1 2022-07-22 06:18:20

avasam
Member
Registered: 2020-01-26
Posts: 72
Website

[SOLVED] There is no name when saving files in Arch Linux

When I try to save a file, the name field is empty and I have to manually specify the file name and format.
For example, if I want to save an image from Telegram-desktop, no name or format is considered for it by default !
how can i solve it ?
---

more information : 
fresh ArchLinux 
Desktop : Xfce4
file manager : nautilus

Last edited by avasam (2022-07-25 05:33:45)

Offline

#2 2022-07-22 06:55:58

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: [SOLVED] There is no name when saving files in Arch Linux

1. How did you install arch?

2. Is this from a specific web-site? all web-sites?

3. Can you give us an example link that, when you try to save it, it doesn't populate a default name?

All the best,

-HG

Offline

#3 2022-07-22 09:42:25

avasam
Member
Registered: 2020-01-26
Posts: 72
Website

Re: [SOLVED] There is no name when saving files in Arch Linux

HalosGhost wrote:

1. How did you install arch?

2. Is this from a specific web-site? all web-sites?

3. Can you give us an example link that, when you try to save it, it doesn't populate a default name?

All the best,

-HG

i installed arch manually by a bootable usb flash ...
I just tested it right NOW , there is no problem with the browser or the sites at all ... The problem is for the Telegram program that when I want to save anything like an audio file or a video or an image, it does not have a name and format by default and place of name is completly empty.

I also installed the unofficial telegram program Kotatogram and it has the same problem

Last edited by avasam (2022-07-22 09:43:45)

Offline

#4 2022-07-22 16:31:43

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,659

Re: [SOLVED] There is no name when saving files in Arch Linux

avasam wrote:
HalosGhost wrote:

1. How did you install arch?
-HG

i installed arch manually by a bootable usb flash ...

I think HG was asking whether you used our Installation guide or was it by any other reference.

Have you seen the behavior you are looking for on other systems?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2022-07-23 07:33:32

avasam
Member
Registered: 2020-01-26
Posts: 72
Website

Re: [SOLVED] There is no name when saving files in Arch Linux

ewaller wrote:
avasam wrote:
HalosGhost wrote:

1. How did you install arch?
-HG

i installed arch manually by a bootable usb flash ...

I think HG was asking whether you used our Installation guide or was it by any other reference.

Have you seen the behavior you are looking for on other systems?

I used itsfoss (a website ) guide to install Arch and I had used it several times before and it did not have a similar problem.
No, I have not seen this behavior in another system

Offline

#6 2022-07-23 09:32:51

Irets
Member
Registered: 2019-02-01
Posts: 143

Re: [SOLVED] There is no name when saving files in Arch Linux

3rd-party install guides are not supported on these forums.

Offline

#7 2022-07-23 13:07:36

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,486

Re: [SOLVED] There is no name when saving files in Arch Linux

That aside, the subject should mention telegram and you should detail whether it's telegram from the repos or some flatpak and which QT_QPA_PLATFORMTHEME you use.
(Personally, idk whether there's supposed to be some preset name for whatever you're saving there to begin with)

Online

#8 2022-07-24 02:29:16

avasam
Member
Registered: 2020-01-26
Posts: 72
Website

Re: [SOLVED] There is no name when saving files in Arch Linux

seth wrote:

That aside, the subject should mention telegram and you should detail whether it's telegram from the repos or some flatpak and which QT_QPA_PLATFORMTHEME you use.
(Personally, idk whether there's supposed to be some preset name for whatever you're saving there to begin with)

i installed telegram from AUR not flatpak .
Previously, there was no such problem in Arch and the default name was there when saving in Telegram ...
I had installed Arch in the same way before

Offline

#9 2022-07-24 02:29:55

avasam
Member
Registered: 2020-01-26
Posts: 72
Website

Re: [SOLVED] There is no name when saving files in Arch Linux

Irets wrote:

3rd-party install guides are not supported on these forums.

That guide is the same as the original guide, I have used it before and there was no such problem

Offline

#10 2022-07-24 06:09:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,486

Re: [SOLVED] There is no name when saving files in Arch Linux

That guide is the same as the original guide, I have used it before and there was no such problem

What, like all your meaningless ramblings about previously doing the same, is completely irrelevant to the question whether we support this kind of attempted "quick and dirty but I've no idea what I'm doing" approach.

You wanted to instead focus on

seth wrote:

which QT_QPA_PLATFORMTHEME you use

Online

#11 2022-07-24 14:52:49

avasam
Member
Registered: 2020-01-26
Posts: 72
Website

Re: [SOLVED] There is no name when saving files in Arch Linux

seth wrote:

That guide is the same as the original guide, I have used it before and there was no such problem

What, like all your meaningless ramblings about previously doing the same, is completely irrelevant to the question whether we support this kind of attempted "quick and dirty but I've no idea what I'm doing" approach.

You wanted to instead focus on

seth wrote:

which QT_QPA_PLATFORMTHEME you use

If I were an Arch expert, I would have solved my problem myself and I would not be here ...
Anyway, how do I check this?

seth wrote:

which QT_QPA_PLATFORMTHEME you use

Offline

#12 2022-07-24 15:15:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,486

Re: [SOLVED] There is no name when saving files in Arch Linux

This has nothing to do with "Arch expert" and

Anyway, how do I check this?

is emblematic of the problem: you have *no* idea what you're doing. Not "only a little", not "I'm not an expert". *None*.
Try

echo $QT_QPA_PLATFORMTHEME

, otherwise qt will autoselect the platform theme from your session.

Online

#13 2022-07-24 17:00:31

avasam
Member
Registered: 2020-01-26
Posts: 72
Website

Re: [SOLVED] There is no name when saving files in Arch Linux

seth wrote:

echo $QT_QPA_PLATFORMTHEME

output is empty

Offline

#14 2022-07-24 17:57:21

loqs
Member
Registered: 2014-03-06
Posts: 18,964

Re: [SOLVED] There is no name when saving files in Arch Linux

avasam wrote:
seth wrote:

echo $QT_QPA_PLATFORMTHEME

output is empty

seth wrote:

otherwise qt will autoselect the platform theme from your session.

What session is in use?
Edit:

env | grep XDG_SESSION
printenv DESKTOP_SESSION

Last edited by loqs (2022-07-24 18:04:19)

Offline

#15 2022-07-24 18:03:08

avasam
Member
Registered: 2020-01-26
Posts: 72
Website

Re: [SOLVED] There is no name when saving files in Arch Linux

loqs wrote:
avasam wrote:
seth wrote:

echo $QT_QPA_PLATFORMTHEME

output is empty

seth wrote:

otherwise qt will autoselect the platform theme from your session.

What session is in use?

how can i check session ?
did you mean this : i use xfce4 defaul session

Last edited by avasam (2022-07-24 18:03:29)

Offline

#16 2022-07-24 18:05:59

loqs
Member
Registered: 2014-03-06
Posts: 18,964

Re: [SOLVED] There is no name when saving files in Arch Linux

We posted at the same time.  See my edit to check if environment variables related to session have been set.

Offline

#17 2022-07-24 19:02:45

avasam
Member
Registered: 2020-01-26
Posts: 72
Website

Re: [SOLVED] There is no name when saving files in Arch Linux

loqs wrote:

We posted at the same time.  See my edit to check if environment variables related to session have been set.

output :

env | grep XDG_SESSION :                                
XDG_SESSION_ID=3
XDG_SESSION_TYPE=x11
XDG_SESSION_CLASS=user
printenv DESKTOP_SESSION :                               
Xfce Session                                                               

Last edited by avasam (2022-07-24 19:03:18)

Offline

#18 2022-07-24 19:45:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,486

Re: [SOLVED] There is no name when saving files in Arch Linux

Do you get a different (and functional) file dialog for

QT_QPA_PLATFORMTHEME=gnarf telegram-desktop

(the appearance of the telegram client will likely generally change, but that's irrelevant)

Also, just to be sure

pacman -Qs portal

Online

#19 2022-07-25 05:32:27

avasam
Member
Registered: 2020-01-26
Posts: 72
Website

Re: [SOLVED] There is no name when saving files in Arch Linux

seth wrote:

Do you get a different (and functional) file dialog for

QT_QPA_PLATFORMTHEME=gnarf telegram-desktop

(the appearance of the telegram client will likely generally change, but that's irrelevant)

Also, just to be sure

pacman -Qs portal

I deleted Arch Linux and reinstalled it, the problem solved.
I think this problem was from xdg-desktop and flatpak problems ... I am not sure.
maybe this link help for solve this problem
https://github.com/telegramdesktop/tdes … sues/24491

Thanks.

Last edited by avasam (2022-07-25 05:33:27)

Offline

#20 2022-09-09 19:58:41

avasam
Member
Registered: 2020-01-26
Posts: 72
Website

Re: [SOLVED] There is no name when saving files in Arch Linux

When the flatpak installed these packages are also installed by default :

xdg-desktop-portal-gnome
xdg-desktop-portal-gtk
xdg-desktop-portal-impl

This bug is for GNOME version of xdg portal and removing xdg-desktop-portal-gnome package will solve this problem.
Because this topic is the first result of Google, I updated it.
Keep flatpack installed ...

Last edited by avasam (2022-09-09 19:59:52)

Offline

Board footer

Powered by FluxBB