Search found 214 matches

by Klaas Vaak
Thu Sep 26, 2019 11:57 am
Forum: Software & Applications
Topic: Find and replace
Replies: 23
Views: 649

Re: Find and replace

Flemur wrote:
Thu Sep 26, 2019 11:50 am
Well, it didn't work! (It also didn't work in Manjaro, which I think has a different 'vim', and no 'ex')
Sorry, I missed the "edit" bit at the bottom of your original reply.
by Klaas Vaak
Thu Sep 26, 2019 11:44 am
Forum: Software & Applications
Topic: Find and replace
Replies: 23
Views: 649

Re: Find and replace

Thanks for the tip Flemur. I am bookmarking this page since it has many very F & R good tips; for now I'll stick with FAR. Talking about tips, I notice in your signature you like Manjaro. I recently discovered Artix, which I installed on a small, 2 GB RAM, 32 GB eMMC hybrid, and it runs like a dream...
by Klaas Vaak
Thu Sep 26, 2019 3:33 am
Forum: Software & Applications
Topic: Find and replace
Replies: 23
Views: 649

Re: Find and replace

Thanks for your help, phd21, much appreciated. I have just 1 small correction to make to your instruction, if I may. Maybe it is related to a difference in DE - your Cinnamon vs my XFCE - but this the way it is on XFCE: in the Create Launcher dialogue window, in the Command box you put ./far.sh and ...
by Klaas Vaak
Wed Sep 25, 2019 12:38 pm
Forum: Software & Applications
Topic: Find and replace
Replies: 23
Views: 649

Re: Find and replace

@phd21: thanks for your detailed reply and caveats, once again :D Yes, I started off with a need for text replacement within files, but that evolved into file name and folder name changes, although the latter is more of an academic interest at this stage. You say you never knew of or used "rpl" unti...
by Klaas Vaak
Wed Sep 25, 2019 11:20 am
Forum: Software & Applications
Topic: Find and replace
Replies: 23
Views: 649

Re: Find and replace

@phd21: thanks for that. RPL sure looks like a simple, efficient tool. What I meant with that string is a path to a sub-sub-sub folder called "images". Does RPL allow changing folder names too? In this case the part of the path to the "images" folder is shortened. Or is RPL purely for text replaceme...
by Klaas Vaak
Wed Sep 25, 2019 5:02 am
Forum: Software & Applications
Topic: Find and replace
Replies: 23
Views: 649

Re: Find and replace

Hi phd21, that seems to be a simple, straightforward solution. Nevertheless, you simulation just replaces 1 word with another. How would I replace say media/veracrypt1/Geopolitics/images/ with say media/veracrypt1/Geopolitics/ BTW, to just find a word or words in a file contents I use Catfish that i...
by Klaas Vaak
Wed Sep 25, 2019 4:57 am
Forum: Software & Applications
Topic: Find and replace
Replies: 23
Views: 649

Re: Find and replace

@donalduck: many thanks for that. The multitude of / and \ seems quite tricky, enough to get one's knickers in a twist.
by Klaas Vaak
Mon Sep 23, 2019 7:57 am
Forum: Software & Applications
Topic: Find and replace
Replies: 23
Views: 649

Re: [SOLVED] Find and replace

Thanks for your reply @ donalduck, I did not think anybody was going to reply anymore.

I have some markdown files with a path to a folder as part of the text.

How would I replace say
media/veracrypt1/Geopolitics/images/

with say
media/veracrypt1/Geopolitics/

i.e. leave off the "images/" bit?
by Klaas Vaak
Fri Sep 20, 2019 8:15 am
Forum: Software & Applications
Topic: Find and replace
Replies: 23
Views: 649

Re: Find and replace

donalduck wrote:
Fri Sep 20, 2019 7:59 am
another possible command:

Code: Select all

find . -type f -iname "*.txt" -exec sed -i "s/oldword1/newword1/g;s/oldword2/newword2/g" {} \;
@donalduck: so, if I understand well, one can just add as many old words and new words to that command as one likes.
by Klaas Vaak
Fri Sep 20, 2019 8:12 am
Forum: Software & Applications
Topic: Find and replace
Replies: 23
Views: 649

Re: Find and replace

ColdBootII wrote:
Fri Sep 20, 2019 7:03 am
Not exactly... Extract downloaded archive and give execute permission to far.sh to run the app.
@ColdBootll: yes, that works. Thanks for pointing it out.
by Klaas Vaak
Fri Sep 20, 2019 8:10 am
Forum: Software & Applications
Topic: Find and replace
Replies: 23
Views: 649

Re: Find and replace

