Re: RFE: Never, ever steal focus.

2010-01-07 Thread Fulko Hew
On Thu, Jan 7, 2010 at 3:29 AM, Tomas Mraz tm...@redhat.com wrote:

... snip ...


 The problem is that the automatic focus change only when intended by
 user will never be done 100% correctly. This is just impossible to do.

 So the actual better user experience case would be to always require the
 user to press some (easy) key combination to transfer the focus from the
 currently focused window. The user would quickly learn it.


You wouldn't need a 'new' (easy) key combination... your window manager
already
defines a way to 'set focus'


 Then the problem shifts to whether the newly created windows should be
 opened in the background or not.


... snip ...

Thank you...
There is a big difference between auto-raise, and auto-focus.

I would complain about auto-focus on pop-ups (that should be my
configuration choice)
but auto-raise isn't (as) anoying.  Its a visual distraction, but then
again, thats why
its called a 'popup', but at least it didn't cause me to type the wrong
thing into
the wrong window.
-- 
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

Re: RFE: Never, ever steal focus.

2010-01-06 Thread Fulko Hew
On Wed, Jan 6, 2010 at 1:08 PM, Adam Jackson a...@redhat.com wrote:

 On Wed, 2010-01-06 at 11:23 -0600, Serge E. Hallyn wrote:
  Quoting Adam Jackson (a...@redhat.com):
   On Wed, 2010-01-06 at 11:36 -0500, Jarod Wilson wrote:
I'd go with don't let a different app steal focus. Windows for the
same currently focused app are allowed to. This works pretty well
 under
Mac OS X. Might depend on some of the stuff being done by the
gnome-shell folks though, to be able to group windows together as
belonging to the same process/application to be able to do it Right
under a Linux DE...
  
   Now make that work for the (not uncommon) case of clicking a link in
 evo
   or control-clicking one in gnome-terminal and expecting firefox to pop
   forward with that page.
 
  And now make that work for the case where firefox decides to take 10
  secs to start up, so you start in another window, then firefox jumps
  up and grabs focus.  Thanks.
 
  There is no case where I want a new window or popup to take focus.  Makes
  for an easy algorithm.  (hitting r in mutt is not a problem :)

 There is no case where _you_ want this, sure.


I'd say... only take focus if its a child/creation of the window currently
in focus.
-- 
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

Re: PackageKit policy: background and plans

2009-11-20 Thread Fulko Hew
On Fri, Nov 20, 2009 at 9:34 AM, Matthew Garrett m...@redhat.com wrote:

 On Fri, Nov 20, 2009 at 04:09:15PM +1100, James Morris wrote:

  Many users limit their use of the root account to essential system
  maintenance, and run general purpose applications as a regular
  unprivileged user.

 I know basically nobody who, on a generally single user system,
 explicitly switches to a console to log in as root and perform package
 installs there.


I do!  And I tell everyone else too, so they learn/understand the difference
between 'god' and a 'mere mortal user' (ie. root and anyone else).


 If you're not doing that then the issue is basically
 moot - a user-level compromise will become a root-level compromise the
 next time you run anything as root.


... snip ...
-- 
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

Re: F13 Naming: Leonidas - Constantine - New Name?

2009-11-10 Thread Fulko Hew
On Tue, Nov 10, 2009 at 10:52 AM, Bastien Nocera bnoc...@redhat.com wrote:

 On Tue, 2009-11-10 at 16:45 +0100, Björn Persson wrote:
  inode0 wrote:
   With Fedora 12 just a few days from release it is time to begin the
   naming process for the next Fedora release.
 
  After F12 comes Print Screen of course. ;-)

 Depending on the keyboards I look at, I have Insert, Eject and
 Mute after F12 ;)


Ahhh, having choices is always good!

After F12 _I_ have: Delete, End and Page Down.  :-)

(Sorry for adding to the noise, but its a 'slow news day'.)
-- 
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

Re: Intel graphics users: send me your VBIOS

2009-09-18 Thread Fulko Hew
On Fri, Sep 18, 2009 at 2:45 PM, Adam Jackson a...@redhat.com wrote:

 If you have a machine with an Intel graphics chip, I need your help.
 I'm trying to make LVDS connection detection actually reliable, and I
 think I have a solution that involves parsing BIOS data tables.  But I
 need more testcases to raise my confidence that it's actually a reliable
 method.

 So, do this:

 % sudo dd if=/dev/mem of=/tmp/rom bs=64k skip=12 count=1

 and email me that rom file, along with a brief description of the
 machine, and in particular what graphics outputs (DVI, VGA, LVDS...) are
 _actually_ present on the machine.



