Page 6 of 58 FirstFirst ... 456781656 ... LastLast
Results 51 to 60 of 572

Thread: Conky Rhythmbox Python Script

  1. #51
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Rhythmbox Python Script

    Quote Originally Posted by pijiu View Post
    I'm guessing it's something just simple like not using a supported font right? How would I find out a list of fonts that support Korean Chinese and Japanese?
    Not sure about what is available already

    If you want pure Korean fonts I found some here: http://www.wazu.jp/gallery/Fonts_Korean.html

    Just pop the ttf's into ~/.fonts and run "fc-cache -v" to refresh the font cache

  2. #52
    Join Date
    Nov 2007
    Location
    USA-ish
    Beans
    206
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Conky Rhythmbox Python Script

    Then there's always the option of removing the Korean portion of the title in the ID3 tag.
    Desktop: Quantal on Core2 Duo E8500/Asus P5Q
    Laptop: Precise on S76 Pangolin

  3. #53
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Rhythmbox Python Script

    Quote Originally Posted by Cammy View Post
    Then there's always the option of removing the Korean portion of the title in the ID3 tag.
    That's got to be the favourite...assuming the id tag editor can handle the characters and doesn't crash

  4. #54
    Join Date
    Nov 2007
    Location
    USA-ish
    Beans
    206
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Conky Rhythmbox Python Script

    Hey, kaivalagi. Any chance of getting conky's ${scroll} feature added to the template? I noticed that the newest conky has scrolling ability, and thought it would be cool for long song titles on my narrow conky, but it doesn't seem to work with execi and the rhythmbox script.
    Desktop: Quantal on Core2 Duo E8500/Asus P5Q
    Laptop: Precise on S76 Pangolin

  5. #55
    Join Date
    Jan 2008
    Location
    Auckland, New Zealand
    Beans
    3,134
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Conky Rhythmbox Python Script

    Quote Originally Posted by Cammy View Post
    Hey, kaivalagi. Any chance of getting conky's ${scroll} feature added to the template? I noticed that the newest conky has scrolling ability, and thought it would be cool for long song titles on my narrow conky, but it doesn't seem to work with execi and the rhythmbox script.
    For long titles I just pass the output of the script into fold.

    Eg:
    Code:
    execp conkyRhythmbox --template=/home/adam/.conkyRhythmbox.template --nounknownoutput | fold -w33 -s

  6. #56
    Join Date
    Nov 2007
    Location
    USA-ish
    Beans
    206
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Conky Rhythmbox Python Script

    Quote Originally Posted by ad_267 View Post
    For long titles I just pass the output of the script into fold.

    Eg:
    Code:
    execp conkyRhythmbox --template=/home/adam/.conkyRhythmbox.template --nounknownoutput | fold -w33 -s
    Nice!!!!
    Desktop: Quantal on Core2 Duo E8500/Asus P5Q
    Laptop: Precise on S76 Pangolin

  7. #57
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Rhythmbox Python Script

    That's a good thing to know, thanks ad_267!

    Cammy, have you tried using the scroll option in the template, if supported by execp/execpi it might well work...not sure as it's inside an exec call but worth trying

  8. #58
    Join Date
    Nov 2007
    Location
    USA-ish
    Beans
    206
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Conky Rhythmbox Python Script

    Quote Originally Posted by kaivalagi View Post
    Cammy, have you tried using the scroll option in the template, if supported by execp/execpi it might well work...not sure as it's inside an exec call but worth trying
    I did, but I might have boogered up the syntax (I'm good at doing that). I'll play around with it some more.
    Desktop: Quantal on Core2 Duo E8500/Asus P5Q
    Laptop: Precise on S76 Pangolin

  9. #59
    Join Date
    May 2007
    Beans
    43

    Re: Conky Rhythmbox Python Script

    Hey guys I managed to get Korean and Chinese to display as you can see:



    I was wondering if you guys can help me with the alignment of my conky script. As you can see after the titles I have "//.time" etc, the first word is slightly to the right. Also if you look at the RB down at the bottom you can see a more extreme version of this. How can I fix this?

    Code:
        background no
        use_xft yes
        xftfont WenQuanYi Zen Hei:size=10
        xftalpha 0.1
        update_interval 0.5
        total_run_times 0
        own_window yes
        own_window_type override
        own_window_transparent yes
        own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
        double_buffer yes
        minimum_size 250 5
        maximum_width 300
        draw_shades no
        draw_outline no
        draw_borders no
        draw_graph_borders no
        stippled_borders 0
        border_margin 5
        border_width 1
        default_color white
        default_shade_color black
        default_outline_color black
        alignment top_right
        gap_x 10
        gap_y 10
        no_buffers no
        uppercase no
        cpu_avg_samples 2
        net_avg_samples 1
        override_utf8_locale yes
        use_spacer yes
        text_buffer_size 256
    
        TEXT
    
        ${voffset 20}
        ${font WenQuanYi Zen Hei:size=20}${color light gray}//.UBUNTU${color Black}LINUX
        ${voffset -90}
        ${color DimGray}
        ${font}
        ${font WenQuanYi Zen Hei:bold:size=10}${color light gray}//.system ${color black} ${hr 2}
        $font${color DimGray}$sysname $kernel $alignr $machine
        Intel Pentium D $alignr${freq_g}Ghz
        Uptime $alignr${uptime}
        File System $alignr${fs_type}
    
        ${font WenQuanYi Zen Hei:bold:size=10}${color light gray}//.processors ${color black}${hr 2}
        $font${color DimGray}CPU1  ${cpu cpu1}% ${cpubar cpu1}
        CPU2  ${cpu cpu2}% ${cpubar cpu2}
    
        ${font WenQuanYi Zen Hei:bold:size=10}${color light gray}//.mem ${color black}${hr 2}
        $font${color DimGray}MEM $alignc $mem / $memmax $alignr $memperc%
        $membar
    
        ${font WenQuanYi Zen Hei:bold:size=10}${color light gray}//.hdd ${color black}${hr 2}
        $font${color DimGray}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
        ${fs_bar /home}
    
        ${font WenQuanYi Zen Hei:bold:size=10}${color light gray}//.processes ${color black}${hr 2}
        ${color DimGray}$font${top_mem name 2}${alignr}${top mem 2} %
        $font${top_mem name 3}${alignr}${top mem 3} %
        $font${top_mem name 4}${alignr}${top mem 4} %
        $font${top_mem name 5}${alignr}${top mem 5} %
    
        ${font WenQuanYi Zen Hei:bold:size=10}${color light gray}//.network ${color black}${hr 2}
        $font${color DimGray}${endif}${if_existing /sys/class/net/wlan0/operstate up}IP (wlan0):$alignr${addr wlan0}
        AP: ${wireless_essid wlan0} ${alignr}Bitrate: ${wireless_bitrate wlan0}
    
        Down: ${downspeed wlan0} k/s ${alignr}Up: ${upspeed wlan0} k/s
        ${downspeedgraph wlan0 20,90} ${alignr}${upspeedgraph wlan0 20,90}
        Total: ${totaldown wlan0} ${alignr}Tota: ${totalup wlan0}
    
        ${font WenQuanYi Zen Hei:bold:size=10}${color light gray}//.time ${color black}${hr 2}
    
        ${voffset -15} ${color light gray} ${font :size=24}$alignr${time %H:%M}
        ${voffset -25} ${font WenQuanYi Zen Hei:bold:size=8}$alignr${time %A}
        ${font :bold:size=10}$alignr${time %d %b. %Y}
        $endif
    
        ${color light gray}${font WenQuanYi Zen Hei:size=14}${font WenQuanYi Zen Hei:Bold:size=10}//.Rhythmbox${font}${color black}${hr 2}
    
        ${color1}${execp conkyRhythmbox --template=/usr/share/conkyrhythmbox/example/conkyRhythmbox.template --nounknownoutput | fold -w33 -s}

  10. #60
    Join Date
    Nov 2007
    Location
    USA-ish
    Beans
    206
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Conky Rhythmbox Python Script

    Quote Originally Posted by pijiu View Post
    I was wondering if you guys can help me with the alignment of my conky script. As you can see after the titles I have "//.time" etc, the first word is slightly to the right. Also if you look at the RB down at the bottom you can see a more extreme version of this. How can I fix this?
    Get rid of $font as the first item in each of those lines and put it at the end of the previous line instead. I also prefer ${font} instead of $font but it probably doesn't make any difference.
    Desktop: Quantal on Core2 Duo E8500/Asus P5Q
    Laptop: Precise on S76 Pangolin

Page 6 of 58 FirstFirst ... 456781656 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •