F-spot sorunu ve Xnview kurulumu

Başlatan ynt, 25 Temmuz 2008 - 23:48:33

« önceki - sonraki »

0 Üyeler ve 2 Ziyaretçi konuyu incelemekte.

ynt

Ekle kaldırdan grafik bölümünden F-spot adlı programı kurdum ama açılmıyor,  terminalde şu hatayı veriyor;

ynt@ynt-desktop:~$ f-spot
System.ApplicationException: F-Spot cannot find the Dbus session bus.  Make sure dbus is configured properly or start a new session for f-spot using "dbus-launch f-spot" ---> System.Exception: Unable to open the session message bus. ---> System.ArgumentNullException: Argument cannot be null.
Parameter name: address
  at NDesk.DBus.Bus.Open (System.String address) [0x00000]
  at NDesk.DBus.Bus.get_Session () [0x00000] --- End of inner exception stack trace ---

  at NDesk.DBus.Bus.get_Session () [0x00000]
  at NDesk.DBus.BusG.Init () [0x00000]
  at FSpot.Driver.Main (System.String[] args) [0x00000] --- End of inner exception stack trace ---

  at FSpot.Driver.Main (System.String[] args) [0x00000]


Amacım istediğim resimler üzerinde ufak tefek oynamalar yapabileceğim bir program bulmak, ekle kaldırdaki bir çok programa baktım ama beğenmedim. Aslında istediğim Xnview adlı programı kurmak ama  instal dosyasının içeriği ç hem çok uzun hem de kararlı bir sistemi bozmak istemiyorum. Onun da içeriğini vereyim eğer sistemim de sorun oluşturmassa kurabilirim.

#!/bin/sh

VERSION="1.70"
LIBVERSION="4.47"

if [ -e /sbin/uname -o -e /bin/uname ]; then
echo "  OS  : `uname -s`, version `uname -r`"
case "`uname -s`" in
IRIX)
echo "  CPU : `hinv | grep CPU | cut -f3 -d' '` Processor (`uname -p`)"
;;
SunOS)
echo "  CPU : `uname -p`)"
;;
Linux)
;;
FreeBSD)
;;
esac
else
echo "Unknown system \!"
exit
fi

case "`id`" in
uid=*\(root\)*)
;;
*)
echo "You must be root \!"
exit
esac

#
#

echo This script will install nview/nconvert/xnview in the /usr/local/bin directory

BASEDIR="/usr/local"

if [ ! -e $BASEDIR ]; then
mkdir $BASEDIR
fi

if [ ! -e $BASEDIR ]; then
exit 0
fi

if [ ! -e $BASEDIR/bin ]; then
mkdir -p $BASEDIR/bin
chmod 755 $BASEDIR/bin
fi

if [ ! -e $BASEDIR/lib ]; then
mkdir $BASEDIR/lib
chmod 755 $BASEDIR/lib
fi

if [ ! -e $BASEDIR/man/man1 ]; then
mkdir -p $BASEDIR/man/man1
chmod 755 $BASEDIR/man/man1
fi

if [ ! -e $BASEDIR/doc/XnView ]; then
mkdir -p $BASEDIR/doc/XnView
chmod 755 $BASEDIR/doc/XnView
fi

rm -f $BASEDIR/bin/nview $BASEDIR/bin/nconvert $BASEDIR/bin/xnview
rm -f $BASEDIR/man/man1/nview.z $BASEDIR/man/man1/xnview.z

##
## Install BINARY
##
cp bin/nview bin/nconvert bin/xnview $BASEDIR/bin
chmod 755 $BASEDIR/bin/nview $BASEDIR/bin/nconvert $BASEDIR/bin/xnview

##
## Install APP-DEFAULTS
##
cp app-defaults/XnView.ad /usr/lib/X11/app-defaults/XnView
chmod 444 /usr/lib/X11/app-defaults/XnView

##
## Install MAN page
##

if [ -e man/nview.z ]; then
# cp man/nview.z man/xnview.z $BASEDIR/man/cat1/
# chmod 644 $BASEDIR/man/cat1/nview.z $BASEDIR/man/cat1/xnview.z
cp man/nview.z $BASEDIR/man/man1/nview.1.gz
cp man/xnview.z $BASEDIR/man/man1/xnview.1.gz
chmod 644 $BASEDIR/man/man1/nview.1.gz $BASEDIR/man/man1/xnview.1.gz
else
cp man/nview.1 man/xnview.1 $BASEDIR/man/man1/
chmod 644 $BASEDIR/man/man1/nview.1 $BASEDIR/man/man1/xnview.1
fi

