Author Topic: Chrome downgrade problem - Dell Latitude C400  (Read 4213 times)

Offline NickF

  • Member
  • ***
  • Posts: 59
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Chrome downgrade problem - Dell Latitude C400
« on: August 11, 2015, 05:52:48 am »
Had a problem with Chromium not launching on a previous C400, just hit it again with an identical machine on PM6..

Just followed the instructions given previously in:
http://forum.peppermintos.com/index.php/topic,1041.msg8880.html#msg8880

It all appeared to happen, but now I do not seem to have a Chrome browser at all.

Guidance much appreciated once again.

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2343
  • Karma: 616
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: Chrome downgrade problem - Dell Latitude C400
« Reply #1 on: August 11, 2015, 07:20:00 am »
Hi NickF,


Must the browser be Chromium? There are so many others to try ... Plus: downgrading can become a security risk.


Just thought I would ask, since one thing I never would even consider doing is downgrading a web browser.  :-\


Regards,


-- Slim

Respect science, respect nature, respect each other.

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline NickF

  • Member
  • ***
  • Posts: 59
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Chrome downgrade problem - Dell Latitude C400
« Reply #2 on: August 11, 2015, 07:32:32 am »
Probably a good question!
I just got led along that route by pnetspec when the installed default Chromium did not load (last time round) - so I rather blindly went the same way.

Having done that:
1. Are there things I should 'undo' - I probably have another version of Chrome, but not working.
2. How can I get rid of a broken 'Chromium' link on the start menu?

What would you recommend in PM6 - I have actually added Firefox, maybe that is good enough!

A rapid response would really be helpful -many thanks

Offline aagimob

  • Member
  • ***
  • Posts: 81
  • Karma: 36
  • aagimob
    • View Profile
  • Peppermint version(s): Peppermint 5 & Peppermint 10
Re: Chrome downgrade problem - Dell Latitude C400
« Reply #3 on: August 11, 2015, 07:45:43 am »
 Try Midori...also has SSB... ;)
« Last Edit: August 11, 2015, 07:54:27 am by aagimob »

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Chrome downgrade problem - Dell Latitude C400
« Reply #4 on: August 11, 2015, 08:16:56 am »
Hi NickF, Firefox is as good a choice as any.  It's tried and tested.  Seeing you've already installed it, lets just swap out the broken Chromium link for Firefox.  Open a terminal and run the following command:
Code: [Select]
gedit ~/.config/lxpanel/Peppermint/panels/panelWhen the file opens.  Find the section that reads:
Code: [Select]
item {
            name=Chromium
            image=chromium-browser
            action=chromium-browser
        }
Edit it so it reads:
Code: [Select]
item {
            name=Firefox
            image=firefox
            action=firefox
        }
Save the file and quit gedit.  Run the following command:
Code: [Select]
ls -a ~/.config/lxpanel/Peppermint/panelsIf the output looks like this:
Code: [Select]
.  ..  panel panel~You must remove the, panel~ backup file as it can cause serious problems.  To remove it, run the following command:
Code: [Select]
rm -v ~/.config/lxpanel/Peppermint/panels/panel~To complete the changes to the menu, logout and back in.  That should do the trick  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2343
  • Karma: 616
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: Chrome downgrade problem - Dell Latitude C400
« Reply #5 on: August 11, 2015, 08:21:36 am »
Hi NickF,

To get rid of the broken Chromium ink in the start menu: there are several places where your start menu items are located. Check them all and remove the ones pointing to Chromium. The "system" location is at

Code: [Select]
/usr/share/applications
To remove anything there you need to be using administrator rights. For example: to do that with Nemo, navigate to the location using Nemo and then right-click with the mouse in an empty area of Nemo's panel showing the items listed in that location. In the pop-up menu select the entry Open as Root. Now you can delete the items. When finished, close Nemo.