FYI (to the list), I already sent the following to Adam:

Dell Inspiron 6400 (aka 1505?) laptop
-- 
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

How to RPM'ify Perl Modules

2009-07-21 Thread Fulko Hew
I'd like to create an RPM (spec file) to package my Perl based product so that
its easy to distribute and easy to add to a Fedora kickstart file, but
I'm not too sure
where to start.  I've looked around and found cpan2rpm and rpmpan, but I'd
like to know what the 'official' approach is for Fedora.

Can anyone point me in the right direction?

TIA
Fulko

-- 
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list


what controls DPMS in KDE?

2009-07-09 Thread Fulko Hew
Somewhat off topic, but:

I'm trying to build a stripped down F11/KDE system
I've eliminated most of the packages that I don't need, but I've encountered
a problem.

DPMS is _still_ on by default and hence is blanking my screen after ~20
minutes.

My question is:

What entry in what file do I need to adjust (that the KDE tool does) to turn
off DPMS?

TIA
Fulko
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: what controls DPMS in KDE?

2009-07-09 Thread Fulko Hew
On Thu, Jul 9, 2009 at 1:22 PM, Fulko Hew fulko@gmail.com wrote:

 Somewhat off topic, but:

 I'm trying to build a stripped down F11/KDE system
 I've eliminated most of the packages that I don't need, but I've
 encountered a problem.

 DPMS is _still_ on by default and hence is blanking my screen after ~20
 minutes.

 My question is:

 What entry in what file do I need to adjust (that the KDE tool does) to
 turn off DPMS?


Replying to my own question...

