SEARCH

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

You are not logged in.

#1 2012-01-05 05:58:07

rbp
#! CrunchBanger
From: Australia
Registered: 2010-07-09
Posts: 103
Website

web browser repositories

On my crunchbang statler install chrome is at version 9 and iceweasel/firefox at 3.5.
What repositories do you recommend to keep these more updated?

Richard

Offline

Help fund CrunchBang, donate to the project!

#2 2012-01-05 09:47:19

CBizgreat!
#! Die Hard
Registered: 2011-07-27
Posts: 1,272

Re: web browser repositories

Gonna babble a bit about this. (edit: See post further down about Chrome too if peeps want.)

http://mozilla.debian.net/ is one, you'll get iceweasel there. Which iceweasel is supposed to pretty much be FF, just the unbranded Debian version of the browser. Atm am using iceweasel 8 on Statler/stable. Will try to point you in the right direction, though understand I am NOT a gnu/Linux guru. You need to be careful when messing around with sources.list or can bork up your #!. Did so more than once myself already, by not paying attention and doing a bum upgrade that borked my CB install. Trying to mix sid n stable software repo's blahblahblah.

So couple of things I'd advise, as I don't want to bork anyone else by mistake.

1. Learn to make a working backup of your favorite OS's. So if things ever do get borked, it's easy to unbork quickly.
2. Do your homework/research.
3. Might hold off and wait and see what the more experienced users here have to say, about what I'm about to say. Though do believe this will work ( is what I did.)

Add these backports to your sources.list file ... Found at /etc/apt/sources.list

deb http://backports.debian.org/debian-backports squeeze-backports main
deb http://mozilla.debian.net/ squeeze-backports iceweasel-release

Pretty much just follow the instructions at that site. You are trying to install the release version, if you want the latest stable iceweasel that is, so select it in the lil drop down menu on the site and it'll tell ya what to do from there. Though there is one catch. In the /etc/apt/sources.list file you'll find this up at the top.

## CRUNCHBANG
## Compatible with Debian Squeeze, but use at your own risk.
#deb http://packages.crunchbanglinux.org/statler statler main

Think I had to comment it out in order to get the new packages from that Debian backport. Otherwise it'll complain about blahblahblah dependency is missing ... You need version blah of blahblahblah. Commenting something out, just means putting one of these # in front of it, like you see above. Afterwards I put it back the way it was, uncommented it out the way it was orginally, in other words open the sources.list file again, remove the hash mark#, n save the file. This kinda stuff is getting into the geekdom territory of pin-priority and apt pinning. Something I only vaguely understand and right now am too lazy to bother wanting to learn.

This above babbling will/should get you whatever the most recent stable iceweasel is at the Debian backport, mentioned for now I'm still using iceweasel 8 and haven't had any problems with it on Statler. The rest of it, maybe someone else will answer, I don't feel like typing a book, lol. Have done my good deed for FOSS and fellow gnu/nix users today. wink


UPDATE: May want to check out this thread too ... Apt stuff.

Last edited by CBizgreat! (2012-01-30 03:43:43)


Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Offline

#3 2012-01-05 10:56:54

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,493

Re: web browser repositories

Good write-up CBizgreat.

Got one remark.
If it is the users intention to stay with #! stable, I would not comment out this line in /etc/apt/sources.list

## CRUNCHBANG
## Compatible with Debian Squeeze, but use at your own risk.
#deb http://packages.crunchbanglinux.org/statler statler main

If the user does that, and corenominal decides to replace a package in that repo (because there are bugs for instance), then you will not receive the new version with the #! repo commented out.

You say you did it because you had problems installing packages (or dependencies of packages) from other repos, such as backports. The recommended method in such a case, I think, is to use the -t option ( target ). This will install the requested package(s) and the dependencies from the target repo.
So use this:

sudo apt-get -t backports <package name(s)>

