LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

You CAN use kdialog "getfilename" to choose a directory, contrarily to some tutorials around

Posted 08-06-2021 at 10:06 PM by the dsc (linux-related notes)
Updated 08-15-2021 at 03:25 PM by the dsc (GrAmm3r ][)

Code:
dir=$(kdialog --getopenfilename "${defdir:-$PWD}" 'inode/directory' --title "Please choose the directory you want") ; cd ${dir}
I like it more than the "--getexistingdirectory" alternative (or zenity/gnome) which uses a system wide directory tree where you have to click on the tiny arrows or plus/minus icons to their left in order to open or close them, if you double click them hoping to enter, as you would on other file/directory navigation dialogs (or...
Member
Posted in Uncategorized
Views 303 Comments 0 the dsc is offline
Old

[SOLVED?] Kdialog ("save file as") extremely slow to show up

Posted 10-08-2019 at 01:15 PM by the dsc (linux-related notes)

There are plenty of threads around the internet with this problem, not everyone is able to reproduce it, and probably "fixes" don't always work. In my case, I'm not even on KDE/plasma, even though I prefer KDE file managers and dialogs.

What I found that worked for me so far was from here: https://forum.manjaro.org/t/dolphin-...-load/69134/11

Quote:
Originally Posted by b_quest

Itís because dolphin may call upower when starting and upower fails and causes
...
Member
Posted in Uncategorized
Views 657 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 01:49 PM.

Main Menu
Advertisement
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