I use a shell script for that. #!/bin/bash for word in $( cat /path.to/list.of.words ) ; do rename "s/$word//g" * done list.of.words: able baker \ charlie \ dog echo @catweazel: excuse my ignorance, but should that list.of.words be in the same script or is it a separate script that the rename scrip...
by Klaas Vaak
Fri Sep 20, 2019 3:58 am
Forum: Software & Applications
Topic: Find and replace
Replies: 23
Views: 649

Find and replace

I sometimes need to find in multiple files a word, or sentence, and replace it/them with another. I have been looking for a good app that can do this but have not found one. I did come across "Find and Replace" (FAR), which would fit the bill, except for Linux you have to download a .tar.xz file and...
by Klaas Vaak
Sun Aug 18, 2019 1:32 am
Forum: Software & Applications
Topic: [UNSOLVABLE] Thunderbird keeps opening links in the wrong browser
Replies: 6
Views: 218

Re: Thunderbird keeps opening links in the wrong browser

What should I do: replace all instances of iridium-browser with firefox, or delete all instances of iridium-browser? If you uninstalled it, yes, delete the files. (Those files are some of the junk left over after software package delete/purge) No, I did not uninstall Iridium, so in those 5 lines of...
by Klaas Vaak
Sun Aug 18, 2019 1:23 am
Forum: Software & Applications
Topic: [UNSOLVABLE] Thunderbird keeps opening links in the wrong browser
Replies: 6
Views: 218

Re: Thunderbird keeps opening links in the wrong browser

you can change the default browser in thunderbird, by going to edit>prefernces>advanced click on config editor button. It will warn you to be careful. click ok when the editor comes up copy and paste this line Into the search bar. network.protocol-handler.warn-external.http Two lines should come up...
by Klaas Vaak
Sat Aug 17, 2019 12:45 pm
Forum: Software & Applications
Topic: [UNSOLVABLE] Thunderbird keeps opening links in the wrong browser
Replies: 6
Views: 218

Re: Thunderbird keeps opening links in the wrong browser

Try ls ~/.local/share/applications/ and see if there a desktop file for the old browser (Iridium). If so, remove it, (and maybe log out/back-in) Yes, there was such a file. I removed it, logged out/back but it made no difference. If not, try grep -i ium ~/.local/share/applications/* which should fi...
by Klaas Vaak
Sat Aug 17, 2019 9:39 am
Forum: Software & Applications
Topic: [UNSOLVABLE] Thunderbird keeps opening links in the wrong browser
Replies: 6
Views: 218

[UNSOLVABLE] Thunderbird keeps opening links in the wrong browser

I recently changed my default browser from Firefox to Iridium (= Chromium) to give the latter a try. I have now reverted back to Firefox, but TB keeps opening links in IR. My set-up: Mint 19.2 XFCE 64-bit * in FF I have set it as my default browser * in the Mint settings manager, preferred applicati...
by Klaas Vaak
Thu Aug 01, 2019 6:50 am
Forum: Software & Applications
Topic: [SOLVED] Grub menu
Replies: 19
Views: 464

Re: Grub menu

To all: thank you very much for your help and suggestions. It's great to have a site like this as support, it is so reassuring to know that one is not alone, which is the feeling I always had when I was still using Windows. If there was a problem one had to search endless on the internet; yes, there...
by Klaas Vaak
Thu Aug 01, 2019 6:46 am
Forum: Software & Applications
Topic: [SOLVED] Grub menu
Replies: 19
Views: 464

Re: Grub menu

hans123 wrote:
Thu Aug 01, 2019 6:06 am
In Mint unmount / eject the usb-thumbdrive. Open Terminal and enter 'sudo update-grub' (without the quotes). This makes grub update the boot options and since the usb disk is not there, only the standard boot will be included in the menu.
Yes that worked. Thanks a lot.
by Klaas Vaak
Thu Aug 01, 2019 6:45 am
Forum: Software & Applications
Topic: [SOLVED] Grub menu
Replies: 19
Views: 464

Re: Grub menu

Not from me.... Why you shouldn't use it: https://easylinuxtipsproject.blogspot.com/p/grub-customizer.html That certainly is true, I did not hear that from you. Thanks for the link, that is useful page. In fact, the Easy Linux Tips Project is an amazing piece of work, extremely useful because it is...
by Klaas Vaak
Thu Aug 01, 2019 6:39 am
Forum: Software & Applications
Topic: [SOLVED] Grub menu
Replies: 19
Views: 464

Re: Grub menu

gm10 wrote:
Thu Aug 01, 2019 6:02 am
If that does not work, as you should have done from the start, provide output of

Code: Select all

inxi -Fxz
I apologise for not doing that. I thought Grub is a general Linux thing, and how to handle it is not dependent on which computer or which Mint version one uses. Wrong assumption. Sorry.

Go to advanced search