[arch-general] KDE-unstable - kapps crash on start (konqueror, kmail, etc.)

2009-06-18 Thread David C. Rankin, J.D.,P.E.
Listmates:

On my i686 box I am experiencing crashes for many of the default 
'k'apps like 
konqueror, kmail, etc. I have provided the backtraces to kde.org. I went back 
and installed the kdemod3 kde3.5 to have access to the kde3.5 versions of the 
same apps within kde4.3. I don't know if the Arch developers are interested 
in me providing the backtraces or not. Let me know if you want them and I 
will send them in.

The remainder of kde43 is working well. Still some quirks, no doubt, 
but 
impressive.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] kde4 Tip for Desktop Effects Animation duration timings

2009-06-18 Thread David C. Rankin, J.D.,P.E.
Listmates,

When configuring many of the individual desktop effects, there is a 
field 
called Animation duration or Rotation duratio (the cube) which are the 
timing/delay (in miliseconds) for the effect transitions which is set 
to default. I have found the default to be incredibly low. Increasing 
the Default Animation to ~270 really help the appearance of the effects.

You will need to adjust this value for your hardware, etc.., but I have 
found 
~270 to work well on several boxes.


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] My D-Bus/Hal/PolicyKit Fix - Useful for Admin Users

2009-06-02 Thread David C. Rankin, J.D.,P.E.
On or about Tuesday 02 June 2009 at approximately 16:12:17 Vinzenz Vietzke 
composed:
 Isn't your approach similar to
 http://wiki.archlinux.org/index.php/HAL#Permission_Denied ? Or am I
 totally wrong?

No, you are right! That's what I read through before throwing 90% of 
the 
specific stuff mentioned there out the window in favor of the brute force 
approach.

The problem with the solutions on the page is they appear to be 
shooting at 
the moving target of the kernel/d-bus/hal/policykit standard setup. Wading 
in a bit you soon realize you can set up an infinite (almost) set of policies 
by applying different pieces of the policy at different levels of the scheme. 
Some can be applied at the hal level others at the policy kit level, etc.

I picked apart the suse scheme looking at their solution and there just 
wasn't a standard setup. You can accomplish the same thing 5 different ways 
when you add user and group memberships, the deny/allow configurations and on 
and on.

For a single user machine (my laptop in my case), I just want things to 
work 
when I plug them in. I want drives automounted and I want removables 
recognized. I don't care for the elaborate multiuser policies that may apply 
and be useful, in what? -- 5% of all installs.

So you are not totally wrong, I did make good use of the wiki, then 
politely 
threw 90% of it out ;-)


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Weird OpenOffice Disappearing Menu and Toolbar Text?

2009-06-02 Thread David C. Rankin, J.D.,P.E.
On or about Tuesday 02 June 2009 at approximately 13:54:36 David Rosenstrauch 
composed:
 David C. Rankin wrote:
  Thanks DR,
 
  I'll play around with the them and GTK/QT Style settings and see if I
  can make it work. How are you setting your KDE Control Panel -
  Appearance - GTK Styles and Fonts?

 GTK Style:  Raleigh
 GTK Fonts:  Use my KDE fonts in GTK applications

 HTH,

 DR

Well, I have the menus and combo-boxes stable now. In QT Config, I set 
the 
style to clearlooks and also to GTK+ and the disappearing text stopped. Dunno 
why the plastik style causes the problem but I have a workable solution now.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] My D-Bus/Hal/PolicyKit Fix - Useful for Admin Users

2009-06-01 Thread David C. Rankin, J.D.,P.E.
Listmates,

Since I continually fight d-bus and hal on hotplugging issues, I 
thought I 
would pass along the fix that worked for me. Since this is a full access fix, 
I decided it shouldn't be posted to the wiki. Let me know if you think 
differently or feel free to post it yourself. Here is what worked for me for 
hotplugging usb drives, etc...

  Granting Full Access to a Single User:
  
To grant access to a single user (say yourself maybe), modify the 
following 2 
files as follows. For example purposes, I am granting myself username david 
complete access to all d-bus/hal devices:

/etc/dbus-1/system.d/hal.conf:

  policy user=david
allow own=org.freedesktop.Hal/
  /policy


/etc/PolicyKit/PolicyKit.conf:

config version=0.1

match user=david
return result=yes/
/match

/config

Works fine here. Let me know if you see any real gotchas about this 
approach. 
Thanks.


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Network Shutdown Prior to umount on cifs mounts hangs shutdown

2009-05-28 Thread David C. Rankin, J.D.,P.E.
On or about Tuesday 26 May 2009 at approximately 13:10:04 Jordy van Wolferen 
composed:
 On Fri, 2009-05-22 at 03:58 -0500, David C. Rankin, J.D.,P.E. wrote:
  On or about Friday 22 May 2009 at approximately 02:12:18 Biru Ionut 
composed:
   David C. Rankin, J.D.,P.E. wrote:
Listmates,
   
I am experiencing a hang on shutdown with Arch every time I 
don't
manually unmount any samba/cifs shares before shutting down. This is
due to the shutdown sequence killing my network connection before
unmounting the samba shares. This basicly leaves all samba shares
mounted and [Busy] which frustrates the unmount filesystems call late
in the shutdown sequence.
   
Is there any way to move the network shutdown until after samba
shares are unmounted in the shutdown sequence. Or conversely, move or
add a samba/cifs shares unmount to the sequence at a time before the
network shuts down?
  
   add netfs to daemon list.
 
  Thanks Biru, will give it a go and report back.

 I made a bug report about this problem:
 http://bugs.archlinux.org/task/13622

Adding netfs to the daemon list worked like a charm. No more stuck cifs 
mounts...

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Koffice help won't work in kde3 - Any suggestions?

2009-05-28 Thread David C. Rankin, J.D.,P.E.
On or about Sunday 24 May 2009 at approximately 12:19:25 ludovic coues 
composed:
 As far as I know, Koffice has never reach the stable stage a the
 moment. Maybe cause dev have jump from RC to working on KDE4
 version.
 So I don't know if you will found any stable koffice apps for KDE3.

 Like Grigorios Bouzakis have said, I guess it's time for an upgrade to
 KDE4. I'm using it atm, and I have no trouble. I've just no kde
 graphical tools for network.
 But for someone editing his /etc/group file by hand with vim in place
 of vigr, I think it's not a problem ;-)

You are right, it is time for an upgrade (kicking and screaming) to 
kde4. I'm 
just hesitant about the time involved to write/research all the bugs related 
to disappearing widgets and plasmoids. I have had 2 prior kde 4 installs 
(4.01 on openSuSE 11.0 and 4.1 on openSuSE 11.1) both were disasters at best. 
But they were the source of some rather unique screenshots:

http://www.3111skyline.com/download/openSUSE_11.1/compizcrash-blackcube.jpg

(just think through what it took to pull that screenshot off ;-)

But with support waning for kde3 and with app development for kde3 all 
but 
extinct, the inevitable looms on the horizon. The real killer, and it is also 
the real killer for Arch on my laptop, is the lack of a fglrx driver. 
Currently with kde3 on openSuSE 11.0, I have the last good fglrx driver for 
my hardware. With the advent of xorg 7.4 in kde4, all fglrx drivers 
subsequent to Sept. 08 haven't worked on my box (Radeon X1200).

I'm writing this from Arch on my laptop with the radeonhd driver and I 
keep 
having to lift my left hand up off the palm rest to keep it from burning. (No 
shit, it's HOT) Downclocking in the radeonhd driver and remaining powerdown 
of unused portions of the gpu is getting better, but it can't compare to the 
downclocking/powerdown of the fglrx driver. With the fglrx driver, my laptop 
stays cool and it is usable. Without it, I'm going to need to glue 1/4 inch 
neoprene pad to the palm rest, or wear gloves, to be able to use it.

That is even with my gpu manually downclocked in my xorg.conf to 
roughly 30% 
of its normal clock speed (400MHz) with:

  Option   ForceLowPowerMode
  Option   LowPowerModeEngineClock 14

Enough of the rambling, I'll give kde4 a go. Last question, which is 
the best 
way to install it? kdemod or the default kde4 from the Arch repos.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] [radeonhd] [PATCH] PM patches: logic fix, feature, cleaning, memory downclocking