It is defined by the 'DPMSEnabled=' lines, in each profile, defined in the
file:
/home/*/.kde/share/config/powerdevilprofilesrc
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

yum update on F8 now hangs as of today

2008-11-26 Thread Fulko Hew
For a variety of reasons, I'm still using F8 on my laptop.
I've been keeping up-to-date whenever new packages appear.

Today I see that there are a number of new packages:


 Package  Arch Version Repository
Size

Updating:
 e2fsprogsi386 1.40.4-3.fc8updates-newkey
610 k
 e2fsprogs-devel  i386 1.40.4-3.fc8updates-newkey
644 k
 e2fsprogs-libs   i386 1.40.4-3.fc8updates-newkey
138 k
 imlib2   i386 1.4.2-2.fc8 updates-newkey
569 k
 perl-Data-Dump   noarch   1.11-1.fc8  updates-newkey
20 k
 selinux-policy   noarch   3.0.8-127.fc8   updates-newkey
424 k
 selinux-policy-devel noarch   3.0.8-127.fc8   updates-newkey
549 k
 selinux-policy-targeted  noarch   3.0.8-127.fc8   updates-newkey
1.7 M
 xscreensaver-basei386 1:5.07-3.fc8updates-newkey
506 k
 xscreensaver-extras  i386 1:5.07-3.fc8updates-newkey
3.6 M
 xscreensaver-extras-gss  i386 1:5.07-3.fc8updates-newkey
57 k
 xscreensaver-gl-base i386 1:5.07-3.fc8updates-newkey
35 k
 xscreensaver-gl-extras   i386 1:5.07-3.fc8updates-newkey
3.8 M
 xscreensaver-gl-extras-gss   i386 1:5.07-3.fc8updates-newkey
43 k

but yum hangs during the 'transaction test'

CPU time goes to zero... there is no activity.

I tried 'yum clean all'... no change.
I tried yum install of only a single package, and it still hangs.
I tried turning on debug:
   yum -d 10 update imlib2
and the last few lines are:

.
.
.


 PackageArch Version Repository
Size

Updating:
 imlib2 i386 1.4.2-2.fc8 updates-newkey
569 k

Transaction Summary

Install  0 Package(s)
Update   1 Package(s)
Remove   0 Package(s)

Total size: 569 k
Is this ok [y/N]: y
Downloading Packages:
using local copy of imlib2-1.4.2-2.fc8.i386
Running rpm_check_debug
Member: imlib2.i386 0-1.4.2-2.fc8 - u
Adding Package imlib2-1.4.2-2.fc8.i386 in mode u
Member: imlib2.i386 0-1.4.2-1.fc8 - None
rpm_check_debug time: 0.126
Running Transaction Test
Member: imlib2.i386 0-1.4.2-2.fc8 - u
Adding Package imlib2-1.4.2-2.fc8.i386 in mode u
Member: imlib2.i386 0-1.4.2-1.fc8 - None

Since I just received notice that all outstanding bugzilla entries against
F8
are about to be deleted, there is no point in submitting one.

Does anyone have any suggestions?

TIA
Fulko
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: yum update on F8 now hangs as of today

2008-11-26 Thread Fulko Hew
On Wed, Nov 26, 2008 at 8:26 PM, Fulko Hew [EMAIL PROTECTED] wrote:

 For a variety of reasons, I'm still using F8 on my laptop.
 I've been keeping up-to-date whenever new packages appear.

 Today I see that there are a number of new packages:


... snip ...


 but yum hangs during the 'transaction test'

 CPU time goes to zero... there is no activity.

 I tried 'yum clean all'... no change.
 I tried yum install of only a single package, and it still hangs.
 I tried turning on debug:


... snip ...


 Does anyone have any suggestions?


Following up on my own message, I did an strace on yum
and see the following:

open(/etc/mtab, O_RDONLY|O_LARGEFILE) = 29
futex(0x50ab1c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
fstat64(29, {st_mode=S_IFREG|0644, st_size=379, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7fa1000
read(29, /dev/sda3 / ext3 rw 0 0\nproc /pr..., 4096) = 379
stat64(/, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64(/proc, {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
stat64(/sys, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
stat64(/dev/pts, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
stat64(/boot, {st_mode=S_IFDIR|0755, st_size=3072, ...}) = 0
stat64(/dev/shm, {st_mode=S_IFDIR|S_ISVTX|0777, st_size=60, ...}) = 0
stat64(/proc/sys/fs/binfmt_misc, {st_mode=S_IFDIR|0755, st_size=0, ...}) =
0
stat64(/var/lib/nfs/rpc_pipefs, {st_mode=S_IFDIR|0755, st_size=0, ...}) =
0
stat64(/sys/fs/fuse/connections, {st_mode=S_IFDIR|0755, st_size=0, ...}) =
0
stat64(/mnt/temp, ^C unfinished ...


/mnt/temp was something I had NFS mounted earlier on today,
but I suspended my laptop and took it home, so the mountpoint
isn't valid right now.

So yum does a stat on all mountpoints, for some reason, and if they don't
exist, the OS hangs the process.  Who knows, it may eventually time out,
but life is/was too short to wait for timeout.
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: Problems with IPW3545 and latest kernel

2008-07-04 Thread Fulko Hew
2008/7/4 Jonathan Dieter [EMAIL PROTECTED]:

 On Fri, 2008-07-04 at 07:43 +0200, Ricard Martí wrote:
  I've problems connecting wireless with IPW3545 (Intel Pro Wireless
  3545) and latest kernel (kernel-2.6.25.9-76.fc9.i686). No problems
  were found on the previous kernel. Surfed with internet and seen that
  it's a bug but, there's a plan to solve it in a few days?

 That will depend on how long it takes to find out exactly what broke.
 Feel free to subscribe to the bug (add your e-mail address to the Cc:
 field).


Which Bugzilla # would that be?  I tried searching for 3945, and I can't
find/recognize the appropriate entry.
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Fedora-livecd-list] Re: failing at my first attempt at liveCD creation

2008-05-31 Thread Fulko Hew
On Sat, May 24, 2008 at 11:21 AM, Fulko Hew [EMAIL PROTECTED] wrote:

 I'm failing at my first attempt at creating (or recreating) a live CD

 - I'm using Fedora 8 (because I don't find KDE in F9 usable yet)
 - I have SELinux disabled.

 Following the process described in the LiveCDHowTo, well, actually
 the step:

 livecd-creator --config=/usr/share/livecd-tools/livecd-fedora-minimal.ks


... snip ...

Following up on my own email... I am making progress, but not because
I changed anything... I now have success in creating a live CD, just by
running _exactly_ the same thing again.  Now its basically working
(without changing a thing... Yeah, I have a hard time believing that
myself.)

Now that I can basically create a bootable media... I want to customize it.
But if I use the standard approach of always downloading the RPMs
across the net, it takes a long time, so therefore I'd like to have a local
repository to suck from.  I haven't been able to find a 'good/working'
set if instructions to follow that a) creates a local repo, and b) changes
required to the kickstart file so it _successfully_ uses that local repo.

Surely there must be a definitive set of instructions/docs for this
_whole_ downloading/setup/building/customizing a liveCD process?
(I haven't found any 'complete' instructions yet.)  Pointers anyone?

TIA
Fulko
--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


[Fedora-livecd-list] failing at my first attempt at liveCD creation

2008-05-24 Thread Fulko Hew
I'm failing at my first attempt at creating (or recreating) a live CD

- I'm using Fedora 8 (because I don't find KDE in F9 usable yet)
- I have SELinux disabled.

Following the process described in the LiveCDHowTo, well, actually
the step:

livecd-creator --config=/usr/share/livecd-tools/livecd-fedora-minimal.ks

resulted in a complaint about SELinux not being enabled on the host
system...
Right, so I edited the '.ks' file and set selinux=--disabled

This let it proceed through the build stage with the following errors:



  Installing: info # [ 29/129]
/var/tmp/rpm-tmp.42253: line 2: sed: command not found
error: %post(info-4.12-1.fc10.i386) scriptlet failed, exit status 127

...

Installing: cracklib # [ 45/129]
/var/tmp/rpm-tmp.50225: line 2: getent: command not found
/var/tmp/rpm-tmp.50225: line 3: getent: command not found

...

  Installing: kernel   # [124/129]
device-mapper: table ioctl failed: No such device or address
Command failed

...

  Installing: selinux-policy-targeted  # [129/129]
libsemanage.dbase_llist_query: could not query record value
libsepol.sepol_user_modify: MLS is enabled, but no MLS default level was
defined for user guest_u
libsepol.sepol_user_modify: could not load (null) into policy
libsemanage.dbase_policydb_modify: could not modify record value
libsemanage.semanage_base_merge_components: could not merge local
modifications into policy
/usr/sbin/semanage: Could not add SELinux user guest_u
libsepol.sepol_user_modify: MLS is enabled, but no MLS default level was
defined for user xguest_u
libsepol.sepol_user_modify: could not load (null) into policy
libsemanage.dbase_policydb_modify: could not modify record value
libsemanage.semanage_base_merge_components: could not merge local
modifications into policy
/usr/sbin/semanage: Could not add SELinux user xguest_u
Removing password for user root.
passwd: Success


Then I used the specified command to execute the ISO image:

qemu -m 512 -cdrom livecd-fulko-200805241043.iso

The first time I followed the procedure (a few days ago) to
build the ISO and execute it, it wouldn't even boot.
Today I retried the same procedure, and today it boots,
but after it get to the point of starting udev, something
flashes by on the screen (qemu window) and then the window
goes black, and I can't see anything after that.  I seems hung.

So then I tried recreating the 'livecd-fedora-desktop.ks'
version as per instructions and it dies with:

 Installing: tzdata   ### [  21/1019]
umount: /var/tmp/livecd-creator-PxlU8W/install_root: device is busy
umount: /var/tmp/livecd-creator-PxlU8W/install_root: device is busy
ioctl: LOOP_CLR_FD: Device or resource busy
Traceback (most recent call last):
  File /usr/bin/livecd-creator, line 1603, in module
sys.exit(main())
  File /usr/bin/livecd-creator, line 1575, in main
target.install()
  File /usr/bin/livecd-creator, line 948, in install
self.installPackages()
  File /usr/bin/livecd-creator, line 591, in installPackages
self.ayum.runInstall()
  File /usr/bin/livecd-creator, line 330, in runInstall
return self.runTransaction(cb)
  File /usr/lib/python2.5/site-packages/yum/__init__.py, line 591, in
runTransaction
errors = self.ts.run(cb.callback, '')
  File /usr/share/yum-cli/callback.py, line 124, in callback
fd = os.open(rpmloc, os.O_RDONLY)
OSError: [Errno 2] No such file or directory:
'/var/tmp/livecd-creator-PxlU8W/install_root/var/cache/yum/development/packages/texlive-texmf-errata-fonts-2007-4.fc9.noarch.rpm'


So I'm at a loss as to how to proceed to start testing this process
even before I add my own customizations.

Any help would be appreciated.

TIA
Fulko
--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list