[dwm] How do I remove the bar? Re: dwm-4.8 / dmenu-3.5 / slock-0.8

2008-03-19 Thread Vasil Dimov
On Thu, Mar 13, 2008 at 18:08:03 +0100, Anselm R. Garbe wrote:
> Hi there,
> 
> I'm glad to announce some new releases after months of
> development and absence:
> 
>   http://www.suckless.org/download/dwm-4.8.tar.gz
[...]

Thanks!

How do I remove/toggle the bar?

Alt+b does not work anymore and I do not really understand what's going
on in config.anselm.h.

Have you considered creating a list of instructions for users on how
to update, i.e. "Update FAQ". The most common problems they are likely
to encounter when updating from one version to another? Similar to
FreeBSD's UPDATING:

http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/UPDATING?rev=1.523;content-type=text%2Fplain

http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/UPDATING?rev=1.602;content-type=text%2Fplain

-- 
Vasil Dimov
[EMAIL PROTECTED]Software Developer @ Oracle/Innobase Oy
[EMAIL PROTECTED]Committer @ FreeBSD.org
[EMAIL PROTECTED]Home @ Sofia, Bulgaria


pgpvEUiBrtVdy.pgp
Description: PGP signature


Re: [dwm] How to restart after re-compiling dwm without destroying of existing clients?

2007-12-13 Thread Vasil Dimov
On Thu, Dec 13, 2007 at 23:20:46 +0200, Szabolcs Nagy wrote:
> On 12/13/07, Vasil Dimov <[EMAIL PROTECTED]> wrote:
> > But I am running nearly 20 terminals, each on a separate tag, is there
> > a way to do this? Even start those terminals automatically at X+dwm
> > startup (after a machine reboot for example)?
> 
> sure
> 
> eg add a title to those terminals and you can specify tagging rules
> wrt term titles
> 
> for starting stuff on x startup use eg .xinitrc

Works like a charm, thanks!

-- 
Vasil Dimov
[EMAIL PROTECTED]Software Developer @ Oracle/Innobase Oy
[EMAIL PROTECTED]Committer @ FreeBSD.org
[EMAIL PROTECTED]Home @ Sofia, Bulgaria


pgpeQG01rf62g.pgp
Description: PGP signature


Re: [dwm] How to restart after re-compiling dwm without destroying of existing clients?

2007-12-13 Thread Vasil Dimov
On Thu, Dec 13, 2007 at 14:53:15 -0500, Evan Gates wrote:
[...]
> If you add tagging rules for all of those clients, then when dwm is
> restarted the tags from those rules will be applied.
[...]

But I am running nearly 20 terminals, each on a separate tag, is there
a way to do this? Even start those terminals automatically at X+dwm
startup (after a machine reboot for example)?

-- 
Vasil Dimov
[EMAIL PROTECTED]Software Developer @ Oracle/Innobase Oy
[EMAIL PROTECTED]Committer @ FreeBSD.org
[EMAIL PROTECTED]Home @ Sofia, Bulgaria


pgpmDe8yIvIQm.pgp
Description: PGP signature


Re: [dwm] How to restart after re-compiling dwm without destroying of existing clients?

2007-12-13 Thread Vasil Dimov
On Thu, Dec 13, 2007 at 13:44:19 -0500, Evan Gates wrote:
> You can just kill dwm (default keybinding Mod1+shift+q) making sure
> you have a shell open, then restart dwm from that shell.
[...]

Wow! I never expected that to happen :)

The (minor) problem is that when dwm is killed all clients go in one
"place" (of course) and when it is started again they do not restore
onto their original tags.

But anyway, this is much better than killing all of the clients :)

Thanks!

-- 
Vasil Dimov
[EMAIL PROTECTED]Software Developer @ Oracle/Innobase Oy
[EMAIL PROTECTED]Committer @ FreeBSD.org
[EMAIL PROTECTED]Home @ Sofia, Bulgaria


pgpYc4ZRP8evw.pgp
Description: PGP signature


Re: [dwm] Full screen annoyance

