New answers tagged

3

You can find it at: /home/pi/.local/share/Trash/. The trash:// prefix comes from gvfs (GNOME Virtual File System) / the XDG Spec. It does map to an actual filesystem path, but the idea is that applications don't need to know it if they use a certain platform like gvfs. It also looks friendlier to users, like the 'Recycling Bin' on Windows.


4

It has one, but it also does not... On one hand there is not concept of a trash bin/wastebasket on Linux, especially when dealing with the shell. rm deletes (more or less) for good. But on the other hand there IS a trash specification that most Desktop Environments use (like KDE and xfce), published by freedesktop. When you delete things using the GUI they ...


13

The folder trash can is in /home/pi/.local/share/Trash/. In this folder, there are two folders, files and info. /home/pi/.local/share/Trash/files/ /home/pi/.local/share/Trash/info/ Source


1

I was not satisfied with any of the previous answer, but I have now found a way that gives me entire satisfaction, using Clonezilla : On another computer running Linux (in my case Ubuntu 18.04), I installed clonezilla : sudo apt install -y clonezilla I created the /home/partimag to store my backups (sudo mkdir /home/partimag ) When I want to backup the ...


1

You have two default routes: Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 192.168.100.1 0.0.0.0 UG 0 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 The default route is used for all ip packages that destination address does not belong to ...


2

With setting up an Access point as WiFi router/repeater, optional with bridge I run into the same problem with the common channel of ap0 and wlan0 and could not get it to run with wpa_supplicant for the access point. So I decided to use hostapd. It is able to follow the channel for ap0 from wlan0 automagically. You may have a look at Step 2: install hostapd ...


1

According to apt show rtorrent you will find: rtorrent is a BitTorrent client based on LibTorrent. It uses ncurses and aims to be a lean, yet powerful BitTorrent client, with features similar to the most complex graphical clients. Since it is a terminal application, it can be used with the "screen"/"dtach" utility so that the user can ...


2

In your code Output code you have not define bcm2835_spi_setClockDivider(BCM2835_SPI_CLOCK_DIVIDER_64); // 4MHz clock with _64 , you not divide the clock. Per default the clock freq. is 250MHz, so you receive with 250MHz clock and you send with 64Mhz... which would explain why it would work when a single program is used and the frequency is the same. ...


0

I just had the same project today, here is how I did it. boot the Raspberry Pi in the lastest version of Raspbian click on the raspberry icon at the top-left corner, then click "Add/Remove Software" type "linphone" in the search bar. You will see a package called "SIP softphone-graphical client". Install that package. find linphone in /usr/bin, execute it ...


1

I think something like this should work. All this commands can be in an uniq bash shell script using sudo for execution : #!/bin/bash # 1- Connect your client cat << EOF > /etc/wpa_supplicant_ap0.conf ctrl_interface=/var/run/wpa_supplicant update_config=1 pmf=1 ignore_old_scan_res=1 bgscan="simple:60:-45:240" autoscan=periodic:120 network={ ...


0

Given directory $d where new images are being created, for displaying the images as they appear, starting from the freshest one, I'm using feh -S mtime --reverse -D 1 -R 1 --on-last-slide hold --start-at $(ls -1tr "$d" | tail -n 1) "$d" (I'm not sure how it performs for huge amount of images, as it is short-periodically reloading the list)


3

Follow the instructions: 1. Figure out what is the name of USB drive on /dev: ls -l /dev/disk/by-uuid/ It should be like sda1, sdb2, etc. Plug and unplug to making sure about that. 2. Create a mount point whichever you prefer: sudo mkdir /home/pi/drive 3. Give the permission for the mount point: sudo chown -R pi:pi /home/pi/drive Note ...


0

Here is some working code which waits for a sysfs interrupt. Please note the preconditions assumed by the code which are noted in the comments. As an aside please note that the sysfs interface is deprecated and has been removed from some Linux kernels. If you are writing a new library I suggest you use the /dev/gpiochip interface instead. /* 2014-07-06 ...


1

If you haven't destroyed the image with all your attempts with different tools you are able to mount it like an SD Card and get access to its files. For example I will take the Raspbian Buster Lite image how this can be done. Create a mount point: linux ~$ sudo mkdir /mnt/img Mount partitions from the image Alternative 1: Attach the image partitions to ...


Top 50 recent answers are included