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)
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)
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].
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.