Categories
Knowledge Support Support exacqVision Server Products

Linux – Delete Video from Root Volume

Exacq Technologies does not recommend using the root partition for video recording as the OS is installed on this partition.  Exacq labels the root partition as /mnt/edvr/0.  In the event that /mnt/edvr/0 has been enabled on the storage page,  resulting in video being recorded to the root partition and you now need to delete that video and prevent future recordings follow these instructions.

exacqVision files are stored on each drive enabled for recording in a directory structure beginning with YYYY (Year), see our KB: 393 exacqVision Video File Naming Format for additional details 

Knowing this we only need to concern ourselves with identifying the year folders which have been written to /mnt/edvr/0.  Once identified then they, along with their contents, including sub-directories can be easily removed. 

The basic steps are: 

  • Verify that future recording to /mnt/edvr/0 has been disabled
  • Open terminal and change to the mnt/edvr/0 directory 
  • Determine which Year folders have been created on /mnt/edvr/0
  • Delete the contents, of this year folders, including sub-directories
  • Empty the contents of trash
  • Close the Terminal Window 

In this screenshot mnt/edvr/0 has been enabled resulting in video being recorded to the root partition.  This is not recommended and should be unchecked to prevent recording to the root partition in the future.

Example of deleting video from the root partition (/mnt/edvr/0) and emptying the trash from the terminal

Change directory to /mnt/edvr/0 

$ cd /mnt/edvr/0

List contents of /mnt/edvr/0

$ ls
2021  psfpi

Remove year folder, in this case 2021 and it’s contents 

$ sudo rm -r 2021

Note if prompted enter in the OS root password and press enter.  There will be no visual feedback while you type. 

Empty Trash 

$ sudo rm -rf ~/.local/share/Trash/*

Exit Terminal 

$ exit
Categories
User Guides exacqVision Server Categories Products

Adding Desktop Trash Bin in Ubuntu

Steps below are separated by version. To find your version, open a Terminal CLI using the Menu bar, or pressing CTRL+ALT+T.

Enter one of the following commands will display your version information.

  • cat /etc/issue
  • lsb_release

<br>

Ubuntu 18.04 & 20.04

  1. From the System menu, expand the Look and Feel menu, then select MATE Tweak.
    <br><br>
  2. On the Desktop page, place a check mark in the box beside ‘Trash’.

<br>

Ubuntu 14.04 & 16.04

  1. Ubuntu 14.04 has two options for Desktop trash access. You can enable the trash on the panel bar at the bottom of the Desktop or place an icon on the Desktop.<br><br>
  2. From the Desktop, press Alt-F2. Type in “dconf-editor”and select “Run”.
    <br><br>
  3. In the navigation tree on the left, drill down into org > gnome > nautilus > desktop.<br><br>
  4. Place a check mark in the box next to “trash-icon-visible”
    <br><br>
  5. If you want to place a small Trash icon in the panel bar across the bottom of the Desktop, hold the Alt key and right-click on the panel bar. Select “Add to Panel”
    <br><br>
  6. Scroll down, select Trash and click the Add button.

<br>

Ubuntu 12.04

  1. Ubuntu 12.04 has two options for Desktop trash access. You can enable the trash on the panel bar at the top of the Desktop or place an icon on the Desktop.<br><br>
  2. From the Desktop, select the Applications menu from the top menu bar. Drill down to System Tools > Preferences > Advanced Settings.
    <br><br>
  3. Select Desktop from the left pane. Turn on ‘Trash icon visible on desktop.’
    <br><br>
  4. If you want to place a small Trash icon in the panel bar across the top of the Desktop, hold the Alt key and right-click on the panel bar. Select “Add to Panel”
    <br><br>
  5. Scroll down, select Trash and click the Add button.

<br>

Ubuntu 10.04

  1. Ubuntu 10.04 has two options for a visible trash can. You can enable the trash on the panel bar at the bottom of the Desktop or place an icon on the Desktop.<br><br>
  2. To place a trash icon on the panel bar, right-click on the panel bar and select “Add to Panel”
    <br><br>
  3. Scroll down and select “Trash”, then click the Add button.
    <br><br>
  4. To place an icon on the Desktop, press Alt-F2. Enter “gconf-editor” and select “Run”.
    <br><br>
  5. Drill down into apps > nautilus > desktop. Place a check mark next to “trash_icon_visible”

<br>

Ubuntu 8.04

  1. Ubuntu 8.04 has two options for a visible trash can. You can enable the trash on the panel bar at the bottom of the Desktop or place an icon on the Desktop.<br><br>
  2. To place a trash icon on the panel bar, right-click on the panel bar and select “Add to Panel”
    <br><br>
  3. Scroll down the menu and select “Trash”, then click the Add button.
    <br><br>
  4. To place an icon on the Desktop, press Alt-F2. Enter “gconf-editor” and select “Run”.<br><br>
  5. Drill down into apps > nautilus > desktop. Place a check mark next to “trash_icon_visible”

<br>