Seeking more capable system dialogs.

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
markfilipak
Level 5
Level 5
Posts: 934
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio (formerly California), USA

Seeking more capable system dialogs.

Post by markfilipak »

Is there a package of standard dialogs available that has more capable dialogs?

My current xed 'Open' dialog doesn't have a path paste box but forces me to browse to the file I want to open. The fully qualifed path is in my paste buffer but the only way I have to see that is to paste it into xed. That's rather inconvenient.

Thanks.

8faX6vQs9ghV5QxA
Level 1
Level 1
Posts: 23
Joined: Mon Sep 16, 2019 11:39 am

Re: Seeking more capable system dialogs.

Post by 8faX6vQs9ghV5QxA »

Give Gedit a try.

Gedit was the default text editor in LM until the 19.x release. It has a path option as well as a useful sort function (unlike xed's). The layout of the new Gedit version is different than the older version(s) and, to me, is not intuitive, but it also has some much-needed improvements.

From the Terminal:
sudo aptitude install gedit

Cheers.

EDIT:
Cancel that, it looks like the path is only relevant to searching previously opened files, so it won't help, my apologies.

all41
Level 15
Level 15
Posts: 5932
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Seeking more capable system dialogs.

Post by all41 »

+1 for gedit
But you can just drag and drop a file to an open xed window

8faX6vQs9ghV5QxA
Level 1
Level 1
Posts: 23
Joined: Mon Sep 16, 2019 11:39 am

Re: Seeking more capable system dialogs.

Post by 8faX6vQs9ghV5QxA »

all41 wrote:
Tue Sep 24, 2019 9:11 pm
+1 for gedit
But you can just drag and drop a file to an open xed window
As with Gedit, Kate, Leafpad, Sublime-text, and probably many others, also.

all41
Level 15
Level 15
Posts: 5932
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Seeking more capable system dialogs.

Post by all41 »

op mentioned opening files in xed
As with Gedit, Kate, Leafpad, Sublime-text, and probably many others, also.
How is this an answer to his question?
Please stay on topic

User avatar
MrEen
Level 17
Level 17
Posts: 7925
Joined: Mon Jun 12, 2017 8:39 pm

Re: Seeking more capable system dialogs.

Post by MrEen »

As it hasn't been mentioned yet I throw it out there:

In the terminal type xed, then press the space bar, then right click and choose Paste, then hit Enter.

8faX6vQs9ghV5QxA
Level 1
Level 1
Posts: 23
Joined: Mon Sep 16, 2019 11:39 am

Re: Seeking more capable system dialogs.

Post by 8faX6vQs9ghV5QxA »

all41 wrote:
Tue Sep 24, 2019 9:11 pm
But you can just drag and drop a file to an open xed window
op mentioned opening files in xed via "a path paste box"

How is this an answer to his question?
Please stay on topic

markfilipak
Level 5
Level 5
Posts: 934
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio (formerly California), USA

Re: Seeking more capable system dialogs.

Post by markfilipak »

The topic isn't 'xed' or 'gedit' or any other editor.

The topic is: Seeking more capable system dialogs.

The 'Open' dialog in 'xed' was just an example of awful system dialogs. Sorry for any confusion there. My bad.

markfilipak
Level 5
Level 5
Posts: 934
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio (formerly California), USA

Re: Seeking more capable system dialogs.

Post by markfilipak »

Okay, time for some philosophy.

Linux is the land of CLI, eh? Well, how about a path paste box in all system dialogs? ...how about a command line box in all system dialogs? ...how about a command line box in all Linux apps? ...how about a small text box for notes (or convenience) in all Linux apps?

How about all of the above right on the panel?

...Just some thoughts.

PS: On topic - Seeking more capable system dialogs. Is there such a thing as 'system' dialogs in Linux (as there is in Windows)?

User avatar
murray
Level 5
Level 5
Posts: 678
Joined: Tue Nov 27, 2018 4:22 pm
Location: Auckland, New Zealand

Re: Seeking more capable system dialogs.

Post by murray »

Yeah this is one area where Windows has it over Linux. Windows is able to standardise things like scroll bars, file open/save dialog boxes, etc, and then Windows software simply says "open a file save dialog box" and they immediately get all the functionality that Microsoft has built into it.

I know Linux is all about choice but sometimes you can have too much choice...
Running Mint 19.3 Cinnamon on an Intel NUC8i5BEH with 16GB RAM and 500GB SSD

User avatar
Spearmint2
Level 16
Level 16
Posts: 6880
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Seeking more capable system dialogs.

Post by Spearmint2 »

clk on the search function and enter your path statement.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

markfilipak
Level 5
Level 5
Posts: 934
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio (formerly California), USA

Re: Seeking more capable system dialogs.

Post by markfilipak »

murray wrote:
Tue Sep 24, 2019 10:23 pm
Yeah this is one area where Windows has it over Linux. Windows is able to standardise things like scroll bars, file open/save dialog boxes, etc, and then Windows software simply says "open a file save dialog box" and they immediately get all the functionality that Microsoft has built into it.

I know Linux is all about choice but sometimes you can have too much choice...
Well, Murray, there's D-Bus. Is no one implimenting it?

Philosphy Example: I open Synaptic to see whether I have dbus installed. I do. I want to swipe-copy the version number, but Synaptic doesn't support swiping. If I want to manually copy the version number I have to open 'xed', un-maximize it, then position it so that it doesn't overlap, then type the version number into 'xed' so that I can then paste it in here. I have dbus 1.12.2-1ubuntu1.1.

But Linux is exactly the way the Linux devs want it. It's 30 years old, and it seems like it's still in its infancy, but it's exactly the way the devs want it. I keep telling myself that over and over.

markfilipak
Level 5
Level 5
Posts: 934
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio (formerly California), USA

Re: Seeking more capable system dialogs.

Post by markfilipak »

Spearmint2 wrote:
Tue Sep 24, 2019 10:24 pm
clk on the search function and enter your path statement.
Does not work.
Submitted: /var/log/syslog
Result: "No matches found"

PS: The topic is: "Seeking more capable system dialogs".

PPS: I wonder what would happen if the file system refused any query that didn't come from dbus? :wink:

User avatar
Spearmint2
Level 16
Level 16
Posts: 6880
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Seeking more capable system dialogs.

Post by Spearmint2 »

works OK as a terminal command. I mean use the "search" in the file manager, or remove what's in the path line at the top and put in a new path statement, but will only open folders, not files.

Code: Select all

xed  /var/log/syslog
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

User avatar
smurphos
Level 15
Level 15
Posts: 5941
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Seeking more capable system dialogs.

Post by smurphos »

In the file chooser open dialog press Ctrl-L to change from the default path-bar to file name + path entry mode.

The File open and close dialogs are provided by GTK. Unfortunately they have been dumbed down in progressive GTK versions.

E.g in GTK2 dialogs there was a button to switch between the two modes. Not with GTK3. Also the dconf setting that is supposed to let you choose a default for this behaviour is deliberately ignored by GTK3. The Gnome devs just don't seem to care.

https://gitlab.gnome.org/GNOME/gtk/issues/938
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

rene
Level 14
Level 14
Posts: 5213
Joined: Sun Mar 27, 2016 6:58 pm

Re: Seeking more capable system dialogs.

Post by rene »

smurphos wrote:
Tue Sep 24, 2019 11:16 pm
In the file chooser open dialog press Ctrl-L to change from the default path-bar to file name + path entry mode.
Also, by the way, if you want to type a path, just start typing.

markfilipak
Level 5
Level 5
Posts: 934
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio (formerly California), USA

Re: Seeking more capable system dialogs.

Post by markfilipak »

rene wrote:
Tue Sep 24, 2019 11:39 pm
smurphos wrote:
Tue Sep 24, 2019 11:16 pm
In the file chooser open dialog press Ctrl-L to change from the default path-bar to file name + path entry mode.
Also, by the way, if you want to type a path, just start typing.
I've tried simply pasting the /path/filename while xed has focus in the hope that it would know what I want. Nothing happens.

PS: I've just tried typing into xed as you suggest. The text goes into 'Unsaved Document 1'.

markfilipak
Level 5
Level 5
Posts: 934
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio (formerly California), USA

Re: Seeking more capable system dialogs.

Post by markfilipak »

smurphos wrote:
Tue Sep 24, 2019 11:16 pm
... The Gnome devs just don't seem to care.
Now, now, Steve. Don't you know that they have some master plan that we're all going to love (on our "smart" phones)?

User avatar
smurphos
Level 15
Level 15
Posts: 5941
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Seeking more capable system dialogs.

Post by smurphos »

It's Ctrl-L when this window (the GTK open file dialog) is open.

Before
Image

After
Image

rene's suggestion of typing into this window brings up a search box - this doesn't accept full path and searches the currently selected area in the side panel.

E.g. here I'm only searching my recent docs

Image
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

markfilipak
Level 5
Level 5
Posts: 934
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio (formerly California), USA

Re: Seeking more capable system dialogs.

Post by markfilipak »

smurphos wrote:
Wed Sep 25, 2019 1:25 am
... It's Ctrl-L when this window (the GTK open file dialog) is open.
If I just paste this:
/var/log/syslog
into the 'Open Files' dialog, I get this:
"The folder contents could not be displayed".
Duh? Is that the best the devs can come up with?
If I Ctrl-L and paste it, the syslog is opened.
That will be a good workaround for xed (and presumably, all that use GTK) provided I remember Ctrl-L of course.

Is there a way to force Ctrl-L automatically? ...That's a rhetorical question as I already know the answer. :wink:

Post Reply

Return to “Newbie Questions”