2
|
Linux секция за начинаещи / Настройка на програми / ./conkyrc
|
-: Feb 19, 2015, 12:18
|
Здравейте! Имам един незначителен въпрос.Изтеглих си КонкиМаниджър и си харесах една тема,но немога да намера къде да променя да ми показва температурата на процесора и времето в Целзий а не във Фаренхайт.Ето и файла - ###############################################################################
# Conky Theme : InfinitySVG # # Updates and SVG by: Pablo Angelani # Original Updates Infinity and SVG: Eric Weik # Original Infinity theme by: Harshit Yadav # Includes lua code: Clock Rings by londonali1010 (2009) # Feel Free to distribute # For Installation Instructions see README # # Colors from haunted .lua and .conkyrc: # b7b7b7 (light grey) # 6f6f6f (medium grey) # 2c2c2c (dark grey) # # 4a89a7 (blue) hardware / memory / root # 468626 (blue alt) # e83737 (red) swap # 46a646 (green) user / cpu / home # f4732d (orange) network # ebff46 (yellow) network # FFA300 (br. orange) text highlights # # Changelog: # + v1.0.1: Initial version by Harshit Yadav # + [All further changes tracked in the git repository.] ###############################################################################
######################################### ############# Conky settings ############ #########################################
background yes update_interval 1
cpu_avg_samples 2 net_avg_samples 2
override_utf8_locale yes
double_buffer yes no_buffers yes
text_buffer_size 2048 #imlib_cache_size 0
##
######################################### ######### Window specifications ######### #########################################
# Allow conky to handle transparency -- all or nothing own_window yes own_window_type override own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager alignment top_right
# Allow compiz to handle transparency manually (you will need to add Conky to compiz) own_window yes own_window_type override own_window_transparent yes own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
# Allow conky to handle transparency (with percentages) with a compositor # From http://blog.mmassonnet.info/2011/08/xfce-48-with-conky.html) #own_window yes #window_own_type desktop #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager # make it behave like it belongs to the desktop #own_window_argb_visual yes # true transparency, a compositor has to be active #own_window_argb_value 70 # make the background semi-transparent
## This Resolution is set according to the sreen resolution of 1360x768 ## Adjust Accoring to yours
minimum_size 1680 1050 maximum_width 1680
#alignment top_left alignment top_right gap_x 0 gap_y 0
######################################### ########### Graphics settings ########### ######################################### border_inner_margin 0 border_outer_margin 0
draw_shades no draw_outline no draw_borders no draw_graph_borders yes
## Text settings use_spacer yes use_xft yes xftfont caviar dreams:size=8 xftalpha 0.5
uppercase no
temperature_unit fahrenheit #temperature_unit celsius
# Color settings default_color eaeaea
color1 b7b7b7 #(light grey) color2 6f6f6f #(medium grey) color2 2c2c2c #(dark grey) color3 4a89a7 #(teal / blue) color4 e83737 #(red) color5 ebff46 #(yellow) color6 46a646 #(green) color7 f4732d #(orange) color8 ffa300 #(bright orange)
## Lua: load clock rings. lua_load .conky/scripts/haunted.lua lua_draw_hook_pre clock_rings
## Possible variables to be used: # # Variable Arguments Description
# addr (interface) IP address for an interface # acpiacadapter ACPI ac adapter state. # acpifan ACPI fan state # acpitemp ACPI temperature. # adt746xcpu CPU temperature from therm_adt746x # adt746xfan Fan speed from therm_adt746x # alignr (num) Right-justify text, with space of N # alignc Align text to centre # battery (num) Remaining capasity in ACPI or APM # battery. ACPI battery number can be # given as argument (default is BAT0). # buffers Amount of memory buffered # cached Amount of memory cached # color (color) Change drawing color to color # cpu CPU usage in percents # cpubar (height) Bar that shows CPU usage, height is # bar's height in pixels # cpugraph (height),(width) (gradient colour 1) (gradient colour 2) # CPU usage graph, with optional colours in hex, # minus the #. # downspeed net Download speed in kilobytes # downspeedf net Download speed in kilobytes with one # decimal # downspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2) # Download speed graph, colours defined in # hex, minus the #. # exec shell command Executes a shell command and displays # the output in conky. warning: this # takes a lot more resources than other # variables. I'd recommend coding wanted # behaviour in C and posting a patch :-). # execbar shell command Same as exec, except if the first value # return is a value between 0-100, it # will use that number for a bar. # The size for the bar is currently fixed, # but that may change in the future. # execgraph shell command Same as execbar, but graphs values # execi interval, shell command # Same as exec but with specific interval. # Interval can't be less than # update_interval in configuration. # font font Specify a different font. Only applies # to one line. # fs_bar (height), (fs)Bar that shows how much space is used on # a file system. height is the height in # pixels. fs is any file on that file # system. # fs_free (fs) Free space on a file system available # for users. # fs_free_perc (fs) Free percentage of space on a file # system available for users. # fs_size (fs) File system size # fs_used (fs) File system used space # hr (height) Horizontal line, height is the height in # pixels # i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev # may be omitted if you have only one I2C # device. type is either in (or vol) # meaning voltage, fan meaning fan or # temp/tempf (first in C, second in F) # meaning temperature. n is number of the # sensor. See /sys/bus/i2c/devices/ on # your local computer. # if_running (process) if PROCESS is running, display # everything if_running and the matching $endif # if_existing (file) if FILE exists, display everything between # if_existing and the matching $endif # if_mounted (mountpoint) if MOUNTPOINT is mounted, display everything between # if_mounted and the matching $endif # else Text to show if any of the above are not true # kernel Kernel version # linkstatus (interface) Get the link status for wireless connections # loadavg (1), (2), (3) System load average, 1 is for past 1 # minute, 2 for past 5 minutes and 3 for # past 15 minutes. # machine Machine, i686 for example # mails Mail count in mail spool. You can use # program like fetchmail to get mails from # some server using your favourite # protocol. See also new_mails. # mem Amount of memory in use # membar (height) Bar that shows amount of memory in use # memmax Total amount of memory # memperc Percentage of memory in use # # metar_ob_time # metar_temp # metar_tempf Temp in F # metar_windchill # metar_dew_point There are a bunch of these # metar_rh and they are self-explanatory # metar_windspeed # metar_winddir # metar_swinddir # metar_cloud # metar_u2d_time # # ml_upload_counter total session upload in mb # ml_download_counter total session download in mb # ml_nshared_files number of shared files # ml_shared_counter total session shared in mb, buggy # in some mldonkey versions # ml_tcp_upload_rate tcp upload rate in kb/s # ml_tcp_download_rate tcp download rate in kb/s # ml_udp_upload_rate udp upload rate in kb/s # ml_udp_download_rate udp download rate in kb/s # ml_ndownloaded_files number of completed files # ml_ndownloading_files number of downloading files # # mpd_artist Artist in current MPD song # (must be enabled at compile) # mpd_album Album in current MPD song # mpd_bar (height) Bar of mpd's progress # mpd_bitrate Bitrate of current song # mpd_status Playing, stopped, et cetera. # mpd_title Title of current MPD song # mpd_vol MPD's volume # mpd_elapsed Song's elapsed time # mpd_length Song's length # mpd_percent Percent of song's progress # new_mails Unread mail count in mail spool. # nodename Hostname # outlinecolor (color) Change outline color # pre_exec shell command Executes a shell command one time before # conky displays anything and puts output # as text. # processes Total processes (sleeping and running) # running_processes Running processes (not sleeping), # requires Linux 2.6 # shadecolor (color) Change shading color # stippled_hr (space), Stippled (dfontashed) horizontal line # (height) # swapbar (height) Bar that shows amount of swap in use # swap Amount of swap in use # swapmax Total amount of swap # swapperc Percentage of swap in use # sysname System name, Linux for example # offset pixels Move text over by N pixels # tail logfile, lines (interval) # Displays last N lines of supplied text # text file. If interval is not supplied, # Conky assumes 2x Conky's interval. # Max of 30 lines. # Max of 30 lines can be displayed. # time (format) Local time, see man strftime to get more # information about format # totaldown net Total download, overflows at 4 GB on # Linux with 32-bit arch and there doesn't # seem to be a way to know how many times # it has already done that before conky # has started. # top type, num This takes arguments in the form: # top <name> <number> # Basically, processes are ranked from # highest to lowest in terms of cpu # usage, which is what <num> represents. # The types are: "name", "pid", "cpu", and # "mem". # There can be a max of 10 processes listed. # top_mem type, num Same as top, except sorted by mem usage # instead of cpu # totalup net Total upload, this one too, may overflow # updates Number of updates (for debugging) # upspeed net Upload speed in kilobytes # upspeedf net Upload speed in kilobytes with one # decimal # upspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2) # Upload speed graph, colours defined in # hex, minus the #. # uptime Uptime # uptime_short Uptime in a shorter format # # seti_prog Seti@home current progress # seti_progbar (height) Seti@home current progress bar # seti_credit Seti@home total user credit # # variable is given either in format $variable or in ${variable}. Latter # allows characters right after the variable and must be used in network # stuff because of an argument
## Adjust these fields according to the your screen size i have modded them for 1366X768
TEXT ## Date ${offset 600}${color}${font GE Inspira:pixelsize=120}${time %I:%M %P}${font}${voffset -75}${voffset 10}${color8}${font GE Inspira:pixelsize=42}${time %d} ${voffset -5}${color}${font GE Inspira:pixelsize=22}${exec echo $(echo $(date +%B) | cut -c1 | tr '[a-z]' '[A-Z]')$(echo $(date +%B) | cut -c2-)} ${time %Y}${font} ${voffset 124}${offset 350}${font GE Inspira:pixelsize=54}${exec echo $(echo $(date +%A) | cut -c1 | tr '[a-z]' '[A-Z]')$(echo $(date +%A) | cut -c2-)}${font} ## ${offset 620}${voffset -100}${font Ubuntu:pixelsize=12}${color8}HD ${offset 9}${color 4a89a7}${exec df -h | grep "/dev/sd*" | awk '{ SUM += $3} END { print SUM "Gib" }'} / ${exec df -h | grep "/dev/sd*" | awk '{ SUM += $2} END { print SUM "Gib" }'}${offset 30}${color8}RAM ${offset 9}${color 4a89a7}$mem / $memmax${offset 30}${color8}CPU1 ${offset 9}${color3}${cpu cpu0}% ${offset 955}${color8}CPU2 ${offset 9}${color3}${cpu cpu1}% ${offset 980}${color8}CPU3 ${offset 9}${color3}${cpu cpu2}% ${voffset -5}${offset 290}${color}${hr 2} ${image .conky/background.png} ##FILE SYSTEM ${offset 120}${voffset 198}${font Monospace:size=11:style=Bold}${color 4a89a7}root:${tab 4}${font Santana:size=11}${color}${fs_used /}/${fs_size /} ${offset 120}${voffset 7}${color6}${font Monospace:size=11:style=Bold}home:${tab 4}${font Santana:size=11}${color}${fs_used /home}/${fs_size /home}$font ${offset 118}${voffset 7}${color4}${font Monospace:size=11:style=Bold}swap:${tab 4}${font Santana:size=10}${color} ${swap}/${swapfree} ${voffset -20} ${offset 500}${voffset -110}${font Santana:size=10}${color}Linux ${kernel} kernel ${offset 500}${font Monospace:size=9}${color 4a89a7}Uptime:${color}${uptime} ${offset 755}${voffset -110}${font Santana:size=12:style=Bold}${color}${nodename} ${offset 749}${font Monospace:size=9}${color6} Top (CPU):${tab 2}${offset 9}${color}${top name 5} ${top cpu 5} ${offset 749}${font Monospace:size=9}${color6} Top (RAM):${tab 2}${offset 9}${color}${top_mem name 5} ${top_mem mem 5} ${offset 633}${voffset 145}$color${font Santana:size=9:style=Bold}IP Address : ${addr eth1} ${offset 635}${voffset 0}$color${font Santana:size=8}TCP Connections : ${tcp_portmon 1 65535 count} ${offset 635}${voffset 0}${font Santana:size=8}${color f4732d}Down : ${offset 9}$color${downspeed eth1}/s ${offset 8}${color ebff46}Up : ${offset 9}$color${upspeed eth1} /s ${offset 635}${voffset 0}${color 6f6f6f}${font Santana:size=8}Interface eth1 Usage : ${offset 635}${voffset -2}$color${font Santana:size=8}${color 6f6f6f}${downspeedgraph eth1 32,200 b7b7b7 f4732d} ${offset 635}${voffset -5}${color 6f6f6f}${upspeedgraph eth1 32,200 b7b7b7 ebff46} ${voffset -145} # Static text example: Logo ${offset 120}${color}${font Ubuntu:pixelsize=20}${color7}'YOUR OS'${color} 'YOUR OS VERSION' # Static text example: Multi-line ${voffset -175} ${offset 830}${font Santana:size=10}${color}'YOUR CPU HERE' @${freq_g (1)} GHz ${offset 830}${font Monospace:size=9}${color7}CPU Temp = ${color3}${acpitemp} °F ${offset 830}${voffset 0}${color 6f6f6f}${font Santana:size=8} CPU 1 : ${offset 830}${color 6f6f6f}${cpugraph cpu0 32,200 b7b7b7 f4732d} ${offset 830}${voffset 0}${color 6f6f6f}${font Santana:size=8} CPU 2 : ${offset 830}${color 6f6f6f}${cpugraph cpu1 32,200 b7b7b7 ebff46} # # #Google Now Weather # # ${voffset -381} ${execi 300 curl -s "http://weather.yahooapis.com/forecastrss?w=838082&u=f" -o ~/.cache/weather.xml} ${offset 1100}${font Open Sans Light:size=15}${color8}${execi 300 grep "yweather:location" ~/.cache/weather.xml | grep -o "city=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}, ${execi 300 grep "yweather:location" ~/.cache/weather.xml | grep -o "city=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}${font} ${voffset 0} ${font Open Sans Light:size=70}${alignr}${color FFFFFF}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "temp=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}°${font}${voffset -100} ${execi 300 cp -f ~/.conky-google-now/$(grep "yweather:condition" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*").png ~/.cache/weather.png}${image ~/.cache/weather.png -p 1056,215 -s 60x60}${voffset 63}${offset 1070}${font Ubuntu:pixelsize=16}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "text=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | tr '[a-z]' '[A-Z]'} ${voffset -95} ${image ~/.conky-google-now/wind.png -p 1070,300 -s 15x15} ${image ~/.conky-google-now/humidity.png -p 1070,320 -s 15x15} ${voffset 19} ${offset 1090}${font Ubuntu:pixelsize=12}${color}${execi 300 grep "yweather:wind" ~/.cache/weather.xml | grep -o "speed=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}${execi 300 grep "yweather:units" ~/.cache/weather.xml | grep -o "speed=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} ${voffset -10} ${offset 1090}${font Ubuntu:pixelsize=12}${execi 300 grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "humidity=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}%
${voffset -125} ${goto 18}${offset 1200}${font Ubuntu:pixelsize=12}${color}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1' | tr '[a-z]' '[A-Z]'} ${voffset -30} ${goto 88}${offset 1185}${font Ubuntu:pixelsize=12}${color}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2' | tr '[a-z]' '[A-Z]'} ${voffset -30} ${goto 158}${offset 1178}${font Ubuntu:pixelsize=12}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3' | tr '[a-z]' '[A-Z]'} ${voffset -30} ${goto 228}${offset 1170}${font Ubuntu:pixelsize=12}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4' | tr '[a-z]' '[A-Z]'} ${voffset -30} ${goto 298}${offset 1160}${font Ubuntu:pixelsize=12}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5' | tr '[a-z]' '[A-Z]'} ${execi 300 cp -f ~/.conky-google-now/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1').png ~/.cache/weather-1.png}${image ~/.cache/weather-1.png -p 1215,257 -s 30x30}${execi 300 cp -f ~/.conky-google-now/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2').png ~/.cache/weather-2.png}${image ~/.cache/weather-2.png -p 1275,257 -s 30x30}${execi 300 cp -f ~/.conky-google-now/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep 838082-o "[^\"]*" | awk 'NR==3').png ~/.cache/weather-3.png}${image ~/.cache/weather-3.png -p 1335,257 -s 30x30}${execi 300 cp -f ~/.conky-google-now/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4').png ~/.cache/weather-4.png}${image ~/.cache/weather-4.png -p 1395,257 -s 30x30}${execi 300 cp -f ~/.conky-google-now/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5').png ~/.cache/weather-5.png}${image ~/.cache/weather-5.png -p 1455,257 -s 30x30}${voffset 100} ${voffset -95} ${goto 20}${offset 1203}${font Ubuntu:pixelsize=12}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1'}° ${voffset -32} ${goto 90}${offset 1193}${font Ubuntu:pixelsize=12}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}° ${voffset -30} ${goto 160}${offset 1183}${font Ubuntu:pixelsize=12}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}° ${voffset -30} ${goto 230}${offset 1173}${font Ubuntu:pixelsize=12}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4'}° ${voffset -30} ${goto 300}${offset 1163}${font Ubuntu:pixelsize=12}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5'}° ${voffset -10} ${goto 20}${offset 1203}${font Ubuntu:pixelsize=12}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1'}° ${voffset -32} ${goto 90}${offset 1193}${font Ubuntu:pixelsize=12}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}° ${voffset -30} ${goto 160}${offset 1183}${font Ubuntu:pixelsize=12}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}° ${voffset -30} ${goto 230}${offset 1173}${font Ubuntu:pixelsize=12}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4'}° ${voffset -30} ${goto 300}${offset 1163}${font Ubuntu:pixelsize=12}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5'}°
Благодаря предварително.
|
|
|
3
|
Linux секция за начинаещи / Настройка на програми / Re: Първи стъпки
|
-: Feb 13, 2015, 18:40
|
ЕВАЛА БРАТЛЕ!!!! За тази тема.Аз използвам линукс от 2 години и все още съм "нубист" в този необятен свят  .А англиския ми е не е най-добрия и ако ви няма вас БГ-та много има да се лутам.съжалявам задето закриха и другият неофициално ubuntu сайт ubuntuussersbg.org  .Там също помагаха. ето нещо и oт мен http://www.linuxcommand.orgето и обяснения на БГ,тези команди мн ще ви помогнат за по-добра информация за вашата система даже има и препратки за още сайтове за команди и e направено за "аборигени'.Никой неискам да обида http://cb.vu/unixtoolbox_bg.xhtmlП.С.Хора внимавайте с командите "rm" и "-f" 
|
|
|
6
|
Linux секция за начинаещи / Настройка на програми / Re: GRUB
|
-: Feb 11, 2015, 17:35
|
- mint ~ # sudo mount /dev/sda1 /mnt
mint ~ # sudo mount --blind /dev /mnt/dev && > sudo mount --blind dev/pts /mnt/dev/pts && > sudo mount --blind dev/proc mnt/proc && > sudo mount --blind sys /mnt/sys mount: unrecognized option '--blind' Usage: mount -V : print version mount -h : print this help mount : list mounted filesystems mount -l : idem, including volume labels So far the informational part. Next the mounting. The command is `mount [-t fstype] something somewhere'. Details found in /etc/fstab may be omitted. mount -a [-t|-O] ... : mount all stuff from /etc/fstab mount device : mount device at the known place mount directory : mount known device here mount -t type dev dir : ordinary mount command Note that one does not really mount a device, one mounts a filesystem (of the given type) found on the device. One can also mount an already visible directory tree elsewhere: mount --bind olddir newdir or move a subtree: mount --move olddir newdir One can change the type of mount containing the directory dir: mount --make-shared dir mount --make-slave dir mount --make-private dir mount --make-unbindable dir One can change the type of all the mounts in a mount subtree containing the directory dir: mount --make-rshared dir mount --make-rslave dir mount --make-rprivate dir mount --make-runbindable dir A device can be given by name, say /dev/hda1 or /dev/cdrom, or by label, using -L label or by uuid, using -U uuid . Other options: [-nfFrsvw] [-o options] [-p passwdfd]. For many more details, say man 8 mount . mint ~ # sudo chroot /mnt
дотук вс мисла че е нарeд,но незнам дали sda1 е рут директорията? и като напиша grub-install /dev/sda1 ми дава тази грешка grub-probe: error: cannot find a device for /boot (is /dev mounted?). Installing for i386-pc platform. grub-install.real: error: cannot find a device for /boot/grub (is /dev mounted?). ето и какво ми показва gpart http://i845.photobucket.com/albums/ab17/ganja_lsd/Screenshot.png където мисла,че sda1 e root директориата.дали не трябва да е sda само? и от там да ми дава тази грешка. P.S.с рут права съм.
|
|
|
9
|
Linux секция за начинаещи / Настройка на програми / Re: GRUB
|
-: Feb 10, 2015, 18:39
|
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. ето това ми пише след като въведа:sudo update-grub2
и после след като форматнах партициата и реснах ми излезна ГРЪБ менуто и до там.. и това е.
|
|
|
12
|
Нетехнически теми / Идеи и мнения / Re: wifi-усилвател
|
-: Feb 10, 2015, 11:58
|
Съветвам те да си хакваш собствената мрежа, ако искаш да се учиш. Ако някой го усетя, че ми бърника мрежата, ще му позволя, ще му събера, квито данни мога и го давам на полицията. Ако си ти, ще си имаш проблеми, може да останеш и без лаптоп.
Чудно ми е как ще го локализираш без пеленгатор ама това е тема на друг разговор И какви ползотворни данни би събрал, че прокуратурата да ти обърнат внимание?
П.С. по темата може да вземеш такава антена: http://www.alfa.com.tw/products_show.php?pc=28&ps=166 Разпознава се в linux, има добро усилване и върши целевата работа 
Бладодаря братле.целта ми е да се уча не да се възползвам от другите,имам достатачно пари да си имам 5 нет доставчика и не ми е притрябвало на някой умрелите 15.00 Mbit/s  П.С.модераторите да махнат тази тема,ако искат няма какво повече да питам
|
|
|
13
|
Нетехнически теми / Идеи и мнения / Re: wifi-усилвател
|
-: Feb 10, 2015, 11:38
|
Съветвам те да си хакваш собствената мрежа, ако искаш да се учиш. Ако някой го усетя, че ми бърника мрежата, ще му позволя, ще му събера, квито данни мога и го давам на полицията. Ако си ти, ще си имаш проблеми, може да останеш и без лаптоп.
е да мойта ще е да се уча.затова подписах договор с друг нет доставчик който е малко нелегален  ,но за тази работа ме устроива.самоче неискам да си взема нещо и да немога да вкл към линукса и да не работи
|
|
|
14
|
Нетехнически теми / Идеи и мнения / wifi-усилвател
|
-: Feb 10, 2015, 10:38
|
Здравейте! Незнам дали тук е мястото на тази тема,закоето се извинявам. Имам линукс минт от 14 до 17,1 и още съм "бос" в тази система.Въпросите са ми: 1.каква ваншна WIFI карта с усилвател,която да работи под линукс ще ми предложите? инсталирах кали линукс,и немога да си намера драйвер и за лан картата,понеже лаптопа ми винаги е бил против линукс дривери  от както ползвам линукс. П.С.Ако питате за хакване ли ми трябва ще кажа ДА.самоче аз питам само за модел на външна лан карта която да работи с линукс като цяло.БЛАГОДАРЯ ПРЕДВАРИТЕЛНО 
|
|
|
|