[dev] surf-0.6-searchengine

2013-07-31 Thread Ari Malinen
https://github.com/defer-/my-projects/blob/master/surf-0.6-searchengine.diff

I wrote patch which adds search engine integration. If you dont
provide any arguments surf loads homepage. If you provide url which is
not valid then surf passes it to search engine. You can configure
homepage and searchengine values in config.h. I see this as better
approach than the searchengines patch from surf.suckless.org.



RE:[dev] Issue with DWM and x-terminal-emulator launching

2013-07-31 Thread Vidya Singh
Arch +1 +1

I can confirm with git builds of DWM, and ST opening ST via ALT+SHIFT+ENTER 
causes problems when quiting X.  Rebuilding with termcmd set to open xterm 
works fine, xserver closes normally. Opening ST via Dmenu works fine. I dont 
think the problem is with DWM, or it is its been a long standing bug, even the 
6.0 release of DWM that arch has in ABS has the same problems with ST. 

Dmesg shows a kernel opps when closing DWM after at some point opening ST:

[  314.788024] BUG: unable to handle kernel paging request at c90016508000
[  314.788032] IP: [] bitfill_aligned+0x80/0x140
[  314.788037] PGD 7ac18067 PUD 7ac19067 PMD 77146067 PTE 0
[  314.788041] Oops: 0002 [#1] PREEMPT SMP
[  314.788098] Modules linked in: arc4 ext4 crc16 mbcache jbd2 b43 bcma 
mac80211 cfg80211 joydev rfkill iTCO_wdt gpio_ich iTCO_vendor_support ssb 
mmc_core pcmcia coretemp pcmcia_core dell_laptop dcdbas dell_wmi sparse_keymap 
microcode psmouse evdev ums_realtek serio_raw pcspkr lpc_ich acpi_cpufreq mperf 
i915 sky2 drm_kms_helper i2c_i801 drm wmi processor thermal i2c_algo_bit 
i2c_core intel_agp intel_gtt video button battery ac snd_hda_codec_idt 
snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_timer snd 
soundcore btrfs crc32c libcrc32c xor zlib_deflate raid6_pq serpent_sse2_x86_64 
serpent_generic lrw glue_helper ablk_helper cryptd xts gf128mul dm_crypt dm_mod 
sr_mod cdrom sd_mod usb_storage ahci libahci libata scsi_mod uhci_hcd ehci_pci 
ehci_hcd usbcore usb_common
[  314.788102] CPU: 1 PID: 595 Comm: X Not tainted 3.10.3-1-ARCH #1
[  314.788103] Hardware name: Dell Inc. Inspiron 1545                   
/0G848F, BIOS A07 05/13/2009
[  314.788106] task: 88007416e540 ti: 88006c38e000 task.ti: 
88006c38e000
[  314.788110] RIP: 0010:[]  [] 
bitfill_aligned+0x80/0x140
[  314.788112] RSP: 0018:88006c38faa8  EFLAGS: 00010202
[  314.788114] RAX: 03a3 RBX:  RCX: 
[  314.788116] RDX: 03a3 RSI: c90016101840 RDI: c90016508000
[  314.788117] RBP: 88006c38fab8 R08: e8c0 R09: 03f7f2ab
[  314.788119] R10:  R11: c90016507ff8 R12: 
[  314.788120] R13: c90016101840 R14: 812cfed0 R15: 0300
[  314.788123] FS:  7f85642b4880() GS:88007d90() 
knlGS:
[  314.788125] CS:  0010 DS:  ES:  CR0: 8005003b
[  314.788127] CR2: c90016508000 CR3: 6c267000 CR4: 000407e0
[  314.788129] DR0:  DR1:  DR2: 
[  314.788131] DR3:  DR6: 0ff0 DR7: 0400
[  314.788131] Stack:
[  314.788138]   8800771cc000 88006c38fb28 
812cfcbf
[  314.788141]   88007ac0c000  
818812e0
[  314.788144]   0006 e8c06c38fb58 
8800771cc000
[  314.788145] Call Trace:
[  314.788150]  [] cfb_fillrect+0x1af/0x3c0
[  314.788155]  [] bit_clear_margins+0x165/0x190
[  314.788159]  [] fbcon_clear_margins+0x63/0x90
[  314.788162]  [] fbcon_switch+0x3bf/0x550
[  314.788167]  [] redraw_screen+0x189/0x260
[  314.788171]  [] fbcon_blank+0x20a/0x2d0
[  314.788174]  [] do_unblank_screen+0xa6/0x1c0
[  314.788179]  [] vt_ioctl+0x10c6/0x1160
[  314.788183]  [] tty_ioctl+0x26d/0xba0
[  314.788189]  [] ? mntput_no_expire+0x3e/0x150
[  314.788193]  [] do_vfs_ioctl+0x2e5/0x4d0
[  314.788197]  [] ? fput+0xe/0x10
[  314.788201]  [] ? task_work_run+0xa4/0xe0
[  314.788205]  [] SyS_ioctl+0x81/0xa0
[  314.788210]  [] system_call_fastpath+0x1a/0x1f
[  314.788240] Code: 4c 21 e0 48 31 d0 48 89 06 45 29 cb 48 83 c6 08 45 01 d8 
31 d2 44 89 c0 41 f7 f1 83 f8 07 89 c2 76 4f 41 89 c1 48 89 f7 0f 1f 00 <4c> 89 
17 4c 89 57 08 4c 89 57 10 4c 89 57 18 4c 89 57 20 4c 89
[  314.788243] RIP  [] bitfill_aligned+0x80/0x140
[  314.788244]  RSP 
[  314.788245] CR2: c90016508000
[  314.788251] ---[ end trace 5b66740fdd766a05 ]---



[dev] Re: Issue with DWM and x-terminal-emulator launching

2013-07-31 Thread James Latteier
The output from my atom desktop looks very similar:

BUG: unable to handle kernel paging request at c90014ce8000
IP: [] bitfill_aligned+0x8f/0x140
PGD 7c00b067 PUD 7c018067 PMD 7b358067 PTE 0
Oops: 0002 [#1] PREEMPT SMP 
Modules linked in: snd_usb_audio snd_usbmidi_lib snd_hwdep snd_rawmidi 
snd_seq_device snd_pcm snd_page_alloc hid_generic snd_timer snd usJul 30 
19:09:28 
CPU: 1 PID: 8719 Comm: X Not tainted 3.10.4-1-ck #1
Hardware name: /D410PT, BIOS MOPNV10N.86A.0155.2009.1106.0430 
11/06/2009
task: 88007a6df860 ti: 88007aa24000 task.ti: 88007aa24000
RIP: 0010:[]  [] bitfill_aligned+0x8f/0x140
RSP: 0018:88007aa25aa8  EFLAGS: 00010212
RAX: 035c RBX:  RCX: 
RDX: 035c RSI: c90014901520 RDI: c90014ce7fe0
RBP: 88007aa25ab8 R08: d700 R09: 03f83204
R10:  R11: c90014ce7fd8 R12: 
R13: c90014901520 R14: 812c0130 R15: 0320
FS:  7f7e4265c880() GS:88007ea8() 
knlGS:
CS:  0010 DS:  ES:  CR0: 8005003b
CR2: c90014ce8000 CR3: 7a4a1000 CR4: 07e0
DR0:  DR1:  DR2: 
DR3:  DR6: 0ff0 DR7: 0400
Stack:
 88007a38b000 88007aa25b28 812bfef9
 88007c00c000  8186f240
 0006 d7007aa25b58 88007a38b000
Call Trace:
[] cfb_fillrect+0x1c9/0x400
[] bit_clear_margins+0x165/0x190
[] fbcon_clear_margins+0x63/0x90
[] fbcon_switch+0x3df/0x570
[] redraw_screen+0x17d/0x240
[] fbcon_blank+0x20b/0x2d0
[] do_unblank_screen+0xa7/0x1b0
[] vt_ioctl+0x10d1/0x1170
[] tty_ioctl+0x277/0xb90
[] ? mntput_no_expire+0x41/0x150
[] do_vfs_ioctl+0x2de/0x4c0
[] ? fput+0xe/0x10
[] ? task_work_run+0x9c/0xe0
[] SyS_ioctl+0x83/0xa0
[] system_call_fastpath+0x1a/0x1f
Code: 08 45 01 d8 31 d2 44 89 c0 41 f7 f1 83 f8 07 89 c2 76 4f 44 8d 08 48 8d 
3e 
0f 1f 00 4c 89 17 4c 89 57 08 4c 89 57 10 4c 89 57 18 <4
RIP  [] bitfill_aligned+0x8f/0x140
RSP 
CR2: c90014ce8000
---[ end trace c28d9e074ba0c0b5 ]---