Re: [dev] [surf] Webapps in Surf

2015-03-09 Thread Hannes Blut

On 06.03.15 at 07:25pm, Jeroen Op 't Eynde wrote:

Can anyone confirm or deny that it works on their machine?


Google Docs does not load properly on my surf.

--
blut


pgpZXdxHuOF9l.pgp
Description: PGP signature


Re: [dev] [dvtm] Pertag patch for dvtm

2015-05-27 Thread Hannes Blut

On 25.05.15 at 03:22pm, Ross Mohn wrote:

I sent this directly to Marc, but I think it would be useful to post
here as well. The attached patch for an implementation in dvtm of the
dwm pertag patch. It actually plays much more nicely with multiple tags
than I had anticipated. I think it's appropriate for the master branch,
but that's not up to me. I'd love to hear some feedback!


Please note: Tags are not workspaces.
This patch is just excessive for mainline.


pgpqaKi6FgVKp.pgp
Description: PGP signature


Re: [dev] new mailinglist [news] and hackers repurpose

2015-06-05 Thread Hannes Blut
Let me point out that I am still receiving this list on this mail
address, even though I am unsubscribed?



Re: [dev] ways of viewing application indicators

2016-03-14 Thread Hannes Blut

On 14.03.16 at 12:53pm, Greg Reagle wrote:
But it's not ideal.  The XFCE panel acts a bit screwy.  Are there 
other ways to get access to the application indicators?


Maybe have a look at http://dwm.suckless.org/patches/systray

I personally use dwmstatus http://dwm.suckless.org/dwmstatus/
with a bunch of customizations. e.g. an indicator for unsend mail in my 
queue.


Have Fun.


signature.asc
Description: PGP signature


Re: [dev] [discussion] Cooperation between terminal and graphical programs

2016-06-26 Thread Hannes Blut

On 26.06.16 at 09:45am, Marc Collin wrote:

But correct me if I'm wrong, dwm's swallow patch is more general, is it not?
In the sense that any program opened from st will take over the terminal.
I've been using it since yesterday and I must say it's amazing.


How does it handle background processes?
E.g. 'mathematica &'



Re: [dev] new pre-patched version of dwm available

2016-07-23 Thread Hannes Blut

On 23.07.16 at 11:51am, Hiltjo Posthuma wrote:

On Fri, Jul 22, 2016 at 11:54 PM, Britton Kerin  wrote:

dwm needs patches to be good but the patches area is a mess and I
couln't get along with devs about fixing it, so I thought a pre-rolled
version of dwm might be useful instead:


You raise a good point in my opinion: when someone uploads a patch to
the wiki it should be maintained, atleast on the current stable
version of a tool, dwm in this case.

There are alot of patches that are messy, but at the same time with
some programming knowledge (expected from suckless "users") the
patches are easy to adapt.


I disagree. When I write a patch to introduce an additional feature, I 
don't have to publish it. The only reason to upload it to the wiki is to 
help other people to have an easier time, if they want the same feature.  
Let the next person fix broken patch versions, in stead of punishing 
people who provide patches with additional workload.


--
CXblut
cxb...@gmail.com



Re: [dev] Just discovered dwm

2016-09-28 Thread Hannes Blut

On 22.09.16 at 03:42pm, stephen Turner wrote:

I liked the old debian floppy net install, 75 mb base cli only image.
apt get your way to happiness. It didn't fit with the suckless as they
did a lot to their system but it wasn't ubuntu. These days you can't
even install a Cli for less than 100+ mb. i really don't understand
what they are feeding these programs.


The ubuntu netboot image has an initrd around 75mb...



Re: [dev] Introducing XLSH

2011-10-20 Thread Hannes Blut
> Thanks for sharing your work and I am waiting for some sort of
> tutorial to make it run on my machine.

+1


pgpKmRxZqPFS0.pgp
Description: PGP signature


Re: [dev] surf: cookie handling

2011-11-21 Thread Hannes Blut
> Anyone
> have any objections / has seen major cookie problems in
> surf?

When I try to download files from our universities online learning
resource I get a permission error. The site is called studip.



[dev] [surf] make error

2012-01-04 Thread Hannes Blut
When making surf on my setup i get

