na12

Направљене поруке на форуму

Гледање 231 чланака - 231 до 240 (од 471 укупно)
  • Аутор
    Чланци
  • као одговор на: Radna površina #78842
    na12
    Учесник

    compiz-fusion
    compiz-fusion-plugins

    као одговор на: Koji audio player za album cover? #78845
    na12
    Учесник

    Pa ne moze jednostavnije,instaliras iz synaptic-a rythmbox,python,gnome-python,i onda kucaj ono sto pise u terminal.I to je to.Ako nemas instaliran compiz onda treba da gconf-editor-om izaberes da ti metacity bude composite manager.A imas i za Exaile ovaj plugin.

    као одговор на: Koji audio player za album cover? #78843
    na12
    Учесник

    Rythmbox sa desktop art plugin-om.[/url]Trebaju ti python i gnome-python paketi da bi ovo radilo.

    као одговор на: Mandriva 2009.1 #78132
    na12
    Учесник

    “draksnapshot” sam uklonio da mi ne blokira mašinu, ali nisam rešio:
                     
           http://wiki.mandriva.com/en/2009.1_Notes

    “Default behaviour for now disables Ctrl+Alt+backspace shortcut to restart X server. This behaviour can be reverted to the old default by adding ‘Option “DontZap” “false”‘ to the Section ‘”ServerFlags”‘ in /etc/X11/xorg.conf . ”

       Ako je ovo neko uspešno odradio neka nam pošalje “xorg.conf”.
    (Ja sam nešto pokušao, ali to nije išlo,..)

    Prvo moras da instaliras DontZap

    као одговор на: Odg: Fedora ili OpenSuse #78804
    na12
    Учесник

    [quote=”dukenukem_4d”]
    [quote]
    Komp mi je 700Mhz 384MB Ram.

    za navedenu konfiguraciju bilo koji najnoviji distro da se stavi
    potencijalno ce da se vuce :-

    [/quote]

    Nije tacno. Neka proba Slitaz 

    http://www.slitaz.org/en/

    [/quote]

    Koliko sam ja razumeo covek hoce neku rpm distribuciju.Probaj tinyme.Gnome ti nece nesto biti brz na toj konfiguraciji.

    као одговор на: rpm, deb, tgz…… #78733
    na12
    Учесник

    Uvodjenje standarda ukljucuje neku vrstu prisile,a to je nemoguce uraditi u svetu slobodnog softvera,inace vise ne bi bio slobodan.Jedino mogu nekoliko najvecih da sednu i da se dogovore,ali i to je malo moguce.

    као одговор на: Vremenska prognoza #78675
    na12
    Учесник

    Evo za one koji koriste Openbox jedna skripta za pipe-menu

    yweather.py

    [code]#!/usr/bin/python

    import urllib
    from xml.etree.cElementTree import parse
    from datetime import datetime, timedelta
    import os
    from os.path import join
    from sys import argv
    try:
        import cPickle as pickle
    except ImportError:
        import pickle

    #Usage: yweather.py AYXX0001 Celsius

    if len(argv) != 3:
        raise Exception(‘Usage: yweather.py zip_code units. zip_code is your city code in Yahoo Weather, units can be Celsius or Fahrenheit.’)
    else:
        zip_code = argv[1]
        if argv[2] == ‘Fahrenheit’ or argv[2] == ‘fahrenheit’:
            units = ‘f’
        else:
            units = ‘c’

    CACHE_HOURS = 6

    #http://weather.yahooapis.com/forecastrss
    WEATHER_URL = ‘http://xml.weather.yahoo.com/forecastrss?p=%s&u=%s’
    WEATHER_NS = ‘http://xml.weather.yahoo.com/ns/rss/1.0’

    def weather_for_zip(zip_code, units):
        url = WEATHER_URL % (zip_code, units)
        rss = parse(urllib.urlopen(url)).getroot()
        forecasts = []
        for element in rss.findall(‘channel/item/{%s}forecast’ % WEATHER_NS):
            forecasts.append(dict(element.items()))
        ycondition = rss.find(‘channel/item/{%s}condition’ % WEATHER_NS)
        return {
            ‘current_condition’: dict(ycondition.items()),
            ‘forecasts’: forecasts,
            ‘title’: rss.findtext(‘channel/title’),
            ‘pubDate’: rss.findtext(‘channel/item/pubDate’), #rss.findtext(‘channel/lastBuildDate’),
            ‘location’: dict(rss.find(‘channel/{%s}location’ % WEATHER_NS).items()),
            ‘wind’: dict(rss.find(‘channel/{%s}wind’ % WEATHER_NS).items()),
            ‘atmosphere’: dict(rss.find(‘channel/{%s}atmosphere’ % WEATHER_NS).items()),
            ‘astronomy’: dict(rss.find(‘channel/{%s}astronomy’ % WEATHER_NS).items()),
            ‘units’: dict(rss.find(‘channel/{%s}units’ % WEATHER_NS).items())
        }

    def print_openbox_pipe_menu(weather):
        print ”
        print ” % (weather[‘location’][‘city’],weather[‘pubDate’])
        print ”
        print ” % weather[‘current_condition’][‘text’]
        print ” % ( weather[‘current_condition’][‘temp’],
                                              weather[‘units’][‘temperature’] )
        print ” % weather[‘atmosphere’][‘humidity’]
        print ” % ( weather[‘atmosphere’][‘visibility’],
                                              weather[‘units’][‘distance’] )
       
        #pressure: steady (0), rising (1), or falling (2)
        if weather[‘atmosphere’][‘rising’] == 0:
            pressure_state = ‘steady’
        elif weather[‘atmosphere’][‘rising’] == 1:
            pressure_state = ‘rising’
        else:
            pressure_state = ‘falling’
        print ” % ( weather[‘atmosphere’][‘pressure’],
                                              weather[‘units’][‘pressure’], pressure_state )
        print ” % ( weather[‘wind’][‘chill’],
                                              weather[‘units’][‘temperature’] )
        print ” % weather[‘wind’][‘direction’]
        print ” % ( weather[‘wind’][‘speed’],
                                              weather[‘units’][‘speed’] )
        print ” % weather[‘astronomy’][‘sunrise’]
        print ” % weather[‘astronomy’][‘sunset’]
        for forecast in weather[‘forecasts’]:
            print ” % forecast[‘day’]
            print ” % forecast[‘text’]
            print ” % ( forecast[‘low’],
                                                    weather[‘units’][‘temperature’] )
            print ” % ( forecast[‘high’],
                                                    weather[‘units’][‘temperature’] )
        print ”

    cache_file = join(os.getenv(“HOME”), ‘.yweather.cache’)

    try:
        f = open(cache_file,’rb’)
        cache = pickle.load(f)
        f.close()
    except IOError:
        cache = None

    if cache == None or (zip_code, units) not in cache or (
            cache[(zip_code, units)][‘date’] + timedelta(hours=CACHE_HOURS) < datetime.utcnow()):
        # The cache is outdated
        weather = weather_for_zip(zip_code, units)
        if cache == None:
            cache = dict()
        cache[(zip_code, units)] = {'date': datetime.utcnow(), 'weather': weather}
       
        #Save the data in the cache
        try:
            f = open(cache_file, 'wb')
            cache = pickle.dump(cache, f, -1)
            f.close()
        except IOError:
            raise
    else:
        weather = cache[(zip_code, units)]['weather']

    print_openbox_pipe_menu(weather)[/code]

    posle se samo doda u menu.xml

    [code]

    [/code]

    gde je YIXX0016 kod za vas grad na yahoo weather.

    као одговор на: Koji LINUX #33024
    na12
    Учесник

    Sta nedostaje Fedori?

    као одговор на: kpowersave permissions [RESENO] #78743
    na12
    Учесник

    U Gnome to ide preko opcije System-Preferences-Authorizations,ali za Kde ne znam tacno posto ga ne koristim,probaj da dodas user-a u hal grupu.

    као одговор на: Vremenska prognoza #78673
    na12
    Учесник

    Sremska Mitrovica SRXX0016

Гледање 231 чланака - 231 до 240 (од 471 укупно)