##
## Install DOC
##
cp *.txt $BASEDIR/doc/XnView
chmod 644 $BASEDIR/doc/XnView/*.txt

echo
echo Done!



özgürlüğeyeryok

istersen picasa yı bir dene linux üstünde windowstaki kadar iyi çalışıyor.

heartsmagic

F-spot için konuşayım. Problem öyle görülüyor ki F-spot arkada çalışan bir dbus görmüyor. Ben buna pek ihtimal vermiyorum, kısacası dbus çalışıyordu. Bu durumda geriye F-spot'un sorunlu olduğu düşüncesi geliyor aklıma. Şunları bir dener misin:

ps aux | grep dbus

çıktısını bir görelim, ardından da sen F-spot'u

dbus-launch f-spot

şeklinde açmayı dene.
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

ynt

Alıntı yapılan: heartsmagic - 26 Temmuz 2008 - 00:53:41
F-spot için konuşayım. Problem öyle görülüyor ki F-spot arkada çalışan bir dbus görmüyor. Ben buna pek ihtimal vermiyorum, kısacası dbus çalışıyordu. Bu durumda geriye F-spot'un sorunlu olduğu düşüncesi geliyor aklıma. Şunları bir dener misin:

ps aux | grep dbus

ynt@ynt-desktop:~$ ps aux | grep dbus
107       4644  0.0  0.4   2700  1032 ?        Ss   Jul25   0:00 /usr/bin/dbus-daemon --system
dhcp      5005  0.0  0.3   2440   796 ?        S    Jul25   0:00 /sbin/dhclient -1 -lf /var/lib/dhcp3/dhclient.eth0.leases -pf /var/run/dhclient.eth0.pid -q -e dhc_dbus=31 -d eth0
ynt       5531  0.0  0.1   3004   380 ?        S    Jul25   0:00 dbus-launch --autolaunch dd6443e1094be762c3618575484c7303 --binary-syntax --close-stderr
ynt       5532  0.0  0.3   2568   872 ?        Ss   Jul25   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
ynt       8510  0.0  0.3   2568   956 ?        Ss   01:28   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
ynt       8552  0.0  0.3   2568   952 ?        Ss   01:31   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
ynt       8584  0.0  0.2   2888   764 pts/1    R+   01:35   0:00 grep dbus
ynt@ynt-desktop:~$



Alıntı yapılan: heartsmagic - 26 Temmuz 2008 - 00:53:41
çıktısını bir görelim, ardından da sen F-spot'u

dbus-launch f-spot

şeklinde açmayı dene.

ynt@ynt-desktop:~$ dbus-launch f-spot
Starting new FSpot server
Reloading
item changed

** (f-spot:8548): WARNING **: Invalid borders specified for theme pixmap:
        /usr/share/themes/Orange/gtk-2.0/Range/null.png,
borders don't fit within the image
U (6,8 GB) - gnome-dev-harddisk - Mountpoint file:///media/U True True Harddrive
Harddrive
<D> (2,9 GB) - gnome-dev-harddisk - Mountpoint file:///media/%3CD%3E True True Harddrive
Harddrive
<C> (19,5 GB) - gnome-dev-harddisk - Mountpoint file:///media/%3CC%3E True True Harddrive
Harddrive

(f-spot:8548): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference.
item ImportCommand+SourceItem
Scanning /home/ynt/pictures
item changed
error checking orientation
item changed
error checking orientation
error checking orientation
cleanup context
error checking orientation
error checking orientation
error checking orientation
error checking orientation
error checking orientation
error checking orientation
Stopping
error checking orientation
error checking orientation
item changed
error checking orientation
Reloading
item changed
error checking orientation
Reloading
error checking orientation
error checking orientation
error checking orientation
error checking orientation
item changed
error checking orientation
error checking orientation
error checking orientation
error checking orientation
clearing window
item changed
error checking orientation
error checking orientation
error checking orientation
error checking orientation
item changed
error checking orientation
item changed
Reloading
Reloading
Reloading
Reloading
item changed
error checking orientation
item changed
error checking orientation
item changed
error checking orientation
item changed
error checking orientation
item changed
error checking orientation
item changed
item changed
item changed
item changed
error checking orientation
item changed
item changed
item changed
item changed

(f-spot:8548): GLib-GObject-WARNING **: unable to set property `text' of type `gchararray' from value of type `GtkSharpValue'

(f-spot:8548): GLib-GObject-WARNING **: unable to set property `text' of type `gchararray' from value of type `GtkSharpValue'

(f-spot:8548): GLib-GObject-WARNING **: unable to set property `text' of type `gchararray' from value of type `GtkSharpValue'

(f-spot:8548): GLib-GObject-WARNING **: unable to set property `text' of type `gchararray' from value of type `GtkSharpValue'
ynt@ynt-desktop:~$


Bu şekilde program açıldı fakat bu uyarıyı  veriyor, sorunun oluşumuna fluxbox kullanıyor olmamın bir katkısı olabilir mi?

ynt

Alıntı yapılan: ynt - 26 Temmuz 2008 - 01:39:04

Bu şekilde program açıldı fakat bu uyarıyı  veriyor, sorunun oluşumuna fluxbox kullanıyor olmamın bir katkısı olabilir mi?


Evet; oturumu kapatıp Xfce'ye geçtiğimde bu sorun ortadan kalktı.

heartsmagic

Uyarının bir ehemmiyeti yok, eğer çalışıyorsa kullanabilirsin.
Şimdi bunun için hata kaydı yapılmış. Çözüm için önce şunu dene:

sudo aptitude install dbus-x11

Eğer işe yaramazsa şunu dene:

~/.xinitrc dosyasını aç ve içeriğine şunu ekle:

dbus-launch --sh-syntax --exit-with-session > /tmp/dbus-env
echo -e "export DBUS_SESSION_BUS_PID\n" >> /tmp/dbus-env
. /tmp/dbus-env


Daha sonra X'i tekrar başlat. Bu satırları exec satırının üzerine geç ama mesela exex fluxbox satırının.
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

maxspacemax

Xnview'i wine ile kurup kullanabilirsin. Ben bu şekilde kullanıyorum. Çünkü Xnview'in birçok özelliğini diğer ücretsiz programlarda bulamıyorum.

ufuk_k

Digikam programı f-spottan çok daha iyidir. F-spot çok fazla hata veriyor.

atomkarinca

Digikamın yanında Kipi-plugins de kurarsanız aradığınız şeyi elde edersiniz.