Search found 125 matches

by ckonn
Sat Oct 28, 2017 7:53 am
Forum: Software & Applications
Topic: mp3 files settings
Replies: 2
Views: 201

Re: mp3 files settings

yes, i found it! it works! thanks a lot!
by ckonn
Sat Oct 28, 2017 3:17 am
Forum: Software & Applications
Topic: mp3 files settings
Replies: 2
Views: 201

mp3 files settings

hi, i am running mint 17.3 mate when i put the cursor over the icon of a mp3 file it begins to play without actually to click on the icon of the file! just by putting the cursor it runs! at first look this functionality may appear very user friendly, but actually this is very annoying! because if on...
by ckonn
Mon Jul 31, 2017 10:30 am
Forum: Software & Applications
Topic: syslog
Replies: 1
Views: 179

syslog

hello,

is it possible with the help of some of the logs to find out which directories exactly i have opened in a certain amount of time?

for example:

from 06:15 to 15:45 on 23.07.2017

where should i look for?

thanks in advance
by ckonn
Mon Jun 05, 2017 11:22 am
Forum: Hardware Support
Topic: open usb 3 hard drive with usb 1 media player
Replies: 2
Views: 504

open usb 3 hard drive with usb 1 media player

Hello, I have an external hard drive device with 1 TB volume that has ( support ) a usb 3 output. My tv media player has usb 1 and usb 2 input and can handle external memory devices with memory not bigger than 32 GB. When I connect the external hard drive device to the tv set it does not open it. Wh...
by ckonn
Wed May 17, 2017 7:21 am
Forum: Software & Applications
Topic: samba
Replies: 4
Views: 481

Re: samba

possible solution for those who have enough time. on a virtual machine install linux mint 17.3 ( or the version you are running ) and in this virtual 17.3 remove the 'samba'-directories as root and see what will happen. it will be good to know how the virtual 17.3 will work after such ... 'upgrade'....
by ckonn
Mon May 15, 2017 11:33 am
Forum: Software & Applications
Topic: samba
Replies: 4
Views: 481

samba

hello, in the last few days we've been hearing a lot about the ransomware 'wannacry'. as is clear from the publications the virus use a vulnerability in SMB protocol ( so called 'samba' ). yesterday, using locate-terminal command, i found that my os also has this samba protocol in a few separate dir...
by ckonn
Fri May 12, 2017 2:08 pm
Forum: Software & Applications
Topic: pygame
Replies: 1
Views: 649

pygame

hello,

I have pygame 1.9.1 installed on my python 2.7.6 version. what should I do to install it on the python 3.4.3 version so that when I type "import pygame" in the python interactive console the command would not exit with the error 'No module named 'pygame'

thanks in advance
by ckonn
Tue May 02, 2017 1:51 pm
Forum: Scripts & Bash
Topic: an arrays
Replies: 3
Views: 700

an arrays

