SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-02-19 02:12:44

boromeus
#! Junkie
From: BG (SRB)
Registered: 2010-09-12
Posts: 313

How to set a home page in Surf? [let's say it's SOLVED]

Hello, everyone!

Just a small random question: I have been looking for the option to set a custom home page in Surf browser, but I can't find it anywhere. Of course I tried Suckless.org and other online docs, nothing is relevant so far. Maybe it's not even possible? (Note that I'm using Wheezy now and Surf was installed as a Wheezy package from Debian repo.)

There is a workaround for my problem: I created a shell script that makes Surf open the exact (offline) HTML document that I want to set as my home page. However, dmenu still does not want to recognize this shell script -- even if I put it's directory in my .bashrc -- and the plain surf command starts a completely blank browser. It's a pain in the ass to open the browser from the terminal or the file manager. I would like it to work right from dmenu. (I started using dwm, so there is no Openbox menu currently.)

Thx in advance.

Edit: I copied my script into /bin and dmenu is now able to see it.

Last edited by boromeus (2015-02-27 02:46:04)

Offline

Help fund CrunchBang, donate to the project!

#2 2015-02-26 20:52:01

rebornmechanics
#! CrunchBanger
Registered: 2012-11-05
Posts: 176

Re: How to set a home page in Surf? [let's say it's SOLVED]

Since surf is a suckless application, I assume you'd have to compile the homepage, or at least support for one, in.
There is a patch for that on suckless.org.
About dmenu: I think dmenu doesn't look up your .bashrc, but instead searches /bin and places a list in ~/.cache. Take a look at the files /bin/dmenu_run and /bin/dmenu_path.

Last edited by rebornmechanics (2015-02-26 20:52:42)

Offline

#3 2015-02-26 20:58:35

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Offline

#4 2015-02-26 22:51:31

boromeus
#! Junkie
From: BG (SRB)
Registered: 2010-09-12
Posts: 313

Re: How to set a home page in Surf? [let's say it's SOLVED]

^
Thanks for the replies, I still use the shellscript workaround and I have already figured out how to put it on dmenu since then. Sorry, I forgot to edit my original post. Maybe a mod can make it now: [partially solved].

Offline

#5 2015-02-26 22:53:25

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: How to set a home page in Surf? [let's say it's SOLVED]

^Just edit your first post, you can edit the Subject as well.


bunsenlabs     8)     forum mod squad

Offline

#6 2015-02-27 00:02:31

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: How to set a home page in Surf? [let's say it's SOLVED]

boromeus wrote:

I still use the shellscript workaround and I have already figured out how to put it on dmenu since then.

If you could post how you did that it might help someone else who had the same problem. smile


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
#! forum moderator    BunsenLabs

Offline

#7 2015-02-27 02:48:31

boromeus
#! Junkie
From: BG (SRB)
Registered: 2010-09-12
Posts: 313

Re: How to set a home page in Surf? [let's say it's SOLVED]

^
Done.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo