Removing Person Icon



  • I just noticed that the new 2.4.1468.4 (Official Build) snapshot (64-bit) added a person user icon at the top of the browser on the end of the address bar by the extensions, it's a white circle.

    If I click it and exit, it closes the browser, where are the settings for this? and how do I disable it?

    Thanks



  • @troypulk It's in the snapshot to be tested by everyone, you can't disable it, you can however modify it.



  • As @luetage indicated, you can modify or hide the icon with a custom css file.
    Here is a link to an archive I created of a custom.css file and a script to install it.
    VivaldiPatch.tar.gz

    The script was originally from @Gwen-Dragon.
    It copies the custom.css file to your vivaldi install directory and sets correct permissions
    It then patches a file so the custom.css file is parsed.

    Download and extract the contents.
    Check the vivaldi-patch.sh script is executable and also check the path in the script to the included custom.css file is correct for you.
    i.e. this section at top of script....

    ## set the directory where you store and edit your custom.css file
    mod_dir=$HOME/Downloads/VivaldiPatch
    

    The custom.css file has some other settings I use that can be uncommented if you wish to use them.
    To run, just use the path to the script in terminal with sudo.
    eg (use your path)

    sudo /home/glen/Downloads/VivaldiPatch/vivaldi-patch.sh
    

    Script needs to be run after every vivaldi update.
    To make it easier you can create an alias in ~/.bash_aliases
    eg. alias vpatch='sudo /home/glen/Downloads/VivaldiPatch/vivaldi-patch.sh'
    (use your path to script)
    Then all you need to enter in terminal to run script is vpatch.


  • Moderator

    Vivaldi overwrites only the path added in the browser.html, and keeps Lilo's CSS file.
    I had a look at your solution for removing the 'strange' element at my toolbar.



  • @lamarca
    What's Lilo's CSS file?

    It's not absolutely necessary to update the custom.css file on each update of vivaldi.
    but the script allows you to keep your custom.css file in your $USER directory and edit without requiring root privileges should you wish to add more code.
    So it's more or less a dual purpose script to patch the browser.html file and copy your custom.css to your vivaldi install.


  • Moderator

    @CantankRus said in Removing Person Icon:

    What's Lilo's CSS file?

    @Gwen-Dragon CSS
    There is a slight difference between placing the file in $HOME and /opt.



  • @lamarca
    The script copies the file to the appropriate /opt directory.

    @CantankRus said in Removing Person Icon:

    Check the vivaldi-patch.sh script is executable and also check the path in the script to the included custom.css file is correct for you.
    i.e. this section at top of script....

    > ##set the directory where you store and edit your custom.css file
    > mod_dir=$HOME/Downloads/VivaldiPatch
    

    eg.

    glen@Bionic:~$ ls /home/glen/Downloads/VivaldiPatch
    custom.css  vivaldi-patch.sh
    
    glen@Bionic:~$ sudo /home/glen/Downloads/VivaldiPatch/vivaldi-patch.sh
    [sudo] password for glen:         
    ---------------------
    Installations found:
    /opt/vivaldi: 1
    /opt/vivaldi-snapshot: 2
    
    Select installation to patch.
    Input number and press [Enter] or [X] to cancel.
    Input selection: 2
    ---------------------
    
    Patch originating from /home/glen/Downloads/VivaldiPatch targeting /opt/vivaldi-snapshot
     browser.html has already been patched!
     custom.css file copied to /opt/vivaldi-snapshot/resources/vivaldi/style/
    
    Done.
    Press any key to exit this script...
    
    glen@Bionic:~$ ls /opt/vivaldi-snapshot/resources/vivaldi/style
    common.css  common.js  custom.css
    

    It's basically @Gwen-Dragon's script without the javascript section and some minor personal tweaks.


  • Moderator

    @CantankRus
    Yes. It really does it. Btw: job well done.



  • The toolbar code in the custom.css file no longer works due to vivaldi-snapshot changes.
    You can follow this thread to see if someone comes up updated code.
    https://forum.vivaldi.net/topic/35083/hide-the-user-icon


  • Moderator

    @CantankRus said in Removing Person Icon:

    The code in the custom.css file no longer works due to vivaldi-snapshot changes.

    The whole toolbar will be changed, the experiment broke all my CSS files.


 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.