sh-4.2$ make
surf build options:
CFLAGS   = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng14 -I/usr/include/webkit-1.0
-I/usr/include/libsoup-2.4 -I/usr/include/libxml2   -DVERSION="0.4.1"
LDFLAGS  = -g -L/usr/lib -lc -pthread -lwebkitgtk-1.0 -lgtk-x11-2.0
-lsoup-2.4 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0
-lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgio-2.0
-lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
-lgthread-2.0
CC       = cc
CC surf.c
surf.c: In function ‘gotheaders’:
surf.c:318:11: warning: variable ‘uri’ set but not used
[-Wunused-but-set-variable]
CC -o surf
/usr/bin/ld: surf.o: undefined reference to symbol
'JSStringCreateWithUTF8CString'
/usr/bin/ld: note: 'JSStringCreateWithUTF8CString' is defined in DSO
/usr/lib/libjavascriptcoregtk-1.0.so.0 so try adding it to the linker
command line
/usr/lib/libjavascriptcoregtk-1.0.so.0: could not read symbols:
Invalid operation
collect2: ld returned 1 exit status
make: *** [surf] Error 1

I tried changing #include #include  to
#include #include  but then the
following error occured:

sh-4.2$ make
surf build options:
CFLAGS   = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng14 -I/usr/include/webkit-1.0
-I/usr/include/libsoup-2.4 -I/usr/include/libxml2   -DVERSION="0.4.1"
LDFLAGS  = -g -L/usr/lib -lc -pthread -lwebkitgtk-1.0 -lgtk-x11-2.0
-lsoup-2.4 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0
-lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgio-2.0
-lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
-lgthread-2.0
CC   = cc
CC surf.c
In file included from
/usr/include/webkit-1.0/JavaScriptCore/JavaScriptCore.h:30:0,
 from surf.c:20:
/usr/include/webkit-1.0/JavaScriptCore/JSStringRefCF.h:30:43: fatal
error: CoreFoundation/CoreFoundation.h: No such file or directory
compilation terminated.
make: *** [surf.o] Error 1

Setup is Arch x86_64.
sh-4.2$ pacman -Q libwebkit
libwebkit 1.6.1-1
Surf 0.4.1



Re: [dev] [dwm] Why am I having a gap between the master window and the others?

2012-02-16 Thread Hannes Blut
you probably want to set resize hints to false if you don't like it. for 
more expaination search older ml entries.


pgpsVrL9OxTJ1.pgp
Description: PGP signature


Re: [dev] deprecated projects

2012-03-26 Thread Hannes Blut
On 03/26/12 at 12:02am, hiro wrote:
> You can come around and clean up all that shit I have lying on my desk
> if you like.
> 
> Delete surf perhaps?
> 

OR: You could leave it in since there is a growing userbase.

-- 
Hannes Blut


pgpaAzFU16LIl.pgp
Description: PGP signature


Re: [dev] Xft patch dwm 6.0

2012-03-30 Thread Hannes Blut
On 03/30/12 at 11:50am, Lee Fallat wrote:
> Hey, I have implemented Xft support into dwm 6.0 and I'd like to ask, how
> could I submit my patch for reviewing to you guys (if you even review)?

Send an email to this list with an attachment or commit to the wiki.

-- 
Hannes Blut


pgpctVajhNM8I.pgp
Description: PGP signature


Re: [dev] [dwm] systray in upstream dwm?

2012-04-05 Thread Hannes Blut
On 04/04/12 at 10:29pm, Jan Christoph Ebersbach wrote:
> What needs to be done to get the systray patch upstream into dwm? Is there 
> any chance of getting it upstream or is it a total no go?

That is of course arg's decision, however in my opinion a system tray is 
not necessary and should not be added to mainline.

-- 
Hannes Blut


pgpAUp3Cq7u3I.pgp
Description: PGP signature


Re: [dev] [dwm] systray in upstream dwm?

2012-04-05 Thread Hannes Blut
On 04/05/12 at 05:12pm, KIMURA Masaru wrote:
> > not necessary and should not be added to mainline.
> if you don't mind my asking, explain why?

For every task there are good tools which do not require a tray 
(e.g. network manager: netcfg). 
I use the xinitrc to display all system information I require.

It is a little hard to argue why you don't need a tray if you don't 
understand why it would be useful in the first place.

The only time I ever thought a tray would be nice was when skype 
minimized once, but that is more of a design flaw in skype.

-- 
Hannes Blut


pgpMs1jAHDppx.pgp
Description: PGP signature


Re: [dev] [surf]keybind to scroll left/right

2012-05-24 Thread Hannes Blut
This is not required for a 1024x768 resolution and most people have 
higher resolutions than this. This doesn't need to be mainline.

A patch should do...

-- 
Hannes Blut


pgpSSNY73iLzj.pgp
Description: PGP signature


Re: [dev] [surf] crash when leaving a page containing java

2012-06-15 Thread Hannes Blut
> it is possible to disable all plugins (flash/java..) in surf?
surf -p -s
-p disables plugins
-s disables javascript
(man surf)
-- 
Hannes Blut
available via
Mail: blut.han...@googlemail.com
IRC:  #blut on irc.freenode.net


pgpzLl5nYsKvm.pgp
Description: PGP signature