2007-12-13 Thread Vasil Dimov
On Thu, Dec 13, 2007 at 15:23:23 +0100, Simon Rozet wrote:
> Hello,
> 
> I switched from wmii to dwm since ~ 3 weeks and I really like it.
> Thanks a lot for this great wm!
> 
> However, I am suffering from one little annoyance : both in floating
> or tiled mode xterm never is full screen (even after a Mod+M. I have
> to manually resize the window)
> I guess it's probably it's probably not dwm's fault and that's a
> stupid thing to fix but I can't find how. Any idea?

See this thread:

 From: Vasil Dimov <[EMAIL PROTECTED]>
 To: dwm@suckless.org
 Subject: [dwm] RESIZEHINTS gone in 4.6, how to get the old behaviour?
 Date: Tue, 30 Oct 2007 17:53:17 +0200

-- 
Vasil Dimov
[EMAIL PROTECTED]Software Developer @ Oracle/Innobase Oy
[EMAIL PROTECTED]Committer @ FreeBSD.org
[EMAIL PROTECTED]Home @ Sofia, Bulgaria


pgpy0Os8iik3f.pgp
Description: PGP signature


Re: [dwm] RESIZEHINTS gone in 4.6, how to get the old behaviour?

2007-11-01 Thread Vasil Dimov
On Wed, Oct 31, 2007 at 16:18:44 +0100, Sander van Dijk wrote:
> On Oct 31, 2007 3:43 PM, pancake <[EMAIL PROTECTED]> wrote:
> > About the xsetroot 'fix' it's ugly as shit, the select border marks the
> > window borders remarking the 10-20px hole. btw i usually have a black root
> > on my Xwindows.
> 
> It wasn't intended to be a fix, since there's no problem. The only
> thing it was intended to do was making things visually more appealing,
> which it does for the topic starter

Yes. I think you have unresolvable problem if your font's letters are
10cm wide, you have 80 columns and 807cm wide screen - whatever you do
you either waste 7cm or see the 81th column partially cut.

> since his bordercolor is the same
> as his xterm background color, as can be seen on the screenshot he
> provided.

Well, till now I used border of 0px (e.g. no border, this is on the
screenshot) which created some visual problems for overlapping windows,
but I ignored them (because I rarely have overlapping windows).

Now I set up black border of 1px and xsetroot -solid black. That way I
get the old visual appearing of the terminal and can distinguish the
borders of overlapping windows.

;-)

-- 
Vasil Dimov
[EMAIL PROTECTED]Software Developer @ Oracle/Innobase Oy
[EMAIL PROTECTED]Committer @ FreeBSD.org
[EMAIL PROTECTED]Home @ Sofia, Bulgaria


pgpElpraRxnOl.pgp
Description: PGP signature


Re: [dwm] input status text bug?

