Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Command line confusion.

  1. #1
    Join Date
    Mar 2009
    Location
    USA
    Beans
    307
    Distro
    Xubuntu 12.04 Precise Pangolin

    Command line confusion.

    Running Xubuntu 12.04 with XFCE 4.8. There is an application "Web Browser" on the Applications Menu. It appears to be the GOOGLE CHROME browser. Due to hardware limitations, I have to start Chrome with a command line. I see no way to do that ... right click on Web Browser from the menu simply runs Web Browser.

    I separately downloaded and installed CHROME. There is a Chrome icon on my desktop. From that icon, a right click/properties allows me to create the needed command line.

    I am ASSUMING I have Chrome installed TWICE (About on each shows same exact version) .. once as Web Browser and again as Chrome. The OS came with Web Browser and I installed Chrome.

    Here is where it gets foggy. If I edit properties for CHROME, I can create the necessary command line. I dragged the Web Browser from the menu to the desktop ... creating a shortcut. Right click on shortcut ... properties ... and it APPEARS I can edit a command line ... which I did, but it did not work. Closer look shows vast differences between the two properties. I have concluded that Web Browser is somehow linked to the MENU much differently than CHROME is linked to its desktop icon.

    Fine ... so solution seems to be uninstall CHROME ... don't need the same browser twice. Find out how to 'command line' Web Browser ... hence this post.

    Only problem there is ..... I fear CHROME is installed OVER Web Browser somehow. If I uninstall CHROME ... system is honked up pretty good. I fear this because one time I preferred Xfe file manager over Thunar .. and after installing Xfe .. and uninstalling THUNAR ... that is what happened ... honked up pretty good. I learned ... don't go uninstalling stuff without knowing what you are doing (beyond the obvious).

    Soooo my questions are:

    Can I safely uninstall CHROME?
    If I can ..... how do I do a command line edit for Web Browser?

    I figure this has to do more with XFCE than it does with merely an application question ... which is why I post in this forum. Forgive me if I am out of place.

    Thank you in advance.
    Last edited by jfbooth; June 14th, 2013 at 02:27 AM. Reason: set prefix to SOLVED.

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Command line confusion.

    The default browser that comes with Xubuntu (called Web Browser in the menus) isn't Chrome, it's Chromium.

    You should be able to edit the command that it's run with by editing its .desktop file in the /usr/share/applications directory.
    Cheesemill

  3. #3
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Command line confusion.

    Quote Originally Posted by Cheesemill View Post
    The default browser that comes with Xubuntu (called Web Browser in the menus) isn't Chrome, it's Chromium...
    Sorry for contradicting you Cheesemill, but the default browser packed in Xubuntu is Firefox, not Chromium.

  4. #4
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Command line confusion.

    Xfce uses the exo-open set of commands for preferred applications. For Web Browser, for example, it uses the command:
    Code:
    exo-open --launch WebBrowser %u
    The "preferred" applications are set in SettingsManager -> Preferred Applications. Here you can specify which applications are opened using the exo-open commands (Web Browser, Mail reader, File Manager, Terminal Emulator).

  5. #5
    Join Date
    Mar 2009
    Location
    USA
    Beans
    307
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Command line confusion.

    Quote Originally Posted by slickymaster View Post
    Sorry for contradicting you Cheesemill, but the default browser packed in Xubuntu is Firefox, not Chromium.
    Uhmmm .. I am the least informed among us, but opening Web Browser and clicking on ABOUT gives (see attachment) ... (or is this because I set Chrome as default???) Now more confused than ever

    EDIT:
    However, this is from the XUBUNTU 12.04 website:

    Xubuntu comes with the award-winning, extensible Firefox web browser and the light-weight yet feature-rich Abiword for all your word-processing needs. Abiword is compatible with popular word processing file formats.
    but I have no recollection of ever seeing FF ... though I installed some time ago. Catfish shows tons of FF files etc ... but no FF on a menu .. anywhere.
    Attached Images Attached Images
    Last edited by jfbooth; June 13th, 2013 at 06:55 PM.

  6. #6
    Join Date
    Mar 2009
    Location
    USA
    Beans
    307
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Command line confusion.

    Quote Originally Posted by Toz View Post
    Xfce uses the exo-open set of commands for preferred applications. For Web Browser, for example, it uses the command:
    Code:
    exo-open --launch WebBrowser %u
    The "preferred" applications are set in SettingsManager -> Preferred Applications. Here you can specify which applications are opened using the exo-open commands (Web Browser, Mail reader, File Manager, Terminal Emulator).

    YEAH!!! I sensed there was some big difference. Sooooo, if I understand, I should set PREFERRED (back) to Web Browser and Uninstall CHROME, and then 'command line' Web Browser as needed. How do I do that ... in Settings Manager????? thank you.

    EDIT: So I went to SETTINGS MANAGER/PREFERRED applications and set preference for Web Browser FROM Chrome to Debian Simple. Ran Web Browser from MENU and get the same exact version from ABOUT as for CHROME.

    EDIT: Debian Sensible, ... not Simple.
    Last edited by jfbooth; June 13th, 2013 at 07:26 PM. Reason: correct Debian Simple to Debian Sensible

  7. #7
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Command line confusion.

    Quote Originally Posted by jfbooth View Post
    EDIT: So I went to SETTINGS MANAGER/PREFERRED applications and set preference for Web Browser FROM Chrome to Debian Simple. Ran Web Browser from MENU and get the same exact version from ABOUT as for CHROME.
    Which browsers were listed there? Just Chrome and Debian Simple? Was firefox there or did you remove the software from your system?

    Open a terminal window, type in the following command and post back the results:
    Code:
    apt-cache policy firefox | grep Installed

  8. #8
    Join Date
    Mar 2009
    Location
    USA
    Beans
    307
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Command line confusion.

    Quote Originally Posted by Toz View Post
    Which browsers were listed there? Just Chrome and Debian Simple? Was firefox there or did you remove the software from your system?

    Open a terminal window, type in the following command and post back the results:
    Code:
    apt-cache policy firefox | grep Installed
    Wow ... what a mess. Synaptic Pkg Mgr shows FIREFOX not installed. Preferred Applications/Web Browser shows Debian Sensible Browser, Google Chrome, and OTHER. I do not recall uninstalling FF ... but it would have been so long ago, probably I did. I tend to dump s/w I don't use.

    I do remember installing a chrome DEB from www.google.com/intl/en/chrome/browser/

    Right now, if I click on (menu) Web Browser I get what appears to be the exact same thing as if I click on Chrome desktop icon. In fact, they both point to the same place ... usr/bin/google-chrome.

    At this point, I don't even know what Debian Sensible even looks like or where to find it.

    To answer your question:

    Code:
    jb@jb-Compaq-PC:~$ apt-cache policy firefox | grep Installed
      Installed: (none)
    I did find out more about exo-open ... here http://linux.die.net/man/1/exo-open and how to do 'command line' but it doesn't tell me how to do that 'safely' meaning other than a direct terminal command ... and I am not going to do that unless I can undo it ....like in an editor or GUI or SOMETHING.

  9. #9
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Command line confusion.

    Okay, so the question is: which browser do you want to run with the default "Web Browser" menu item and panel launcher?
    - If it is firefox, you will need to install firefox then change the Web Browser entry in Preferred applications to Firefox.
    - If it is the Chrome instance that you installed (via the deb you downloaded), select the "Other" option in "Preferred Applications" and type/paste in the command that you use to run it (as mentioned in your first post).

    As for your issue with the File Manager:
    - If you want to use Thunar, re-install thunar and select it from the Preferred Applications drop down for File Manager (Utilities tab).
    - If you want to use Xfe, then select it from the drop-down (hopefully it shows up there).

  10. #10
    Join Date
    Mar 2009
    Location
    USA
    Beans
    307
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Command line confusion.

    Quote Originally Posted by Toz View Post
    Okay, so the question is: which browser do you want to run with the default "Web Browser" menu item and panel launcher?
    - If it is firefox, you will need to install firefox then change the Web Browser entry in Preferred applications to Firefox.
    - If it is the Chrome instance that you installed (via the deb you downloaded), select the "Other" option in "Preferred Applications" and type/paste in the command that you use to run it (as mentioned in your first post).

    As for your issue with the File Manager:
    - If you want to use Thunar, re-install thunar and select it from the Preferred Applications drop down for File Manager (Utilities tab).
    - If you want to use Xfe, then select it from the drop-down (hopefully it shows up there).
    Thank you, Sir for all your patience. It boils down to this. IF Web Browser was originally linked to CHROMIUM and FF was complementary, I would have uninstalled FF and used CHROMIUM. I would THEN 'fix' Chromium through exo-open so I can attain the command line I need.

    What it looks like, to me, is I uninstalled FF. I installed CHROME (deb). I have no idea what 'Debian Sensible' is or WAS. If IT was Chrome or Chromium, then I would link Web Browser to Debian Sensible (Chrome or Chromium), ... fix command line .. and dump Chrome deb.

    Sooo, would LOVE to know what the #Y@ Sensible IS. When I set Web Browser to Sensible, I get CHROME but dunno if that is my CHROME deb or whatever Sensible is/was in the first place. I MIGHT have set Sensible to point from whatever it WAS to Chrome deb.

    Sorry .. I am major confused at this point. If you agree, FF is not installed. I should UNinstall Google CHROME. Then .... see if Web Browser to Sensible brings up anything. Depending on what it is, ... IF ANYTHING ... go from there .. with a command line edit through exo-open ...assuming it is indeed Chrome/Chromium. If it fails (and is pointed to Debian Sensible), then I must have honked up Sensible .. WHATEVER it is. I would rejoice if I knew what Sensible is suppoed to be in the first place.

    The Thunar fiasco was corrected long ago. I don't remember what it boiled down to, but at the moment, I have Thunar and Xfe installed. I would like to only have Xfe ... as it is (now) my preferred ap for File Manager. From your input, I gather I am free to uninstall Thunar ... but last time I did, .. it was a disaster.

    Thank you again for your patience. I await your reply.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •