Search found 428 matches

by FreedomTruth
Tue Feb 12, 2019 10:32 am
Forum: Other topics
Topic: Do I really need to encrypt home if I have full disk encryption?
Replies: 19
Views: 463

Re: Do I really need to encrypt home if I have full disk encryption?

2) Are there any benefits to having the `home` encrypted with encfs if full-disk LUKS encryption is also enabled? Not in a single user scenario. In a multi-user scenario it gives protection from other users (including administrators) accessing your files. Ideally, yes. However in testing (on LM18) ...
by FreedomTruth
Tue Jan 29, 2019 11:24 pm
Forum: Newbie Questions
Topic: New Linux user from windows 10
Replies: 21
Views: 750

Re: New Linux user from windows 10

So as a new user who isn’t very technical, what would you recommend. For a new user, I recommend mint, mainly because of the forums :-) You can almost always find some kind of help/support, answers to questions... Biased? Maybe. But I don't use mint as my main o/s anymore (I do still run it in a vm...
by FreedomTruth
Sun Jan 27, 2019 2:32 pm
Forum: Scripts & Bash
Topic: New to automation/scripting, Switch to python?
Replies: 2
Views: 132

Re: New to automation/scripting, Switch to python?

Just a suggestion to make it a little more readable, I prefer using echo -e "blahblah\n\n" -- the \n will insert a newline for you. In fact you could even combine the command you're running along with the echo command. Such as: echo -e "Sockets:\n\n\n$(sudo systemctl -l|grep .socket)\n______________...
by FreedomTruth
Sat Jan 26, 2019 10:34 am
Forum: Newbie Questions
Topic: Unexpected behaviour of Rsync
Replies: 44
Views: 682

Re: Unexpected behaviour of Rsync

Both DIR and LS commands report the file as being without the trailing period. tony@tony-Latitude-E6430 /media/tony/DropBox_A/Dropbox/New_Pics_vids/catalogueds/2012-06-03 $ ls 143*.*|hexdump -C 00000000 31 34 33 2e 4a 50 47 0a |143.JPG.| 00000008 tony@tony-Latitude-E6430 /media/tony/DropBox_A/Dropb...
by FreedomTruth
Fri Jan 25, 2019 10:01 am
Forum: Newbie Questions
Topic: Motherboard code 90 error after adding second drive
Replies: 4
Views: 101

Re: Motherboard code 90 error after adding second drive

By comment out I assume you mean remove/delete the swap entry line from the text? To "comment out" means to change the line into a comment. In this case, put a # symbol at the beginning of the line: # /swapfile none swap sw 0 0 This will disable the line from being run, and still leave it in the fi...
by FreedomTruth
Fri Jan 25, 2019 9:53 am
Forum: Scripts & Bash
Topic: Create ZIP File for Each Folder Bash Command
Replies: 1
Views: 108

Re: Create ZIP File for Each Folder Bash Command

I think you're forgetting to tell 7z *what* to compress, it's doing the current working directory each time (?). Using your first example, try:

Code: Select all