2007-10-30 Thread Vasil Dimov
On Tue, Oct 30, 2007 at 23:04:33 -0400, Ritesh Kumar wrote:
[...]
> I went through the source code and fixed the status input handling code to
> make sure it flushes the input status text only if in encounters a '\n'.
[...]
> if(FD_ISSET(STDIN_FILENO, &rd)) {
> -   switch(r = read(STDIN_FILENO, inputtext, sizeof 
> inputtext - 1)) {
> +   pos = inputtext[strlen(inputtext)-1] != '\n' ? 
> strlen(inputtext) : 0;
> +   switch(r = read(STDIN_FILENO, &(inputtext[pos]), 
> sizeof inputtext - 1 - pos)) {
[...]

Hmmz, aren't you trying to calculate strlen() of something undefined
here?

-- 
Vasil Dimov
[EMAIL PROTECTED]Software Developer @ Oracle/Innobase Oy
[EMAIL PROTECTED]Committer @ FreeBSD.org
[EMAIL PROTECTED]Home @ Sofia, Bulgaria


pgpr4itsL2xpO.pgp
Description: PGP signature


Re: [dwm] RESIZEHINTS gone in 4.6, how to get the old behaviour?

2007-10-30 Thread Vasil Dimov
On Tue, Oct 30, 2007 at 18:20:20 +0100, Anselm R. Garbe wrote:
> On Tue, Oct 30, 2007 at 06:46:29PM +0200, Vasil Dimov wrote:
> > Do you know any terminal that can occupy the whole space? Or is it a
> > matter of font/size setting?
> 
> There are situations with current way and a specific amount of
> terminals when nearly no space is wasted (for example I have
> this with the default terminus font, 1440x900, and 5 xterms in
> the right stack, then there is at maximum 3px space left) .
> 
> But this doesn't holds in general. So there are situations as
> well, when 10px are wasted (with 4 xterms in the stack).

Well, I just want the whole screen to be black, just like this one
http://tmp.v5d.org/dwm-4.5-resizehints-false.jpg

> So to answer your question, my st project (simple terminal) is
> going to fix the issue here with a far better approach, but I
> will present the details once things work.

I am definitely going to evaluate it. I would use any terminal that can
change the font/size to something like 80 columns per screen width.

Thanks!

-- 
Vasil Dimov
[EMAIL PROTECTED]Software Developer @ Oracle/Innobase Oy
[EMAIL PROTECTED]Committer @ FreeBSD.org
[EMAIL PROTECTED]Home @ Sofia, Bulgaria


pgpcSHthhj2Ul.pgp
Description: PGP signature


Re: [dwm] RESIZEHINTS gone in 4.6, how to get the old behaviour?

2007-10-30 Thread Vasil Dimov
On Tue, Oct 30, 2007 at 17:10:39 +0100, Sander van Dijk wrote:
> On Oct 30, 2007 4:59 PM, Sander van Dijk <[EMAIL PROTECTED]> wrote:
> > On Oct 30, 2007 4:53 PM, Vasil Dimov <[EMAIL PROTECTED]> wrote:
> > > How do I get the "4.5 RESIZEHINTS False" behaviour in 4.6?
> >
> > This has been discussed before, look in the archives for possible
> > answers to your question. However, ignoring sizehints will only make
> 
> The thread you want is "dwm 4.6 / dmenu 3.4", it's got a patch and
> some other suggestions as well.

Sander, thanks for the quick answer and sorry for not finding that
thread! ;-)

I think "xsetroot -solid black" will fix my problem, it is purely visual
(not functional).

In that message:
http://www.suckless.org/pipermail/dwm/2007-October/004113.html
Anselm says it's xterm's job.

It also happens with gnome-terminal.

Do you know any terminal that can occupy the whole space? Or is it a
matter of font/size setting?

-- 
Vasil Dimov
[EMAIL PROTECTED]Software Developer @ Oracle/Innobase Oy
[EMAIL PROTECTED]Committer @ FreeBSD.org
[EMAIL PROTECTED]Home @ Sofia, Bulgaria


pgpGHLv2jF0IS.pgp
Description: PGP signature


[dwm] RESIZEHINTS gone in 4.6, how to get the old behaviour?

2007-10-30 Thread Vasil Dimov
Hi,

When I upgraded from dwm 4.4 to 4.5 the default behaviour wrt windows'
sizes changed. I managed to get back the old behaviour by setting
RESIZEHINTS to False. Now in 4.6 RESIZEHINTS is gone.

Here are two screen-shots to make clear what am I talking about:
http://tmp.v5d.org/dwm-4.5-resizehints-false.jpg
http://tmp.v5d.org/dwm-4.6.jpg

You see, in the 4.6 screen-shot the terminal does not occupy the whole
screen - there is some emptiness on the right and on the bottom.

How do I get the "4.5 RESIZEHINTS False" behaviour in 4.6?

-- 
Vasil Dimov
[EMAIL PROTECTED]Software Developer @ Oracle/Innobase Oy
[EMAIL PROTECTED]Committer @ FreeBSD.org
[EMAIL PROTECTED]Home @ Sofia, Bulgaria


pgpbT9K620H2M.pgp
Description: PGP signature