Gedit Problem
All,
Created this script, to open a list of last files edited: Code:
#! /bin/bash Code:
# Gedit multifile input file gedit-list.txt
I did not find anything about determining if GEDIT exist and opening the file list in new tabs. Cheers! TBNK |
|
Comment line fixed
All,
Added the test on "fstchr" so now skipping the comment line. Code:
#! /bin/bash |
Quote:
Don't understand anything at/in the link you sent. I'm on KDE not Nautulis! Cheers! TBNK PS: Running cmd: Code:
ps -A | grep gedit Quote:
I assume my script should run this cmd and then change/add some option to assign the new tabs/sessions to this window, instead of a new one! Running cmd: "man gedit" did not show me any options that seemed like it/they would work. Cheers! |
Quote:
Quote:
Quote:
Also very importantly you never mentioned in your first post that you were using KDE. How would pan64 or anyone else know this ? Nautilus is the file browser for Gnome. You wouldn't be "on Nautilus". You would be using a desktop environment such as Gnome which uses Nautilus as its file browser. Since you only mentioned gedit many would assume you were using Gnome or something related. There is no need for the exclamation marks. |
Quote:
I always appreciate any inputs, but sometimes people respond with an opinion, not actual help, thus it is with your response. Yes Kate is available but has no options I need and totally unveiwable as no "CONTRAST" and therefore I hate it. GEDIT has been my trusted and totally usable for all apps I engage, so sticking to it. Besides would run into the same problem with KATE, as I already have. Yes I had to customize GEDIT to my liking, but I did that over 15 years, adding plugins, configuring fonts/sizes, colors, background, etc. etc. As for KATE doing what I want, total BS. What happens is I have 5-50 files open editing them and the edit session crashes. I'm building a separate "SAVE" bash script that records all GEDIT open/editing files, into the source file being used in this current script, so when I crash I have this as a restore. KATE as GEDIT does not keep a list of the last files edited, so has the same problem. Your opinion is KATE is better, I disagree and so did not help with my problem. Nautilus is a browser for losers as any every Linux user knows the only "SECURE" browser is FireFox, since 1998 and the IISC declared that use of any other browser the user is responsible for all losses and only FireFox shifts that legal blame back to the writer/programmer of any data breaching or phishing scripts. Firefox is now totally self secure, but use to need addons of: NoScript, AD_Block Plus and Ghostery to be secure. You have to be a half wit to be using anything but Firefox as you have 0 protection using any other browser. That goes for Chrome also as Google is the #! promoter and violator of data breaches and phishing and has all their illegal viruses built right into Chrome. Yes cmdline on Kubuntu is the same as Ubuntu, except for a list of addons and extras that come with KDE and the users separately install as apps/scripts he/she normally uses. Cheers! TBNK |
Can’t help with either gedit or Kedit ... here’s an opinion....
I use SciTE on both Windows and Linux. Very customizable, excellent documentation. I’ve never had a need to open 50 files at once, but I have been as high as 20-25. |
OP: Nautilus isn’t a browser, it’s the file manager in the Gnome DE. Before you lash out, do your homework.
|
Quote:
File managers which may be called file browsers are very different from web browsers. https://en.wikipedia.org/wiki/GNOME_Files From the page above the "browser" interface of this file manager is described. The "browser" interface is often the default which is why file manager applications are sometimes called "file browsers" Code:
In the version included with GNOME 2.6, Nautilus switched to a spatial interface.[7] Several Linux distributions have made "browser" mode the default. The "classic" interface is still available: Quote:
Quote:
Nowhere in your first post did you mention that you found Kate unsuitable for other reasons or that you had ever tried Kate. No one replying to your post could have known this. I therefore did help with the problem you asked. Quote:
Quote:
Code:
|
Well, it's definitely not the first time this user lashed out like that.
Asking questions, getting angry at being pointed to a flaw in the original premise, not listening to answers. Emotion getting in the way. I wish it wasn't such a common scenario on the interwebz. Quote:
I'm not going to tell you which though because you'll just lash out again, saying editor XYZ is "not what you want". |
All,
When I added the script to the launcher menu it ran perfectly. I even closed out all GEDIT sessions, hit the launcher and comes up in the default GEDIT with my custom profile and adds all files to the tabs. So marked this solved! Cheers! TBNK |
All times are GMT -5. The time now is 03:35 PM. |