Re: [dev] dwm tip changes

2012-06-24 Thread Hannes Blut
> Also, dwm now disallows resizing/moving/float fullscreen windows, as
> this doesn't seem very useful anyways.

I enjoy letting a video play in the corner using mplayer. I don't like 
to tile the vo of mplayer because that tends to mess up the aspect 
ratio.

-- 
Hannes Blut
available via
Mail: blut.han...@googlemail.com
IRC:  #blut on irc.freenode.net


pgp2FLBxqy3Un.pgp
Description: PGP signature


[dev] [st] Cannot load font

2012-07-14 Thread Hannes Blut
I tried changing my st config to use Inconsolata however after compiling 
the following error occurs at runtime 

Can't load font -*-inconsolata-medium-r-*-*-*-120-*-*-*-*-*-*

xfontsel displayed the inconsolata font fine. Currently I am using 
terminus.

-- 
Hannes Blut
available via
Mail: blut.han...@googlemail.com
IRC:  #blut on irc.freenode.net

#define FONT "-*-inconsolata-medium-r-*-*-*-120-*-*-*-*-*-*"
#define BOLDFONT "-*-terminus-bold-r-*-*-*-120-75-75-*-*-*-*"

/* Space in pixels around the terminal buffer */
#define BORDER 2

/* Default shell to use if SHELL is not set in the env */
#define SHELL "/bin/bash"

/* Terminal colors (16 first used in escape sequence) */
//static const char *colorname[] = {
///* 8 normal colors */
//"#fdf6e3", "#cb4b16", "#586e75", "#657b83", "#839496", "#d33682", "#657b83", "#002b36",
///* 8 bright colors */
//"#eee8d5", "#dc322f", "#859900", "#b58900", "#268bd2", "#6c71c4", "#586e75", "#073642",
//	
//	[255] = 0,
//	
//	/* more colors can be added after 255 to use with DefaultXX */
//	"#cc",
//	"#33",
//};*/
static const char *colorname[] = {
	/* 8 normal colors */
	"black",
	"red3",
	"green3",
	"yellow3",
	"blue2",
	"magenta3",
	"cyan3",
	"gray90",

	/* 8 bright colors */
	"gray50",
	"red",
	"green",
	"yellow",
	"#5c5cff",
	"magenta",
	"cyan",
	"white",
	
	[255] = 0,
	
	/* more colors can be added after 255 to use with DefaultXX */
	"#cc",
	"#33",
};

/* Default colors (colorname index)
   foreground, background, cursor, unfocused cursor */
#define DefaultFG  7
#define DefaultBG  0
#define DefaultCS  256
#define DefaultUCS 257

/* Special keys (change & recompile st.info accordingly)
   Keep in mind that kpress() in st.c hardcodes some keys.

   Mask value:
   * Use XK_ANY_MOD to match the key no matter modifiers state
   * Use XK_NO_MOD to match the key alone (no modifiers)
   
  key,mask,  output */
static Key key[] = {
	{ XK_BackSpace, XK_NO_MOD, "\177" },
   	{ XK_Insert,XK_NO_MOD, "\033[2~" },
	{ XK_Delete,XK_NO_MOD, "\033[3~" },
	{ XK_Home,  XK_NO_MOD, "\033[1~" },
	{ XK_End,   XK_NO_MOD, "\033[4~" },
	{ XK_Prior, XK_NO_MOD, "\033[5~" },
	{ XK_Next,  XK_NO_MOD, "\033[6~" },
	{ XK_F1,XK_NO_MOD, "\033OP"   },
	{ XK_F2,XK_NO_MOD, "\033OQ"   },
	{ XK_F3,XK_NO_MOD, "\033OR"   },
	{ XK_F4,XK_NO_MOD, "\033OS"   },
	{ XK_F5,XK_NO_MOD, "\033[15~" },
	{ XK_F6,XK_NO_MOD, "\033[17~" },
	{ XK_F7,XK_NO_MOD, "\033[18~" },
	{ XK_F8,XK_NO_MOD, "\033[19~" },
	{ XK_F9,XK_NO_MOD, "\033[20~" },
	{ XK_F10,   XK_NO_MOD, "\033[21~" },
	{ XK_F11,   XK_NO_MOD, "\033[23~" },
	{ XK_F12,   XK_NO_MOD, "\033[24~" },
};

/* Set TERM to this */
#define TNAME "st-256color"

/* Line drawing characters (sometime specific to each font...) */
static char gfx[] = {
	['f'] = 'o',
	['g'] = '+',
	['i'] = '#',
	[255] = 0,
};

/* double-click timeout (in milliseconds) between clicks for selection */
#define DOUBLECLICK_TIMEOUT 300
#define TRIPLECLICK_TIMEOUT (2*DOUBLECLICK_TIMEOUT)

