Re: how to configure xbiff

2009-03-28 Thread Mel Flynn
On Thursday 26 March 2009 16:39:18 Frank Shute wrote:
 ~/.xinitrc is only run when you use startx and ~/.xsession is used
 when you run the display manager xdm(1).

 I believe kdm also uses xsession.

 This is all IIRC. I haven't used a display manager for sometime and
 I've never used kdm.

Default kdm simply runs startkde. You will have to set your session to 
custom in the login screen. Then .xsession will be used to set up your 
environment and is responsible for starting startkde in the end to use KDE.

On the plus side, once done, your next login will again use the custom 
session.

Of course, one may also use kmailnotify.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to configure xbiff

2009-03-26 Thread Pieter Donche

On Wed, 25 Mar 2009, Polytropon wrote:


On Wed, 25 Mar 2009 16:21:48 +0100 (CET), Pieter Donche 
pieter.don...@ua.ac.be wrote:

What precise command do I have to write in what startup file,
so that this does the same thing on FreeBSD/KDE3.5 ?


I have the following line in my ~/.xinitrc:

xbiff -geometry 50x50+0+998 
This is for the lower left corner of a 1400x1050 21 CRT.
If you think you need further options, consult man xbiff. :-)



From a terminal window command line xbiff -geometry 50x50-5+5  puts
it in my upper right corner, but if I put that in my .xinitrc 
(and chmod 755 ~/.xinitrc) nothing happens. Are you using kdm window 
manager or xdm ? (I have in my /etc/ttys: 
ttyv8 /usr/local/bin/kdm -nodeamon xterm on secure)


Would .xinitrc not be processed by kdm window manager?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to configure xbiff

2009-03-26 Thread Frank Shute
On Thu, Mar 26, 2009 at 08:39:38AM +0100, Pieter Donche wrote:

 On Wed, 25 Mar 2009, Polytropon wrote:
 
 On Wed, 25 Mar 2009 16:21:48 +0100 (CET), Pieter Donche 
 pieter.don...@ua.ac.be wrote:
 What precise command do I have to write in what startup file,
 so that this does the same thing on FreeBSD/KDE3.5 ?
 
 I have the following line in my ~/.xinitrc:
 
  xbiff -geometry 50x50+0+998 
 This is for the lower left corner of a 1400x1050 21 CRT.
 If you think you need further options, consult man xbiff. :-)
 
 From a terminal window command line xbiff -geometry 50x50-5+5  puts
 it in my upper right corner, but if I put that in my .xinitrc 
 (and chmod 755 ~/.xinitrc) nothing happens. Are you using kdm window 
 manager or xdm ? (I have in my /etc/ttys: 
 ttyv8 /usr/local/bin/kdm -nodeamon xterm on secure)
 
 Would .xinitrc not be processed by kdm window manager?
 

Probably not.

~/.xinitrc is only run when you use startx and ~/.xsession is used
when you run the display manager xdm(1).

I believe kdm also uses xsession.

This is all IIRC. I haven't used a display manager for sometime and
I've never used kdm.

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to configure xbiff

2009-03-26 Thread Pieter Donche

On Thu, 26 Mar 2009, Frank Shute wrote:


On Thu, Mar 26, 2009 at 08:39:38AM +0100, Pieter Donche wrote:


On Wed, 25 Mar 2009, Polytropon wrote:


On Wed, 25 Mar 2009 16:21:48 +0100 (CET), Pieter Donche
pieter.don...@ua.ac.be wrote:

What precise command do I have to write in what startup file,
so that this does the same thing on FreeBSD/KDE3.5 ?


I have the following line in my ~/.xinitrc:

xbiff -geometry 50x50+0+998 
This is for the lower left corner of a 1400x1050 21 CRT.
If you think you need further options, consult man xbiff. :-)



From a terminal window command line xbiff -geometry 50x50-5+5  puts

it in my upper right corner, but if I put that in my .xinitrc
(and chmod 755 ~/.xinitrc) nothing happens. Are you using kdm window
manager or xdm ? (I have in my /etc/ttys:
ttyv8 /usr/local/bin/kdm -nodeamon xterm on secure)

Would .xinitrc not be processed by kdm window manager?


Probably not.
~/.xinitrc is only run when you use startx and ~/.xsession is used
when you run the display manager xdm(1).
I believe kdm also uses xsession.


no xbiff icon neither when put in an .xsession file
Also nothing to see about this xbiff in the file
.session-errors-MYDISPLAYNAME:0
??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to configure xbiff

2009-03-26 Thread Frank Shute
On Thu, Mar 26, 2009 at 05:25:24PM +0100, Pieter Donche wrote:

 On Thu, 26 Mar 2009, Frank Shute wrote:
 
 On Thu, Mar 26, 2009 at 08:39:38AM +0100, Pieter Donche wrote:
 
 On Wed, 25 Mar 2009, Polytropon wrote:
 
 On Wed, 25 Mar 2009 16:21:48 +0100 (CET), Pieter Donche
 pieter.don...@ua.ac.be wrote:
 What precise command do I have to write in what startup file,
 so that this does the same thing on FreeBSD/KDE3.5 ?
 
 I have the following line in my ~/.xinitrc:
 
