شما هنوز به سیستم وارد نشده اید.
حسین عزیز اون رو با Figlet نوشتم کانفیگ کانکی رو هم رو گیت هاب آپلود کردم .
https://github.com/hazhir1811/conky
آفلاین
اینم از میزکار من
gnome
numix icon && theme
plank
http://Hosthey.ir
ArchLinux ♥
WebHosting Manager
آفلاین
ArchLinux
XFCE4
Theme:xfce-dust
Icons:Vertex-Maia
علیرضا پژوهش
آفلاین
کانفیگ بخش موزیک کانکی رو میدین بی زحمت؟
بفرما:
${color 0ABFFF}${voffset 2}${hr 1}${voffset 5}
${offset}${#0ABFFF}Now Playing:
${offset}${#FF6600}Artist :
${color}${execi 5 python2 ~/.conky/conky_clementine/anowplaying.py -a}
${offset}${#FF6600}Title :
${color}${execi 5 python2 ~/.conky/conky_clementine/anowplaying.py -t}
${execi 5 python2 ~/.conky/conky_clementine/anowplaying.py -c /tmp/cover.jpg}${image /tmp/cover.jpg -p 180,277 -s 70x90 -n}
اینم اسکریپتش:
#!/usr/bin/env python2
#-*- coding: utf-8 -*-
#
# anowplaying.py
#
# Connects to dbus and retrieves
# information about the currently
# playing track in amarok.
#
import dbus, optparse, shutil, commands
if __name__ == '__main__':
'''Check if clementine is running'''
output = commands.getoutput('ps -A')
if 'clementine' not in output:
raise SystemExit
'''Get system bus'''
bus = dbus.SessionBus()
amarok = bus.get_object('org.mpris.clementine', '/Player')
amarokdict = amarok.GetMetadata()
'''Set up the command line parser'''
usage = 'usage: %prog [options]'
parser = optparse.OptionParser(usage=usage)
parser.add_option('-a', '--artist', action='store_true', help='artist name')
parser.add_option('-t', '--title', action='store_true', help='title of the track')
parser.add_option('-l', '--album', action='store_true', help='album name')
parser.add_option('-g', '--genre', action='store_true', help='genre of the current track')
parser.add_option('-y', '--year', action='store_true', help='year of the track')
parser.add_option('-m', '--mtime', action='store_true', help='time of the track')
parser.add_option('-r', '--rtime', action='store_true', help='remaining time for the track')
parser.add_option('-e', '--etime', action='store_true', help='elapsed time for the track')
parser.add_option('-p', '--progress', action='store_true', help='progress of the track')
parser.add_option('-n', '--track', action='store_true', help='track number')
parser.add_option('-b', '--bitrate', action='store_true', help='bitrate of the track')
parser.add_option('-s', '--sample', action='store_true', help='sample rate of the track')
parser.add_option('-c', '--cover', metavar='filename', help='copy cover art to destination file')
'''Get the parser options printed'''
(opts, args) = parser.parse_args()
if opts.artist and amarokdict.has_key('artist') :
print amarokdict['artist']
if opts.title and amarokdict.has_key('title'):
print amarokdict['title']
if opts.album and amarokdict.has_key('album'):
print amarokdict['album']
if opts.genre and amarokdict.has_key('genre'):
print amarokdict['genre']
if opts.year and amarokdict.has_key('year'):
print amarokdict['year']
if opts.track and amarokdict.has_key('tracknumber'):
print amarokdict['tracknumber']
if opts.bitrate and amarokdict.has_key('audio-bitrate'):
print amarokdict['audio-bitrate']
if opts.sample :
print amarokdict['audio-samplerate']
'''Manage time stuff'''
cpos = mt = mtime = etime = rtime = progress = None
if (opts.etime or opts.rtime or opts.mtime or opts.progress) and amarokdict.has_key('mtime'):
cpos = amarok.PositionGet()/1000
mt = amarokdict['mtime']/1000
mtime = str(mt/60)+":"+str(mt%60) if mt%60>9 else str(mt/60)+":0"+str(mt%60)
etime = str(cpos/60)+":"+str(cpos%60) if cpos%60>9 else str(cpos/60)+":0"+str(cpos%60)
rtime = str((mt-cpos)/60)+":"+str((mt-cpos)%60) if (mt-cpos)%60>9 else str((mt-cpos)/60)+":0"+str((mt-cpos)%60)
progress= float(cpos)/float(mt)*100
if opts.etime and etime is not None:
print etime
if opts.rtime and rtime is not None:
print rtime
if opts.mtime and mtime is not None:
print mtime
if opts.progress and progress is not None:
print progress
if opts.cover :
cover = amarokdict['arturl']
if cover != "" :
try :
shutil.copyfile(cover.replace('file://', ''), opts.cover)
print ""
except Exception, e:
print e
print ""
else :
print ""
علیرضا پژوهش
آفلاین
@سعید تو هم که یا داری ریحانا گوش میدی یا داری روی یه طرح لویا کار میکنی
اینم میزکار من:
Just an anime fan
آفلاین
آفلاین
@TUX
رادیو ورژن این آهنگ را از کجا دانلود کردی؟ من فقط موزیک ویدئو اصلی را دارم!
Just an anime fan
آفلاین
@حسین حیدری
آفلاین
آفلاین
stackoverflow نوشته است که:یه نوروز و یه احسان خواجه امیری و یه آرچ سر حال و یه مشت تخمه
دیگه چی میخوام از این زندگی ؟! D:
http://uupload.ir/files/9ac4_screenshot_from_2016-03-25_18-00-00.pngناموسن یه آموزش کامل واسه کانکی بزارین (نصب و راهاندازی)! نابود شدم سرش
ممکنه این آموزش کمکت کنه.
راستی میشه کانکی مربوط به تاریخ شمسی رو بگید چجوریاست؟
لینوکس یک فرهنگ است. یک فرهنگ خوب
آفلاین
اینجا رو ببین:
http://barzideh.blog.ir/1394/06/01/use-persian-in-conky
علیرضا پژوهش
آفلاین
Manjaro
XFCE
Compiz
Conky: harmattan-master
Theme: Arc
Icons: Faenza
File manager: Thunar
Dock: Plank
Image viewer: viewnior
با تشکر از دوستانی که برای تقویم فارسی راهنماییم کردند. آموزشش رو در وبلاگم میذارم
ویرایش: آموزشش را گذاشتم
آخرین ویرایش توسط AmiNimA (2016-06-01 19:21:02)
لینوکس یک فرهنگ است. یک فرهنگ خوب
آفلاین
درود! بسیار زیبا شده ! شبیه گنوم شده
البته اگه من بودم کادر دور کانکی رو بر میداشتم
آفلاین
درود! بسیار زیبا شده ! شبیه گنوم شده
البته اگه من بودم کادر دور کانکی رو بر میداشتم
اگه میشد xfce هم کاملا به gtk3 کوچ کنه خیلی بهتر میشد. کادر دور کانکی هم مال دکوریشن compiz هست که توی دو تا عکس خواستم تفاوتش رو نشون بدم. بدک هم نیست
لینوکس یک فرهنگ است. یک فرهنگ خوب
آفلاین
نمیدونم چرا http://uupload.ir فقط برای من باز نمیشه ! دوستان اگه امکان داره جای دیگه ای آپلود کنند که من هم بتونم ببینم مرسی
آفلاین
نمیدونم چرا http://uupload.ir فقط برای من باز نمیشه ! دوستان اگه امکان داره جای دیگه ای آپلود کنند که من هم بتونم ببینم
مرسی
از opendns.com استفاده کن شاید مشکلت حل شدش
:: محسن شایان
:: توییتر
آفلاین
سلام
سوال مربوط به بخش دیگه ایه!
*** I FIGHT FOR USERS ***
آفلاین
http://uupload.ir/files/tnt0_myi3.png
این کانفیگ i3 منه
بسیار زیبا است
در یادگیری و استفاده از خط فرمان کوشا باشید چرا که رستگاری شما در آن است.
آفلاین
farid نوشته است که:http://uupload.ir/files/tnt0_myi3.png
این کانفیگ i3 منهبسیار زیبا است
سپاسگزارم بهروز جان. قابل شما رو نداره
آفلاین
arch+gnome+apricity+me+my system
وسعت دنیای هر کس به اندازه تفکر اوست
آدم های بزرگ دنیای بزرگی دارند
کسی را با کوتاه فکری از خود نمی رنجانند
http://enghamid.ir
آفلاین