Re: [dwm] dwm + xft

2008-09-12 Thread bill lam
On Thu, 11 Sep 2008, Donald Chai wrote:
 Just specify multiple font patterns in config.h, separated by commas:

   static const char font[] = -*-fixed-medium-r-normal-*-12-*-*-*-*-*- 
 *-*,-*-ukai-*-r-normal--*-*-*-*-*-* ;

Thanks. It works now. Incidentally the original terminus font does not
work with ukai font.

-- 
regards,

GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3



Re: [dwm] dwm + xft

2008-09-12 Thread Donald Chai


On Sep 12, 2008, at 1:38 AM, Antoni Grzymala wrote:


Donald Chai dixit (2008-09-11, 22:34):


Just specify multiple font patterns in config.h, separated by commas:

static const char font[] =
-*-fixed-medium-r-normal-*-12-*-*-*-*-*-*-*,-*-ukai-*-r-normal--*- 
*-*-*-*-*

;


What does this syntax actually mean? Does it mean that X will look for
glyphs in the following two fonts and stop whenever it will find a  
font

with a necessary glyph?


Yes, basically. The manpage for XCreateFontSet provides more details.  
(I only figured this out yesterday after I already implemented my  
pango patch.)


I hope http://theka.tk/fuckup-1.png gets fixed.

Caveat: if any of the patterns doesn't exist on the system, X may  
just revert to some default. E.g. I tried font[] = -*-terminus-*-*-*- 
*-12-*-*-*-*-*-*-*,-*-ukai-*-r-normal--*-*-*-*-*-* and I think X  
completely ignored 'ukai' because I don't have 'terminus' on my system.


Filippo, if you're listening:
This probably would be good to put in http://www.suckless.org/dwm/ 
customisation/font.html




[dwm] 5.2 problems

2008-09-12 Thread pancake
I have just pull the 5.2 release and start trying it and find some nasty
problems when handling the slave area..

Example:

* open one pidgin and 20 terminals. 

the pidgin window changes it size all the time (not all slave windows
have the same size). This is because:

1- with resizehints enabled it is possible to loose windows (located
outside the screen)

2- without resizehints . the latest window in the slave area 

heres a shot without resizehints:

http://news.nopcode.org/dwm52.png

if i close some some terminals the latest window height (pidgin) is
reduced, and after some more closed terminals it gets bigger again.

is this how it should be? looks quite anoying to me.

--pancake



[dwm] more problems with 5.2

2008-09-12 Thread pancake
i had similar ones with 5.0..but in 5.2 it performs worst.

for resizing a window with alt+rightclick the client sometimes loses the
focus and makes the cursor go outside the window..

btw for the rest (a part from these two bugs) i found dwm 5.2 a bit
faster and more consistent :)

--pancake



Re: [dwm] 5.2 problems

2008-09-12 Thread Anselm R Garbe
2008/9/12 pancake [EMAIL PROTECTED]:
 I have just pull the 5.2 release and start trying it and find some nasty
 problems when handling the slave area..

 Example:

 * open one pidgin and 20 terminals.

 the pidgin window changes it size all the time (not all slave windows
 have the same size). This is because:

 1- with resizehints enabled it is possible to loose windows (located
 outside the screen)

tile() tries to reduce wasted space with resizehints and pidgin is a
window which accepts any size and doesn't set increment hints, that's
why it's used as kind of remaining space window in this scenario.

 2- without resizehints . the latest window in the slave area

 heres a shot without resizehints:

 http://news.nopcode.org/dwm52.png

 if i close some some terminals the latest window height (pidgin) is
 reduced, and after some more closed terminals it gets bigger again.

 is this how it should be? looks quite anoying to me.

Hmm, that is really odd if so. The tile height calculation might be
very unprecise with big divisors, since we live in integer arithmetic.
Better results could be achieved if we use floating point arithmetic
instead. I think we should address this issue in 5.3 as well (besides
the resize issues with heavy drawing-based apps).

Kind regards,
--Anselm



[dwm] [Offtopic] Virtual Server Hosting

