Search found 421 matches

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: 815

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: 221

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: 187

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: 813

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: 259

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: 383

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: 383

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: 214

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 193 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: 641

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: 348

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: 258

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: 346

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: 707

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.
by FreedomTruth
Fri May 04, 2018 7:06 pm
Forum: Newbie Questions
Topic: Can't download torrent from site
Replies: 4
Views: 266

Re: Can't download torrent from site

We've had an issue related to that for users from Florida and Brazil, due to server changes. That was thought to have been fixed though. Can you please confirm you can visit the page https://torrents.linuxmint.com/ but if you click on one of the links there, you get that error now? For your conveni...
by FreedomTruth
Tue Apr 17, 2018 8:52 am
Forum: Newbie Questions
Topic: [SOLVED] Why does Mint use 100% of CPU when idle?
Replies: 7
Views: 366

Re: Why does Mint use 100% of CPU when idle?

I can't paste the output from the top command because it keeps changing inxi -t c5 will list the (current) top 5 cpu-using processes one other suggestion, run the top command, then leave your computer idle (make sure to turn off screensaver if it is active) ... when cpu usage starts going up you sh...
by FreedomTruth
Wed Apr 11, 2018 10:36 am
Forum: Scripts & Bash
Topic: C or Bash?
Replies: 16
Views: 1342

Re: C or Bash?

It really, really, really depends on what you are doing. bash is probably easier to use and quicker to get from pseudocode (concept) to actual working code, but it's certainly not always the best tool. Anecdotal case in point: I recently started working with csv-type data that has to be updated dail...
by FreedomTruth
Fri Apr 06, 2018 11:55 pm
Forum: Scripts & Bash
Topic: Find the xfce4-panel that launched the script?
Replies: 2
Views: 1064

Re: Find the xfce4-panel that launched the script?

I think your method of grabbing mouse (x,y) and comparing it with the panel's dimensions given by wmctrl would indeed work; however, it may be simpler to use the window id returned with xdotool getmouselocation and compare it with wmctrl window id. # Get current mouse position out="$(xdotool getmous...
by FreedomTruth
Sat Mar 31, 2018 10:18 pm
Forum: Hardware Support
Topic: External (USB) BDR drives?
Replies: 0
Views: 89

External (USB) BDR drives?

My (internal) Pioneer BDR-209D has recently begun having problems, dmesg is full of [ 1956.799284] sr 1:0:0:0: [sr0] CDB: [ 1956.799294] Test Unit Ready: 00 00 00 00 00 00 00 00 00 00 00 00 [ 1956.799827] sr 1:0:0:0: [sr0] Unhandled error code [ 1956.799831] sr 1:0:0:0: [sr0] [ 1956.799833] Result: ...
by FreedomTruth
Fri Mar 30, 2018 7:18 pm
Forum: Newbie Questions
Topic: [SOLVED] sort Command Question
Replies: 2
Views: 99

Re: sort Command Question

from the terminal command man sort : -k, --key=KEYDEF sort via a key; KEYDEF gives location and type KEYDEF is F[.C][OPTS][,F[.C][OPTS]] for start and stop position, where F is a field number and C a character position in the field; both are origin 1, and the stop position defaults to the line's end...
by FreedomTruth
Wed Mar 28, 2018 8:29 pm
Forum: Scripts & Bash
Topic: Shell scripting help required
Replies: 5
Views: 954

Re: Shell scripting help required

I think he's using su to run different parts of the script as different users (ortest and aptest); not as root. maybe make an ortest-commands script and an aptest-commands script, then this could call each individually something along the lines of su -c ortestscript.sh ortest su -c aptestscript.sh a...

Go to advanced search