How to remove buttons from the toolbar, and then add them back.

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
DWD1961
Posts: 2
Joined: Wed Oct 02, 2019 5:22 pm

How to remove buttons from the toolbar, and then add them back.

Post by DWD1961 »

Seriously, I went to Tools>Options>toolbars but I can''t seem to get rid of the default toolbar bar across the top, remove it's buttons, then add back specific buttons.

I'm creating a family album and need specifically these buttons only

1. jpg lossless crop
2. copy to folder

It's a huge number of files and those are the only two buttons I need.

TIA
DWD1961
Posts: 2
Joined: Wed Oct 02, 2019 5:22 pm

Toolbar Customization: Can't remove or add buttons to toolbar

Post by DWD1961 »

I have tried to remove buttons from the toolbar and then only add back the ones I want,but I cannot find a way to do that.

Options>Toolbars

I can't seem to remove any buttons from the toolbar, or get rid of the default toolbar.

I only want two buttons showing:

1. jog lossless crop
2. copy file to folder

What am I doing wrong?
cday
XnThusiast
Posts: 4405
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: How to remove buttons from the toolbar, and then add them back.

Post by cday »

DWD1961 wrote: Wed Oct 02, 2019 5:56 pm Seriously, I went to Tools>Options>toolbars but I can''t seem to get rid of the default toolbar bar across the top, remove it's buttons, then add back specific buttons.

I'm creating a family album and need specifically these buttons only

1. jpg lossless crop
2. copy to folder

It's a huge number of files and those are the only two buttons I need.
XnView MP, the latest software, has a highly customisable toolbar... :D

I can't easily check how customisable XnView Classic is as I'm in Linux, but it is unlikely to be nearly as customisable.
User avatar
XnTriq
Moderator & Librarian
Posts: 6513
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: How to remove buttons from the toolbar, and then add them back.

Post by XnTriq »

  1. Go to InfoAbout… to find the INI file location.
  2. Quit XnView.
  3. Copy & paste the following “code” to a text editor and save it as test.bar in the same folder as your xnview.ini.

    Code: Select all

    [Default Toolbar]
    count=12
    button1=17
    button2=-1
    button3=0
    button4=-1
    button5=21
    button6=30
    button7=12
    button8=13
    button9=14
    button10=-1
    button11=15
    button12=16
    
    [View Toolbar]
    count=2
    button1=cmd_JPEGCrop.ico
    cmd1=cmd_JPEGCrop
    button2=39
    
    [Browser Toolbar]
    count=21
    button1=18
    button2=10
    button3=-1
    button4=33
    button5=27
    button6=31
    button7=-1
    button8=29
    button9=19
    button10=21
    button11=11
    button12=30
    button13=12
    button14=-1
    button15=13
    button16=14
    button17=24
    button18=28
    button19=-1
    button20=15
    button21=16
  4. Download cmd_JPEGCrop.ico and place it in the same folder as your xnview.ini.
    cmd_JPEGCrop.ico.zip
    (763 Bytes) Downloaded 86 times
  5. Start XnView.
  6. Go to ToolsOptions…ToolbarButtonsButtons displayed, click on the […] button, and select test.bar.
Attachments
p158333.png
p158333.png (11.22 KiB) Viewed 1907 times
billfilson
Posts: 1
Joined: Sun Apr 20, 2014 4:23 am

Re: How to remove buttons from the toolbar, and then add them back.

Post by billfilson »

This worked up until I re-ran Xnview. The Crop icon did not appear in the Xnview browser's current toolbar. I could see it ok if I selected the tools=>properties "View" button. But it would not display in the default toolbar. What did I miss?? I really appreciate your effort here - thanks

UPDATE: If I open an image in a new Xnview browser page the new tool appears OK - This is good. I regard this a fixed - Thanks yet again.
Post Reply