انجمنهای فارسی اوبونتو
کمک و پشتیبانی => انجمن عمومی => نویسنده: bed123derkelo در 27 آذر 1396، 10:08 قظ
-
باسلام
من یه سری تنظیمات روی فایل اصلی انجام دادم چندتا مشکل دارم.
1-هر چند لحظه یه بار رنگش کم و زیاد میشه حالت چشمک زن شده.
2-میله نشان دهنده درصد RAM پاین قرار نمیگیره خیلی هم کوچیکه.
3-ترافیک اینترنت و وایفای نمایش داده نمیشه.
5-میله درصد برا volume نمیشه گذاشت.(من نتونستم)
6-لایوت تغییر زبانم نتونستم اضافه کنم.(این یکی خیلی مهم نیست)
نمیخوام از conky manager استفاده بکنم.
کدهای مختلفی تو سایتها پیدا کردم امتحان کردم جواب نداد.
ترافیک اینترنت و وایفا از همه برام مهم تره که کار کنه
-
فایل conkyrc
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo
Any original torsmo code is licensed under the BSD license
All code written since the fork of torsmo is licensed under the GPL
Please see COPYING for details
Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
]]
conky.config = {
alignment = 'top_right',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'DejaVu Sans Mono:size=12',
gap_x = 5,
gap_y = 60,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
own_window_transparent = true,
own_window_colour = '#000000',
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false
}
conky.text = [[
${scroll 16 $nodename - $sysname $kernel on $machine | }
$hr
${color grey}Uptime:$color $uptime
#${color grey}Frequency (in MHz):$color $freq
#${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
#${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
$hr
${color}File systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
/home $color${fs_used /home}/${fs_size /home} ${fs_bar /home}
${color grey}Networking:
Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}
$hr
${color #ffcb48}Wi-Fi ${hr 1}
${color lightgrey}Wireless signal: $color${wireless_link_qual ath0}%
${color lightgrey}IP address: $color${addr ath0}
${color lightgrey}Download speed: $color${downspeedf wifi0} Kb/sec
${downspeedgraph wifi0}
${color red}Downloaded: $color${totaldown wifi0} $alignr ${color green}Uploaded: $color${totalup wifi0}
$Battery:${voffset 2} ${battery_bar 6} ${battery_percent}%
${color lightgrey}Battery: $color ${battery_time}
Volome:${exec amixer -c 0 get Master | grep Mono: | cut -d " " -f6}
${font Mallige:size=14}${alignc}${color1}${time %H}:${color2}${time %M}:${color3}${time %S}
${font Mallige:size=0}
${font Impact:size=12}${alignc}${color4}${time %A}, ${time %B} ${time %e}, ${time %Y}
]]
(http://www.upsara.com/images/ge8h_conky.jpg) (http://www.upsara.com/)
(http://www.upsara.com/images/ge8h_conky_thumb.jpg) (http://www.upsara.com/viewer.php?file=ge8h_conky.jpg)
-
سلام دوست عزیز قبلا با اینا زیاد ور میرفتم پستهای قبلی منو رو ببینی راجبش هست. اما اینجا چیزیکه مهمه باید بدونی سختافزارهات چه اسمی توی سیستم معرفی شدن و برچسب خوردن اینطوری میتونی فراخوان بدی بیان. چون همه چیزیش در دسترس هست راحت میتونی بنویسی تغییر بدی مشاهده کنی.
الان دیگه برام هیچ جذابیتی توش نیست خیلی وقته استفاده نمیکنم 8) 8)
-
باسلام
یه سایت پیدا کردم کدارو دست کاری کردم بیشترش درست شد.