(without the < >'s of course.

That being said, I now share with you the feeling of having done my duties towards fellow #! users for today smile

hth

Last edited by xaos52 (2012-01-05 10:59:36)

Offline

#4 2012-01-05 11:01:44

CBizgreat!
#! Die Hard
Registered: 2011-07-27
Posts: 1,272

Re: web browser repositories

Sighs ... ok nother afterthought n more babbling.

You had me curious, plus not sure if chrome is default in #! or not, if it is Corenominal might get some revenue from it and IMO should. He needs to make a living too. Not like the guy can afford to sit around in magic opensource fairyland and package kickbutt software to give away. So if he does have an arrangement to earn a bit of support for #! from using google chrome, then wanted to cover that here too.

Went ahead and figured out how to install the latest version of Chrome on Statler too. Even though I don't prefer it. Am not saying there's anything wrong with it either. Just been a FF user so long now, shrugs. Here's how ... Go to the Chrome website, download the install package for your OS ... Debian 32bit or etc. Accept their TOS blahblahblah ... Once the package finishes downloading, right click on it, select open with "GDebi package installer" and here's the hitch. Make sure it says all dependencies are satisfied ... and they should be.

Click next or install or etc ... done. I have Chrome version 16.xxx installed now too. Or at least that's what the about Chrome is telling me now. One thing .. Chrome immediately hijacked my default browser for itself. Here's how to deal with it if you don't want it to be the default browser. Link. You can always run it ( well sure there's a bunch of ways) But if I feel like using Chrome later, I'll just open a run dialogue and type google-chrome to launch it.