xbiff -geometry 50x50+0+998 
 This is for the lower left corner of a 1400x1050 21 CRT.
 If you think you need further options, consult man xbiff. :-)
 
 From a terminal window command line xbiff -geometry 50x50-5+5  puts
 it in my upper right corner, but if I put that in my .xinitrc
 (and chmod 755 ~/.xinitrc) nothing happens. Are you using kdm window
 manager or xdm ? (I have in my /etc/ttys:
 ttyv8 /usr/local/bin/kdm -nodeamon xterm on secure)
 
 Would .xinitrc not be processed by kdm window manager?
 
 Probably not.
 ~/.xinitrc is only run when you use startx and ~/.xsession is used
 when you run the display manager xdm(1).
 I believe kdm also uses xsession.
 
 no xbiff icon neither when put in an .xsession file
 Also nothing to see about this xbiff in the file
 .session-errors-MYDISPLAYNAME:0
 ??

My memory sucks :(

Since you haven't got an answer here, I guess you will have to post to
a KDE list.

Or alternatively use a KDE biff.

Or launch xbiff from an xterm or similar in KDE.


Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to configure xbiff

2009-03-26 Thread Polytropon
On Thu, 26 Mar 2009 08:39:38 +0100 (CET), Pieter Donche 
pieter.don...@ua.ac.be wrote:
 From a terminal window command line xbiff -geometry 50x50-5+5  puts
 it in my upper right corner, [...]

Do you use -5 to get rid of a window border added by KDE's window
manager?

 but if I put that in my .xinitrc 
 (and chmod 755 ~/.xinitrc) nothing happens.

It needs to be loaded before the startkde exec (I think it was
called this way). And your .xinitrc is +x, then it should look
a bit like this:

#!/bin/sh
[ -f ~/.xmodmaprc ]  xmodmap ~/.xmodmaprc
xrandr --size 1400x1050 
xrandr --fb 1400x1050 
xclock -geometry 50x50+50+998 
xbiff -geometry 50x50+0+998 
xlogo -geometry 50x50+100+998 -render 
exec startkde

All the initial stuff has to end with , and the window manager is
the last command, prefixed by exec (so it replaces the shell).



 Are you using kdm window 
 manager or xdm ? (I have in my /etc/ttys: 
 ttyv8 /usr/local/bin/kdm -nodeamon xterm on secure)

Neither. In the past, I've used xdm (as your example above, just with
xdm instead of kdm), and this worked fine.

A note towards your shell: If you're using the standard dialog shell
(i. e. the C Shell), it might be neccessary to have a ~/.xsession
which is +x and does contain:

#!/bin/csh
source ~/.cshrc
exec ~/.xinitrc



 Would .xinitrc not be processed by kdm window manager?

This is completely possible. Maybe kdm defaults to a builtin xinitrc
that launches KDE after successful login.

I'm no KDE user so I can't tell.

Just as a side question, doesn't KDE offer something with the same
functionality like xbiff, so you can use KDE's builtin tool?



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to configure xbiff

2009-03-26 Thread perryh
Polytropon edvax.de!free...@agora.rdrop.com wrote:
 On Thu, 26 Mar 2009 08:39:38 +0100 (CET),
 Pieter Donche pieter.don...@ua.ac.be wrote:
  From a terminal window command line xbiff -geometry 50x50-5+5  puts
  it in my upper right corner, [...]

 Do you use -5 to get rid of a window border added by KDE's window
 manager?

IIRC that construct would place xbiff in the upper right corner of
the screen.  (Negative X coordinate = distance from right edge.)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


how to configure xbiff

2009-03-25 Thread Pieter Donche

FreeBSD 7/KDE 3.5,  /usr/local/bin/bash in /etc/passwd as login shell

I used to have xbiff (displays a mailbox icon with flag) on Solaris, 
which notified me whenever a new mail arrived in my mailbox 
/var/mail/USERNAME, via a beep and the flag in the mailbox icon

being raised.

What precise command do I have to write in what startup file, 
so that this does the same thing on FreeBSD/KDE3.5 ?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to configure xbiff

2009-03-25 Thread Polytropon
On Wed, 25 Mar 2009 16:21:48 +0100 (CET), Pieter Donche 
pieter.don...@ua.ac.be wrote:
 What precise command do I have to write in what startup file, 
 so that this does the same thing on FreeBSD/KDE3.5 ?

I have the following line in my ~/.xinitrc:

xbiff -geometry 50x50+0+998 

This is for the lower left corner of a 1400x1050 21 CRT.

If you think you need further options, consult man xbiff. :-)


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to configure xbiff

2009-03-25 Thread Olivier Nicole
Hi,

 I used to have xbiff (displays a mailbox icon with flag) on Solaris, 
 which notified me whenever a new mail arrived in my mailbox 
 /var/mail/USERNAME, via a beep and the flag in the mailbox icon
 being raised.
 
 What precise command do I have to write in what startup file, 
 so that this does the same thing on FreeBSD/KDE3.5 ?

Provided that you installed xbiff (from /usr/ports/x11/xbiff) the
command will be exactely the same as it was on Solaris.

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org