#define TAB 8


pgpXZGtHZftHt.pgp
Description: PGP signature


Re: [dev] [dwm] [patch] hide tags with no clients

2012-08-09 Thread Hannes Blut
On 08/08/12 at 10:51pm, Matthew Bauer wrote:
> I made a patch that hides tags that are not being used to make the bar
> feel less cluttered. It's a simple visual change similar to how WMII
> handles tags.
> 
> I'm pretty sure this has never been posted before, but correct me if I'm 
> wrong.

I have been using this since sometime now but never got around to fixing 
the buttons. From what I saw neither did you. Try clicking the bar some 
time you will see there is an offset when you have tag which are not 
displayed.

-- 
Hannes Blut
available via
Mail: blut.han...@googlemail.com
IRC:  #blut on irc.freenode.net


pgpCREeqTzGAx.pgp
Description: PGP signature


[dev][surf] pango v2.32

2012-11-30 Thread Hannes Blut
I did a system upgrade (I use Arch) today and also fetched surf from git.
During make following error appeared:

//make
surf build options:
CFLAGS   = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include 
-pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 
-I/usr/include/harfbuzz -I/usr/include/webkitgtk-1.0 -I/usr/include/libsoup-2.4 
-I/usr/include/libxml2   -DVERSION="0.5" -D_BSD_SOURCE
LDFLAGS  = -g -L/usr/lib -lc -L/usr/X11R6/lib -lX11 -lwebkitgtk-1.0 
-lgtk-x11-2.0 -lsoup-2.4 -ljavascriptcoregtk-1.0 -lgdk-x11-2.0 -latk-1.0 
-lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype 
-lfontconfig -lgio-2.0 -lgobject-2.0 -lglib-2.0   -lgthread-2.0 
-ljavascriptcoregtk-1.0
CC   = cc
CC surf.c
In file included from /usr/include/pango-1.0/pango/pango-attributes.h:25:0,
 from /usr/include/pango-1.0/pango/pango.h:25,
 from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
 from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
 from /usr/include/gtk-2.0/gdk/gdk.h:32,
 from /usr/include/gtk-2.0/gtk/gtk.h:32,
 from surf.c:8:
/usr/include/pango-1.0/pango/pango-font.h:380:33: warning: ISO C restricts 
enumerator values to range of ‘int’ [-pedantic]
surf.c: In function ‘setup’:
surf.c:826:3: warning: ‘g_thread_init’ is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gthread.h:259) [-Wdeprecated-declarations]
surf.c: At top level:
surf.c:893:1: warning: ‘eval’ defined but not used [-Wunused-function]
CC -o surf

According to 
http://developer.gnome.org/glib/2.31/glib-Deprecated-Thread-APIs.html#g-thread-init
g_thread_init is not required anymore so the attached patch removes the 
g_thread_init call.

-- 
Hannes Blut
available via
Mail: blut.han...@googlemail.com
IRC:  #blut on irc.freenode.net
diff --git a/surf.c b/surf.c
index 78698b8..8f386d7 100644
--- a/surf.c
+++ b/surf.c
@@ -822,8 +822,6 @@ setup(void) {
/* clean up any zombies immediately */
sigchld(0);
gtk_init(NULL, NULL);
-   if (!g_thread_supported())
-   g_thread_init(NULL);
 
dpy = GDK_DISPLAY();
 


pgpPSBVqoD960.pgp
Description: PGP signature


Re: [dev] [dwm] Dvorak programmer keyboard

2013-05-24 Thread Hannes Blut

On 24.05.13 at 06:55pm, Szymon Olewniczak wrote:

I assign this keys to point to dwm tags.

Use the keys array. If you don't know the name of the keys use xev.

--
CXblut
cxb...@gmail.com
#blut on irc.freenode.net
@cxblut twitter


signature.asc
Description: Digital signature


[dev] Re: Different wallpapers/backgrounds

2013-06-06 Thread Hannes Blut

On 06.06.13 at 11:20am, Branislav Blaskovic wrote:

I have multiple (3) monitors attached to PC and using DWM. Is it possible
to use different wallpapers/background images for them?

I use feh.
`man feh` will tell you how to use different backgrounds on different 
screens.


How is your email related to [dev] or [dwm]?

Regards

--
CXblut
cxb...@gmail.com
#blut on irc.freenode.net
@cxblut twitter
bitbucket.org/blut


signature.asc
Description: Digital signature


Re: [dev] [surf] [PATCH] edit not found urls

2014-01-13 Thread Hannes Blut

Thanks!

--
CXblut
cxb...@gmail.com
#blut on irc.freenode.net
@cxblut twitter
bitbucket.org/blut


signature.asc
Description: Digital signature