Reply To: Can’t find source of unplugdrive

Forum › Forums › antiX-development › Development › Can’t find source of unplugdrive › Reply To: Can’t find source of unplugdrive

#59896
Wallon
Member

    Dear Robin,

    With Antix 19.3 64bits FULL, this does not work for me. I don’t have the French translations.

    1) I downloaded the file unplugdrive.sh.mo on http://gitlab.com/Robin-antiX/antix-goodies/-/raw/master/locale/fr_BE/LC_MESSAGES/unplugdrive.sh.mo.
    I have copied this file into the directory; /usr/share/locale/fr_BE/LC_MESSAGES

    2) With nano, I have opened the file /etc/sudoers.d/antixers and added your sentence with NOPASSWORD.

    
    # sudoers file.
     
    %users ALL=(root) NOPASSWD: /sbin/halt 
    
    %users ALL=(root) NOPASSWD: /sbin/poweroff
    
    %users ALL=(root) NOPASSWD: /sbin/reboot  
    
    %users ALL=(root) NOPASSWD: /sbin/blkid 
    
    %users ALL=(root) NOPASSWD: /sbin/fdisk.distrib 
    
    %users ALL=(root) NOPASSWD: /usr/bin/ceni  
    
    %users ALL=(root) NOPASSWD: /usr/local/bin/persist-config
    
    %users ALL=(root) NOPASSWD: /usr/local/bin/persist-save 
    
    %users ALL=(root) NOPASSWD: /usr/sbin/minstall 
    
    %users ALL=(root) NOPASSWD: /usr/local/bin/connectshares.sh
    
    %users ALL=(root) NOPASSWD: /usr/local/bin/disconnectshares.sh 
    
    %users ALL=(root) NOPASSWD: /bin/chvt 
    
    %users ALL=(root) NOPASSWD: /usr/local/bin/menu_manager.sh 
    
    %users ALL=(root) NOPASSWD: /usr/sbin/pm-hibernate
    
    %users ALL=(root) NOPASSWD: /usr/sbin/pm-suspend
    
    %users ALL=(root) NOPASSWD: /usr/local/bin/unplugdrive.sh
    
    Defaults!/usr/local/bin/menu_manager.sh env_keep += "HOME"
    Defaults  !requiretty
    Defaults  !tty_tickets
    

    3) In LXTerminal, I use this command; sudo unplugdrive.sh

    All is in English.

    I have noticed that all my *.mo files are in the folder /usr/share/locale/fr/LC_MESSAGES.
    There is only 1 *.mo file in the folder /usr/share/locale/fr_FR/LC_MESSAGES.

    I will do the same test with your fr_BE *.mo file in the folder /usr/share/locale/fr/LC_MESSAGES.

    Best regards,
    Wallon

    • This reply was modified 5 years, 4 months ago by Brian Masinick. Reason: Replace blob with raw