This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

How to start Chromium always in incognito mode by default

Doncic

Sat Aug 01, 2020 9:40:51 am

Hi everyone!
In lubuntu I successfully managed to do that changing the chromium-browser.desktop file (adding --incognito), but here in zorin I can't find it browsing the file sistem..it should be in usr/share/applications but I can't find it there.. and obviusly I installed it.

suggestions? thank you

Swarfendor437

Sat Aug 01, 2020 10:50:53 am

HI, I'm afraid you will have to wait for a user of Chromium - I currently prefer Waterfox. ;) :D

Doncic

Sat Aug 01, 2020 10:59:08 am

Swarfendor437 wrote:HI, I'm afraid you will have to wait for a user of Chromium - I currently prefer Waterfox. ;) :D


well I think it should work like every other apps, I mean, where should I find app I have installed? why I can't find chromium in that folder?

what is "chromium -l"?

oh and I found a root folder that I can't access, is it possible to enter in that folder?

thank you

Swarfendor437

Sat Aug 01, 2020 11:03:41 am

Which root folder, 'root' with an 'X' across it? I don't think that is accessible in any shape or form and if you could you could impair the system. ;) :D

See if this helps:

https://askubuntu.com/questions/461943/ ... by-default

Doncic

Sat Aug 01, 2020 11:05:31 am

Swarfendor437 wrote:Which rooot folder, 'root' with an 'X' across it? I don't think that is accessible in any shape or form and if you could you could impair the system. ;) :D


yes, that folder, there isn't a folder like that in ubuntu/lubuntu right?

Swarfendor437

Sat Aug 01, 2020 11:10:58 am

I'll get back to you on that point - can you follow the advice in that thread I posted first though? ;) :D

Doncic

Sat Aug 01, 2020 11:25:18 am

Swarfendor437 wrote:I'll get back to you on that point - can you follow the advice in that thread I posted first though? ;) :D


oh sorry, I didn't see the link
I know that thread, that's the same thread I followed to set chromium incognito mode in lubuntu.
but here in zorin I can't fine chromium-browser.desktop in /usr/share/applications, that's the problem

thank you

Doncic

Sat Aug 01, 2020 11:35:27 am

wow I found it in var/lib/snapd/desktop/application, I'll let you know if it works

Aravisian

Sat Aug 01, 2020 11:52:29 am

In terminal, you can use "locate" command to search for files.
For example in this case:
Code:
locate chromium-browser.desktop

You already found it, but this method may help you in the future.


If the file you found does not work; will this guide help?
https://www.techdrivein.com/2010/09/how ... lt-in.html

Swarfendor437

Sat Aug 01, 2020 12:14:52 pm

In respect of root and a cross, I needed proof for my memory cells - in fact most distributions will have the root folder inaccessible:

Screenshot from 2020-08-01 11-48-59.jpg

Doncic

Sat Aug 01, 2020 12:52:46 pm

Aravisian wrote:In terminal, you can use "locate" command to search for files.
For example in this case:
Code:
locate chromium-browser.desktop

You already found it, but this method may help you in the future.


If the file you found does not work; will this guide help?
https://www.techdrivein.com/2010/09/how ... lt-in.html


thank you
I'm tryng your guide suggestion (that would be faster) but I can't modify the command, like I don't have the permissions: I can't copy and past and I can't type in that field. I can't even modify permissions maybe because root is the owner(I could in lubuntu). Is it supposed to work like this Zorin?

Doncic

Sat Aug 01, 2020 12:57:24 pm

ops sorry, actually I couldn't in lubuntu too, in fact I have to copy and past that file in home folder first, like the other guide suggest. my mistake

Aravisian

Sat Aug 01, 2020 1:02:17 pm

Doncic wrote:
Aravisian wrote:In terminal, you can use "locate" command to search for files.
For example in this case:
Code:
locate chromium-browser.desktop

You already found it, but this method may help you in the future.


If the file you found does not work; will this guide help?
https://www.techdrivein.com/2010/09/how ... lt-in.html


thank you
I'm tryng your guide suggestion (that would be faster) but I can't modify the command, like I don't have the permissions: I can't copy and past and I can't type in that field. I can't even modify permissions maybe because root is the owner(I could in lubuntu). Is it supposed to work like this Zorin?

Doncic, open a terminal and type in
Code:
pkexec thunar

It will ask for password.
Then Thunar will open as Root, allowing you Root permission access to all files and folders in Root.

Doncic

Sat Aug 01, 2020 1:16:50 pm

thank you, anyway I managed to modify the file once in the home folder and, most important, create a launcher in a panel.
here the command to type in (it is different from the other launchers I created, you can see my lateral panel in the other thread where I posted my desktop screens):
Code:
env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/chromium_chromium.desktop /snap/bin/chromium --incognito %U

Doncic

Sat Aug 01, 2020 7:07:17 pm

Aravisian wrote:In terminal, you can use "locate" command to search for files.
For example in this case:
Code:
locate chromium-browser.desktop

You already found it, but this method may help you in the future.


If the file you found does not work; will this guide help?
https://www.techdrivein.com/2010/09/how ... lt-in.html


I solved the incognito problem but, out of curiosity, here's what happens if I run that command: https://imgur.com/a/PRY4PYf

Aravisian

Sun Aug 02, 2020 1:38:38 am

Doncic wrote:
Aravisian wrote:In terminal, you can use "locate" command to search for files.
For example in this case:
Code:
locate chromium-browser.desktop

You already found it, but this method may help you in the future.


If the file you found does not work; will this guide help?
https://www.techdrivein.com/2010/09/how ... lt-in.html


I solved the incognito problem but, out of curiosity, here's what happens if I run that command: https://imgur.com/a/PRY4PYf

That return means that the file was not found.
I do not use Chromium, so I do not know if the desktop file should exist or if it is a file that is only ever made by a user- or if it has a different name.

Doncic

Sun Aug 02, 2020 9:48:09 am

Aravisian wrote:
Doncic wrote:
Aravisian wrote:In terminal, you can use "locate" command to search for files.
For example in this case:
Code:
locate chromium-browser.desktop

You already found it, but this method may help you in the future.


If the file you found does not work; will this guide help?
https://www.techdrivein.com/2010/09/how ... lt-in.html


I solved the incognito problem but, out of curiosity, here's what happens if I run that command: https://imgur.com/a/PRY4PYf

That return means that the file was not found.
I do not use Chromium, so I do not know if the desktop file should exist or if it is a file that is only ever made by a user- or if it has a different name.


looking at the command I posted before, you are probably right: it seems the file name si "chromium_chromium.desktop" here.

I'll try again later, I am on windows now

Doncic

Sun Aug 02, 2020 10:28:14 am

yes, with "chromium_chromium.desktop" it works, just tried, thank you