Search found 417 matches

by FreedomTruth
Thu Aug 30, 2018 10:18 pm
Forum: Software & Applications
Topic: trying to mount samsung galaxy tab a
Replies: 6
Views: 118

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

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

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

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 137 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: 559

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

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

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: 11
Views: 244

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

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

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

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

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

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

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

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

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...
by FreedomTruth
Sat Mar 24, 2018 1:39 pm
Forum: Newbie Questions
Topic: Duplicate monitors on multi-screen setup without mirroriing all?
Replies: 1
Views: 111

Re: Duplicate monitors on multi-screen setup without mirroriing all?

the terminal program xrandr should do this (I haven't used it with more than 2 monitors so I won't swear to it)
first run xrandr with no arguments to get the output names
then run something like this, adjusting it for your system, xrandr --output HDMI-3 --same-as HDMI-1 --auto
by FreedomTruth
Fri Mar 16, 2018 1:01 am
Forum: Newbie Questions
Topic: Mint 18.3 x64 keeps exiting suspend
Replies: 26
Views: 574

Re: Mint 18.3 x64 keeps exiting suspend

What is the result of

Code: Select all

cat /proc/acpi/wakeup | grep enabled
by FreedomTruth
Mon Mar 12, 2018 10:22 pm
Forum: Newbie Questions
Topic: Error mounting-mount the volume- 'ro' mount option.
Replies: 8
Views: 242

Re: Error mounting-mount the volume- 'ro' mount option.

Also (unless this has changed, I don't keep up with it anymore)... to disable hibernation in windows, use the command

Code: Select all

powercfg /h off
by FreedomTruth
Mon Mar 12, 2018 10:18 pm
Forum: Installation & Boot
Topic: Mint 18.3 XFCE hangs on boot
Replies: 33
Views: 1247

Re: Mint 18.3 XFCE hangs on boot

barnettgs wrote:
Mon Mar 12, 2018 5:20 pm
I have just done that and I'm happy to say that it is now solved. Booted up fine every time now. Many thanks for your help and some patience! :D
What a relief! :D

Go to advanced search