Forum › Forums › New users › New Users and General Questions › Cannot set preferred browser in Preferred Applications
- This topic has 7 replies, 4 voices, and was last updated Jan 8-2:30 am by mr-kumar.
-
AuthorPosts
-
January 5, 2023 at 9:10 am #96858Member
kaye
Hello Friends!
Control Center -> Preferred Applications
in the Web Browser drop down, I am unable to choose a browser. It’s current value/entry looks something like this: –p
Same with Image Viewer drop down.
Did I mess up my system? Fixable?
Thank you for your time!
- This topic was modified 4 months ago by kaye.
January 5, 2023 at 1:24 pm #96868Member
punranger
::Somebody recently posted a similar question, please review:
https://www.antixforum.com/forums/topic/cannot-set-the-default-browser-in-antix-22/
antiX linux: The best way to revive an old computer - https://www.youtube.com/watch?v=JCTaUAP6sSg
January 5, 2023 at 4:21 pm #96882ModeratorBobC
::Which version of antiX do you have, and what browser do you have installed that isn’t appearing?
I wonder if you deinstalled the default applications?
PS: Here is the list of Categories entries the system looks for in the .desktop files. Each must be followed be followed by a semicolon “;” to be completely valid
# Categories = Values in .desktop files used to select. Any entries including NoDefault will be excluded
# Terminal – TerminalEmulator
# Web Browser – WebBrowser
# File Manager – FileManager
# Email Client – Email
# Text Editor – TextEditor
# Image Viewer – GraphicsViewer (must include mime type image/jpeg)
# Video Player – VideoPlayer
# Audio Player – AudioPlayer- This reply was modified 4 months ago by BobC.
January 5, 2023 at 4:38 pm #96883Memberkaye
::Kernel: 5.10.57-antix.1-amd64-smp
arch: x86_64
bits: 64
Desktop: IceWM v: 3.2.3
Distro: antiX-21_x64-full Grup Yorum 31 October 2021The browser that I want to make default is Vivaldi.
There is no Vivaldi desktop file in /home/user/.local/share/applications
The desktop file is in /usr/share/applications
I opened the desktop file with Leafpad and saw this:
Categories=Network;WebBrowser;
so I don’t know what the problem is.
January 5, 2023 at 5:47 pm #96887ModeratorBobC
::Put the /usr/share/applications/vivaldi.desktop file into a .zip file and post it here, please.
Based on what you told me, you could run this from a terminal:
ls -l /usr/share/applications/vivaldi*.desktop ls -l ~/.local/share/desktop-defaults rm -f ~/.local/share/desktop-defaults/web-browser.desktop ln -s ~/.local/share/desktop-defaults/web-browser.desktop /usr/share/applications/vivaldi-stable.desktop ls -l ~/.local/share/desktop-defaultsPS: that will change your default to that vivaldi-stable.desktop, but I don’t think that will make it appear on the list if it wasn’t already.
- This reply was modified 4 months ago by BobC.
- This reply was modified 4 months ago by BobC.
- This reply was modified 4 months ago by BobC.
January 5, 2023 at 5:52 pm #96889Memberkaye
January 5, 2023 at 7:47 pm #96894ModeratorBobC
::I fixed my code above so it matches the filename you sent. I also had to fix it to remove the old link (assuming it was there) before creating the new link.
Try the code above again. Post the text from the terminal screen. It should fix your web browser problem.
- This reply was modified 4 months ago by BobC.
January 8, 2023 at 2:30 am #97001Membermr-kumar
::The problem actually lies
web-browser.desktopfile. The one that came with fresh install of anti x. It has improper file permission. Deleting that file and regenerating it again as BobC told should resolve the problem. -
AuthorPosts
- You must be logged in to reply to this topic.