Another location to check is located in your /home folder (here you do not need to be using administrator rights anymore) in the "hidden" folder named .local (the name starts with a period, which makes it "hidden"; to see hidden folders and files in Nemo, click on Nemo's menu item View and select the entry Show Hidden Files). When you then open the folder .local continue to the folder named share, and in that one open the folder named applications. If you find anything related to Chromium there, it is probably now broken and can be deleted.

Finally, still in your /home folder, go to this "hidden" location:

Code: [Select]
.config/lxpanel/Peppermint/panels
There you will see a file named panel that you can open with your text editor. Delete the entry that looks something like:

Code: [Select]
item {
     name=Chromium
     image=chromium-browser
     action=chromium-browser
}

Then save the file, close the text editor and DELETE the file named panel~ (which is a backup that might be present, depending on your text editor's settings).

Now logout and login again to test if the broken links are now gone.

Regards,

-- Slim

P.S.

I see that AndyInMokum was faster than I. But he forgot about your Chromium entry in the Internet part of the main menu. My additional steps will get rid of that as well (if it still happens to be present).






« Last Edit: August 11, 2015, 08:25:10 am by Slim.Fatz »
Respect science, respect nature, respect each other.

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline NickF

  • Member
  • ***
  • Posts: 59
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Chrome downgrade problem - Dell Latitude C400
« Reply #6 on: August 11, 2015, 09:59:36 am »
Many thanks for the rapid replies - much appreciated.

I followed Andy's instructions and seem to have ended up fine, with Firefox everywhere.

Slim - I think the previous downgrading actually removed Chromium from the main internet menu anyway!
So I have not delved any further.

The thing that is there and no longer works - the links to PM forums and user guide!
I took courage and tried editing the 2 files in /usr/share/applications, replacing 'chromium-browser' in one place and 'chromium' in another with 'firefox' - but it does not seem to work!
Probably too simplistic!

Offline scifidude79

  • Hero
  • *****
  • Posts: 4029
  • Karma: 870
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: Chrome downgrade problem - Dell Latitude C400
« Reply #7 on: August 11, 2015, 10:04:43 am »
ICE, the program that makes the SSBs (site specific browsers) like Peppermint Forums is tied to Chromium.  It will only work with Chromium and possibly Chrome.  However, it won't work at all with Firefox.  So, if you want those to work, you need to reinstall Chromium.  Otherwise, you may as well just uninstall ICE and the SSBs.

Offline NickF

  • Member
  • ***
  • Posts: 59
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Chrome downgrade problem - Dell Latitude C400
« Reply #8 on: August 11, 2015, 10:16:04 am »
Sounds like I need to wait for some more considered responses!
A slight touch of too many experts, perhaps.

I hope someone can steer me forward....

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Chrome downgrade problem - Dell Latitude C400
« Reply #9 on: August 11, 2015, 10:20:31 am »
Sorry I haven't been following this topic, so what exactly is the problem ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline NickF

  • Member
  • ***
  • Posts: 59
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Chrome downgrade problem - Dell Latitude C400
« Reply #10 on: August 11, 2015, 10:25:38 am »
Started with an attempt to use your old instructions to downgrade Chromium - that would not launch on the C400.
But the result was still no Chromium.
I think the trail above explains.

I loaded Firefox - which keeps crashing!

It also seems I have therefore broken the menu/internet links to the user guide and forum.

A considered way forward would be much appreciated when I can next try - Friday.

Many thanks

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Chrome downgrade problem - Dell Latitude C400
« Reply #11 on: August 11, 2015, 10:31:24 am »
Hi NickF, if Chromium was giving you problems and you still wish to use SSBs.  Try using Google Chrome instead.  Open this website: https://www.google.com/intl/en/chrome/browser/desktop/index.html.  Download the appropriate .deb file for your system: 32 bit .deb (For Debian/Ubuntu) or 64 bit .deb (For Debian/Ubuntu).  Navigate to where the .deb was downloaded to.  Double click on the file and follow the instructions.  When that has finished installing, you will now be able to create SSBs for Chrome using Ice.  ;).

When was the last time you did a full update and dist-upgrade?
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Chrome downgrade problem - Dell Latitude C400
« Reply #12 on: August 11, 2015, 10:34:41 am »
what s if you run:
Code: [Select]
chromium-browserfrom the terminal ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline NickF

  • Member
  • ***
  • Posts: 59
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Chrome downgrade problem - Dell Latitude C400
« Reply #13 on: August 17, 2015, 02:00:25 am »
what s if you run:
Code: [Select]
chromium-browserfrom the terminal ?
It says it is not installed.
Sounds like something went wrong in my effort to downgrade and install your 'fixed' version?

Offline NickF

  • Member
  • ***
  • Posts: 59
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 6
Re: Chrome downgrade problem - Dell Latitude C400
« Reply #14 on: August 18, 2015, 09:21:51 am »
Hi
In the absence of further comment to the failure of 'chromium-browser' in the terminal, I decided to completely re-load PM6 and try the whole process again. I installed PM6 after using 'Try PM', did a full update using apt-get update & upgrade. Chromium did not open, as expected.

On earlier versions of PM and an identical laptop, I used the PCNetSpec recommendation to downgrade Chromium - and it worked. Should it work on PM6 ? - I can't see any obvious reason why not.
I have just carefully followed the same procedure, but again without success. Everything appears to do what I would expect, the final lines from the Terminal are:

Code: [Select]
Unpacking chromium-browser (31.0.1650.57-0ubuntu1) over (43.0.2357.130-0ubuntu0.14.04.1.1092) ...
dpkg: warning: unable to delete old directory '/etc/chromium-browser/customizations': Directory not empty
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Setting up chromium-codecs-ffmpeg-extra (31.0.1650.57-0ubuntu1) ...
Setting up chromium-browser (31.0.1650.57-0ubuntu1) ...
Setting up chromium-browser-l10n (31.0.1650.57-0ubuntu1) ...


user-1@Worcester-7 ~ $ mv -v ~/.config/chromium ~/.config/chromium-original
‘/home/user-1/.config/chromium’ -> ‘/home/user-1/.config/chromium-original’
user-1@Worcester-7 ~ $ chromium-browser


There was one warning (first line above), but all else appeared fine.
The last command 'Chromium-browser' just hangs and nothing happens.

Comment, particularly from PCNetSpec, would be much appreciated.