2008-09-12 Thread Matthias-Christian Ott
Hi,
I'm currently searching for a virtual server hosting provider. I tried
gandi.net (because suckless.org is hosted there), but as I got to know
afterwards they just provide outdated distributions and don't seem to
use hardware virtualisation. I'm a bit despaired, because my current
hosting contract expires soon, I need a good server as soon as possible.

I have established some criteria that have to be fulfilled (sorted by
priority):

  ! Ability to install custom operating systems via CD image (optionally
via virtual disk image)
  ! Hardware virtualisation (AMD-V or Intel VT), so I can install an
unmodified kernel and don't have to create own images
  +  64 MB RAM
  +  5 GB disk space
  + Unlimited traffic or cheap prices
  + Multiple IP addresses possible
  + Secondary DNS Service

Regards,
Matthias-Christian



Re: [dwm] [Offtopic] Virtual Server Hosting

2008-09-12 Thread Anselm R Garbe
2008/9/12 Matthias-Christian Ott [EMAIL PROTECTED]:
 I'm currently searching for a virtual server hosting provider. I tried
 gandi.net (because suckless.org is hosted there), but as I got to know

suckless.org isn't hosted at gandi.net, I use gandi.net only as registrar.

code.suckless.org is hosted on some slicehost in California,
www.suckless.org is hosted at Bytemark in the UK. Personally I'm using
a small hoster in the UK as well called BitFolk. The old suckless.org
server is hosted at Strato in Berlin, however I cancelled the contract
and the server will only run until mid of October. So far only Uriels
stuff is hosted on the old server (cat-v.org).

Kind regards,
--Anselm



Re: [dwm] [Offtopic] Virtual Server Hosting

2008-09-12 Thread Matthias-Christian Ott
Anselm R Garbe wrote:
 2008/9/12 Matthias-Christian Ott [EMAIL PROTECTED]:
  I'm currently searching for a virtual server hosting provider. I tried
  gandi.net (because suckless.org is hosted there), but as I got to know
 
 suckless.org isn't hosted at gandi.net, I use gandi.net only as registrar.
 
 code.suckless.org is hosted on some slicehost in California,
 www.suckless.org is hosted at Bytemark in the UK. Personally I'm using
 a small hoster in the UK as well called BitFolk. The old suckless.org
 server is hosted at Strato in Berlin, however I cancelled the contract
 and the server will only run until mid of October. So far only Uriels
 stuff is hosted on the old server (cat-v.org).

OK, thanks for the clarification.
 
 Kind regards,
 --Anselm

Regards,
Matthias-Chrisitian



Re: [dwm] dwm-5.2 / dmenu-3.9

2008-09-12 Thread Andrew Oakley
On Wed, 10 Sep 2008 07:58:21 +0200
Enno \Gottox\ Boland [EMAIL PROTECTED] wrote:

The tarball for dwm-gtx seems to be lacking tile.c, deck.c, and
monocle.c. 

 Hi there!
 
 I want to announce that dwm-gtx-5.2 is released too. It can be
 downloaded as tarball as well as patchset to vanilla dwm. It extends
 dwm with better Xinerama support, automaticle pointer movement
 (wmii-2.5 style) and an additional Layout called deck to work better
 with small screens (= 1024x768)
 
 Tarball:
 http://s01.de/~gottox/files/dwm/dwm-gtx-5.2.tar.gz
 
 Diff:
 http://s01.de/~gottox/files/dwm/dwm-gtx-5.2.diff
 
 Mercurial:
 hg clone https://s01.de/~gottox/hg/dwm
 
 Projectpage:
 http://s01.de/~gottox/index.cgi/proj_dwm
 
 I try to keep my branch synchronous to vanilla dwm and merge changes
 from mercurial back to my repository asap.
 
 regards
 Gottox
 
 2008/9/9, Anselm R Garbe [EMAIL PROTECTED]:
  Hi there,
 
   I'm glad to announce dwm-5.2 and dmenu-3.9. You can download the
  new releases from:
 
http://code.suckless.org/dl/dwm/dwm-5.2.tar.gz
http://code.suckless.org/dl/tools/dmenu-3.9.tar.gz
 
   Both releases contain various bug fixes and code polishings.
 
   Many thanks go to all geeks who have been involved in the
  development during the last weeks.
 
   Kind regards,
 
  --Anselm