Fedora 12: issue running custom Env. Variable before KDE login
by Steven P. Ulrick
Hello Everyone
This is an otherwise stock installation of KDE on Fedora 12. I compile and
run three KDE applications from KDE's extragear SVN repository (Amarok, K3B
& Krusader), and one that does not come from KDE (Bibletime).
I install them in a new path each time, depending on what day that I am
updating. Today I have installed Amarok, Bibletime, K3B & Krusader in
"/usr/local/spu/spu-20100328/kde" So, for example,
"/usr/local/spu/spu-20100328/kde/bin" looks like this:
/usr/local/spu/spu-20100328/kde/bin/amarok
/usr/local/spu/spu-20100328/kde/bin/amarok_afttagger
/usr/local/spu/spu-20100328/kde/bin/amarokcollectionscanner
/usr/local/spu/spu-20100328/kde/bin/amarokmp3tunesharmonydaemon
/usr/local/spu/spu-20100328/kde/bin/amarokpkg
/usr/local/spu/spu-20100328/kde/bin/bibletime
/usr/local/spu/spu-20100328/kde/bin/k3b
/usr/local/spu/spu-20100328/kde/bin/k3bsetup
/usr/local/spu/spu-20100328/kde/bin/krusader
This path does definitely exist!
K3B, for example, does not detect the appropriate plugins unless I set the
KDEDIR to point to the directory that "bin/k3b" is located in. So, I
created a file called "/home/steve/.kde/env/customenv.sh" It's entire
contents look like this:
export KDEDIR=/usr
export KDEDIRS=/usr/local/spu/spu-20100328:$KDEDIR
"systemsettings | Advanced| Autostart" has that script set to run on "Pre-
KDE startup"
From a terminal, the values of $KDEDIR and $KDEDIRS are as follows:
[steve@localhost ~]$ $KDEDIR
bash: /usr: is a directory
[steve@localhost ~]$ $KDEDIRS
bash: /usr/local/spu/spu-20100328:/usr: No such file or directory
[steve@localhost ~]$
And, as most of you probably expect from what you read above, "which k3b"
returns the following value:
[steve@localhost ~]$ which k3b
/usr/bin/k3b
[steve@localhost ~]$
So, I am at a loss as to what to do next.
Here is a link to the K3B forum:
http://forum.kde.org/viewtopic.php?f=153&t=86700&p=152946#p152071
where I got the idea for:
export KDEDIR=/usr
export KDEDIRS=/usr/local/spu/spu-20100328:$KDEDIR
(I have changed what I was originally told to try to make things more
simple to maintain. In fact, I used to have four separate KDEDIRS lines in
customenv.sh and it worked great. For a while...)
So, any help you can give me is greatly appreciated.
Steven P. Ulrick
14 years, 2 months
udev question for dealing with auto spindown on Seagate FreeAgent Go 1T drive
by Darlene Wallach
I saw this advice on how to implement a fix using udev:
http://www.nslu2-linux.org/wiki/FAQ/DealWithAutoSpinDownOnSeagateFreeAgent
udev Method
Add a rule to the end of /etc/udev/rules.d/local.rules
# Seagate FreeAgent allow_restart fix (i/o errors)
SUBSYSTEMS=="scsi",DRIVERS=="sd",ATTRS{vendor}=="Seagate*",ATTRS{model}=="FreeAgent*",RUN+="/bin/sh
-c 'echo 1 > /sys/class/scsi_disk/%k/allow_restart'"
I have Fedora 10 installed. Should I add a new file 10-local.rules and
put it there? I currently don't have a local.rules file.
$ ls /etc/udev/rules.d/
40-multipath.rules
51-packagekit-firmware.rules
60-libmtp.rules
60-pcmcia.rules
60-wacom.rules
65-md-incremental.rules
70-persistent-cd.rules
70-persistent-net.rules
85-pcscd_ccid.rules
85-pcscd_egate.rules
90-alsa.rules
90-hal.rules
91-drm-modeset.rules
97-bluetooth-serial.rules
99-fuse.rules
Thank you
Darlene Wallach
--
equal justice under law
14 years, 2 months
question regarding mounting the Seagate FreeAgent Go 1T drive
by Darlene Wallach
After I partition, format and label the Seagate FreeAgent Go 1T drive
and I'm ready to mount it is this what I should use:
mount -t fuseblk -o rw,nosuid, nodev,allow_other,blocksize=4096
/dev/sdb1 /media/<myLabel>
Should I add - uhelper=hal to the mount?
mount -t fuseblk -o rw,nosuid,
nodev,uhelper=hal,allow_other,blocksize=4096 /dev/sdb1
/media/<myLabel>
what about adding shortname=lower to the mount?
mount -t fuseblk -o rw,nosuid,
nodev,uhelper=hal,shortname=lower,allow_other,blocksize=4096 /dev/sdb1
/media/<myLabel>
Thank you for your attention, consideration, and feedback.
Darlene Wallach
--
equal justice under law
14 years, 2 months
log in through root
by Rajanish Kumar
Hi!
I have already installed Fedora 12 .I have given root password...and
finally added a user name "rajanish"
.I am log in through "rajanish"but i have not accessing throgh root...I want
to log in through root because i want to learn administrative property.
please help me to guide log in through root..
Rajanish Kumar
Fedora User
14 years, 2 months
How to remove linux partition
by RAMAKISHOREBABU KOPPULA
I have installed Windows XP in one partition and then I have installed
Fedora11 in another partition. Now I need to remove Linux partition and add
that disk space to windows partition. How to do this?
Please help me out.
Thank you.
Kishore
14 years, 2 months
Are the scripts in /etc/dhcp/dhclient.d deprecated?
by Robert Nichols
When dhclient is invoked from NetworkManager, it does not appear that the
scripts in /etc/dhcp/dhclient.d are executed. The callout to those
scripts is in /sbin/dhclient-script, but NetworkManager substitutes its
own /usr/libexec/nm-dhcp-client.action in place of dhclient-script, and
the scripts do not get invoked.
How are the functions in the dhclient.d scripts supposed to be preformed
now?
--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.
14 years, 2 months
nfs writes to server nuking client
by Colin Brace
Hi all,
I have a small LAN server running FreeBSD and a desktop with F12 installed.
Both systems have several shares available via NFS, which I mount on a
laptop, also running F12.
This setup as served me well for three or four years.
Since a certain point last fall, beginning with F11, I have been having
recurring problems writing from the laptop to the NFS shares. Although they
are mounted rw, the moment I try to copy something to a remote share (either
in Nautilus or in a terminal), my mounted shares die and Nautilus freezes
up. I try restarting NFS, killing and restarting nautilus, to no avail; my
only recourse is to reboot.
The export files on my F12 desktop and Freebsd look like this:
F12:
/media/disk1 192.168.2.0/24(rw,sync,nohide)
/media/disk2 192.168.2.0/24(rw,sync,nohide)
/media/disk3 192.168.2.0/24(rw,sync,nohide)
/media/disk4 192.168.2.0/24(rw,sync,nohide)
/media/disk5 192.168.2.0/24(rw,sync,nohide)
/media/disk6 192.168.2.0/24(rw,sync,nohide)
FreeBSD:
/usr -alldirs -network 192.168.2.0/24
/media/disk7 -network 192.168.2.0/24
/media/disk8 -network 192.168.2.0/24
These are the entries in fstab on the F12 client:
ariel:/media/disk1 /media/disk1 nfs4 defaults,auto,users,rw 0 0
ariel:/media/disk2 /media/disk2 nfs4 defaults,auto,users,rw 0 0
ariel:/media/disk3 /media/disk3 nfs4 defaults,auto,users,rw 0 0
ariel:/media/disk4 /media/disk4 nfs4 defaults,auto,users,rw 0 0
ariel:/media/disk5 /media/disk5 nfs4 defaults,auto,users,rw 0 0
ariel:/media/disk6 /media/disk6 nfs4 defaults,auto,users,rw 0 0
venus:/media/disk8 /media/disk8 nfs
rw,soft,bg,rsize=32768,wsize=32768,nfsvers=3,tcp,intr 0 0
venus:/media/disk7 /media/disk7 nfs
rw,soft,bg,rsize=32768,wsize=32768,nfsvers=3,tcp,intr 0 0
venus:/usr/home/colin /media/venus nfs
rw,soft,bg,rsize=32768,wsize=32768,nfsvers=3,tcp,intr 0 0
There is some ugly stuff in the message log; don't know what it means:
Mar 28 22:03:12 hera mountd[1516]: Caught signal 15, un-registering and
exiting.
Mar 28 22:03:12 hera kernel: nfsd: last server has exited, flushing export
cache
Mar 28 22:03:13 hera kernel: NFSD: Using /var/lib/nfs/v4recovery as the
NFSv4 state recovery directory
Mar 28 22:03:13 hera kernel: NFSD: starting 90-second grace period
Mar 28 22:03:46 hera kernel: INFO: task nautilus:2967 blocked for more than
120 seconds.
Mar 28 22:03:46 hera kernel: "echo 0 >
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Mar 28 22:03:46 hera kernel: nautilus D 000001b3 0 2967 1740
0x00000080
Mar 28 22:03:46 hera kernel: e92d1e6c 00200082 b231c8c5 000001b3 0000330d
00000000 eda10f6c 00200246
Mar 28 22:03:46 hera kernel: c0a5d6ac c0a62120 eda10f6c c0a62120 c0a62120
e92d1e5c c045b6bb 4d8238bb
Mar 28 22:03:46 hera kernel: 00000001 eb6b7c00 000001b3 eda10cc0 c2a08120
00000000 e92d1eb4 e92d1e64
Mar 28 22:03:46 hera kernel: Call Trace:
Mar 28 22:03:46 hera kernel: [<c045b6bb>] ? ktime_get_ts+0x98/0xa2
Mar 28 22:03:46 hera kernel: [<c0791937>] io_schedule+0x37/0x4e
Mar 28 22:03:46 hera kernel: [<c04a54a2>] sync_page+0x3f/0x43
Mar 28 22:03:46 hera kernel: [<c0791df6>] __wait_on_bit+0x39/0x60
Mar 28 22:03:46 hera kernel: [<c04a5463>] ? sync_page+0x0/0x43
Mar 28 22:03:46 hera kernel: [<c04a56a1>] wait_on_page_bit+0x80/0x89
Mar 28 22:03:46 hera kernel: [<c0454229>] ? wake_bit_function+0x0/0x3c
Mar 28 22:03:46 hera kernel: [<c04a5e36>]
wait_on_page_writeback_range+0x52/0xf0
Mar 28 22:03:46 hera kernel: [<c04a5ff9>]
filemap_write_and_wait_range+0x4e/0x5d
Mar 28 22:03:46 hera kernel: [<c04f6a8c>] vfs_fsync_range+0x4e/0x91
Mar 28 22:03:46 hera kernel: [<c0480795>] ? audit_syscall_entry+0x116/0x138
Mar 28 22:03:46 hera kernel: [<c04f6b46>] vfs_fsync+0x19/0x1b
Mar 28 22:03:46 hera kernel: [<c04f6b6f>] do_fsync+0x27/0x37
Mar 28 22:03:46 hera kernel: [<c04f6ba8>] sys_fsync+0x12/0x14
Mar 28 22:03:46 hera kernel: [<c040365c>] syscall_call+0x7/0xb
Mar 28 22:03:46 hera kernel: INFO: task evince-thumbnai:2978 blocked for
more than 120 seconds.
Mar 28 22:03:46 hera kernel: "echo 0 >
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
What I do notice is that when I run 'service nfs restart', "nfs services" is
always dead and never seems to restart after this point. Looking at the
init.d file, it appears exportfs is hosed in some way.
I have been tinking with the export files and Googling this problem
endlessly without finding a solution, and I am hoping someone here might
have some ideas on what is going wrong here.
Thanks.
-----
Colin Brace
Amsterdam
http://lim.nl
--
View this message in context: http://old.nabble.com/nfs-writes-to-server-nuking-client-tp28062604p28062...
Sent from the Fedora List mailing list archive at Nabble.com.
14 years, 2 months
Re: Fedora & Solaris 7
by Wade Hampton
Thanks for the help. I'll try the tcp_windows_size tomorrow
when I get back to the server. I hope that it's not a hardware
problem.
Cheers,
--
Wade Hampton
14 years, 2 months
Gnome Clock on Panel - Weather
by Jorge Fábregas
Hello everyone,
I would like to find out from where on my city the temperature shown in the
Gnome Clock applet (on Panel) is measured. Does anyone knows from what online
service does it pulls the data from?
Thanks,
Jorge
14 years, 2 months