PS (didn't see your post until just now), Thanks xaos52 ... Will keep it in mind. Am definitely not the worlds foremost gnu/Linux guru that's for sure. Only 1/2 understand much of this stuff still. Only been using gnu/Linux for all of 10mnths.


UPDATE: Some folks might wanna look this thread over too ... Default browser thingy.

Last edited by CBizgreat! (2012-01-30 03:44:46)


Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Offline

#5 2012-01-05 12:17:24

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,654

Re: web browser repositories

Chrome adds the Google repo under /etc/apt/sources.list.d and will receive updates via apt.

Offline

#6 2012-01-05 12:59:31

kiiroitori
#! CrunchBanger
From: Tokyo, Japan
Registered: 2010-12-07
Posts: 212

Re: web browser repositories

By the way, shouldn't the stable release of firefox/iceweasel be 9.0.1? I am on the statler repo so still at version 8. I wonder why there is a version gap...


I love #! more than my own kids. I told them and they sympathized.

Offline

#7 2012-01-05 14:09:45

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 9,255

Re: web browser repositories

Hey, Yellow Bird!  Been a while since we've heard from you; nice to see you back.

If you want the L&G version of icefox/fireweasel, change your sources.list so it points to the Mozilla repo instead of the statler-mozilla mirror.


while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.

Offline

#8 2012-01-05 14:34:26

rbp
#! CrunchBanger
From: Australia
Registered: 2010-07-09
Posts: 103
Website

Re: web browser repositories

thanks for your babbling CBizgreat!

I installed chrome manually as recommended and now am using version 16 - awesome!
These days I find firefox too slow on my netbook.


I added those firefox repositories and now iceweasel 9 is available to install, however has dependency problems:

Depends: xulrunner-9.0 but it is not going to be installed

xulrunner-9.0 has unresolvable dependencies:
  Depends: libcairo2 (>=1.10.2-2~) but 1.8.10-6 is to be installed
  Depends: libnss3-1d (>=3.13.1) but 3.12.8-1+squeeze4 is to be installed
  Depends: libpixman-1-0 (>=0.18.0) but 0.16.4-1 is to be installed
  Depends: libsqlite3-0 (>=3.7.4) but 3.7.3-1 is to be installed

Is that the same problem you experienced, which you got around by commenting out the crunchbang repository?

I noticed other Crunchbang users experienced that same issue: http://crunchbanglinux.org/forums/topic … es/page/4/

Richard

Offline

#9 2012-01-05 14:47:09

CBizgreat!
#! Die Hard
Registered: 2011-07-27
Posts: 1,272

Re: web browser repositories

It sounds like it, xaos52 mentions another way to go about it. The approach I used worked yeah, but sure it isn't the best or recommended method. His sounds more legit although I'm not familiar with it. Maybe some other people will offer input, or google or etc.

Ya welcome for the babbling, glad it helped. This is something am sure ALOT of #! users would want to know how to do. Think CB is great software. Viva la gnu/Linux ! Viva la FOSS ! wink



PS, last edit: Forgot to say thanks el_koraco for the tip about chrome, interesting and good to know.

Last edited by CBizgreat! (2012-01-05 15:17:31)


Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Offline

#10 2012-01-05 15:13:08

kiiroitori
#! CrunchBanger
From: Tokyo, Japan
Registered: 2010-12-07
Posts: 212

Re: web browser repositories

pvsage wrote:

Hey, Yellow Bird!  Been a while since we've heard from you; nice to see you back.

If you want the L&G version of icefox/fireweasel, change your sources.list so it points to the Mozilla repo instead of the statler-mozilla mirror.

Thanks pvsage! It's true I have been quiet recently, mostly because I had to reinstall crunchbang after a deadly unstable/testing repo combination big_smile
Thank you also for the tip about the Mozilla repo. I guess I'll stick to the statler one for the time being, never treated me bad so I should try being faithful.


I love #! more than my own kids. I told them and they sympathized.

Offline

#11 2012-01-05 15:23:04

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 9,255

Re: web browser repositories

^ Been there!

I hadn't read through the whole thread; it looks like people are having some dependency problems trying to install the L&G version of Icefox, and Fireweasel 8.0 ain't too shabby.


while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.

Offline

#12 2012-01-06 15:14:55

CBizgreat!
#! Die Hard
Registered: 2011-07-27
Posts: 1,272

Re: web browser repositories

More babbling : YOU HAVE BEEN WARNED !!! big_smile

OP ... temp commenting out the repo I listed in sources.list will getcha what you're after ( iceweasel 9). Though I'd be interested in learning more about what xaos52 said myself too. Seems like it's a bit more complicated than it should have to be ... By that I mean installing a later version of iceweasel on Statler/stable. Some other things that strike me as annoying with using Debian stable as a base too. Overall though, that's apparently just Debian stable for ya. Think they make awesome FOSS and have for a long time ( 18+ yrs now ) and #! is da bomb imo.

Would think Mozilla would bother hosting a .deb package. Guess they leave that up to Debian for whatever reason. Have never been curious enough about it to look into why Debian iceweasel vs branded FF came about in the 1st place. Must be reasons for it blahblahblah.

Not having a .deb does seem to give Chrome an advantage, so does bundling the latest flashplayer ( Which have had major annoyances and still never resolved updating flash in Statler yet.) Google Chrome might have a newer version of flash bundled with it. But did a bit of playing around and didn't really see much difference vs the version Statler came with default anyway.

Was going to start a thread about Chrome vs Mozilla. After installing Chrome played with it a bit and was starting to wonder. Nah ... sticking with what I know/like. Played around a bit more and noticed Chrome has some definite quirks on my pc. Strange CPU spikes ( HIGH CPU SPIKES ) ... no speed advantage and heavier RAM usage. Might be my PC though or summin I'm missing ( that happens frequently enough for sure big_smile ) But all that PITA for no noticeable advantage so ... Went ahead and upgraded to iceweasel 9, just used synaptic this time around and it's running fine on Statler. So in my case it was worth jumping through a couple hoops.

additional babbling though. Mentioned I've used a mozilla based browser for long and long. So have learned and use uber about:config tweaking and the plugin noscript has become a must have too. Just saying ... so I don't know what mozilla out of the box vs Chrome would be like either. Or your hardware or or or blahblah. big_smile

Ahhh am all for people using whatever works best for them, is a big part of FOSS to begin with right ? Shrugs.

END BABBLING: wink

Last edited by CBizgreat! (2012-01-08 14:11:22)


Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Offline

#13 2012-01-06 15:24:17

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,654

Re: web browser repositories

CBizgreat! wrote:

Would think Mozilla would bother hosting a .deb package.

They host an executable, that runs from its own directory, like an .exe. It also has autoupdate. I just extract it to $HOME, add the directory to my $PATH, and that's it, I can even carry the same Fx folder through reinstalls.

Offline

#14 2012-01-06 15:30:00

chaanakya
#! Die Hard
Registered: 2010-12-30
Posts: 940

Re: web browser repositories

I use mozilla.debian.net, which is really great big_smile  I use it mostly for the up-to-date xulrunners (I use conkeror and get a daily snapshot of that too from their git repository).  I'm not sure exactly how it works under Debian Stable (I use unstable and, apparently, a bit of experimental), but I had to add experimental (http://wiki.debian.org/DebianExperimental) to install xulrunner-11.0.  Also, wrt Mozilla not hosting a deb - they'd have to host a deb, rpm, ebuild, etc should they want to host even one of those formats as everyone else would complain.  Instead, they let distributions (like Debian, Ubuntu, Gentoo, Fedora, etc.) do it themselves and they just distribute a tar.gz which works on every Linux/Unix system.


Check out Musik - an easy-to-use text-to-music converter!
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral … 660e787ff1

Offline

#15 2012-01-06 15:33:13

CBizgreat!
#! Die Hard
Registered: 2011-07-27
Posts: 1,272

Re: web browser repositories

Thanks el_koraco, have seen you mention that method before and don't doubt you know what you're talking about when it comes to software ... gnu/nix .. etc.

Just saying for a bunch of people, extract to folder, set up symlink etc etc or whatever is over complicated. Most of us are used to hitting install and you're done with gui. Any chance you could do a write up or link to a step by step on it ?

I like FF ( and a ton of mozilla based browsers) Actually kinda like using iceweasel for the kewl factor, lol. Makes me feel like an uber leet nix ninja using a browser vast majority of the PC users have never heard of. Even if it's just a dressed up firefox. wink

(afterthought) Then again ... it's scary how many people have never heard of Firefox too ! big_smile

Last edited by CBizgreat! (2012-01-06 15:41:15)


Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Offline

#16 2012-01-06 15:38:11

snowpine
#!-a-roo
Registered: 2008-11-24
Posts: 2,558

Re: web browser repositories

Windows: double-click firefox.zip to extract, double-click firefox.exe to run

Linux: double-click firefox.tar.gz to extract, double-click firefox-bin to run

Easy-peasy. smile


/hugged

Offline

#17 2012-01-06 15:46:59

CBizgreat!
#! Die Hard
Registered: 2011-07-27
Posts: 1,272

Re: web browser repositories

Thanks snowpine,

One thing I've noticed though, playing around. Long time ago did download firefox just to see, extracted it ... and clicked the file to launch it. Noticed it had a tendency to do weird stuff, guess the way I was doing it, it had config conflicts with the version of iceweasel that was already installed. It disabled plugins here, did this there etc ... weird. Was hoping I could get ahold of a ton of FF versions to use for cross browser testing junk and just run em from folders. Long since decided it was more trouble than it was worth figuring out why and what I was doing wrong and just added the iceweasel backports and switched to using it.

It was more than likely something I was doing ( or not doing ) than a problem with the software.

(Random babbling afterthoughts) Also not trying to take this thread off topic. Just posting some stuff that felt was updating browser and browser related somebody might find interesting. Did a site search earlier thusly on google and noticed there were no good/recent threads on the topic of installing firefox to Statler. The results looked to be discussing FF4 etc.

site:http://crunchbanglinux.org/forums/ install firefox

Last edited by CBizgreat! (2012-01-06 16:20:49)


Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Offline

#18 2012-01-06 16:03:27

chaanakya
#! Die Hard
Registered: 2010-12-30
Posts: 940

Re: web browser repositories

For that it's probably a good idea to set up different profiles and make each Firefox use a different profile.  Run

firefox -ProfileManager

to set up your profiles.  Then, run that for each firefox version you have and select the appropriate profile (create one for each version you want to test).  The only thing is that system-wide plugins may still be disabled, but at least you'll have a clean profile, so maybe things won't be so messed up.


Check out Musik - an easy-to-use text-to-music converter!
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral … 660e787ff1

Offline

#19 2012-01-06 16:12:41

CBizgreat!
#! Die Hard
Registered: 2011-07-27
Posts: 1,272

Re: web browser repositories

Thank you chaanakya,

Ended up doing something like that too. If I ever attempt it again, will do more to follow that advice. At this pt not too worried about it, but think profiles are a good thing for mozilla based users to be aware of anyway. So again thanks for both the advice and bringing it to the thread. Setting up a clean profile imo/experience can be a good way to deal with issues too or whatever.

I just threw in the towel on running a bunch from folders, have oldish and alternative versions of firefox on other installs on this old beastie PC and with sites like browsershots or etc. Seemed too much trouble to bother with. Am still not overly good at web development, might never be, arghhh. Get by, but that's about it. Mainly just trying to consolidate stuff about this topic here for the benefit of new #! users. We all want later versions of web browsers and it's a major turn off to many people if it's not easy to get em. The Crunchbang community has a ton of people who obviously know a ton about tech and gnu/linux.

Guessing if you want to know how to make your web browser sing and tap dance somebody here could show somebody how to do it.

( Last edit) Have babbled more than enough on this thread already. For the sake of completeness Opera offers a .deb package too, like Chrome. Though I tested the waters, it says it needs to install 5 additional packages ... aka: Was saying not all dependencies were met when beginning to install it with the GDebi package installer. I have no idea if by installing it whether you will automatically get those dependencies or blah, somebody else might clarify that. I aborted the install cause I don't wanna be a guinea pig and don't want/use Opera myself. But there ya have it, think this thread covers much, when it comes to installing latest browsers on Statler ( Debian stable ). Viva la gnu/Linux ! wink

Last edited by CBizgreat! (2012-01-06 16:48:48)


Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Offline

#20 2012-01-06 17:10:33

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 1,745

Re: web browser repositories

CBizgreat! wrote:

Just saying for a bunch of people, extract to folder, set up symlink etc etc or whatever is over complicated. Most of us are used to hitting install and you're done with gui. Any chance you could do a write up or link to a step by step on it ?

Just download it and put it in /usr/local/games or /usr/games. How is that complicated?

Offline

#21 2012-01-06 17:34:41

CBizgreat!
#! Die Hard
Registered: 2011-07-27
Posts: 1,272

Re: web browser repositories

Sighs and one more I guess ( Yep more babbling) YOU HAVE BEEN WARNED ... YET AGAIN ! big_smile

Mentioned, I have zero problems figuring out how install software myself. Google and common sense have always assisted me in all things tech. Always managed to sort out whatever issues I run into w enough time and tweaking around. Though some people ( majority I'd guess) don't want to undergo a lengthy process to get something like a newer web browser. Yep mentioned, at one time did download FF to a folder and did run it clicking a file. Didn't say complicated, did say inconvenient and/or annoying to most users. Ok you download it, extract it, figure out which file to click to launch it ( Btw: It's the one called firefox folks wink) ... Ok there ya go. Then when you do this, you launch it and find out it gets tangled with your current installed version of the browser cause ya have to set up a new profile. Which nobody told ya about or how to do. big_smile ( edit: Well chaanakya did now.)

Now everytime someone wants to launch their browser they're supposed to navigate to that folder and click the right file to launch it ?

If I wanted to do that, I would set up a keyboard shortcut to launch it or a script or or or blahblahblah. ( Which I don't, am perfectly happy w iceweasel 9.) Though that could work just fine for somebody too for real. Only pointing out to many users that is rightly considered annoying headache. Often finding a simple how to in these forums isn't the easiest thing in the world. Plenty of great info ... only finding it can sometimes be the prob. I like #!, is my gnu/nix distro of choice, like the community and don't mind trying to share something I've learned with another gnu/nix user if it can save them time, trouble or headache, shrugs. Kinda consider it a sorta payback to all the great n generous opensource devs who let me use all this great software. And hoping that threads like these and the opinions and info other #!'s share are of some use or benefit to future users interested in the topic.

Ok last bit of babbling on stuff. big_smile Remember back when 1st started exploring gnu/nix someone would be saying just add Xyz to xyz file matter of factly. And ended up scratching ma head, errrrr do what ? Where is xyz file, how do I get to it, where do I add xyz after I find it ? lol

Last edited by CBizgreat! (2012-01-06 19:11:38)


Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Offline

#22 2012-01-06 21:25:04

CBizgreat!
#! Die Hard
Registered: 2011-07-27
Posts: 1,272

Re: web browser repositories

Ok ya know what they say, if ya want something ... You'll probably end up having to do it yourself, lol. big_smile

How to install firefox on crunchbang ... Statler ... blahblahblah n blah.

Being a compulsive software tweaker. This also had me curious, wanted to see if there is any real diff between regular firefox and iceweasel ( I don't know if there is yet, lol.) But this is how to install firefox in a relatively painless n civilized way on Statler. Am posting this from firefox 9 atm.

1. Download firefox ... it should detect your OS anyway ( if not, obviously you want Firefox for Linux.) and you'll get a file called thusly. In my case FF 9, so ... firefox-9.0.1.tar.bz2

Go to your home directory ( if you so wish or another directory if ya so wish otherwise) I used my home directory. Right click ... create a folder, call it whatever ya want. I imaginatively called my new folder Firefox.

Now go to where you downloaded firefox, right click on it, select cut, then navigate to the folder in your home directory you just created and paste the firefox download there. Afterwards right click on it and select extract here. Then I went ahead and deleted the firefox download to avoid confusion. When it's extracted there will be a directory called firefox of all things.

Click on it to open the directory and take a look around. You'll notice a file there called firefox ( of all things, lol) And that's the one you'd want to click on to execute/launch firefox ... Don't do that just yet. First we want to set up a new browser profile for firefox, so it won't mess with other installed mozilla browsers. ( Just as chaanakya said)

You open a run dialogue or terminal and type

firefox -P

Profile manager will open, select Create Profile, call it what you want ... I called the new profile Firefox of all things, as it makes sense and I have a recurring theme going with it. big_smile Notice you can also delete or rename an existing profile there. I chose to rename my iceweasel profile well ... iceweasel. Notice also that there's a check box here that says "Dont ask at startup" ... uncheck that for now. You can always change that later and right now you want to be able to choose which firefox profile is going to be used when you launch a mozilla browser.

At this point we now have a new firefox profile setup for firefox to use and profiles for any other mozilla browser we happen to have installed. Now for the fun part ...


Right click on your desktop to open the main menu. Select Settings, then Openbox Config, then Edit rc.xml the file we want to make a keyboard shortcut in opens, scroll down until you see this.

<!-- Keybindings for running applications -->

Note: Though totally unnecessary ... You may want to make a backup of this file before you start messing with it. In other words, right click, select all, copy and paste it into a new text file, save that file and if you mess summin up, just reverse the process by pasting the backup ... back n saving the dang thing. Scroll down in the rc.xml file to the above mentioned place ... Yes you could put it somewhere else in the file and likely not have problems, I put it there, because that's where I put it. Add this to the appropriate place in the file.

    <keybind key="F10">
      <action name="Execute">
        <startupnotify>
          <enabled>true</enabled>
          <name>Browser</name>
        </startupnotify>
        <command>/home/yourusername/Firefox/firefox/firefox -P "Firefox"</command>
      </action>
    </keybind>

In the above example, I'm using the F10 key, cause I don't have anything else tied to that keyboard key at the moment. You are of course free to use whatever pleases ya. I gave it the name Browser and in the command line I put the full path to the executable file I want to launch when I press F10. The -P "Firefox", is telling it to use the profile named Firefox, in the mozilla profilemanager. Last step ... be afraid, be very afraid now ! Boo ! Right click desktop, in main menu select Settings, then Openbox Config, then Reconfigure ... You're done, when ya hit whichever key ( or key combo) on ya keyboard, firefox launches ... Yay !

You can also launch it with a run dialogue by typing out the full path to file.
ie: /home/yourusername/Firefox/firefox/firefox in my case cause the folder I created in my /home is Firefox ... OR in terminal thusly

/home/yourusername/Firefox/firefox/firefox &exit

Easy pesky and totally uncomplicated. wink

Am satisfied now, lol. Installing latest iceweasel, firefox and chrome are covered in painful detail in this thread. Am soooo not doing Opera ... I don't use it anyway. lol


UPDATE: Adding shortcuts to rc.xml has changed a bit for the new #! release ... See Babbling how to thread for da fix. wink

Last edited by CBizgreat! (2012-03-05 13:32:29)


Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Offline

#23 2012-01-06 22:05:32

snowpine
#!-a-roo
Registered: 2008-11-24
Posts: 2,558

Re: web browser repositories

CBizgreat! wrote:
gksudo /home/yourusername/Firefox/firefox/firefox

If you run Firefox with "sudo" or "gksudo" then you are giving the Internet unrestricted root access to your machine.

Browsing should always be done as a restricted user, IMHO.


/hugged

Offline

#24 2012-01-06 22:09:53

CBizgreat!
#! Die Hard
Registered: 2011-07-27
Posts: 1,272

Re: web browser repositories

lol ... you're right snowpine, thanks. I was just about to change that, but ya posted before I could. Got my terminal cmds messed up. Going to change it in that post so it's correct. So someone doesn't do summin dumb. Mentioned am not a nix guru, sometimes my wires get crossed. Other than that though, I totally stand by this how to, it works perfectly. Just got done doing all that meself and figured would post it for others.

Sighs ... one more afterthought, obviously if you don't have several mozilla based browsers installed or don't want a bunch of firefox profiles and only plan on using firefox as your browser. You can go ahead and tick that box in profile manager ... the "Don't ask at startup" deal and no more seeing the profile manager everytime ya open firefox ... blahblahblah. There is an in detail how to for installing firefox on crunchbang though. No more of this searching the forum and getting threads for FF4 or stoneage iceweasel versions. big_smile

One more edit, cause thought of summin and felt a need to babble some more. While snowpine is absolutely right, there's no reason to run a web browser with root privileges ( Don't do it imo 2 ) A persons comp won't blow up or instantly get infected with web nasties. It's just not a good idea. Running as root is exactly what the majority of Windows users are doing all the time. Unless they set up an admin account and use a regular user account majority of the time. Sometimes a person might have to use gksudo to launch an app that needs root to run with a keyboard shortcut ... ie: Synaptic, I have it set in rc.xml to launch when I hit a certain key thusly.

    <keybind key="F4">
      <action name="Execute">
        <startupnotify>
          <enabled>true</enabled>
          <name>Synaptic</name>
        </startupnotify>
        <command>gksudo synaptic</command>
      </action>
    </keybind>

Yep, though again 100% agree with what snowpine said regardless. Just adding a tidbit somebody might find useful. Lastly, leastly in the above post what is the &exit all about ? If you launch an app in terminal w/o adding it, the dang terminal stays open too, if ya kill that terminal the app goes down with it. When ya add the &exit, the app launches and the terminal closes itself. Though guess technically, launching an app is what the run dialogue is mostly for.

And yep, you can run apps that need elevated privileges w the run dialogue too. ie: Synaptic again ... as follows. Open run dialogue type

gksudo synaptic

And awayyyyyy it goesssssss. big_smile

Last edited by CBizgreat! (2012-01-07 08:28:31)


Some common cbiz abbreviations. This will save me time and yet @ same time tell folks what the babble is supposed to mean.

Vll ! = ( Viva la gnu/Linux !)    Vl#!! = ( Viva la #! !)    Last but not least, UD ... OD ! = ( Use Debian ... or die !) tongue

Offline

Help fund CrunchBang, donate to the project!

#25 2012-01-06 23:20:15

h8uthemost
#! Junkie
Registered: 2011-08-09
Posts: 286

Re: web browser repositories

So what would be the command that to use to install Iceweasel if I wanted to rbp's method? I tried this but it didn't work:

sudo apt-get -t backports iceweasel-release

EDIT: Nevermind, just used CB's method and commented out my Statler repo to install the newer version of Iceweasel. After it installed I re-commented the Statler repo again.

Anyways, thanks for this thread. I was wanting to update Iceweasel.

Last edited by h8uthemost (2012-01-06 23:38:33)


We are a nice, friendly community here and I hope we stay that way.

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.

Debian Logo