Hello, I would like to ask is it correct to compare a variable that has a value of a string with an array that has many elements as strings, like in the lines: echo "how are you today?" declare -a ans=("ok" "good" "very well" "excellent" "super&...
by ckonn
Mon May 01, 2017 10:49 am
Forum: Scripts & Bash
Topic: about 'file' command
Replies: 7
Views: 1083

about 'file' command

Hello,

I would like to know what argument should I add to the 'file' command, so it will print not only the type of the specific file, but also the size of the file in human readable format. or this could be made using a pipe of two commands!

thanks in advance
by ckonn
Sat Apr 29, 2017 10:40 am
Forum: Scripts & Bash
Topic: a customized color for "echo" output [ SOLVED ]
Replies: 10
Views: 1222

Re: a customized color for "echo" output [ S O L V E D ]

Eh? You're not overriding /usr/bin/env. The line #!/usr/bin/env bash is just the first line of your script that says to "use the bash command as found in your path to run this script". You're overriding the echo function in your own script as per my example. You define the echo function t...
by ckonn
Fri Apr 28, 2017 1:36 pm
Forum: Scripts & Bash
Topic: a customized color for "echo" output [ SOLVED ]
Replies: 10
Views: 1222

Re: a customized color for "echo" output

so. #!/bin/bash LightBlue='\033[1;36m' echo -e "${LightBlue}Hello, world!" '\033[0m' date this solves the task! as far as the proposal to override the file 'env' in /usr/bin/ I should say that I could't open it neither with nano nor with pluma or with some other program. more precisely I h...
by ckonn
Fri Apr 28, 2017 11:54 am
Forum: Scripts & Bash
Topic: a customized color for "echo" output [ SOLVED ]
Replies: 10
Views: 1222

Re: customized color for "echo" output

It's 5 years old , but should still yield clues: http://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux quick sample in terminal to get you started :) RED='\033[0;31m' echo -e "We ${RED}love${NC} LinuxMint" it works, but ... if I make the script like th...
by ckonn
Fri Apr 28, 2017 9:34 am
Forum: Scripts & Bash
Topic: a customized color for "echo" output [ SOLVED ]
Replies: 10
Views: 1222

a customized color for "echo" output [ SOLVED ]

Hello,

I was wondering is it possible to implement some lines of code in a bash script so that every output from 'echo' command will appear in the terminal not in white, but in some different color? Light blue, for example.

thanks in advance
by ckonn
Wed Apr 26, 2017 4:28 am
Forum: Scripts & Bash
Topic: where to add your personal bash script files [ SOLVED ]
Replies: 1
Views: 623

where to add your personal bash script files [ SOLVED ]

Hello, as we know the bash shell executes a files only if they are stored in one of the directories included in the bash PATH. in many bash tutorials it is sad that the user must create a new "bin" subdirectory in his home directory, where he will add his new bash scripts. what will happen...
by ckonn
Tue Apr 25, 2017 11:23 am
Forum: Scripts & Bash
Topic: add custom shortcut key combinations in nano text-editor
Replies: 1
Views: 493

add custom shortcut key combinations in nano text-editor

Hello, how I can set a keyboard shortcut, so that within nano text-editor I can press those keys and see a comment like "this file was created on 24.04.2017" appear at the beginning of every bash script, so the user would not have to write it every time again and again? or, how to get the ...
by ckonn
Fri Apr 21, 2017 12:33 am
Forum: Scripts & Bash
Topic: run an audio file by bash script [ SOLVED ]
Replies: 6
Views: 882

Re: run an audio file by bash script

so.

mpg123 --quiet --scale 1000 --loop -1 /home/music/lennny1.mp3 &

sleep 6

spd-say hi,,tony

echo "hi, tony!"

and one almost have the feeling he just created his own homemade A. I. !

I am not sure that this is possible with windows. that's why linux is cool! not bad.
by ckonn
Thu Apr 20, 2017 1:25 pm
Forum: Scripts & Bash
Topic: run an audio file by bash script [ SOLVED ]
Replies: 6
Views: 882

Re: run an audio file by bash script

I have added & to the line mpg123 /home/music/lenny1.mp3 and now it works really gut! just ... one little detail. ( hopefully I am not too impudent ) is it possible to write such script that will make things so that bash will not show in the command line the following message: High Performance M...
by ckonn
Thu Apr 20, 2017 11:48 am
Forum: Scripts & Bash
Topic: run an audio file by bash script [ SOLVED ]
Replies: 6
Views: 882

Re: run an audio file by bash script

I have install mpg123 and it works. but my wish was that I write just one script that execute the following tasks: 1 run a given audio file in background 2 after 5 seconds greets me with: "Hello, Tony!" I came to the conclusion that for this purpose the script should look like this: #!/bin...
by ckonn
Thu Apr 20, 2017 10:16 am
Forum: Ethernet
Topic: dhclient
Replies: 1
Views: 1508

dhclient

hello, today I saw in my syslog file the following strings: Apr 20 15:26:15 tony dhclient: DHCPREQUEST of 85.130.14.195 on eth0 to 89.215.168.186 port 67 (xid=0x5c363171) Apr 20 15:26:15 tony dhclient: DHCPACK of 85.130.14.195 from 89.215.168.186 Apr 20 15:26:15 tony dhclient: bound to 85.130.14.195...
by ckonn
Thu Apr 20, 2017 6:54 am
Forum: Scripts & Bash
Topic: locale variables
Replies: 6
Views: 868

Re: locale variables

( set -o posix ; set ) | less ... shell variables only exist within the lifetime of a script or terminal session. Once the script exits, that variable gets deallocated. You can try this in an open terminal window. Define some variables, close the terminal window, re-open, and re-enter the above com...

Go to advanced search