#!/bin/bash
for Folder in /Data/*
do
  if [ -d "$Folder" ]
  then
    7z a -tzip -mx1 "${Folder%}.bak" "$Folder/"
  fi
done
by FreedomTruth
Sat Jan 19, 2019 1:59 pm
Forum: Newbie Questions
Topic: Self-destructing clipboard
Replies: 18
Views: 481

Re: Self-destructing clipboard

For manual clearing, run xsel -cb; xsel -cp; xsel -cs maybe set it up on a hotkey to run as needed. (requires xsel, not sure if that's installed by default but probably not). The three commands will clear the clipboard, primary selection, and secondary selection. If you usually use the keyboard shor...
by FreedomTruth
Sat Jan 05, 2019 11:17 am
Forum: Software & Applications
Topic: I tried to compile source install but it failed. help.
Replies: 37
Views: 1013

Re: I tried to compile source install but it failed. help.

A quick related question for you fellow handbrakers... I use another debian derivative, I download the source bz2 and compile... no major problems for me so far (occasionally need to install/update a dependency). However it seems like my "Automatically check for updates" option does nothing. It's up...
by FreedomTruth
Sun Dec 23, 2018 10:21 pm
Forum: Other networking topics
Topic: Configure a virtual network device so 1 computer has 2 IP's [solved]
Replies: 8
Views: 264

Re: Configure a virtual network device so 1 computer has 2 IP's [solved]

NOT an answer to your question specifically, but a somewhat related matter: You can have multiple IP addresses assigned to a physical device, i.e. ifconfig eth0 192.168.1.2 ifconfig eth0:1 192.168.2.2 ifconfig eth0:2 192.168.3.1 This can be useful for specific software (postfix and apache, for insta...
by FreedomTruth
Sat Dec 22, 2018 1:22 am
Forum: Newbie Questions
Topic: [solved] Need help with bash script...
Replies: 15
Views: 220

Re: [solved] Need help with bash script...

If you're more comfortable with C, there is a C-shell ( apt install csh ). I haven't used it in ages... Your initial script would look something like this (not tested) :) #!/bin/csh # get the current slideshow folder set DESK_BACKGROUND = `gsettings get org.cinnamon.desktop.background.slideshow imag...
by FreedomTruth
Sat Dec 08, 2018 2:03 pm
Forum: Hardware Support
Topic: Don't buy Asrock
Replies: 20
Views: 1129

Re: Don't buy Asrock

My ASRock Z77 Extreme6 from 2012 runs linux just fine. Even hibernate and suspend work! I've not had to deal with their customer service. I've run a variety of kernels on this over the years -- a couple kernel updates have given problems that were later fixed.
by FreedomTruth
Thu Aug 30, 2018 10:18 pm
Forum: Software & Applications
Topic: trying to mount samsung galaxy tab a
Replies: 6
Views: 315

Re: trying to mount samsung galaxy tab a

You could try gmtp. apt install gmtp to install; then gmtp (or navigate the menu) to run it.
by FreedomTruth
Wed Aug 29, 2018 4:15 pm
Forum: Scripts & Bash
Topic: [SOLVED] bash changes { to %7B and } to %7D
Replies: 6
Views: 443

Re: bash changes { to %7B and } to %7D

Hmm.. how are you calling the script?
./script.sh is not the same as sh ./script.sh

Other than that, I'm also confused why it would behave differently.

Code: Select all

$ cat test.sh
#!/bin/bash
echo {01..10}
$ ./test.sh
01 02 03 04 05 06 07 08 09 10
$ dash ./test.sh
{01..10}
$
by FreedomTruth
Wed Aug 29, 2018 12:53 pm
Forum: Scripts & Bash
Topic: [SOLVED] bash changes { to %7B and } to %7D
Replies: 6
Views: 443

Re: bash changes { to %7B and } to %7D

Are you positive your script is using bash (not "sh")? #!/bin/bash It seems to all work correctly on my system, wget directly from terminal or in a script file. (edit) just tried with dash instead, it came up with the same thing you were experiencing, trying to get a single file named "document{01.....
by FreedomTruth
Sun Aug 19, 2018 11:47 pm
Forum: Sound, Multimedia, & Codecs
Topic: Recording in audacity sounds like its sped up x10
Replies: 4
Views: 230

Re: Recording in audacity sounds like its sped up x10

Also, check your "playback speed" (the slider next to the green arrow shown below), it should be 1.00
audacity-playbackspeed.png
audacity-playbackspeed.png (9.47 KiB) Viewed 209 times
Well.. nevermind it looks okay on your screenshot. Does it play back other imported audio normally?
by FreedomTruth
Sun Aug 19, 2018 12:58 pm
Forum: Newbie Questions
Topic: <SOLVED> Can I still use kernel 3.19.8?
Replies: 26
Views: 662

Re: Can I still use kernel 3.19.8?

how can I check the actually RAM usage that my system is using? According to your inxi report: Info: Processes: 199 Uptime: 2 min Memory: 716.2/3839.4MB Init: systemd runlevel: 5 Gcc sys: 5.4.0 Client: Shell (bash 4.3.481) inxi: 2.2.35 Your xfce system is using 716 MB of RAM with 2 minute uptime (?...
by FreedomTruth
Wed Aug 15, 2018 12:50 pm
Forum: Newbie Questions
Topic: Firewire card
Replies: 11
Views: 415

Re: Firewire card

I also had no success with any of the GUI capture programs with my firewire DV camcorder. However, the terminal program dvgrab works well with mine.
by FreedomTruth
Wed Aug 15, 2018 12:44 pm
Forum: Newbie Questions
Topic: [Solved] Suspend Failures
Replies: 2
Views: 288

Re: Suspend Failures

I had this error message in the past (mine was related to attempting to unmount a CIFS target that was unavailable during shutdown) ... When you get the message Freezing of tasks failed, open a terminal and type ps ax . The 3rd column of the output will be the process state. According to the manual....
by FreedomTruth
Fri Aug 03, 2018 8:54 pm
Forum: Installation & Boot
Topic: Getting prepared for daily power cuts.
Replies: 12
Views: 349

Re: Getting prepared for daily power cuts.

I'm sure things can be done to the fstab file (No idea what your fstab looks like now) In the 4th field (options), try something like: UUID=abcdefed-cbab-cdef-edcb-abcdefedcbab / ext4 ro,dev,exec,auto,async,suid,nouser 0 1 UUID=01234567-8987-6543-2101-234567898765 /home ext4 ro,dev,exec,auto,async,...
by FreedomTruth
Fri Aug 03, 2018 8:12 pm
Forum: Scripts & Bash
Topic: Pass input from file to teminal
Replies: 3
Views: 765

Re: Pass input from file to teminal

I don't recommend storing your password in a file, but if that's what you really want to do:

Code: Select all

cat .passwordfile | sudo -S openvpn us877.nordvpn.com.tcp.ovpn
sudo requires -S to read password from stdin.

Go to advanced search