2009-05-28 Thread David C. Rankin, J.D.,P.E.
On or about Friday 29 May 2009 at approximately 00:01:26 Rafał Miłecki 
composed:
 2009/5/29 David C. Rankin, J.D.,P.E. drankina...@suddenlinkmail.com:
  Rafał,
 
         That's what I needed to know. I'm am not familiar with 'git' and
  the
 
  git checkout -t -b downclocking origin/master
  git am ~/archlinux/radeonhd/patches/*patch
 
  parts were the parts I knew nothing about. I'll pull the patches, apply
  and report back. Something really has to give here. The heat is
  unbearable. To get the actual temp data, I have a digital multimeter with
  a great surface temperature probe on it ( Craftsman Model No. 82400 ) and
  I took the temperature readings on the left palm rest and left fan
  discharge of my laptop with the radeonhd driver active. The results:
 
  Left Palm Rest Temp: 96 Deg. F
 
  Left Fan Discharge: 147 Deg. F
 
         The inside of this box is cooking That's with:
 
   Option       ForceLowPowerMode
   Option       LowPowerModeEngineClock 14
 
         I'll keep my fingers crossed and report back.

 Nice, tests with your multimeter would be absolutely great. You may
 also try to reduce EngineClock later. For example change it from
 14 to 12. If it doesn't cause any corruptions you can still
 try decreasing that. Don't worry about values you may use 13,
 139998, 139997, end so on.AtomBIOS will round it to something
 acceptable.

 --
 Rafał Miłecki

Rafał, (also cc'ed to archlinux list for those interested)

Here is a quick Summary of what I did:

23:54 alchemy:~/archlinux/apps/radeonhd git checkout -t -b downclocking 
origin/master
Branch downclocking set up to track remote branch master from origin.
Switched to a new branch 'downclocking'
23:55 alchemy:~/archlinux/apps/radeonhd git am patches/*patch
Applying: PM: fix broken engine clock setting logic
/home/david/archlinux/apps/radeonhd/.git/rebase-apply/patch:30: trailing 
whitespace.
   calculated engine clock at %ldHz\n,
warning: 1 line adds whitespace errors.
Applying: PM: add RHDGetDefaultMemoryClock
Applying: PM: get rid of EnableForced field
Applying: PM: add memory downclocking. Commented out for now.
/home/david/archlinux/apps/radeonhd/.git/rebase-apply/patch:28: trailing 
whitespace.
calculated memory clock at %ldHz\n,
warning: 1 line adds whitespace errors.

23:56 alchemy:~/archlinux/apps/radeonhd find . -name 'rhd_pm.c'
./src/rhd_pm.c
23:57 alchemy:~/archlinux/apps/radeonhd vi src/rhd_pm.c

#if 1
unsigned long defaultMemory = RHDGetDefaultMemoryClock(rhdPtr);
if (defaultMemory) {
Pm-ForcedMemoryClock = defaultMemory / 2;
xf86DrvMsg(rhdPtr-scrnIndex, X_INFO, ForceLowPowerMode: 
calculated memory clock at %ldHz\n,
Pm-ForcedEngineClock);
}
snip

Reboot  check /var/log/Xorg.0.log
snip
(II) RADEONHD: version 1.2.5, built from git branch downclocking, commit 
0de8b484 + changes
snip

The current log file is at:

http://www.3111skyline.com/download/linux/radeonhd/downclock/Xorg.0.log.29001734

I haven't pulled any additional temperatures for comparison because 
there 
wouldn't be that much difference, it's still HOT. Looking through the log 
file, it is quite a coincidence that the downclocking chose 14 as the 
memory clock downclock because that was exactly what I had been setting with 
the:

  Option   LowPowerModeEngineClock 14

At least we know that the patch applies OK and that it has the desired 
effect 
on the memory clock. Now if we can just figure out what else we need to power 
down to get the temps under control, we will be home free!

Thank you for your patch. As I said before, I have the perfect box for 
testing, so let me know when you have the next one ready and I'll be happy to 
test it.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] Network Shutdown Prior to umount on cifs mounts hangs shutdown

2009-05-22 Thread David C. Rankin, J.D.,P.E.
Listmates,

I am experiencing a hang on shutdown with Arch every time I don't 
manually 
unmount any samba/cifs shares before shutting down. This is due to the 
shutdown sequence killing my network connection before unmounting the samba 
shares. This basicly leaves all samba shares mounted and [Busy] which 
frustrates the unmount filesystems call late in the shutdown sequence.

Is there any way to move the network shutdown until after samba shares 
are 
unmounted in the shutdown sequence. Or conversely, move or add a samba/cifs 
shares unmount to the sequence at a time before the network shuts down?

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Network Shutdown Prior to umount on cifs mounts hangs shutdown

2009-05-22 Thread David C. Rankin, J.D.,P.E.
On or about Friday 22 May 2009 at approximately 02:12:18 Biru Ionut composed:
 David C. Rankin, J.D.,P.E. wrote:
  Listmates,
 
  I am experiencing a hang on shutdown with Arch every time I don't
  manually unmount any samba/cifs shares before shutting down. This is due
  to the shutdown sequence killing my network connection before unmounting
  the samba shares. This basicly leaves all samba shares mounted and [Busy]
  which frustrates the unmount filesystems call late in the shutdown
  sequence.
 
  Is there any way to move the network shutdown until after samba shares
  are unmounted in the shutdown sequence. Or conversely, move or add a
  samba/cifs shares unmount to the sequence at a time before the network
  shuts down?

 add netfs to daemon list.

Thanks Biru, will give it a go and report back.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] calender pgm

2009-05-22 Thread David C. Rankin, J.D.,P.E.
On or about Friday 22 May 2009 at approximately 00:01:57 Baho Utot composed:
 On Thu, 2009-05-21 at 22:56 -0500, David C. Rankin, J.D.,P.E. wrote:
  On or about Wednesday 20 May 2009 at approximately 07:20:10 pm Gerardo
 
  Exequiel Pozzi composed:
   Baho Utot wrote:
I am looking for a calander program like the one in evolution but is
a standalone or web based
   
Any Suggestions?
  
   Hi Baho
  
   Maybe this is you are searching:
   http://aur.archlinux.org/packages.php?ID=6113 [ community/sunbird ]
  
   Good Luck!
 
  For a fantastic web-based/(mysql,php,apache backend) calendar/groupware
  package, go download eGroupware (www.egroupware.org). I have used it for
  several years now and it is truly fantastic. You can then access your
  calendar, contacts, etc. from your browser or from kontact/kmail in kde.

 It's not open source I don't need it

 Thanks any way

What are you talking about??

In 2003 eGroupWare devided to an own project with the intension to continue 
development more open and community stered.

Since March 2005 eGroupWare has a constitution which guaranties freedom and 
security to the community.



-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] libdrm stuck at 2.4.9

2009-05-21 Thread David C. Rankin, J.D.,P.E.
On or about Wednesday 20 May 2009 at approximately 08:25:37 am Damjan 
Georgievski composed:
 Does anyone know why the i686 version of libdrm is stuck at version
 2.4.9 (the x86_64 is up-to-date at 2.4.11)?
 http://www.archlinux.org/packages/?q=libdrm

 I don't mind it much, since I've compiled my own package, but each
 time I try to -Syu pacman wants to downgrade to 2.4.9 and it's a bit
 annoying :)

Damjan,

I need to add this to the wiki, but for the radeonhd driver, I just got 
done 
with the process. Here is my cliff's note version:

Dependencies for building:

pacman -Sy libdrm lib32-libdrm

Get and build drm, copy new libs to proper location:

git clone git://anongit.freedesktop.org/git/mesa/drm drm
cd drm/linux-core
git checkout -b r6xx-r7xx-support origin/r6xx-r7xx-support
make radeon.o drm.o

  (*as root*)

sudo cp 
radeon.ko /lib/modules/2.6.29-ARCH/kernel/drivers/gpu/drm/radeon/radeon.ko
sudo cp drm.ko /lib/modules/2.6.29-ARCH/kernel/drivers/gpu/drm/drm.ko


Get build and install the latest radeonhd driver:

git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-radeonhd 
radeonhd/
cd radeonhd/
./autogen.sh --prefix=/usr
make

  (*as root*)

make install

(REBOOT)

**The radeon driver is notorius for leaving bits of itself in memory even 
after rmmod and modprobe..., so just reboot.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] calender pgm

2009-05-21 Thread David C. Rankin, J.D.,P.E.
On or about Wednesday 20 May 2009 at approximately 07:20:10 pm Gerardo 
Exequiel Pozzi composed:
 Baho Utot wrote:
  I am looking for a calander program like the one in evolution but is a
  standalone or web based
 
  Any Suggestions?

 Hi Baho

 Maybe this is you are searching:
 http://aur.archlinux.org/packages.php?ID=6113 [ community/sunbird ]

 Good Luck!

For a fantastic web-based/(mysql,php,apache backend) calendar/groupware 
package, go download eGroupware (www.egroupware.org). I have used it for 
several years now and it is truly fantastic. You can then access your 
calendar, contacts, etc. from your browser or from kontact/kmail in kde.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Koffice help won't work in kde3 - Any suggestions?

2009-05-20 Thread David C. Rankin, J.D.,P.E.
On or about Tuesday 19 May 2009 at approximately 02:59:02 Jan de Groot 
composed:
 On Tue, 2009-05-19 at 02:51 -0500, David C. Rankin, J.D.,P.E. wrote:
  Yes, that is the total 22 byte contents that crashed kmail. And this
  is a RC
  release???

 http://bugs.archlinux.org/task/14698

 I think that says all. KOffice 2.0RC isn't a release candidate, and 2.0
 isn't a stable usable release.

Yes, I saw that, but the latest version is a Release Candidate 1

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] hal has lost its mind again.

2009-05-20 Thread David C. Rankin, J.D.,P.E.
On or about Tuesday 19 May 2009 at approximately 03:33:03 bardo composed:
 2009/5/18 David C. Rankin, J.D.,P.E. drankina...@suddenlinkmail.com:
                 match group=users
                         return result=yes/
                 /match

 I think this may be your problem. I searched some time ago and found
 out PolicyKit didn't support group matches. A quick look to the
 PolicyKit.conf(5) man page seems to confirm this is still the case.
 Now, I don't know if an invalid entry could invalidate the whole
 config, but it's worth a try.

 Corrado

Corrado,

   You and I may be saying the same thing for two different circumstances. 
Admin_auth certainly allows both user and group auths for actions (man 5 
PolicyKit.conf):

define_admin_auth


 This element is used to specify the meaning of authenticate as 
administrator. It is normally used at the top-level but can also be used 
deep inside a number of match elements for conditional behavior. 

 There can only be a single attribute in each define_admin_auth element. POSIX 
Extended Regular Expression syntax is not supported in the value part, 
however multiple values to match on can be separated with the bar (|) 
character. The following attributes are supported: 

 user 
 Administrator authentication means authenticate as the given user(s). If no 
define_admin_auth element is given, the default is to use user=root e.g. 
administrator authentication mean authenticate as the super user. 


 group 
 Administrator authentication means that any user in the groups matching the 
given value can be used to authenticate. Typically, on a system with the root 
account disabled one wants to use something like group=wheel to e.g. enable 
all UNIX users in the UNIX group wheel to be able to authentication whenever 
administrator authentication is required.

/quote

The strange thing is that I can specify myself or the wheel group as an 
admin 
with auth privileges and policy kit still doesn't allow access. I haven't had 
time to play with it anymore yet after DR sent his config over, but I'll let 
you know.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Building local repo - eliminating dups - why some new x86_64?

2009-05-20 Thread David C. Rankin, J.D.,P.E.
On or about Tuesday 19 May 2009 at approximately 08:14:13 Andrei Thorp 
composed:
 Hey,

 We see people trying to make an Arch repo mirror to save themselves
 bandwidth. I think that doesn't really make too much sense. Instead,
 it seems much better to implement a download proxy. The way this works
 is that all traffic is routed through a computer which backs up stuff
 that passes through it. When a computer on the network asks for a file
 that's been downloaded previously, there is no need to go into the
 Internet.

 That seems like a great thing to use for Arch packages, as well as a
 lot of stuff really. Think about how much faster some websites and
 stuff can load if you already have all the common images downloaded to
 your LAN.

 Here's a link.

 http://www.squid-cache.org/

 -AT

 (Man.. I really want to set up a Linux router box...)

Now that looks like a clever solution. Which is what I am essentially trying 
to do, but without the proxy mechanism serving the files. I have several 
servers, one is my 1st Arch box x86_64 and my laptop which is x86_64. The 
present main server is an older openSuSE box. What I was wanting to do was to 
update the Arch server, then move the cache to /home/backup/archlinux, share 
that dir either by http, ftp, or both. Then it seemed like a simple thing 
just to point my laptop to the /home/backup/archlinux dir on the server, edit 
pacman.conf and put the update the server line at the top and then pull 
updates to my laptop from the other archbox.


The only issue I encountered in the thought process was handling multiple 
versions on the server which was solved with a bit of bash scripting. It 
squid was involved, then wouldn't the Which duplicate problem still apply 
from the proxy??

 

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] :: Starting acpid -- acpid: can't open /proc/acpi/event: Device or resource busy

2009-05-20 Thread David C. Rankin, J.D.,P.E.
Listmates,

I am chasing down an issue with the radeonhd driver to force 
downclocking of 
the gpu. In my Xog.0.log I am receiving the message:

(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)

I have installed acpid, but acpid will not start and gives the 
following 
error:

[10:24 alchemy:/home/david] # /etc/rc.d/acpid start
:: Starting acpid [BUSY] 
acpid: can't open /proc/acpi/event: Device or resource busy
  [FAIL]

What's the trick with acpid?


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] Building local repo - eliminating dups - why some new x86_64?

2009-05-19 Thread David C. Rankin, J.D.,P.E.
Listmates,

I'm building a local repo for boxes to update via the lan instead of 
redownloading. I have my repo on my local server as:

arch/
x86/
x86_64/

I have moved all files for my two x86_64 boxes to the arch/x86_64 dir 
and I 
am filtering with a script to eliminate dups by moving the lesser numbered 
packages to arch/x86_64/oldpkgs. Testing the script before the actual move of 
packages, I ran across this anomaly in some filenames: (script output) [1]

snip


ttf-isabella-1.003-3.pkg.tar.gz - oldpkgs
ttf-isabella-1.003-4-x86_64.pkg.tar.gz

tunepimp-0.5.3-5.pkg.tar.gz - oldpkgs
tunepimp-0.5.3-6-x86_64.pkg.tar.gz

tzdata-2009f-1-x86_64.pkg.tar.gz - oldpkgs
tzdata-2009g-1-x86_64.pkg.tar.gz

unrar-3.8.5-2-x86_64.pkg.tar.gz - oldpkgs
unrar-3.9.1-1-x86_64.pkg.tar.gz

snip

As shown above, there are multiple packages where the earlier version 
did 
*not* contain the x86_64 designation where the current package now does. Are 
these the same packages? If so why did earlier packages not have the x86_64 
and when was the architecture added? Are all packages now going to have the 
architecture specified?

Footnotes:

[1] Filtering done by a simple look ahead and the output created as follows:

PKGFILES=( $(ls -1 /home/backup/archlinux/x86_64) )
for ((i=0;i${#pkgfil...@]}-1;i++)); do
if [[ ${PKGFILES[$i]%%-[[:digit:]]*} == 
${PKGFILES[$i+1]%%-[[:digit:]]*} ]]; 
then
echo -e ${PKGFILES[$i]} - oldpkgs\n${PKGFILES[$i+1]}\n
fi

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] Koffice help won't work in kde3 - Any suggestions?

2009-05-19 Thread David C. Rankin, J.D.,P.E.
Listmates,

I installed koffice and attempted to open an openoffice (.odt) document 
and 
kword crashed immediately. Next I opened kword again to read through the help 
file and any notes, and the help doesn't seem to work either:

http://www.3111skyline.com/download/Archlinux/bugs/koffice.jpg

The backtrace for the kword crash is:

http://www.3111skyline.com/download/Archlinux/bugs/kword.kcrash

Is there a work-around that will let me get the help file working? It 
looks 
to be a kde3 desktop/kde4 runtime issue. Any help appreciated.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Koffice help won't work in kde3 - Any suggestions?

2009-05-19 Thread David C. Rankin, J.D.,P.E.
On or about Tuesday 19 May 2009 at approximately 02:42:40 David C. Rankin, 
J.D.,P.E. composed:
 Listmates,

   I installed koffice and attempted to open an openoffice (.odt) document
 and kword crashed immediately. Next I opened kword again to read through
 the help file and any notes, and the help doesn't seem to work either:

 http://www.3111skyline.com/download/Archlinux/bugs/koffice.jpg

   The backtrace for the kword crash is:

 http://www.3111skyline.com/download/Archlinux/bugs/kword.kcrash

   Is there a work-around that will let me get the help file working? It
 looks to be a kde3 desktop/kde4 runtime issue. Any help appreciated.

OOOH,

This is much worse than I thought. kword will not even open a text file 
without crashing. Where does this bug go? Arch, kdemod or kde?. I seems like 
it should go to Arch because there is something wildly incompatible between 
the koffice build and kde3. Here is the additional kcrash backtract from 
trying to open the text file if that will help sort out where the bug should 
go. Thanks.

Also, here is the *contents* of the 1-line txt file kword crashed 
trying to 
open:

2008-03-08a-MERGED.txt

Yes, that is the total 22 byte contents that crashed kmail. And this is a RC 
release???

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Building local repo - eliminating dups - why some new x86_64?

2009-05-19 Thread David C. Rankin, J.D.,P.E.
On or about Tuesday 19 May 2009 at approximately 01:31:46 Allan McRae 
composed:
snip

 You might want to look into this: http://xyne.archlinux.ca/info/pkgd
 
  snip
 

 Pre pacman-3.0 (I think), the architecture was not included in the file
 name.  Anything in the [community] repo still will not have the
 architecture name as the [community] repo scripts do not handle it yet.

 Allan

Allan,

Thanks, at least I know I didn't mix apples and oranges. Thanks for the 
link 
as well.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Koffice help won't work in kde3 - Any suggestions?

2009-05-19 Thread David C. Rankin, J.D.,P.E.
On or about Tuesday 19 May 2009 at approximately 02:51:09 David C. Rankin, 
J.D.,P.E. composed:

 OOOH,

   This is much worse than I thought. kword will not even open a text file
 without crashing. Where does this bug go? Arch, kdemod or kde?. I seems
 like it should go to Arch because there is something wildly incompatible
 between the koffice build and kde3. Here is the additional kcrash backtract
 from trying to open the text file if that will help sort out where the bug
 should go. Thanks.

   Also, here is the *contents* of the 1-line txt file kword crashed trying
 to open:

   2008-03-08a-MERGED.txt

 Yes, that is the total 22 byte contents that crashed kmail. And this is a
 RC release???

Testing on kspread, kpresent and karbon14 went much better. Ironically, 
kspread had no problem with the text file that cratered kword. However, there 
is another wicked little issue with those apps. For some reason they each 
cause flashes and screen artifacts with my laptop and radeonhd driver. I have 
been using my laptop near continually for several weeks with arch and the 
radeonhd driver and the screen/display was never a freaky (for lack of better 
words) as it was with the koffice apps open. I have closed them to compose 
this messagee and all is well again.

Reality rears its ugly head:

KDE3 + KDE4 Runtime Apps = Nothing but trouble


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] kde dark themes

2009-05-19 Thread David C. Rankin, J.D.,P.E.
kdeusers,

If you haven't tried a dark theme for your kde desktop yet, you are 
missing 
out on some really cool looks. I toyed with dark themes over the years, but 
never really found one that worked. After being inspired to try again by 
senior Rosenstrauch posted one to the list, I took another look and came up 
with something I really like.

It consists of color-themes for kde, emerald, and kate/kwrite. Other 
than 
that you just need to change the foreground color for konqueror and any of 
your web browsers, etc. I'll just post the links to the themes since you 
can't post it all here. Give it a shot, I bet you will like it.

Small screenshots of the desktop theme and kicker background:

http://www.3111skyline.com/download/Archlinux/kde/screenshots/kde-dark-theme.jpg

http://www.3111skyline.com/download/Archlinux/kde/screenshots/kickersteel.jpg

kde color-schemes (import under kde control center - colors):

http://www.3111skyline.com/download/Archlinux/kde/color-themes/dcr-Blue.kcsrc

emerald theme for compiz (import in emerald theme manager):

http://www.3111skyline.com/download/Archlinux/emerald/dcr%20Dark%20Blue-Gray.emerald

kate/kwrite/quanta color scheme (put in ~/.kde/share/config):

http://www.3111skyline.com/download/Archlinux/kde/kateschemarc

A kicker background (kde control center - Desktop - Panel - 
Appearance):

http://www.3111skyline.com/download/Archlinux/kde/kicker/kickersteelarch2.png

There are a few alternate themes and backgrounds in the above directories, 
so you can pick and choose if you like.

And DR, since you started this whole thing, and I appreciate it, if you 
notice the R icon on my kicker panel that is set atop flames, I've put two 
sizes on the server (40x40 and 140x140) just in case you have a use for 
them ;-) See:

http://www.3111skyline.com/download/Archlinux/kde/icons/



-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] Howto create initial xorg.conf for intel 915?

2009-05-18 Thread David C. Rankin, J.D.,P.E.
Listmates:

I have been throught http://wiki.archlinux.org/index.php/Intel_Graphics, and 
even added the section on howto calculate your VideoRam value, but I didn't 
find anything about generating an initial xorg.conf for the intel card.

Currently I have no xorg.conf and things are working, but not as fast as they 
could. I would like to configure the card to use UXA accell, but I need an 
xorg.conf to tweak. Anybody know a quick way to create one?

Thanks.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] hal has lost its mind again.

2009-05-18 Thread David C. Rankin, J.D.,P.E.
On or about Sunday 17 May 2009 at approximately 03:51:10 David C. Rankin, 
   Another interesting note. When I inserted the card, there was no entry
 created in /media. Now 10 minutes later after I have been copying the
 photos, etc., the mount of /dev/mmcblk0p1 has *appeared* mounted on
 /media/disk? Huh?

   I can't tell you when it appeared, but I can tell you that for at least
 4-5 minutes. So why the initial error and why the magical appearance after
 the error telling me it wasn't going to be mounted? What to check for more
 info?

Here is the deal,

When I stick the card in, as my normal user I can't access the device 
shown 
under Services Storage Media and there is no disk entry in /media.

If I start konqueror running as root and then access Services 
Storage 
Media and the SD card (/dev/mmcblk0p1 in this case), Presto the device 
automatically appears as disk under /media and then I *can* access it (rw) 
as my normal user. What gives? What permissions are stuck?

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Howto create initial xorg.conf for intel 915?

2009-05-18 Thread David C. Rankin, J.D.,P.E.
On or about Monday 18 May 2009 at approximately 05:06:28 Jan de Groot 
composed:
 On Mon, 2009-05-18 at 04:51 -0500, David C. Rankin, J.D.,P.E. wrote:
  Listmates:
 
  I have been throught http://wiki.archlinux.org/index.php/Intel_Graphics,
  and even added the section on howto calculate your VideoRam value, but I
  didn't find anything about generating an initial xorg.conf for the intel
  card.
 
  Currently I have no xorg.conf and things are working, but not as fast as
  they could. I would like to configure the card to use UXA accell, but I
  need an xorg.conf to tweak. Anybody know a quick way to create one?
 
  Thanks.

 Xorg -configure
 Then move /root/xorg.conf.new to /etc/X11/xorg.conf and add:
 Option AccelMethod UXA
 To the section of your videocard.

 No need to set other things like videoram, etc.

Jan, Leeyee

Thank you both. That's just what I needed.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Howto create initial xorg.conf for intel 915?

2009-05-18 Thread David C. Rankin, J.D.,P.E.
On or about Monday 18 May 2009 at approximately 05:00:48 李业 composed:
 Without xorg.conf, UXA of intel card would work defaultly. In my case
 it's all going fine~ You can check Xorg.log.0 in /var/log/.

 BTW, I'm using intel X4500 MHD.

Hmm, Leeyee,

On this dell box with a 915G, the default w/o and xorg.conf and tweaks 
is EXA 
Accell:

(II) intel(0): Integrated Graphics Chipset: Intel(R) 915G
(--) intel(0): Chipset: 915G
(--) intel(0): Linear framebuffer at 0xC000
(--) intel(0): IO registers at addr 0xDFF0
(WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
(==) intel(0): Using EXA for acceleration

So it looks like I will need the xorg.conf after all. Thanks for your 
help in 
pointing me in the right direction.



-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] hal has lost its mind again.

2009-05-18 Thread David C. Rankin, J.D.,P.E.
On or about Monday 18 May 2009 at approximately 05:27:02 Alessandro Doro 
composed:
 On Mon, May 18, 2009 at 05:05:09AM -0500, David C. Rankin, J.D.,P.E. wrote:
  When I stick the card in, as my normal user I can't access the device
  shown under Services Storage Media and there is no disk entry in
  /media.

 I usually have to refresh the window (F5) to make removable devices
 appear in system:/media inside kdemod3 konqueror, regardless of the
 hal/policykit mount problems.

Alessandro,

Thanks. But in this case with kdemod3 the card shows up in 
system:/media (or 
what I've been calling media:/ [not /media]) my card appears instantly and 
disappears as soon as I remove it. So I dunno, there is something else going 
on here. I'll find it, but if anyone else has a clue, please pass it along.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] error dumped to terminal: kdeinit4: ... /usr/bin/kbuildsycoca4 on kdemod3?

2009-05-18 Thread David C. Rankin, J.D.,P.E.
Listmates,

Here is a curious one. I am getting KDE4 errors dumped back to the 
screen on 
my KDE3 (kdemod3) screen hours after kdiff3 was run from the terminal? Here 
is what is getting dumped back to my terminal through stderr on my x86_64 
install:

kdeinit4: preparing to launch /usr/bin/kbuildsycoca4
  
kbuildsycoca4 running...

  
kbuildsycoca4(25149)/kdecore (KService) KServicePrivate::init: The desktop 
entry file  /usr/share/applications/kde4/koffice.desktop  has 
Type= Application  but no Exec line

   
kbuildsycoca4(25149)/kdecore (KService) KBuildServiceFactory::createEntry: 
Invalid Service :  /usr/share/applications/kde4/koffice.desktop
kbuildsycoca4(25149) KConfigGroup::readXdgListEntry: List entry Categories 
in /usr/share/applications/opera.desktop is not compliant with XDG standard 
(missing trailing semicolon).

   
kbuildsycoca4(25149)/kdecore (KService) KServicePrivate::init: The desktop 
entry file  /usr/share/applications/scribus.desktop  has 
Type= Application  but no Exec line

   kbuildsycoca4(25149)/kdecore 
(KService) KBuildServiceFactory::createEntry: Invalid 
Service :  /usr/share/applications/scribus.desktop

Anybody ever seen something like this before. It looks like it will be 
a 
kdemod issue related to the fact that kdiff3 was built against the kde4 
runtime, but I thought I would ask hear to see if anyone else has seen 
something like this before? I have a bug open with kdemod:

http://www.chakra-project.org/bugs/showreport.php?bugid=271

where additional details can be found. The times associated with running 
kdiff3 and then the above error messages have me confused. Specifically I ran 
kdiff3 and got the following output on stdout at 2:12 am:

02:12 alchemy:~/tmp/cursor/xcursorgen-1.0.2/mycursors kdiff3
QFSFileEngine::open: No file name specified
kdeinit4: preparing to launch /usr/lib/kde4/libexec/klauncher
kdeinit4: preparing to launch /usr/bin/kded4
kdeinit4: preparing to launch /usr/bin/kbuildsycoca4
kbuildsycoca4 running...
kbuildsycoca4(16647) KConfigGroup::readXdgListEntry: List entry MimeType 
in /opt/kde/share/applications/kde/k3b.desktop is not compliant with XDG 
standard (missing trailing semicolon).
kbuildsycoca4(16647) KConfigGroup::readXdgListEntry: List entry MimeType 
in /opt/kde/share/applications/kde/filelight.desktop is not compliant with 
XDG standard (missing trailing semicolon).
snip

Then hours later, I received the stderr messages:

[05:15 archangel:~/tmp] # kdeinit4: preparing to 
launch /usr/lib/kde4/libexec/kconf_update

  
kdeinit4: preparing to launch /usr/bin/kbuildsycoca4
  kbuildsycoca4 running...
  kbuildsycoca4
(21983)/kdecore (KService) KServicePrivate::init: The desktop entry 
file  /usr/share/applications/kde4/koffice.desktop  has Type= Application  
but no Exec line
snip

[09:05 archangel:~/tmp] # kdeinit4: preparing to launch /usr/bin/kbuildsycoca4
  
kbuildsycoca4 running...

  
kbuildsycoca4(25149)/kdecore (KService) KServicePrivate::init: The desktop 
entry file  /usr/share/applications/kde4/koffice.desktop  has 
Type= Application  but no Exec line

Now I'm not trying to run kdeinit4, that just what is coming back 
trough 
stderr and my prompt just happens to have a timestamp in it to help gage 
time.

Is there anything I can do with kdiff3 to prevent the call to kdeinit4?


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] hal has lost its mind again.

2009-05-18 Thread David C. Rankin, J.D.,P.E.
On or about Monday 18 May 2009 at approximately 09:48:00 David Rosenstrauch 
composed:
 David C. Rankin, J.D.,P.E. wrote:
  On or about Sunday 17 May 2009 at approximately 03:51:10 David C. Rankin,
 
 Another interesting note. When I inserted the card, there was no entry
  created in /media. Now 10 minutes later after I have been copying the
  photos, etc., the mount of /dev/mmcblk0p1 has *appeared* mounted on
  /media/disk? Huh?
 
 I can't tell you when it appeared, but I can tell you that for at least
  4-5 minutes. So why the initial error and why the magical appearance
  after the error telling me it wasn't going to be mounted? What to check
  for more info?
 
  Here is the deal,
 
  When I stick the card in, as my normal user I can't access the device
  shown under Services Storage Media and there is no disk entry in
  /media.
 
  If I start konqueror running as root and then access Services Storage
  Media and the SD card (/dev/mmcblk0p1 in this case), Presto the device
  automatically appears as disk under /media and then I *can* access it
  (rw) as my normal user. What gives? What permissions are stuck?

 Short answer:

 Use this for your /etc/PolicyKit/PolicyKit.conf:

 ?xml version=1.0 encoding=UTF-8? !-- -*- XML -*- --

 !DOCTYPE pkconfig PUBLIC -//freedesktop//DTD PolicyKit Configuration
 1.0//EN
 http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd;

 !-- See the manual page PolicyKit.conf(5) for file format --

 config version=0.1
 !--
  define_admin_auth group=wheel/
 --
  match action=org.freedesktop.hal.storage.mount-removable
  return result=yes/
  /match
 !--
  match action=org.freedesktop.hal.storage.eject-removable
  return result=yes/
  /match
 --
 /config


 Long answer:

 See:  http://bbs.archlinux.org/viewtopic.php?pid=542472


 I have to say, I'm not very fond of this new console-kit/policy-kit
 stuff being the default in hal now.  I far prefer the simplicity of
 standard unix groups and permissions.

 DR

DR, thanks!

I guess I'll like Policy Kit once I make friends with it, but it sure was 
a whole lot easier just issuing the 'mount /dev/whatever /media/whatever' 
command. It looks like I just didn't have enough in PolicyKit.conf. I had the 
following:

?xml version=1.0 encoding=UTF-8? !-- -*- XML -*- --

!DOCTYPE pkconfig PUBLIC -//freedesktop//DTD PolicyKit Configuration 
1.0//EN
http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd;

!-- See the manual page PolicyKit.conf(5) for file format --

config version=0.1

define_admin_auth group=wheel/

match action=org.freedesktop.hal.storage.mount-removable
match group=users
return result=yes/
/match
/match

match user=david
return result=yes/
/match

match user=david
!-- replace with your login or delete the line if you want to allow 
all users to manipulate devices (keep security issues in mind though) --
match action=org.freedesktop.hal.storage.*
return result=yes/
/match
match action=hal-storage-mount-fixed-extra-options
!-- for internal devices mounted with extra options like a 
wished mount point --
return result=yes /
/match
match action=hal-storage-mount-removable-extra-options
!-- for external devices mounted with extra options like a 
wished mount point --
return result=yes /
/match
/match !-- don't forget to delete this line if you deleted the 
first one --


/config


Why in the heck the following wasn't good enough escapes me at present:

define_admin_auth group=wheel/

match user=david
return result=yes/
/match

That's says let *me* do anything with anything (twice I might add). I guess in 
addition to giving yourself global authorization you also have to give 
yourself specific authorization as well.

Also, why do you have .eject-removable commented out?

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] hal has lost its mind again.

2009-05-18 Thread David C. Rankin, J.D.,P.E.
On or about Monday 18 May 2009 at approximately 09:48:00 David Rosenstrauch 
composed:
          match action=org.freedesktop.hal.storage.mount-removable
                  return result=yes/
          /match
 !--
          match action=org.freedesktop.hal.storage.eject-removable
                  return result=yes/
          /match
 --

AAARRRGGHH!

Still no joy:

org.freedesktop.hal.storage.mount-removable no -- (action, result)

(yes, I restarted hal ;-)

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] hal has lost its mind again.

2009-05-18 Thread David C. Rankin, J.D.,P.E.
On or about Monday 18 May 2009 at approximately 09:48:00 David Rosenstrauch 
composed:
          match action=org.freedesktop.hal.storage.mount-removable
                  return result=yes/
          /match
 !--
          match action=org.freedesktop.hal.storage.eject-removable
                  return result=yes/
          /match
 --

What I don't get is this (from PolicyKit(5)):

   ALLOW EVERYTHING
   The users davidz and bateman are allowed to do any action:

   match user=davidz|bateman
 return result=yes/
   /match

I have:

   match user=david
 return result=yes/
   /match

I'm david, so what in the heck is the problem :-(

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] hal has lost its mind again.

2009-05-18 Thread David C. Rankin, J.D.,P.E.
On or about Monday 18 May 2009 at approximately 12:42:41 David Rosenstrauch 
composed:


 BTW, maybe it's not sufficient to restart hal, since theis isn't
 technically a HAL file, but rather a policy kit file.  So I'd suggest
 logging out and then in again after the change.

 HTH,

 DR

Well,

I guess that would be yet another bug in PolicyKit. Per the 
PolicyKit.conf 
man page:

quote

Changes to this configuration file are immediately propagated to running 
processes using the PolicyKit library. If the configuration file is invalid, 
processes using this library will log this fact to the system logger and the 
library will only only return no as the answer to processes using it. 

/quote

Of all the changes I've made, no errors logged so it should be happily 
propagating, ... or fornicating, ... or whatever PolicyKit does to my 
system  ;-)

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] AARG! kinit: cannot open dev(8,7) kernel panic

2009-05-17 Thread David C. Rankin, J.D.,P.E.
On or about Saturday 16 May 2009 at approximately 20:28:49 David C. Rankin, 
J.D.,P.E. composed:
 On or about Saturday 16 May 2009 at approximately 20:13:11 pyther composed:
  Try replacing the disk-by-uuid stuff with direct paths to the device
  nodes (ex. /dev/sda2, etc). If you can get this to work then start
  switching back to disk-by-uuid.
 
  ~pyther

 Hmm,

   I'll give it a go and report back. My fingers are getting sore from all
 the mount and chroot typing though ;-)

Ok,

After switching /boot/grub/menu.lst and /etc/fstab from disk/by-uuid 
labels 
to the standard /dev/sda# labels everything boots and runs fine. Now the 
question of why the by-uuid labels did not work? I updated the uuid lables in 
each file with the right value from /dev/disk/by-uuid using strick copy and 
paste to eliminate typos and then verified 3 times, they were right.

I guess I'll go back and substitute uuid labels one-by-one and see 
where it 
fails. My luck, it will work this time. If I find a failure, then we will 
have narrowed the error down.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] hal has lost its mind again.

2009-05-17 Thread David C. Rankin, J.D.,P.E.
Listmates,

On my laptop, automounting of usb drives and mmc/sd cards were working 
fine, 
now I get the ...mount.removable no -- (action, result) Full error dialog:

http://www.3111skyline.com/download/Archlinux/bugs/hal-mount.removable.jpg

The system configures the drives or cards just fine, it just will not 
create 
the directory under /media to allow access. It is really ironic because the 
drives/cards are fully accessible under media:/. So, nothing in /media, 
but OK in media:/.

I am concerned that changes made 
in /etc/hal/fdi/policy/20-ntfs-config-write-policy.fdi to allow NTFS mounts 
messed something else up. The file contains:

deviceinfo version=0.2
device
match key=volume.fstype string=ntfs
match key=@block.storage_device:storage.hotpluggable 
bool=true
merge key=volume.fstype 
type=stringntfs-3g/merge
merge key=volume.policy.mount_filesystem 
type=stringntfs-3g/merge
/match
/match
/device
/deviceinfo

which is straight from the wiki. The everything log contains the 
following:

May 17 02:50:23 alchemy kernel: tifm_core: MMC/SD card detected in socket 0:1
May 17 02:50:23 alchemy kernel: mmc1: new SD card at address e624
May 17 02:50:23 alchemy kernel: isa bounce pool size: 16 pages
May 17 02:50:23 alchemy kernel: mmcblk0: mmc1:e624 SD02G 1.89 GiB 
May 17 02:50:23 alchemy kernel: mmcblk0: p1
May 17 02:55:20 alchemy hald: mounted /dev/mmcblk0p1 on behalf of uid 0
May 17 03:06:54 alchemy kernel: ACPI: EC: missing confirmations, switch off 
interrupt mode.

I don't know if the ACPI kernel message is evidence of the problem, but 
I 
included it just in case. I am slowly trying to make friends with hal/dbus, 
but I could use any help you can give in sorting this out. Thanks.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] hal has lost its mind again.

2009-05-17 Thread David C. Rankin, J.D.,P.E.
On or about Sunday 17 May 2009 at approximately 03:16:26 David C. Rankin, 
J.D.,P.E. composed:
 Listmates,

   On my laptop, automounting of usb drives and mmc/sd cards were working
 fine, now I get the ...mount.removable no -- (action, result) Full error
 dialog:

 http://www.3111skyline.com/download/Archlinux/bugs/hal-mount.removable.jpg

   The system configures the drives or cards just fine, it just will not
 create the directory under /media to allow access. It is really ironic
 because the drives/cards are fully accessible under media:/. So, nothing
 in /media, but OK in media:/.

   I am concerned that changes made
 in /etc/hal/fdi/policy/20-ntfs-config-write-policy.fdi to allow NTFS mounts
 messed something else up. The file contains:

 deviceinfo version=0.2
   device
   match key=volume.fstype string=ntfs
   match key=@block.storage_device:storage.hotpluggable 
 bool=true
   merge key=volume.fstype 
 type=stringntfs-3g/merge
   merge key=volume.policy.mount_filesystem
 type=stringntfs-3g/merge /match
   /match
   /device
 /deviceinfo

   which is straight from the wiki. The everything log contains the
 following:

 May 17 02:50:23 alchemy kernel: tifm_core: MMC/SD card detected in socket
 0:1 May 17 02:50:23 alchemy kernel: mmc1: new SD card at address e624
 May 17 02:50:23 alchemy kernel: isa bounce pool size: 16 pages
 May 17 02:50:23 alchemy kernel: mmcblk0: mmc1:e624 SD02G 1.89 GiB
 May 17 02:50:23 alchemy kernel: mmcblk0: p1
 May 17 02:55:20 alchemy hald: mounted /dev/mmcblk0p1 on behalf of uid 0
 May 17 03:06:54 alchemy kernel: ACPI: EC: missing confirmations, switch off
 interrupt mode.

   I don't know if the ACPI kernel message is evidence of the problem, but 
 I
 included it just in case. I am slowly trying to make friends with hal/dbus,
 but I could use any help you can give in sorting this out. Thanks.

Another interesting note. When I inserted the card, there was no entry 
created in /media. Now 10 minutes later after I have been copying the photos, 
etc., the mount of /dev/mmcblk0p1 has *appeared* mounted on /media/disk? Huh?

I can't tell you when it appeared, but I can tell you that for at least 
4-5 
minutes. So why the initial error and why the magical appearance after the 
error telling me it wasn't going to be mounted? What to check for more info?

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] gparted dependency failure `GLIBCXX_3.4.11' not found

2009-05-16 Thread David C. Rankin, J.D.,P.E.
Listmates,

Attempting to run gparted from the local drive (after installing all 
listed 
optional dependencies of gparted) to resize a partition on a usb drive 
disclosed a dependency failure:

[09:33 supersff:/home/david/linux/partition-copy] # gparted
/usr/sbin/gpartedbin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not 
found (required by /usr/sbin/gpartedbin)

Hmm should this be reported as a bug or chocked up to stupidity on my 
part?

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] System Upgrade - networkmanager conflicts with libnetworkmanager

2009-05-16 Thread David C. Rankin, J.D.,P.E.
On or about Saturday 16 May 2009 at approximately 04:22:56 Biru Ionut 
composed:
 Grigorios Bouzakis wrote:
  I dont know where you installed libnetworkmanager from, if it was in
  extra and got replaced but i'd go with networkmanager
  See the replaces  conflicts lines here:
  http://repos.archlinux.org/viewvc.cgi/networkmanager/repos/extra-i686/PKG
 BUILD?view=markup

 the previous version has split

Allan, Grigorios, Biru

Thanks! That's what I needed.


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] gparted dependency failure `GLIBCXX_3.4.11' not found

2009-05-16 Thread David C. Rankin, J.D.,P.E.
On or about Saturday 16 May 2009 at approximately 09:38:18 Allan McRae 
composed:
 David C. Rankin, J.D.,P.E. wrote:
  Listmates,
 
  Attempting to run gparted from the local drive (after installing all
  listed optional dependencies of gparted) to resize a partition on a usb
  drive disclosed a dependency failure:
 
  [09:33 supersff:/home/david/linux/partition-copy] # gparted
  /usr/sbin/gpartedbin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11'
  not found (required by /usr/sbin/gpartedbin)
 
  Hmm should this be reported as a bug or chocked up to stupidity on my
  part?

 It sounds like the was built with gcc-4.4 and your system is not fully
 up-to-date.

 Allan

407M update running now, I'll report back, thanks Allan!

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Setting up print to postscript in openoffice 3

2009-05-16 Thread David C. Rankin, J.D.,P.E.
On or about Friday 15 May 2009 at approximately 23:42:07 Allan McRae composed:


 It would be good to add tips like these to the wiki.  They are likely to
 get lost if only posted to the mailing list.

 Allan

Done,

See:

http://wiki.archlinux.org/index.php/CUPS#Print_to_Postscript_--_A_CUPS-PDF_Virtual_Printer_Trick

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] AARG! kinit: cannot open dev(8,7) kernel panic

2009-05-16 Thread David C. Rankin, J.D.,P.E.
Listmates,

I am in a fist-fight with grub again most likely due to 
/dev/disk/by-uuid and 
I'm losing the battle.

First, the situation. I'm moving and resizing partitions from an 80G 
drive to 
a 500G drive. No issues there. The partitions setup is:

/dev/sda1   WinXP
/dev/sda2   Extended
/dev/sda5   /home
/dev/sda6   /
/dev/sda7   swap
/dev/sda8   /boot

After moving and resizing the partitions windows boot fine and Arch 
boots 
until it gets to kinit and then throws a kernel panic. I have updated the 
disk/by-uuid labels in /boot/grub/menu.lst and in /etc/fstab, but still the 
kinit error.

As far as my grub install goes, the system boot to the grub menu and it 
is 
reading /boot/grub/menu.lst because I can boot XP from the grub menu, but not 
boot Arch.

Gurus... What to check? Throw a brother a bone Where else is the 
disk 
by-uuid stuff hidden?


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Bugs again

2009-05-16 Thread David C. Rankin, J.D.,P.E.
On or about Friday 15 May 2009 at approximately 05:15:15 Jon Kristian Nilsen 
composed:
 This discussion never seems to get old.

snip

 Thirdly:
 Why are users encouraged to report to the ML and the forums beforehand? I
 don't see any practical reason in having several bit's and pieces of
 information spread around. A bugtracker should be used for that, it's
 possible to post comments in it, isn't it?
 Having one clear system for users to post bugs will help gain population
 and give encouragement, if a user have to go through several different
 organs for something like this, the majority of users will most likely not
 do it. - Sad to say, but it IS the truth.

snip

 Sorry for spamming.

 -J


From my experience, the flow has always been two-tiered:

(1) If you know enough to know it is a bug - report it to tracker

(2) If you don't know enough to know its a bug (newer user/unsure about the 
area of the system) - post it to the list to confirm the bug or for further 
information that will allow you to confirm it, or rule it out.

With arch, things get a little unwieldy when we add the forum as layer 
3 
without a clear delineation of what information goes to the list and what 
goes to the forum. There may be some guideline for that somewhere, but I 
haven't run across it yet. (One can only read so many hundred wiki, forum, 
bug, and list posts in a given amount of time)

I have always understood IRC is simply for quick questions/answers so 
that 
doesn't cause a problem as another layer 4.

I still believe the best practice for bug reports is the (1) (2) laid 
out 
above. It helps both weed out bugs that aren't really bugs to begin with, and 
it also helps better frame the bug issues for the ones that are bugs but that 
the reporter doesn't know enough about to feel comfortable reporting to begin 
with.

I don't know how the forum fits in here, but I do agree that the 
efficiency 
of the bug tracking/fixing process suffers if the devs have to try and pick 
information out of 3 different places potentially under 3 different 
titles/subjects.

As for spamming, this stuff is never spamming. These are the 
discussions that 
need to be held to provide the decision makers additional information and 
viewpoints to consider in defining the policies to put in place. Even if all 
my/your suggestions are ultimately tossed, they still had value in providing 
an option or alternative to be considered.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] AARG! kinit: cannot open dev(8,7) kernel panic

2009-05-16 Thread David C. Rankin, J.D.,P.E.
On or about Saturday 16 May 2009 at approximately 20:13:11 pyther composed:


 Try replacing the disk-by-uuid stuff with direct paths to the device nodes
 (ex. /dev/sda2, etc). If you can get this to work then start switching back
 to disk-by-uuid.

 ~pyther

Hmm,

I'll give it a go and report back. My fingers are getting sore from all 
the 
mount and chroot typing though ;-)

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] Setting up print to postscript in openoffice 3

2009-05-15 Thread David C. Rankin, J.D.,P.E.
Listmates,

While I was on the subject, I thought I would pass this tip along. Let 
me 
know if this should go to forums instead of here. 

Printing to pdf is no problem in ooo3, just hit the button, but if you 
want 
to print to postscript, then things take a little more work. Printing to 
kprinter is nebulous in ooo3, so there has to be another way -- and there is.

The simplest way I have found is to:

(1) install cups  cups-pdf from extra;

(2) start cups with /etc/rc.d/cups 

(Add to deamons line in /etc/rc.conf to start automatically at boot)

(3) access the cups print manager: http://localhost:631 and select:

Administration - Find New Printers

Select CUPS-PDF (Virtual PDF)

Make:   Generic
Driver: Generic CUPS-PDF Printer

Done!

Now to print to postscript, just print as usual, choose CUPS-PDF as 
the 
printer and then select the checkbox for print to file, hit print and enter 
the filename.ps and 'print'

Handy for faxes, etc... Since cups pdf uses the ps2pdf utility as the 
background, you are simply stopping the process with print to file before 
the ps2pdf utility is called.


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] System Upgrade - networkmanager conflicts with libnetworkmanager

2009-05-15 Thread David C. Rankin, J.D.,P.E.
Listmates,

I don't know how to handle this dependency error and I want to make 
sure I 
don't break my kdemod3 install by replacing libnetworkmanager with 
extra/networkmanager. I presume it would be a 1-for-1 drop-in replacement, 
but I thought I would ask first. Anybody know?

:: Synchronizing package databases...
 kdemod-legacy is up to date
 core  33.5K  104.4K/s 00:00:00 
[#] 100%
 extra384.2K  127.0K/s 00:00:03 
[#] 100%
 community361.9K  132.0K/s 00:00:03 
[#] 100%
:: Starting full system upgrade...
:: Replace libnetworkmanager with extra/networkmanager? [Y/n] n
resolving dependencies...
looking for inter-conflicts...
:: networkmanager conflicts with libnetworkmanager. Remove libnetworkmanager? 
[Y/n] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: networkmanager: conflicts with libnetworkmanager

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] How do we handle sudo or kdesu in Archlinux?

2009-05-14 Thread David C. Rankin, J.D.,P.E.
On or about Thursday 14 May 2009 at approximately 07:23:37 Damjan Georgievski 
composed:
  (2)  Add yourself to the wheel group in /etc/group. Example, in
  /etc/group:
 
     wheel::10:root,david

 it's best not to edit the file by hand.
 You can use the usermod -G wheel -a david command for that.

Hmm Damjan,

I may have been doing it wrong for a while now ( about 9 years ). My 
understanding was the only sudo related file you should not edit by hand 
was /etc/sudoers and that is why we have visudo. I haven't heard that 
editing /etc/group by hand would cause problems. In fact, that is the way I 
keep my GIDs the same between installs. I just have my normal groups and 
users copied from my original /etc/group that I copy to all new installs. 
(that about 10 groups with about 12 users sprinkled between the groups) I've 
never had a problem.

What is the concern with editing /etc/group by hand? The group man page 
doesn't even reference usermod as a way to manipulate group associations.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Bugs again

2009-05-14 Thread David C. Rankin, J.D.,P.E.
, improvement to be made 
in 
this area is just to communicate 'why'. That two-sentence explanation back to 
the contributor and the opportunity to consider a simple patch goes a long, 
long way toward making a distro shine.

Now all of the above is just my opinion on the issue and will look like 
a 
bunch of idle rambling to most, but if you sift through it, there just may be 
a perl of wisdom to pick out. (remember, even a blind squirrel finds a nut 
every once in a while ;-)


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] Virtualbox Window Transparent??

2009-05-14 Thread David C. Rankin, J.D.,P.E.
Listmates,

Here is one for the experts. I installed virtual box on my Arch laptop, 
and 
upon starting my XP guest machine, I discover that the VB window is almost 
completely transparent?? This is really strange and I can't explain what is 
happening, so a picture (screenshot) is worth a 1000 words:

http://www.3111skyline.com/download/screenshots/archlinux/vb-transparent2.jpg

[139k]

As you can see, the Virtualbox window background is almost 100% 
transparent 
as well as some parts of the applications running in it. This can make it 
quite challenging to get things done. I am using the radeonhd driver. I tried 
it with compiz running and then again with kwin. It made no difference.

Other than virtualbox being transparent, everything else was OK. Any 
ideas on 
this one??

cc: radeonhd list

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Virtualbox Window Transparent?? [solved - sort of]

2009-05-14 Thread David C. Rankin, J.D.,P.E.
On or about Thursday 14 May 2009 at approximately 23:45:49 David C. Rankin, 
J.D.,P.E. composed:
 Listmates,

   Here is one for the experts. I installed virtual box on my Arch laptop,
 and upon starting my XP guest machine, I discover that the VB window is
 almost completely transparent?? This is really strange and I can't explain
 what is happening, so a picture (screenshot) is worth a 1000 words:

 http://www.3111skyline.com/download/screenshots/archlinux/vb-transparent2.j
pg

 [139k]

   As you can see, the Virtualbox window background is almost 100%
 transparent as well as some parts of the applications running in it. This
 can make it quite challenging to get things done. I am using the radeonhd
 driver. I tried it with compiz running and then again with kwin. It made no
 difference.

   Other than virtualbox being transparent, everything else was OK. Any 
 ideas
 on this one??

 cc: radeonhd list

Listmates

I know what was causing the weird behavior of virtualbox:

kde control center - window behavior - translucency 

But that doesn't explain why it was happening. Oh well, I can live 
without it 
while running VB.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] How do we handle sudo or kdesu in Archlinux?

2009-05-14 Thread David C. Rankin, J.D.,P.E.
On or about Thursday 14 May 2009 at approximately 13:13:53 Daenyth Blank 
composed:

 You can use vigr for this, and similarly vipw

Thanks Daenyth!

Old dog -- new trick. See, it can be done ;-)

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] How do we handle sudo or kdesu in Archlinux?

2009-05-14 Thread David C. Rankin, J.D.,P.E.
On or about Thursday 14 May 2009 at approximately 18:57:51 Damjan Georgievski 
composed:
         What is the concern with editing /etc/group by hand? The group man
  page doesn't even reference usermod as a way to manipulate group
  associations.

 The simple one that you could make a mistake while editing, maybe much
 more easily than when using usermod :)

usermod and vi are both subject to the same loose nut behind the keyboard ;-)

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] Why does my sound work sometimes not others?

2009-05-13 Thread David C. Rankin, J.D.,P.E.
Listmates,

I have the most atavistic sound known to mankind on my laptop running 
arch. 
Sometimes it works, sometimes it doesn't. The card specs are:

0:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
Subsystem: Toshiba America Info Systems Device ff08
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow TAbort- 
TAbort- MAbort- SERR- PERR- INTx-
Latency: 64, Cache Line Size: 32 bytes
Interrupt: pin ? routed to IRQ 16
Region 0: Memory at f870 (64-bit, non-prefetchable) [size=16K]
Capabilities: access denied
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

The Intel modules loaded are:

snd65928  13 
snd_seq_oss,snd_seq,snd_seq_device,snd_hda_codec_realtek,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
snd_hda_codec  68112  2 snd_hda_codec_realtek,snd_hda_intel
snd_hda_intel  29256  1
snd_page_alloc  9760  2 snd_hda_intel,snd_pcm
snd_pcm80920  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec


When I first start arch and start kde, everything is fine. However, if 
I log 
out and then back it, most times the sound is gone -- dead. The sound will 
not start again until I reboot. Anybody got any ideas on what to check or 
what to keep a watch out for? Also, any ideas on how to bring the sound back 
once it dies without having to reboot?

Thanks for any help you can provide. I always hated chasing sound 
problems. 

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Opera Segfaults on x86_64 after kernel update [Solved]

2009-05-13 Thread David C. Rankin, J.D.,P.E.
On Monday 11 May 2009 23:47:55 David C. Rankin, J.D.,P.E. wrote:

 I have some additional information from the log file:

 May 11 23:37:42 alchemy kernel: opera[4657]: segfault at 0 ip
 7f0c25c36719 sp 7fff2fabd710 error 4 in
 libstdc++.so.6.0.11[7f0c25b72000+f1000]

Opera seems to be fixed after the updates today! Thanks.



-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Why does my sound work sometimes not others?

2009-05-13 Thread David C. Rankin, J.D.,P.E.
On Wednesday 13 May 2009 03:37:26 David C. Rankin, J.D.,P.E. wrote:
 Listmates,

   I have the most atavistic sound known to mankind on my laptop running
 arch. Sometimes it works, sometimes it doesn't. The card specs are:

snip

   When I first start arch and start kde, everything is fine. However, if I
 log out and then back it, most times the sound is gone -- dead. The sound
 will not start again until I reboot. Anybody got any ideas on what to check
 or what to keep a watch out for? Also, any ideas on how to bring the sound
 back once it dies without having to reboot?

   Thanks for any help you can provide. I always hated chasing sound
 problems.

I just logged out and logged back in to test and ... sound is gone 
again. 
However, on the up side, kdm didn't crash on logout:-) Any hints would be 
appreciated. Thanks.


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Arch artwork compiz screenshot

2009-05-13 Thread David C. Rankin, J.D.,P.E.
On Wednesday 13 May 2009 01:30:20 Vincent Van Houtte wrote:
 Op Wed, 13 May 2009 00:49:50 -0500


 The concept is nice - but you do know this is the old logo you're using,
 right?

 Vincent

Yes,

Thanks Vincent. I just grabbed it because this one had a really cool 
glass 
look I thought would work good as a cube cap. I'll work with the new one once 
I have time to find one big enough.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] kdm3 crash on logout - no apparrent errors [Partially Solved]

2009-05-13 Thread David C. Rankin, J.D.,P.E.
On Tuesday 12 May 2009 23:52:23 David C. Rankin, J.D.,P.E. wrote:

 *WARN_ONCE*
 File r300_mem.c function r300_mem_alloc line 225
 Ran out of GART memory (for 1048576)!
 Please consider adjusting GARTSize option.
 ***

   Dunno where the error is because it starts just fine and used to login 
 and
 logout without crashing with the most recent kernel before the last kernel
 update. What should I try?

Listmates,

Given the error, I made two changes to my xorg.conf for my laptop that 
seem 
to have fixed/helped the problem. I added the following options to increase 
the gart size and to switch to EXA accel instead of XAA and the last 
logout/login worked great. The options were:

  Option   GARTSize 256
  Option   AccelMethod EXA
#  Option   XAANoOffScreenPixmaps true

I also commented the XAANoOffScreenPixmaps option. Time will tell if we 
are 
fixed or if I just got lucky ;-)


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] Radeonhd - Use EXA Accel instead of XAA Accel

2009-05-13 Thread David C. Rankin, J.D.,P.E.
Listmates,

If you use the radeonhd driver, use EXA acceleration instead of XAA. I 
just 
found out about this today and it is a 100% improvement in speed, etc. over 
XAA acceleration. It isn't as fast as fglrx, but it is a world of improvement 
over the alternative. To make use of EXA acceleration, simply enable it in 
your xorg.conf in the device section. Example:

Section Device
  BoardNameRS690M
  Driver   radeonhd
  Identifier   Device[0]
  Option   GARTSize 256
  Option   AccelMethod EXA
  Option   EnablePrivateBackZ no
  Option   VideoOverlay on
  Option   no_dri no
  Option   UseFastTLS 1
  Option   no_accel no
  Option   mtrr off
  VendorName   ATI
EndSection


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] How do we handle sudo or kdesu in Archlinux?

2009-05-13 Thread David C. Rankin, J.D.,P.E.
Listmates,

When I need to run apps a root for configuration purposes like kate, or 
konqueror File Management, I either put the command in the Alt+F2 run 
dialog or create a menu entry and then check [ ] run as different users and 
put 'root' in the different user text box. Even though I have configured sudo 
I am inevitably prompte for a password. With suse we patched this by using 
kwriteconfig as your regular user:

kwriteconfig --file kdesurc --group super-user-command --key 
super-user-command sudo

This wasn't the recommended way, but it was the way most chose to get 
around a mess with kdesu.

When I try and access the apps I want to run as root, not only do I get 
the 
initial password prompt, but I get a second prompt after the app is closed. 
That has left me scratching my head.

The other option is just to create the menu entries as sudo command 
which 
doesn't complain wheen opening whatever I need.

What says the braintrust? Is this an arch issue or is it a kdemod 
issue? Any 
help would be appreciated, thanks.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] How do we handle sudo or kdesu in Archlinux?

2009-05-13 Thread David C. Rankin, J.D.,P.E.
On Wednesday 13 May 2009 18:17:18 Andrei Thorp wrote:
 I'm very cool with bypassing root-level security checks when
 originating from the physical machine.

 Anyway, another thing you can do is put some scripts in your path that
 override the application that you want to run and then just sudo run
 it. I'm not really sure what PATH KDM (and therefore KDE?) uses, but
 probably has to do something with either your user's .profile or
 root's .profile or bash_profile or something.

 Course, isn't there a way to just elevate your user to be a root-like
 account if you're going to be doing this anyway? Put your user in the
 root group or something.

 -AT

Some times the old ways are still the best:

After looking for other solutions, I just decided to dance with the one 
that brung me. kwritconfig works like a champ. To make use of this solution, 
after setting up regular sudo by:

(1)  configuring the sudoers file with 'visudo' as root (you cannot just 
edit /etc/sudoers):

# visudo

Then uncomment the following line to enable sudo without a password to 
members of the 'wheel' group:

%wheel  ALL=(ALL) NOPASSWD: ALL

(2)  Add yourself to the wheel group in /etc/group. Example, in /etc/group:

wheel::10:root,david

** If your user name isn't 'david', change as required

(3)  Then within KDE *as your regular user* not root, execute the following 
kwriteconfig command from the command line in konsole or xterm, or from the 
run dialog (Alt+F2):

kwriteconfig --file kdesurc --group super-user-command --key 
super-user-command sudo

(4)  Your done! You can then run applications as root without a password 
simply by either using the run command (Alt+F2) and choosing options or 
using kmenuedit to modify a menu command and select the check box Run as a 
different user and enter 'root'. (either save the menu file or just execute 
the Alt+F2 run command.


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Help understanding which interface OpenOffice is using? [Solved]

2009-05-13 Thread David C. Rankin, J.D.,P.E.
On Wednesday 29 April 2009 12:38:37 David Rosenstrauch wrote:

 Try installing kdemod3-gtk-qt-engine.  It makes Gnome/GTK apps use your
 KDE settings.  Its configuration screen gets added into the KDE control
 center under Appearance  Themes - GTK Styles and Fonts.

 If you look at my desktop snapshot, all 3 of those apps (Thunderbird,
 Eclipse, and Firefox) are GTK apps, and yet their UI's are picking up my
 KDE font and color settings.  (Otherwise the windows would show up in a
 grey color.)

 HTH,

 DR

Ok,

Finally got around to making openOffice, etc. look decent. The keys 
were:

1.  Install kdemod3-gtk-qt-engine (if using kdemod3) qtcurve-gtk2 qtcurve-kde3 
gtk-chtheme

2.  Select Theme in qtconfig

3.  Set a smaller font size with gtk-chtheme

Now openOffice looks great!



-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] kdm3 crash on logout - no apparrent errors

2009-05-12 Thread David C. Rankin, J.D.,P.E.
Listmates,

After the kernel update, my kdm3 is crashing with each user logout. 
Basically, on logout you are dumped back to tty1 and must then login and 
issue kdm3 restart to restore the display manager. I am using the radeonhd 
driver. Before the latest update this didn't occur. What can I check to get 
information to help solve this puzzle?

I've checked /var/log/messages.log and Xorg.0.log, but nothing is out 
of the 
ordinary. Any help would be greatly appreciated.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] kdm3 crash on logout - no apparrent errors

2009-05-12 Thread David C. Rankin, J.D.,P.E.
On Tuesday 12 May 2009 04:42:33 Alessandro Doro wrote:
 On Tue, May 12, 2009 at 01:53:11AM -0500, David C. Rankin, J.D.,P.E. wrote:
  Listmates,
 
  After the kernel update, my kdm3 is crashing with each user logout.
  Basically, on logout you are dumped back to tty1 and must then login and
  issue kdm3 restart to restore the display manager. I am using the
  radeonhd driver. Before the latest update this didn't occur. What can I
  check to get information to help solve this puzzle?
 
  I've checked /var/log/messages.log and Xorg.0.log, but nothing is out of
  the ordinary. Any help would be greatly appreciated.

 Have a look at /var/log/kdm.log and/or ~/.xsession-errors (before
 relogin).


 You can try to add:

 TerminateServer=true

 to the [X-*-Core] section of /opt/kde/share/config/kdm/kdmrc

 I need(ed) that line because of similar problems.

Alessandro,

I think the new kernel and vesafb is the problem. Here is the log after 
the 
crash on user logout:

X.Org X Server 1.6.1
Release Date: 2009-4-14
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.29-ARCH x86_64
Current Operating System: Linux alchemy 2.6.29-ARCH #1 SMP PREEMPT Sat May 9 
14:09:36 CEST 2009 x86_64
Build Date: 15 April 2009  11:01:49AM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Tue May 12 18:43:59 2009
(==) Using config file: /etc/X11/xorg.conf
(EE) Failed to load module type1 (module does not exist, 0)
(EE) Failed to load module freetype (module does not exist, 0)
None
QSettings: error creating /tmp/0151698992/.qt
QSettings: failed to open file '/tmp/0151698992/.qt/qt_plugins_3.3rc'
QSettings::sync: filename is null/empty
QSettings: error creating /tmp/0151698992/.qt
QSettings: failed to open file '/tmp/0151698992/.qt/qt_plugins_3.3rc'
QSettings::sync: filename is null/empty
QSettings: error creating /tmp/0151698992/.qt
QSettings: failed to open file '/tmp/0151698992/.qt/qt_plugins_3.3rc'
QSettings::sync: filename is null/empty
QSettings: error creating /tmp/0151698992/.qt
QSettings: failed to open file '/tmp/0151698992/.qt/qt_plugins_3.3rc'
QSettings::sync: filename is null/empty
QSettings: error creating /tmp/0151698992/.qt
QSettings: failed to open file '/tmp/0151698992/.qt/qt_plugins_3.3rc'
QSettings::sync: filename is null/empty
QSettings: error creating /tmp/0151698992/.qt
QSettings: failed to open file '/tmp/0151698992/.qt/qt_plugins_3.3rc'
QSettings::sync: filename is null/empty
(EE) RADEONHD(0): Failed to map FB.

Fatal server error:
AddScreen/ScreenInit failed for driver 0

On startup, this is the log:

snip
QSettings::sync: filename is null/empty
QSettings: error creating /tmp/0872520527/.qt
QSettings: failed to open file '/tmp/0872520527/.qt/qt_plugins_3.3rc'
QSettings::sync: filename is null/empty
*WARN_ONCE*
File r300_mem.c function r300_mem_alloc line 225
Ran out of GART memory (for 1048576)!
Please consider adjusting GARTSize option.
***

Dunno where the error is because it starts just fine and used to login 
and 
logout without crashing with the most recent kernel before the last kernel 
update. What should I try?



-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] Arch artwork compiz screenshot

2009-05-12 Thread David C. Rankin, J.D.,P.E.
Listmates:

Needing to spruce up the cube caps on cube rotation in compiz (the old 
opensuse artwork just wouldn't do), I started messing around with some of the 
archlinux-artwork. I found one that I like and then added some finishing 
touches in gimp. A screenshot of the resulting cubecaps and desktop is here:

[69k]
http://www.3111skyline.com/download/Archlinux/compiz/archglass-cyl.jpg

The actual cubecap file is found here:

[450k due to transparency]
http://www.3111skyline.com/download/Archlinux/compiz/archglass-compizcaps.png

Use it at will. If you have no interest, just hit [del].


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] Opera Segfaults on x86_64 after kernel update

2009-05-11 Thread David C. Rankin, J.D.,P.E.
Listmates,

After the kernel update to kernel26 2.6.29.3-1, opera is segfaulting 
for some 
reason. Opera doesn't event splash anything on the screen, it just dies. Here 
is what I get from the cli:

23:28 alchemy:~ opera -debugxerror
opera: X Error: BadAtom (invalid Atom parameter) 5
Major opcode:  20
Minor opcode:  0
Resource id:  0

I have no idea what a BadAtom is or if that is the problem. I haven't 
run 
across anything else in the past hour since the update. What should I check?


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Opera Segfaults on x86_64 after kernel update

2009-05-11 Thread David C. Rankin, J.D.,P.E.
On Monday 11 May 2009 23:35:05 David C. Rankin, J.D.,P.E. wrote:
 Listmates,

   After the kernel update to kernel26 2.6.29.3-1, opera is segfaulting for
 some reason. Opera doesn't event splash anything on the screen, it just
 dies. Here is what I get from the cli:

 23:28 alchemy:~ opera -debugxerror
 opera: X Error: BadAtom (invalid Atom parameter) 5
 Major opcode:  20
 Minor opcode:  0
 Resource id:  0

   I have no idea what a BadAtom is or if that is the problem. I haven't 
 run
 across anything else in the past hour since the update. What should I
 check?

I have some additional information from the log file:

May 11 23:37:42 alchemy kernel: opera[4657]: segfault at 0 ip 7f0c25c36719 
sp 7fff2fabd710 error 4 in libstdc++.so.6.0.11[7f0c25b72000+f1000]


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Dovecot

2009-05-11 Thread David C. Rankin, J.D.,P.E.
On Sunday 10 May 2009 11:00:18 Baho Utot wrote:
 Anyone got a simple configuration file ( dovecot.conf )
 that has simple auth login? like clear text?

 thanks

Baho,

Here is a simple one I use (comments removed):

00:28 nirvana:~ nc /etc/dovecot/dovecot.conf
protocols = imap imaps
ssl_disable = no
mail_location = mbox:~/Mail:INBOX=/var/spool/mail/%u
protocol imap {
  mail_plugin_dir = /usr/lib64/dovecot/modules/imap
}

protocol pop3 {
  mail_plugin_dir = /usr/lib64/dovecot/modules/pop3
}
protocol managesieve {
  sieve=~/.dovecot.sieve
  sieve_storage=~/sieve
}
protocol lda {
  postmaster_address = postmas...@example.com
  mail_plugin_dir = /usr/lib64/dovecot/modules/lda
}
auth default {
  mechanisms = plain
  passdb pam {
  }
  userdb passwd {
  }
  user = root
}
dict {
}
plugin {
}


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] default ~/.config/compiz/compizconfig prevents compiz start with radeonhd

2009-05-09 Thread David C. Rankin, J.D.,P.E.
Listmates,

I thought I would pass along a bug and a solution. I struggled trying 
to get 
compiz running on my arch x86_64 install on my laptop with the radeonhd 
driver for my x1200 card. After pulling my xorg.conf apart, swapping between 
the radeon and radeonhd driver and posting to the compiz list, I got the 
solution from a reply on the compiz list.

The problem is with the archlinux default 
~/.config/compiz/compizconfig/config supplied along with the 
compiz-fusion-kde package. The default is:

[kde_session]
profile = 

For some reason this prevents compiz from starting with either the 
radeon or 
radeonhd driver.

SYMPTOMS:

Upon Compiz start, the display behaves exactly like it is going to 
work. The 
display goes blank, sequentially erasing and redrawing each window, but then 
it never actually  starts. The windows are just left there with no decor. You 
can sill provide input to them, but you cannot move or resize them. Issuing 
kwin --replace  causes the reverse to happen (windows destroyed, black 
screen, windows then redrawn with kde decor.

SOLUTION(S):

From the compiz list, the suggestion was made to go ahead and let 
compiz try 
to start. Since you still have input capability, issue ccsm from the command 
line and then configure compiz forcing a new config to be written, then 
reload compiz. I did the equivalent, but took a shortcut by simply rsyncing 
~/.config/compiz from another working machine. Problem solved.

REMAINING ISSUES WITH ARCH GLX:

When issuing glxinfo from a konsole cli as $USER everything works fine. 
However, if you are su to root $UID then glxinfo fails:

[23:07 alchemy:/home/david] # glxinfo
No protocol specified
Error: unable to open display :0.0

Dunno if this is a bug or feature, but I thought I would pass it along. 
I'll 
file a bug report on the default config issue, fixing it will save a lot of 
folks a lot of heartache and newbies from thinking Linux doesn't work.


-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] default ~/.config/compiz/compizconfig prevents compiz start with radeonhd

2009-05-09 Thread David C. Rankin, J.D.,P.E.
On Saturday 09 May 2009 03:09:37 David C. Rankin, J.D.,P.E. wrote:
 Listmates,

snip

   The problem is with the archlinux default
 ~/.config/compiz/compizconfig/config supplied along with the
 compiz-fusion-kde package. The default is:

 [kde_session]
 profile =

   For some reason this prevents compiz from starting with either the 
 radeon
 or radeonhd driver.

snip

Just fyi, I checked the default config for suse by creating a new user, 
starting compiz, and exiting. It is as follows:

[03:21 ecstasy:/srv/www/download/linux/compiz] # cat 
compizconfig-suse/compizconfig/Default.ini
[decoration]
as_command = kde-window-decorator --replace

[core]
as_active_plugins = 
core;ccp;place;move;resize;decoration;png;wobbly;cube;fade;minimize;rotate;scale;switcher;regex;workarounds;zoom;

My guess is that workarounds is what helped compiz get started with 
the 
default config. (That is only my guess though)

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] kde control center Use my KDE style in GTK applications causes ooo buttons to disappear

2009-05-05 Thread David C. Rankin, J.D.,P.E.
Listmates,

I have an interesting one for you, in openOffice, all of the icons on 
the 
toolbars and all of the text of the context menus disappear when I click on a 
document in writer. If I brush the mouse over the toolbar or menu, the 
icons/text reappears while the icon or text has focus, but then disappears 
again when the focus leaves. I have a number of illustrative screenshots 
here:

http://www.3111skyline.com/download/Archlinux/bugs/ooo/oo-menus-missing.jpg

http://www.3111skyline.com/download/Archlinux/bugs/ooo/oo-menus-missing1.jpg

http://www.3111skyline.com/download/Archlinux/bugs/ooo/oo-toolbars-missing.jpg

http://www.3111skyline.com/download/Archlinux/bugs/ooo/oo-toolbars-missing1.jpg

http://www.3111skyline.com/download/Archlinux/bugs/ooo/oo-toolbars-missing2.jpg

Version Information:

http://www.3111skyline.com/download/Archlinux/bugs/ooo/oo-about.jpg

The problem seems to have started after changing the kde control center 
setting for Appearance  Themes - GTK Styles and Fonts - Use my KDE 
style in GTK applications. I just confirmed this on an X86_64 box that I had 
not made this setting on. I opened ooowriter and all buttons were there in a 
very flat and ugly style. I then changed the above setting which required a 
KDE restart. So I logged out and logged back in, reopened the same document 
and all of the buttons started disappearing.

Has anyone else seen anything like this? More importantly, how do I fix 
it? 

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Laptop Install - 2 questions remain, WPA and Compiz with Radeon Driver

2009-05-04 Thread David C. Rankin, J.D.,P.E.
On Sunday 03 May 2009 05:21:05 Jan Spakula wrote:
 Excerpts from David C. Rankin, J.D.,P.E.'s message of So Mai 03 12:11:04 
+0200 2009:
  (1) My laptop has an Atheros card and is happily using the madwifi
  driver. The only problem is that I'm starting it manually and need to
  know where to put the pieces to have it start automatically. Basically,
  it takes 3 commands to get my wifi going:
 
  ESSID=${1:-skyline}
  IFACE=${2:-wlan0}
 
  iwconfig ${IFACE} essid ${ESSID}
 
  wpa_supplicant -i${IFACE} -Dwext -c/etc/wpa_supplicant.conf -d -B
 
   /var/log/wpa_start.log 21
 
  sleep 2   # This doesn't count as a command
 
  dhcpcd wlan0
 
  My question is Where do I put this stuff to make it happen when I
  start Arch??

 Install the netcfg package, create a profile under /etc/network.d (there
 are some examples, so you shouldn't have any problem), and edit
 /etc/rc.conf: add the name of your profile into NETWORKS=(...) and add
 'net-profiles' to your DAEMONS.

 -- Jan

Jan,

While I'm at it, where can I turn the default attempt to start 'eth0' 
off. 
All I care about is wireless on my laptop. If I need the wired connection I 
can go start it manually, but I'd like to get rid of the ... waiting and the 
[Fail] on boot. I thought about removing 'main' from the NETWORK  section, 
but I didn't want to kill the loopback setup (if that's where it is done). 
What say the gurus? Where do I turn off the attempt to start eth0?

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] org.freedesktop.hal.storage.mount-removable no -- (action, result)

2009-05-04 Thread David C. Rankin, J.D.,P.E.
On Monday 04 May 2009 07:37:50 flashkot wrote:
 2009/5/4 Angel Velásquez an...@archlinux.com.ve

  On Tue, May 5, 2009 at 6:09 AM, David C. Rankin, J.D.,P.E.
 
  org.freedesktop.hal.storage.mount-removable no -- (action,
 
  result)
 
  Did you tried [0] ?
 
  [0] http://wiki.archlinux.org/index.php/HAL#Auto-mounting_fails

 This also may help: http://wiki.archlinux.org/index.php/HAL#Mounting_fails

 I once has a problem with automount and this tip helped.

 WBR,
 flashkot

Man that is frustrating. Still unable to mount the NTFS partitions on the 
removable disk.

The wiki helped with the ext3 partitions, but I still do not understand why 
man hal was wrong on suggesting the following (3) scenarios:

define_admin_auth group=wheel/

Should give members of the wheel group full access to all mounts, but it did 
not?

match action=org.freedesktop.hal.storage.mount-removable
match group=users
return result=yes/
/match
/match

Should give group users (the default group GID 100) the ability to mount 
removable devices but it did not?

match user=david
return result=yes/
/match

Should give me full access to mounting/unmounting, but it did not?

The question then becomes why did the following work for ext3:

match user=david
match action=org.freedesktop.hal.storage.*
return result=yes/
/match
match action=hal-storage-mount-fixed-extra-options
return result=yes /
/match
match action=hal-storage-mount-removable-extra-options
return result=yes /
/match
/match 

Why in the world did this match user=david work when the one just 
above 
didn't? One of my goals in life is to avoid looking in /etc/hal 
and /etc/dbus-1 ... I'm failing miserably ;-)

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] org.freedesktop.hal.storage.mount-removable no -- (action, result)

2009-05-04 Thread David C. Rankin, J.D.,P.E.
On Monday 04 May 2009 13:36:03 you wrote:
 [snip]

 I don't know if this has anything to do with your problem, but I've had
 difficulty auto-mounting NTFS partitions as read/write.  The reason seems
 to be that auto-mount autodetects NTFS partitions as using the ntfs driver,
 but in order to get full functionality, you need to use the ntfs-3g driver.
 Mounting as root, explicitly using the ntfs-3g driver, works.

 HTH,
 Dave Moore

Yes,

I think that is exactly what the problem is. I didn't want 'rw', all I 
wanted 
was read-only. So I just created a directory as a mount point and 
did 'mount -t ntfs /dev/sdb2 /mountpoint'. It worked just fine. I'll play 
around to find a way to get this (politely put 'dad-gum') hal/dbus/PolicyKit 
to do what a simple 'mount -t ntfs' had done for years

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] Laptop Install - 2 questions remain, WPA and Compiz with Radeon Driver

2009-05-03 Thread David C. Rankin, J.D.,P.E.
Listmates,

The laptop install (Toshiba 205D) went great accept where I am stuck 
with 
video drivers for my ati card, and the last little nit of getting wifi to 
start automatically. First the easy one, the wireless:

(1) My laptop has an Atheros card and is happily using the madwifi driver. The 
only problem is that I'm starting it manually and need to know where to put 
the pieces to have it start automatically. Basically, it takes 3 commands to 
get my wifi going:

ESSID=${1:-skyline}
IFACE=${2:-wlan0}

iwconfig ${IFACE} essid ${ESSID}

wpa_supplicant -i${IFACE} -Dwext -c/etc/wpa_supplicant.conf -d -B 
 /var/log/wpa_start.log 21

sleep 2   # This doesn't count as a command

dhcpcd wlan0

My question is Where do I put this stuff to make it happen when I 
start 
Arch??

(2) No Compiz with the radeon driver. I know there must be a trick or two that 
will make this work. Heck, I even got compiz working on the intel card, so I 
know the ATI card (X1200) will do it (it does it with the fglrx driver on 
openSuSE). However, I don't know what the tricks are to getting it working on 
the stock radeon driver. Any other ATI Arch users know any more about this??

Here is my current xorg.conf:

#
Section Files
  FontPath /usr/share/fonts/misc:unscaled
  FontPath /usr/share/fonts/local
  FontPath /usr/share/fonts/75dpi:unscaled
  FontPath /usr/share/fonts/100dpi:unscaled
  FontPath /usr/share/fonts/Type1
  FontPath /usr/share/fonts/URW
  FontPath /usr/share/fonts/speedo
  FontPath /usr/share/fonts/artwiz-fonts
  FontPath /usr/share/fonts/cyrillic
  FontPath /usr/share/fonts/truetype
  FontPath /usr/share/fonts/TTF
  FontPath /usr/share/fonts/uni:unscaled
  FontPath /usr/local/share/fonts
  FontPath /opt/kde3/share/fonts
  InputDevices /dev/gpmdata
  InputDevices /dev/input/mice
EndSection

Section ServerFlags
  Option   AllowMouseOpenFail on
  Option  IgnoreABI on
EndSection

Section Module
  Load dbe
  Load type1
  Load freetype
  Load extmod
  Load glx
  Load dri
EndSection

Section InputDevice
  Driver   kbd
  Identifier   Keyboard[0]
  Option   Protocol Standard
  Option   XkbLayout us
  Option   XkbModel microsoftpro
  Option   XkbRules xfree86
EndSection

Section InputDevice
  Driver   mouse
  Identifier   Mouse[1]
  Option   Buttons 5
  Option   Device /dev/input/mice
  Option   Name Microsoft Wheel Mouse Optical
  Option   Protocol explorerps/2
  Option   Vendor Sysp
  Option   ZAxisMapping 4 5
EndSection

Section InputDevice
Identifier  Mouse[3]
Driver  synaptics
Option  Device /dev/input/mice
Option  Emulate3Buttons on
Option  Name Touchpad
Option  SHMConfig on
Option  Vendor Synaptics
Option  ZAxisMapping 4 5
EndSection

Section Monitor
Identifier   Monitor[0]
VendorName   TOSHIBA
ModelNameTOSHIBA 17IN TRUEBRIGHT
UseModes Modes[0]
DisplaySize  367230
HorizSync30.0 - 70.0
VertRefresh  43.0 - 60.0
Option   CalcAlgorithm XServerPool
Option   DPMS
Option   PreferredMode 1440x900
EndSection

Section Modes
  Identifier   Modes[0]
EndSection

Section Screen
  DefaultDepth 24
  SubSection Display
Depth  15
Modes  1440x900 1024x768 800x600
  EndSubSection
  SubSection Display
Depth  16
Modes  1440x900 1024x768 800x600
  EndSubSection
  SubSection Display
Depth  24
Modes  1440x900 1024x768 800x600
  EndSubSection
  SubSection Display
Depth  8
Modes  1440x900 1024x768 800x600
  EndSubSection
  Device   Device[0]
  Identifier   Screen[0]
  Monitor  Monitor[0]
EndSection

Section Device
  BoardNameRV350 NP
#  BusID1:5:0
  Driver   radeon
  Identifier   Device[0]
#  Option   GARTSize 32
  VendorName   ATI
EndSection

Section ServerLayout
  Identifier   Layout[all]
  InputDevice  Keyboard[0] CoreKeyboard
  InputDevice  Mouse[1] CorePointer
  InputDevice  Mouse[3] SendCoreEvents
  Option   Clone off
  Option   Xinerama off
  Screen  0  Screen[0] 0 0
EndSection

Section DRI
Group  video
Mode   0660
EndSection

Section Extensions
Option  Composite true
Option  DAMAGE true
EndSection



-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[arch-general] kde3 Error: Could Not Determine Resource Status - Kmail??

2009-05-03 Thread David C. Rankin, J.D.,P.E.
Listmates,

Every minute or two I have this large and annoying dialog appear on the 
screen complainting about something related to kmail. The difficult part 
about it is it does *not* tell you what it is complaining about. The only 
thing close to a description it gives is Could not stat resource. Huh? I 
have a screenshot of it here:

( 50K )

http://www.3111skyline.com/download/Archlinux/kde/kontact-err.jpg

The text of the error states:

quote

Error while getting folder information.
Could Not Determine Resource Status

An attempt to determine information about the status of the resource Mail, 
such as the resource name, type, size, etc., was unsuccessful.

Technical reason: Could Not Stat Resource

Details of the request:

URL: (unknown)

Date and time: Sunday 03 May 2009 04:30 pm

Additional information: Mail

Possible causes:

The specified resource may not have existed or may not be accessible.
A protocol error or incompatibility may have occurred.
Although unlikely, a hardware error may have occurred.

Possible solutions:

Retry the request and ensure your authentication details are entered 
correctly.
Contact your appropriate computer support system, whether the system 
administrator, or technical support group for further assistance.

Anybody see this before and more importantly, How do I fix it?

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com