date
int64
1,220B
1,719B
question_description
stringlengths
28
29.9k
accepted_answer
stringlengths
12
26.4k
question_title
stringlengths
14
159
1,466,655,932,000
I'm trying to setup multiple NAT networks in KVM that are isolated from each other and can't get it work. I face a behaviour that I can't explain, and I would like some clarification about it. If I setup 3 NAT networks in the IP range 192.168.122.0/24, 192.168.123.0/24 and 192.168.124.0/24, and start them in THAT orde...
In the tutorial you posted it mentions: If you do not set the “dev” attribute to either the physical network device or bridge, then you will get unexpected behavior because it may take shortcuts and forward traffic directly from one KVM network to another using internal interfaces. This seems to be what would ...
KVM: isolation between different NAT networks
1,466,655,932,000
I’m trying to access a Web Service (port 8080) on my Raspberry Pi via both of the following interfaces (which have static IPs): Ethernet (eth0, 172.22.0.99, connected to a Netgear router). Wi-Fi (wlan0, 172.24.1.1, providing an Access Point). Currently, I can only access the web service if I connect to eth0 and ga...
Problem solved! I was only doing the following single flush command: sudo iptables -F Hence specifically I wasn't flushing all of the iptables rules, eg. the NAT. So I had this mess of PREROUTING & POSTROUTING duplicates: $ sudo iptables -t nat -L Chain PREROUTING (policy ACCEPT) target prot opt source ...
Web Server access via second interface
1,466,655,932,000
I am on double NAT (behind 2 routers). I known how to get the public IP by visiting some webpages or use dig command. Yes I known WAN IP usually same as the public IP. I talk about WAN IP #2 that can be a private IP. I tried tracert and pathping commands but didn't work. Maybe we can't known the WAN IP by general wa...
Private LAN clients can known external IP only when the router enabled uPnP I had recheck the android app "tinyCam Monitor". She known the external IP when router is enabled uPnP feature. So I check around internet and found MiniUPnP (http://miniupnp.free.fr/) command that can show the external IP via UPnP/IGD. I do...
How to get WAN IP of a router on double NAT (not a public IP)?
1,466,655,932,000
So for at least two months I had an IP tables configuration that was working on a compute cluster to provide internet access to compute nodes that were technically offline, via the headnode. We recently had to reboot the headnode which I'm almost entirely certain flushed out whatever setting was making it work. I was ...
Your iptables configuration looks sane, but have you checked the master switch of IPv4 forwarding? Try this command: # sysctl net.ipv4.ip_forward net.ipv4.ip_forward = 1 If it says net.ipv4_ip_forward = 0 instead, then IPv4 forwarding has not been enabled. That's easy to fix: # echo "net.ipv4.ip_forward = 1" >>/etc/s...
NAT/Masquerade. Was working before, now is not
1,466,655,932,000
I have openvpn client running in my centos box which I use as a router for my internal network. I have two interfaces for reach outside world. eth0 - normal internet tun0 - openvpn tunnel I disable the opevpn auto route pulling by putting "route-noexec " option and I handle all the routes manually now. after I up...
Based from this answer on SuperUser: create a routing table for some IPs: ip rule add from <sourceIP>/<mask> table <name> Then declare a new route to match the routing table <name>: ip route add default via <router> dev tun0 table <name> it would be easier to have a subnet for people needing to use the VPN beca...
Route certain client through Openvpn tunnel
1,493,369,676,000
I'm attempting to setup a nat router for a lab to simulate a private network connected to a WAN. I have three virtual machines: public ip 192.168.0.5/24 private ip 172.16.0.5/24 router 192.168.0.1/24 (eth0), 172.16.0.1/24 (eth1) I started by configuring each system's networking and confirmed I could ping from privat...
I finally figured it out! First, flush iptables like before: iptables -F iptables -t net -F iptables -t mangle -F iptables -X iptables -t nat -X iptables -t mangle -X Setup filter policies iptables -P OUTPUT ACCEPT iptables -P INPUT ACCEPT iptables -P FORWARD DROP Then setup masquerading iptables -t nat -A POSTROUTI...
CentOS 6 iptables nat router
1,493,369,676,000
I have Ethernet on my machine (enp0s10) that connected to real network, and I have lxcbr0 Ethernet bridge which gather lxc containers. And I want to make available one of lxc containers. So I wrote: IFACE=enp0s10 echo "allow inet for lxc" iptables -t nat -A POSTROUTING -o $IFACE -j MASQUERADE iptables -A FORWARD -i $...
Found here: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Security_Guide/s1-firewall-ipt-fwd.html If you have a default policy of DROP in your FORWARD chain, you must append a rule to allow forwarding of incoming HTTP requests so that destination NAT routing can be possible. To do ...
lxc container <-> external internet, what I missed?
1,493,369,676,000
I've got a few client servers that I connect to with different VPN clients (e.g. Cisco, OpenVPN, etc). I'm trying to set up an Ubuntu 14 VM (with VPN client permanently connected) for each server to route all traffic to and from the server, so I don't need to keep switching between various VPN clients. The VM has eth0...
Fixed it! Ended up using the following, mapping the entire LAN IP range to the destination server IP range, for clients with multiple servers in the same subnet. Using masquerade so that the packet gets back to the right LAN IP. iptables -v -t nat -A PREROUTING -i eth0 -d 192.168.2.0/24 -j NETMAP --to 10.50.1.0/24 ipt...
1:1 NAT through VM VPN
1,493,369,676,000
I have a adsl connection with static IP (lets say 1.1.1.1). My debian firewall connects Internet with ppp and IP is assigned to firewall directly; ppp0 Link encap:Point-to-Point Protocol inet addr:1.1.1.1 P-t-P:<IP-DOES-NOT-MATTER> Mask:255.255.255.255 I am using debian as a firewall/router and NAT my local client...
After @wurtel's answer i used DNAT and SNAT together and it worked. Thanks for it :) The commands are: iptables --table nat --append PREROUTING --in-interface eth1 --dest 1.1.1.1 -p tcp --dport 80 -j DNAT --to-destination 192.168.1.101:80 iptables --table nat --append POSTROUTING --out-interface eth1 -source 192.168....
NAT External IP to local server using iptables
1,493,369,676,000
So i want to create a nat rule for an openVPN server. After getting trouble with the TAP/TUN Devices, it's finally working i think. Now i have to make a nat rule like so : >iptables -t nat -A POSTROUTING -s 172.16.0.0/24 -o venet0:1 -j MASQUERADE iptables v1.4.14: can't initialize iptables table `nat': Table does ...
iptables MASQUERADE is roughly the same as source nat (SNAT), as the source IP address is translated or masqueraded. iptables -t nat -A POSTROUTING -s 172.16.0.0/24 -o venet0:1 -j SNAT --to-source 1.2.3.4 1.2.3.4 is your outgoing IP address - I guess 5.135.###.### in your case.
iptables NAT on Debian openvz
1,493,369,676,000
I'm just in the process of setting up my Linux (Debian-based) router with a PPPoE connection via an ADSL/PPPoA -> PPPoE bridge. The connection works perfectly on the router itself but a traceroute through the NAT for some reason takes a long time to get the result of the first hop (to the NAT). The majority of the tim...
Answer turned out to be the router had 2 virtual interfaces on one physical interface. Problem was solved by getting iptables to use only the virtual interface eth0:0 for the routing.
iptables - masqueraded NAT has delayed first hop in traceroute
1,493,369,676,000
I have a problem with my nftables setup. I have two tables, each one has a chain with the same hook but a different name and priority. The tables are in different files which are loaded by an include argument. Because of the priority, I would think that the VPN-POSTROUTING chain will be executed before the INTERNET ch...
Historically there used to be one NAT chain in a given hook (prerouting, input, output, ...). Executing a nat statement or simply accept-ing the packet being terminal for the chain, with a single chain it was also ending treatment within the hook. With nftables allowing to use more than one chain in the same hook, ter...
nftables table and chain priority
1,493,369,676,000
I have a simple media player computer running Debian 10. It is located in a museum, where it continually plays a video file for an art installation (using mpv). The computer is connected to the museum's WiFi network. Sometimes, the museum emails me a new video file to play. I then proceed to copy the video file to a U...
If I read the question, including the title properly, you are asking how connect from the museum computer to your computer so you can copy a video up. This is known as "reverse ssh tunneling", and basically what you do is on the museum computer you run a ssh -R command that causes a tunnel to get set up from inside th...
What's an easy way to get a reverse shell?
1,493,369,676,000
I have an Ubuntu 18.04 server with one public network interface (eth0). I'm trying to create additional "virtual" network interfaces that will also be able to access the internet with NAT rules set up. I've created a virtual interface using the following commands: ip link add type veth ifconfig veth0 192.168.1.1 Be...
If you want to use a computer as host for virtual machines there you also wants the physical machine and the virtual ones to be reachable in both directions but if you only have one iface ... it is necessary to use a bridge (you create them with brctl or NetworkManager:s nmcli.) Though macvtap for example changes th...
Ubuntu Server - “Virtual” Network Interface with Internet Access
1,493,369,676,000
I have media box in my network that hard coded to use specific DNS servers like Google DNS. But I want force this device to use my own DNS servers instead of hard coded DNS. Only way I think this is possible to mangle the DNS request coming from that media box IP to DNAT to my DNS server IP. but I'm not quite sure h...
Just add -d a.b.c.d immediately after tcp, to restrict the rule to packets with destination address a.b.c.d. And add -s e.f.g.h to also restrict by source address.
Mangle rule for intercept DNS traffic form specific IP and redirect to another DNS server - openwrt
1,493,369,676,000
I have a FreeBSD 7.3 server and I configured IPsec on it but now I need to put my server behind a NAT. I know in order to using NAT I should add IPsec_NAT_T to my kernel but the problem is IPsec_NAT_T is not built in and I must add patch to my kernel. How can I do that?
You have already figured out that you need to patch your kernel sources as you have a very old version. Never versions already have the option. And I think that -current (what will become 12) have deprecated the option and supports NAT-T by default. So you need to figure out what kernel source version you have locally...
using IPsec behind NAT in freebsd 7.3
1,493,369,676,000
I'm doing some troubleshooting in our network and VPNs and I want to monitor the traffic and I want to see if the SNAT and DNAT is working fine. I want something live like tcpdump that I can see something like: 192.168.25.40 <----> 172.16.30.245 icmp echo-request 194.30.25.10 194.30.25.10 icmp echo-reply 172.26.30.245...
I don't know what you are doing wrong, but here's an example. Setup: Two network namespaces ns0 and ns1 with two veth pairs, main namespace forwards: ns0 <------- main -------> ns1 veth0b --- veth0a veth1a --- veth1b 10.0.0.1 10.0.0.254 10.0.1.254 10.0.1.1 Doing plain tcpdump on veth0...
How to check NAT live?
1,493,369,676,000
As you know, at least 3 types of NAT are used. Of course i need to two types of them.DNAT and SNAT. DNAT : hiding server behind NAT, SNAT : hiding your client behind NAT. Question: I read a quick tutorial of PF filrewall, but didn't distinguish DNAT and SNAT in PF Firewall. How can i define ruleset as DNAT and SNAT?
I've been using NAT for a long time and this the first time I've seen the terms DNAT and SNAT. I had to go look at Wikipedia. To help you, pay attention to Wikipedia when it says "This use of DNAT is also called port forwarding". I've only ever heard it called port forwarding. The keyword you'll want on your rules ...
PF and types of NAT(Network Address Translation)
1,493,369,676,000
I am trying to set up hairpinning on my home network following an article and a previous question. My network is below, host B serves a few services, let's settle for SSH port 22) The reason for the hairpinning is typical: I have ssh.example.com defined on an Internet DNS and it points to my public IP (200.200.200.20...
I'd say that your interface is wrong because your traffic from host A hits your nicLan, not nicWan. And as you said you need to masquerade so your return packages finds their way to right place. The second rule masquerades all traffic coming from your local subnet and going back to your local server. iptables -t nat -...
How to hairpin a whole network segment?
1,524,839,207,000
For some reason my NAT is only allowing connections on the local network. When I ping the local network, the packets come out with the NAT gateway as the source. When I ping the remote network (Internet host etc.), the packet source is the internal IP address for the device and the responses do not get sent back prope...
The routes are applied in order. So the default route (as well as the example given to 172.18.221.227) is going through eth1 because it's first in the routing table. The only MASQUERADE rule is applied to packets going through eth0. As OP commented, there's no way an alteration in POSTROUTING could have altered the ro...
Linux NAT is using the internal IP address for remote traffic
1,524,839,207,000
If i use iptables to NAT all HTTP traffic behind another network, does it overwrite user agent of HTTP headers? The rules are as follows: /usr/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE /usr/sbin/iptables -A FORWARD -i eth0 -p tcp --dport 80 -o tap0 -m state --state RELATED,ESTABLISHED -j ACCEPT /usr/s...
No it doesn't. Those rules works on TCP and IP level and does not process data in higher level (HTTP) To learn more about how iptables-based NAT works, see here
Dose iptables NAT overwrite user agent of HTTP headers?
1,524,839,207,000
I recently installed a Linux (Mint 17) virtual Machine on a Windows 7 PC. In order to be able to SSH to this virtual machine, I had to define a few rules and redirect ports as explained in other posts of this very forum (see this link for instance). I realized that there is a known bug on virtual box regarding the dro...
I'm not sure af the exact cause of your woes, but networking virtual machines can be complicated. Your computer is acting as a NAT router for your VM(s), and so it has to manage port forwarding and address translation, among many other things. One way of eliminating these problems can be to use bridged networking inst...
SSH to a virtual machine
1,524,839,207,000
I could enable NAT using UFW with following configuration. *nat :POSTROUTING ACCEPT [0:0] -A POSTROUTING -s 192.168.141.0/24 -o ens192 -j MASQUERADE COMMIT If I want to enable TCPMSS, I have to run the following command manually. iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu How ...
It worked as expected with the following configuration. Add the following line in /etc/ufw/after.rules just before the final COMMIT line. -A ufw-after-forward -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu example: # Don't delete these required lines, otherwise there will be errors *filter :ufw-after-in...
Enable NAT with TCPMSS using UFW
1,524,839,207,000
On a Linux laptop, I want to give access to locally hosted VM (kvm) from LAN. I'd like to do DNAT to VM. Network client <-- LAN 192.168.3.0/24 --> host <-- bridge 192.168.113.0/24 --> guest Host wlp3s0: 192.168.3.221/24 br0: 192.168.113.1/24 net.ipv4.ip_forward = 1 Bridge: # bridge -d link 16: vnet5: <BROADCAST,MU...
There is a typo in the prerouting rule. dnat to 193.168.113.201:8080 instead of dnat to 192.168.113.201:8080.
Access VM from LAN
1,524,839,207,000
I am currently Running a Bare Metal Kali with Virtualbox installed on it to the run Kioptrix Level 1. I created a NAT network in preferences with the default recommendations. This did resolve an earlier issue of the Kioptrix showing a failed boot of Eth0. However I am failing to understand and resolve the below: I c...
With a NAT network this is exactly as it should be. If you want to be able to treat the VMs as grade 1 systems that are directly reachable, they need to be in a bridged network
Virtualbox NAT network not showing in Linux
1,524,839,207,000
On a hypervisor with multiple public IPs on a single network interface, there are two groups of Virtual Machines. Group A members get their public IP routed to them directly via the host interface (via a bridge that sets up the route). [1] Group B members are on a bridge with NAT configuration, so they get private IP...
I tried -dst IPb in the PREROUTING rule, but this practically caused the rule to not get triggered at all (port forwarding stopped). [3] Turned out this is the correct approach, but: the entry for IPb must include a subnet length. In this case I just used IPb/32 and it worked as it should.
How to restrict DNAT to just one of the public IPs?
1,524,839,207,000
Looking to solve a problem on: Ubuntu 18.04.5 Intel i3 I have two physical ports (enp1s0 & enp2s0), a router connected to enp1s0 and a camera on enp2s0. enp1s0 is 192.168.1.10 Router connected is 192.168.1.1 enp2s0 is 192.168.0.10 Camera is 192.168.0.1 I would like to be able to access the internet from the camera...
I originally added this as an edit - but here it is as an answer: I've used iptables flush to remove any old rules (although I believe this is done on restart anyways) and changed the nat rule from what I originally thought was correct. iptables --flush iptables --table nat --flush iptables --delete-chain iptables --...
Ubuntu routing problem between two physical ports
1,524,839,207,000
I have one physical interface eth0 on my target, running Linux. The IP address of this interface is 172.16.81.x (public IP). I have to create a virtual interface eth0:1 with IP address 173.1.1.x. I will be running socket server with custom port 49155 using IP address 173.1.1.x. From another PC/target I should not be a...
While I have no idea what you are actually trying to set up or achieve ultimately, given the the following case: You have two IP addresses configured on the same host (regardless of whether they are configured on the same network interface) You have some server program that binds to one of the addresses You do not ...
IP forwarding, masquareding, NAT
1,524,839,207,000
I have following networking setup: Gateway: Internet <-- eth0 : a.b.c.d (static address) Clients <-- eth1 : DHCP at server at 172.16.0.1, leasing 172.16.0.0/24 Client: Gateway <-- eth0: 172.16.0.0/24 Clients can reach internet and forwarding is working. I want to create some kind of "virtual" address, which clients...
You might want to flush existing broken iptables rules, and start from scratch. On the Linux box acting as gateway, assume the following conditions: The linux gateway has two NICs; eth0 is LAN facing while eth1 is WAN facing. Enable IP packet forwarding on the gateway: $ sudo echo 1 > /proc/sys/net/ipv4/ip_forward Cr...
virtual gateway via NAT
1,610,042,153,000
All: Recently, I added several new iptables (RE: code snippet below) rules to route traffic through my VPN (0x1000/0x1000) for a specific destination (172.67.168.48) over port 443. The new rules NAT over the VPN as desired, but they've created an undesired effect causing other HTTP requests, unrelated to the aforement...
All: It turns out my original iptables -t nat rule was missing the --dport 443 definition and the reason why it was interacting with Other HTTP requests. # Create the RPDB rules ip rule add from 0/0 fwmark "0x1000/0x1000" table ovpnc1 prio 9993 # VPN 1 fwmark iptables -t mangle -A PREROUTING -i br0 -p tcp --dp...
New iptables NAT produces Error 400 Bad Request for Other HTTP Requests
1,610,042,153,000
We have small kuberentes cluster running (CentOS 7, Kuberenetes 1.13 + Flannel) and after some tweaking TCP configuration (see below), we noticed that DNS was not working properly. I don't think that our changes are directly responsible for what I have observed, nor that kubernetes is responsible. I looked up in IP ta...
The issue seems to be CentOS 7 default configuration. When reloading configuration sysctl -p --system, it will also reload /usr/lib/sysctl.d/00-system.conf. In /usr/lib/sysctl.d/00-system.conf, we can see following: # Disable netfilter on bridges. net.bridge.bridge-nf-call-ip6tables = 0 net.bridge.bridge-nf-call-iptab...
netfilter fails to properly replace destination IP of UDP response package
1,610,042,153,000
I have an Ubuntu VPS which is accessible. Also, I have a local Windows PC which is not, because of NAT. What I want to do, but am struggling with: I want that all traffic to certain port to the VPS be redirected (maybe through the SSH connection I can make from the local Windows PC to the VPS) to the local PC, making ...
If port forwarding is not an option, the only thing I can think of is SSH remote port forwarding, which is fairly straightforward. ssh -R <PORT_ON_VPS>:127.0.0.1:<PORT_ON_HOME_SERVER> <VPS_IP> So, for example, if you run a web server on your home server on port 80, and would like that to be accessible via the VPS, you...
How to use my VPS to redirect traffic to certain port tomy Windows PC which is behind NAT?
1,610,042,153,000
I‘m trying to set up a DS-Lite AFTR. Because of the overlapping addresses of the tunnel connections to the B4s, a normal NAT table does not work (already tried iptables -t nat -A POSTROUTING -j MASQUERADE), as described in RFC 6333. An extended NAT table would also contain the source IPv6 address of the packet sent by...
OK, I've actually done it now. Let me take you through the process of me setting it up. My configuration partly survives reboots. First, I've tested this with 2 B4s, 1 AFTR and all the systems manually set up. Also I assume that your AFTR has the IPv6 address 2000::1, the first B4 has the address 2000::2 and the secon...
DS-Lite: Extended NAT binding table
1,610,042,153,000
I want to have access to remote machines that connected to remote server behind the nat (actually it's just another computer with linux). Here you can see scheme. I'm using logmein hamachi to create connection between local machine and remote server and then sshuttle to tunnel traffic. But after few minutes of using s...
Didn't want to do this, but I created OpenVPN server on remote server and share local network to clients. And it's seems to work fine.
Getting access to remote machines through remote server behind the NAT
1,610,042,153,000
I'm trying to follow this guide to setup NAT on my Synology NAS. It worked great for me! I had everything working perfectly. But when I came back the next morning, the NAS had done a system update [DSM 6.2.2-24922]... The scripts were gone and after recreating them I get errors that the NAT kernel modules cannot be lo...
In the end I just installed a TinyCore Virtual Machine on the NAS which can handle the NAT. It seems a bit unnecessary, but I guess it's a little more controllable... so it works.
Synology NAS insmod unknown symbol
1,610,042,153,000
I am trying to setup configuration where all connections to port 161 will go through another gateway (through openvpn) while others are going directly [localhost] -> [gateway] -> [remote] - OK [localhost] <- [gateway] <- [remote] - packet dissappears after vpn tunnel. I am able to sniff that on tun0 iface, then it dis...
My rules are correct Solution: for f in /proc/sys/net/ipv4/conf/*/rp_filter; do echo 0 > $f; done echo 1 > /proc/sys/net/ipv4/route/flush Now everything is working fine. Note that you need to disable that on every iface, option "all" are not working fine.
Trying to setup port redirection through 2nd gateway
1,610,042,153,000
imagine that on the same host I have 2 services: an ssh daemon listening on port 22 a socks5 proxy listening on port 1080 I want to multiplex both services using only port 22 but depending on the source port. For example: if source port is one of (1,2,3,4,5,6) then it goes to 1080 otherwise it does to port 22 This rul...
And here we go: iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 22 -m multiport --sports 1:6 -j DNAT --to :1080 I knew it was simple.
Multiplex multiple services on same port discriminating by source port
1,610,042,153,000
I've just noticed that MASQUERADE iptables rule added by lxc has ! -d part: iptables -t nat -A POSTROUTING -s 10.0.3.0/24 ! -d 10.0.3.0/24 -j MASQUERADE My guess is that -s 10.0.3.0/24 -d 10.0.3.0/24 can only be observed when sending data from one container to the other one (ping, ssh, you name it). And omitting the ...
This rule allows two different containers on the same subnet to talk to each other without being NAT'd So a container with 10.0.3.100 talking to 10.0.3.101 will appear as 10.0.3.100 to the other container and not as the host address. This can be beneficial for various purposes (e.g. logging of activity, access contr...
Source NAT rule for LXC containers
1,610,042,153,000
Network Interface Configuration 192.168.0.0 Out 1(enp10s0f0) - Local 01(enp10s0f1) 192.168.10.0 - Local 02(enp10s0f2) - Local 03(enp10s0f3) 59.27.1.128 Out 2(enp11s0f0) - Local 04(enp11s0f1) 192.168.11.0 - Local 05(enp11s0f2) ...
It was a problem of routing table. Exactly the same one. Ref. NAT box with multiple internal and external interfaces have to divide table and add rules for lookup based on IP.
Building Router with Transparent Web Resource Cache
1,610,042,153,000
Hello I have a set of raspberry pi installed on a client location. The RPis has internet access but not public ip. I was looking for an opensource solution to monitoring the devices some kind of software that can be instaled to send information to a cloud server about system health, uptime and such things. Its not po...
Icinga2 is also able to handle this configuration. Sattelite Icinga2 system can execute tests on the sattelite host (Raspberry) and send test results to the central monitoring host. It is also able to pull its configuration from the central monitoring host. Although I like Icinga very much, I still feel that learning ...
remote server monitoring without public ip
1,610,042,153,000
I have the following configured for my two network interfaces. eth1 10.93.90.1 (Production Network) eth0 192.160.0.1 (Private Network/Labb Network) I want to configure eth0 with NAT so I can communicate through eth1 onto the production network. This is what I have tried: [email protected] # echo 1 > /proc/sys/net/ipv4...
So it seems like the Debian Wheezy installation had a faulty kernel or NAT wasn't fully supported for it. It was missing one specific kernel module, nf_nat_ipv4. As can be seen here: [email protected] # lsmod |grep nat iptable_nat 12928 1 nf_nat 18231 2 iptable_nat,ipt_MASQUERADE nf_connt...
NAT for second interface on private network
1,610,042,153,000
I had a tough misleading error while connecting in AWS VPC subnets. The error did occur in B->A connection, and did not happen while A->B, so at the beginning I thought that it is library bug. It happened to be caused by AWS-system "double layer routing, and the NAT instance in the subnet, that did redirect packets o...
On the instances in subnetA (with NAT-instance 172.16.0.200), the routing table looks like: default via 172.16.0.200 dev eth0 172.16.0.0/24 dev eth0 proto kernel scope link src 172.16.0.141 actually, the one addition: $ ip r a 172.16.3.0/24 via 172.16.0.1 (or ip r a 172.16.3.0/16 via 172.16.0.1) Fixes the system ...
AWS VPC NAT | ssh_exchange_identification: read: Connection reset by peer [closed]
1,530,517,786,000
I had similar issues before but i don't remember how i solved it. When i try to copy something to USB stick, with FAT, it stops near the end, sometimes at 100%. And of course, when i transfer the memory stick somewhere else, it doesn't contain complete file. (file is a movie!) I tried to mount device with mount -o flu...
The reason it happens that way is that the program says "write this data" and the linux kernel copies it into a memory buffer that is queued to go to disk, and then says "ok, done". So the program thinks it has copied everything. Then the program closes the file, but suddenly the kernel makes it wait while that buff...
Gnome, nautilus copy files to USB stops at 100% or near
1,530,517,786,000
In Gnome 3.18, it was possible to change the titlebar height of all windows by changing the css in ~/.config/gtk-3.0/gtk.css as per Reduce title bar height in gnome 3 / gtk+ 3. .header-bar.default-decoration { padding-top: 0px; padding-bottom: 0px; } .header-bar.default-decoration .button.titlebut...
Note: If you are on PopOS, there is an option to "Remove Window Titles" in the top bar menu that also controls tiling. This is what I use currently myself and it works great for only removing the superfluous non-CSD titlebars. Headerbar/CSD Actually, a section of the code that I found via reddit and posted above, name...
How to change the titlebar height in standard GTK apps and those with headerbars/CSDs on Gnome 3.20
1,530,517,786,000
My question is similar to this one, however the answers provided are not sufficient. I'm a linux occasional user / learner, not having much background to understand what to do reading between the lines. I've Ubuntu and Nautilus, in a mode that shows a left pane, without the appropriate content. At the moment a flat l...
This is the most near that you can get of what you want, otherwise look for another file manager: Look for 'Preferences', in the 'Views' tab, select "View new folders using: list view", then select the 'Display' tab, there will be a Checkbox that tells you 'Navigate folders in a tree', close Nautilus. Now open a folde...
How to show the tree view in left pane of Nautilus?
1,530,517,786,000
Is there a Linux equivalent of the Windows Shift+Right-click sequence? I use this a lot on files and directories to get the 'hidden' "Copy as path" option in the pop-up menu. It saves a lot of typing (and typos) when using the command line. I'm hoping that Linux has something similar, so I can go to the 'Files' wind...
If you click 'Copy' from the right-click context menu in Nautilus (file manager in GNOME3) and paste the contents in a text field (text editor, text box, etc.), it will paste the path instead of the file itself.
Mouse shortcut to copy the path to a file in the Gnome file manager
1,530,517,786,000
Since I installed EasyTag on my Arch Linux several other programs use EasyTag instead of Nautilus as filebrowser. For example, Firefox starts EasyTag if I click on "open containing folder". Where can I set Nautilus as my "standard file browser"?
You can define the default file browser by editing the file ~/.local/share/applications/mimeapps.list. Open this file and change the line inode/directory as follow inode/directory=nautilus.desktop; If this doesn't work, you should change the filemanager in the file /usr/share/applications/mimeinfo.cache by adding (...
Set standard file browser for "open containing folder"
1,530,517,786,000
I am using Trisquel 7.0 with Nautilus 3.10.1 installed. Whenever I display properties of a file, I've one file-specific tab like: Image,Audio/Video,Document etc. which displays special information about it. Example for a Image: Example for a PDF Document: How does Nautilus get this type of file-specific information?...
For the first level of information in the command line, you can use file. $ file gtu.pdf gtu.pdf: PDF document, version 1.4 For most formats, and more detailed information, you can also use Exiftool: NAME exiftool - Read and write meta information in files SYNOPSIS exiftool [OPTIONS] [-TAG...] [--TAG....
How to print Metadata of a file with the help of command-line?
1,530,517,786,000
How can I close all opened Nautilus (explorer) windows from the terminal?
nautilus -q or killall nautilus If nautilus is in the middle of doing something you should use the first command as it allows nautilus to exit gracefully. The second command just "terminates" nautilus so if invoked in the middle of e.g. a copy/move operation you might end up with corrupted data.
Closing all Nautilus windows from terminal
1,530,517,786,000
I have been using xterm for all my work. I realized that the features that desktop environments like GNOME has to provide are not of much use to me. Now, is it possible that I remove GNOME and KDE altogether and use some window manager only in run level 5 (X11) to play videos, use browser, and occasionally file manage...
I asked a similar question once. It is definitely a good idea if you find yourself ignoring the miscellaneous tools and features that come with the desktop environment. The solution is, you don't need to install a desktop environment (or anything you don't use), just a window manager of your choice. I (also) asked ano...
How to get rid of desktop environment and use a window manager only?
1,530,517,786,000
Would be nice to be shown the magic button that will help me remove this eyesore: It's Nautilus 2.30 on Debian (and has been there in previous versions as far as I can remember).
This list gets created by analyzing .desktop files located at: /usr/share/applications ~/.local/share/applications There might be more than one usecase per application, take for example the media player banshee which has three .desktop files by default: $ ls -1 /usr/share/applications/banshee* /usr/share/applications...
How to remove duplicate entries in 'Open With' Nautilus dialogue?
1,530,517,786,000
I have a Bash script I was trying to make to help me run a rather complex command with small changes that it would ask me about through echo and read. I have found solutions to force it to run a terminal to execute the command, but I'm not interested in that. What I would like it to do is, if I space out and just hit ...
From man bash under CONDITIONAL EXPRESSIONS: -t fd True if file descriptor fd is open and refers to a terminal. Assuming fd 1 is standard out, if [ -t 1 ]; then should work for you. The Advanced Shell Scripting Guide claims that -t used this way will fail over ssh, and that the test (using stdin, not stdout) s...
How can a Bash script tell how it was run?
1,530,517,786,000
Today gvfsd-metadata process was running for a whole day hogging 100% of a single core of my CPU. Is there any reason for it to do it?
AFAIK gvfsd-metadata is a process that collects file metadata when you use Nautilus. If your metadata store got corrupted somehow, it might get stuck on an infinite loop. So you'll have to kill that process, and remove the metadata store. pkill gvfsd-metadata rm -rf .local/share/gvfs-metadata
Why ``gvfsd-metadata`` process is hogging 100% of a single core for a long time
1,530,517,786,000
When I hit N in Nautilus under a folder, it behaves like I am searching files which contains N. Can I make it so that it only leads me to the first file whose name starts with N, like Windows Explorer?
When I press the letter N in a folder in Nautilus that contains files whose names start with a letter N it jumps to the first one of these files. Pressing it a 2nd time will begin the search by name (a little box pops up in the lower right hand corner). There isn't a way to change this behavior using Nautilus. I beli...
Make Nautilus navigate to the first file beginning with the typed letter
1,530,517,786,000
Any idea on how may be changed context-menu from default gnome-terminal to tilix in Ubuntu 18.04 Bionic Beaver? Already tried renaming /usr/bin/gnome-terminal to /usr/bin/gnome-terminalbackup, then /usr/bin/tilix to /usr/bin/gnome-terminal, but without success, context-menu keeps running `gnome-terminal.
a) Run apt install filemanager-actions-nautilus-extension b) Run FileManager-Actions Configuration Tool c) File => New Action d01) Action tab: Mark Display item in location context menu d02) Command tab: Path: /usr/bin/tilix Parameters: --working-directory=%d/%b Working directory: %d e) Restart Nautilus
Change Ubuntu 18.04 Nautilus context menu "Open in Terminal" from "Gnome-terminal" to "Tilix"
1,530,517,786,000
I'd like to use Nautilus as default in XFCE instead of Thunar, but how can I remove full Thunar? I have already typed sudo apt-get remove thunar gvfs-backends But I still have problems because if I click on a folder in the desktop Thunar starts. Can someone help me? Thank you.
Try to look at this similar question of turning your default file-manager into Nautilus: https://askubuntu.com/questions/47208/how-to-stop-thunar-being-default-file-browser You should be able to remove Thunar completely by running following command: sudo apt-get purge thunar*
How to use Nautilus as default in XFCE?
1,530,517,786,000
I am posting this in order to provide an answer, as a way to have a simpler method than using nautilus-actions (launched with nautilus-actions-config-tool), while avoiding to write each time an entire action file from scratch. On the other, while nautilus-actions-config-tool will not be used, nautilus-actions has to ...
Reminder: While with this solution the nautilus-actions will not be used in order to add the new context menu actions, it has to be installed for Nautilus to even have the actions feature at all, and for the actions to appear in the context menu. The idea is to have a ready-made but incomplete action file that is ...
Add a new Nautilus context menu action without using `nautilus-actions`
1,530,517,786,000
I use nautilus as file manager and would like to use Vim instead of Gedit to edit my text files. Many files (log files, empty files, …) are already opened with Vim, however not all of them, e.g. tex files and XML files are still opened with Gedit. update-alternatives --get-selections | grep edit yields editor ...
You should take a look in ~/.local/share/applications/defaults.list under [Default Applications]. There you should set the text/plain to point to the .desktop entry for vim, which is usually located in /usr/share/applications/. E.g: text/plain=gvim.desktop
Set default application for particular file types in nautilus
1,530,517,786,000
I have noticed that Nautilus (GNOME Files) can extract some RAR files that cannot be extracted using free packages like unrar-free or file-roller via CLI, nor using GUI tools like Engrampa or Xarchiver. Don’t know why exactly. No passwords involved or anything unusual, just (what seems like) regular RAR files. Maybe d...
Nautilus uses libarchive to process archives; this supports some RAR formats without any external helpers. bsdtar is a command-line tool using the same library; in Debian it’s packaged as libarchive-tools.
What free tool does Nautilus use to extract RAR files?
1,530,517,786,000
I see Ubuntu screenshots showing that one can right-click an ISO, and have an option to "Open with Archive Mount". How do I get that running elsewhere where it isn't default (Debian in my case)? This is so as to avoid having to use the command-line to loop-mount it. Note that I use GNOME 2.30.
I found this feature request which suggests that it is part of the nautilus package: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529297 I found the file "mount-archive.desktop" at: http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/natty/nautilus/natty/annotate/head:/debian/mount-archive.desktop On my Ubuntu PC ...
How to get Nautilus to "Open with Archive Mounter"?
1,530,517,786,000
Chrome offers a menu for each downloaded item, in which one can Show in Folder the item. This menu-command automatically launches Nautilus at the desired location. Nice. However, now my main desktop management is Fluxbox. So, when Nautilus wakes up, it just replaces my background, and kills all my fluxbox menus, (i am...
Nautilus seems to be the default application to open a directory, more precisely to open a file of type inode/directory. Furthermore Nautilus has the bad habit to mess with the desktop as you have noticed. What you need to do is to tell the system what default application to use to open a directory and chromium will o...
Change Chromium from automatically launches Nautilus with the Show In Folder command
1,530,517,786,000
I am using Nautilus now, and back then when i was using Ubuntu i could right-click on an ISO file and automount it without the need to issue any command. But now i am using Nautilus in Archlinux and it seems that it doesn't have the needed plugin for that to work, is anybody know what is the package name, or what shou...
I have found a Great guide on how to do that, (it is in the Arch wiki but it works with all nautilus at every distro). Install the nautilus-actions and fuseiso packages with you package manager. Create a file with the a name like nautilus-actions-iso-mount.sh where ever you want (e.g /usr/bin/), and paste in it the f...
Nautilus, mount ISO file with right-click menu
1,530,517,786,000
This has been discussed before here. What I'd like to know is how to turn these: Recursive chmod only files within this folder: find . -type f -exec chmod 0600 {} \; Recursive chmod only folders within this folder: find . -type d -exec chmod 0755 {} \; into a bash script, so it could be something like: For files: rc...
Here's a script you can call by passing the mode as the first argument and one or more directory names as subsequent arguments. Under Linux, if you don't pass any directory name, it'll be as though you passed . (the current directory). Name this script rchmodf, make it executable (chmod a+rx /path/to/rchmodf) and put ...
Recursive chmod only folders or only files via script or nautilus menu?
1,530,517,786,000
GTK applications mark files as recently used by adding them to the XML in ~/.local/share/recently-used.xbel, but I am frequently working with files from terminal-driven applications like latex, and these are not marked in the GTK list and hence not available from the "Recent" bookmark in GUI file browsers/pickers etc....
The following Python script will add all the files given as arguments to the recently-used list, using GIO: #!/usr/bin/python3 import gi, sys gi.require_version('Gtk', '3.0') from gi.repository import Gtk, Gio, GLib rec_mgr = Gtk.RecentManager.get_default() for arg in sys.argv[1:]: rec_mgr.add_item(Gio.File.new...
Can I mark files as recently-used from the command line?
1,530,517,786,000
Does anyone know of a way to assign a shortcut key combination to the menu items in the context menu that pops up in nautilus when you click on a file?
There already is one. It's Shift+F10. This is a standard keystroke and works in many apps. And of course many keyboards have a dedicated context-menu key; it's the complement of the Windows key. Either should work. Both do for me on Ubuntu 14.04 with Unity & Nemo.
Is there a way to assign a shortcut key to nautilus' right click context menu?
1,530,517,786,000
Where are these special URIs used in Nautilus defined in Ubuntu? recent:/// trash:/// x-nautilus-desktop:/// computer:/// burn:/// These can instantly open special locations in Nautilus by typing them in the path bar. And why doesn't these work when I open Nautilus as root (is first time when I see that root doesn't ...
EDIT After doing some more digging I found that you can launch nautilus as root and get access to the special URIs by using dbus. The command would be sudo dbus-launch nautilus And then the URIs are all available. To be honest I am not 100% why this works but some of the original information I found below may still b...
Nautilus special URIs
1,530,517,786,000
when I use mouse to click and drag it doesn't drag but selects multiple files instead. I use latest stable arch with Wayland and Gnome.
I found the problem, I unknowingly enabled the experimental new views option. Disabling it fixed the issue.
Drag and drop not working in Gnome3 file manager, selects multiple files instead
1,530,517,786,000
I have a bunch of directories at the same level and would like to sort them according to the last modified date of the content (recursive) inside them. However, in nautilus, it looks like the directories' "last modified date" are only updated if new files are created inside. Is there anyway to show the recursive "last...
The last modification time of a directory (think like phone directory, not folder) is the time it was last modified, like when an entry was removed, added or edited in that directory. To find out the newest regular file recursively in it, you would need to read the contents of that directory and every directory within...
sort directories by last modified content (recursive)
1,530,517,786,000
When I filter-as-you-type the file list in Nautilus, the result list gets sorted "by relevance" by default. How is this defined? What makes a file more relevant than another file? Can I change this default sorting of the result list to alphabetical sorting, aka "A-Z"? (I should note that I have export LC_ALL=C.UTF-8 i...
Regarding the "relevance" algorithm, I looked at the Nautilus source code, and it appears that a file's relevance score is computed as a sum of scores based on how recently the file was accessed or modified, its "proximity" (how close the file is to the current directory in the file system hierarchy), and how well th...
What defines the "by relevance" sort criteria in Nautilus, and can it be changed?
1,530,517,786,000
I am using Linux Mint 14 Nadia . Earlier whenever I right clicked any folder I got options like Extract it, Compress etc. But now I am not getting them . Probably I changed/deleted some of the utilities . I have nautilus installed on my system . Is there any way I can get those 2 features back in the options list whe...
From the Linux Mint Forum I found the following post, Extract, Compress in right-click menu. According to that post you have 2 options: Use Caja instead of Nautilus (I believe Caja is just a fork of Nautilus) Install File Roller + xarchiver According to that post these are the steps required to install File Roller: ...
How to get extract/compress option on right clicking?
1,530,517,786,000
I've installed the latest Scientific Linux 6. But when I opened the included Nautilus file manager, there is no file tree sidebar and no toolbar, nor status bar. How do I activate them?
For the sidepane, you can either hit F9 or go to View and select sidepane. Similarly, for the toolbar and status bars, select them from the View menu.
How to show Nautilus toolbar and file tree sidebar?
1,530,517,786,000
Currently I'm using i3 window manager (but I guess that this applies to other non-standard window managers as well). Whenever I run nautilus it also starts a full screen desktop, which I have to close. Possible solution is to start nautilus with: nautilus --browser --no-desktop, which solves this problem only partial...
Yes, there is a dconf value that controls this. Run the following command to disable drawing of the desktop by Nautilus: gsettings set org.gnome.desktop.background show-desktop-icons false Source: https://askubuntu.com/a/237984/81372
Launching nautilus file browser launches gnome desktop, how to suppress it
1,530,517,786,000
It looks like I can get to the waste-basket through nautilus, but when I look at the location given by properties, I see "trash:///". But I can't "cd trash:///". Where is the waste-basket? And in general, if I can find a file in nautilus, how do I get there from terminal? I've had some similar issues in the past with ...
trash:// is a protocol, not a location. A post on AskUbuntu says it should be in ~/.local/share/Trash. Try there.
How to find Nautilus wastebasket in the file system
1,530,517,786,000
I don't know what changed and I don't know how to set it back, but now Super+E launches baobab instead of Nemo. I have check the keyboard - shortcuts configurations. and Launchers/Home Folder is associated to Super+E. There is no custom shortcuts. So my issues are of 2 types: the shortcut configuration seems correct ...
I finally found the issue in /usr/share/applications/mimeinfo.cache, with the following entry: inode/directory=org.gnome.baobab.desktop;nemo.desktop; changing it back to: inode/directory=nemo.desktop; solved the issue. It's the chrome behavior and the answer to Change Chromium from automatically launches Nautilus wi...
Cinnamon: lost default nemo launch for shortkey win + E
1,530,517,786,000
Running other desktop environments than Unity or Gnome with a different file manager than Nautilus, it might be a good idea to install Dropbox without Nautilus. But advice on Dropbox involves installing Nautilus too. Nautilus has conflicts with some file managers, as it takes over the desktop (workspace) and the file ...
Installing the Dropbox deb files from the Dropbox website (Ubuntu or Debian, I have not tested others) will not install Nautilus, although gdebi says a Nautilus extension will be installed. Installing just Dropbox from Ubuntu sources in Synaptic or in terminal will neither install Nautilus. File manager integration is...
How to install Dropbox (and have Dropbox file manager integration) without Nautilus?
1,530,517,786,000
When searching for files, I often prefer using locate (because of the speed). However, I end up opening a terminal just for that purpose and then closing it again. Not a big problem for me, but my girlfriend often forgets command names. Is there a way to have Nautilus to use mlocate for searching? Ideally, I'd love to...
I've not seen a way to incorporate these results into Nautilus, but there are GUIs for search in mlocate's database. The one that I'm most familiar with is called catfish. It's generally in most of the standard distros' repos. The main website is here, titled: Catfish is a versatile file searching tool.. The project's...
Is there a way to have Nautilus include mlocate in the results?
1,530,517,786,000
Elementary OS uses a program called files as the default file manager. I would like to use Nautilus as my default file manager as used in Ubuntu 12.04 . I have GNOME Nautilus 3.4.2 installed on my machine, but however the only way to invoke this file manager is using the terminal. How do I set this as default and hav...
eOS should support xdg-mime command which you can use to change the default file manager. Try these commands: # what's the current default file manager? xdg-mime query default inode/directory # set nautilus as a default file manager xdg-mime default nautilus.desktop inode/directory application/x-gnome-saved-search
How do I set Nautilus as default file manager in Elementary OS
1,530,517,786,000
I have a question for some time in my head: I have an external hard drive, when I want to dismount it I simply give in the icon that says: "Remove unit safely" in the Nautilus (use Nautilus from Gnome 3.14 in Debian 8), but in reality what is the process behind? It's a way to see what really happens? Some kind of logs...
umount command itself doesn't cut off power to the drive, mounting really means linking a filesystem on drive with a directory, so unmounting just does that - unlinks a mount from particular directory; and as far as Nautilus file manager goes that's not what it uses under the hood, in fact it uses GMount objects from ...
How works the "eject usb driver" from Gnome?
1,291,124,878,000
I find that ctrl clicking a file:///full-path-to-file hyperlink printed by a program in the terminal e.g. to stdout, assumes a full path in order to open the file in the default editor configured. Is there a way to equivalently have hyperlinks that are relative paths, in the terminal? what might be the necessary synt...
The inherent problem with relative paths is: relative to what? Relative to the working directory of the immediate child of the terminal emulator (typically: your shell) at the time of ctrl-clicking would be pretty much useless, all your links would break as soon as you cd away. What you'd need at the very least is to ...
Terminal-clickable relative file path hyperlink
1,291,124,878,000
I have a network with several RHEL6 workstations and RHEL IdM Server (a.k.a. FreeIPA) as a domain controller. Every LDAP user can log into the every workstation. When the user is logging in for the first time, SSSD creates $HOME/$USER directory for them. I would like to set customized Gnome configuration for each user...
Store the files in the skeleton directory. When a new user is created, the files in that directory should be copied to their home directory. The directory is normally /etc/skel.
How to run script when SSSD creates home directory for a new user
1,291,124,878,000
Whenever I have files cut or copied to the clipboard and want to paste them inside a folder using the mouse in the 'Files' application (default file browser in Ubuntu) I have to first change from list view to icon view then scroll to the end of the list of icons to find a 'hole' to click without selecting another file...
You can go to parent directory right click on desired directory and select "Paste into folder" or create a new tab then hold the shift and right click anywhere you want to paste. The other option is to use drag and drop or keyboard shortcuts (which you already know about it).
How to drop/paste files into a folder using the 'Files' application (Nautilus)?
1,291,124,878,000
I am copying some files from an external drive to my desktop running Ubuntu. I can see the "File Operations" dialog which shows copying process. How do I find this particular process in ps aux | grep command? I thought it would be some cp command but there is no cp command running! So how does this copying work? Pleas...
The process name is nautilus. Nautilus contains its own code to copy files, this code is executed inside the nautilus process, not in a subprocess. You can see for yourself what subprocesses Nautilus runs by logging its system calls with strace: strace -f -o /tmp/nautilus.strace nautilus The clone system call creates...
What is the actual process name when nautilus is copying files?
1,291,124,878,000
When I copy, move, or delete a file in Nautilus or using the corresponding commands (cp, mv, or rm) does the same tool perform the action behind the wraps? I ask because nautilus tends to hang on big files or too many files. I have the impression that it's not that efficient.
No it doesn't just make calls to cp, mv, etc. Rather, it makes calls to a GTK+ library that contains wrapper functions around C/C++ system libraries that also contain functions. It is these C/C++ functions that are shared across Nautilus and commands such as cp, mv, etc. Example You can use the system tracing tool st...
Are nautilus and command-line commands the same?
1,291,124,878,000
This was easy in Thunar, but now I'm on a machine where I'm trying to do everything in the Gnome desktop world. In Nautilus, I'm in some deep-down folder. How do I open an xterm (rxvt, aterm, gnome's terminal app, whichever) with its working directory already set to the location Nautilus is showing?
There is a very useful Nautilus extension called nautilus-open-terminal that does just what you asked. You should find it in the standard repositories. Once installed you should have a "Open in terminal" entry in the File menu.
How to start an xterm from Nautilus, running in the folder I'm viewing?
1,291,124,878,000
I'm using Debian Jessie 64-bit with Gnome 3.14.1. My TIF image files are opening by default in the PDF Viewer, don't ask why. In Nautilus, I right-click on the file, click Open With|Other Application... If I right-click "Image Viewer", there is only "Forget association". Where is the "create default association" butt...
[Debian 10.0.0 Buster + GNOME] I see the same deficient behaviour using 'open with' as you describe. Select any file having the MIMETYPE of interest then right-click -> Properties. Select the 'Open With' tab. And there you should see the Set as default button.
How do I create a default file association in Debian with Gnome?
1,291,124,878,000
I'm on Debian. I have a file called Sóanr.jpg. According to https://emojidissector.com/, this is made of the following code points: S 0053 LATIN CAPITAL LETTER S o 006F LATIN SMALL LETTER O ́ 0301 COMBINING ACUTE ACCENT a 0061 LATIN SMALL LETTER A n 006E LATIN SMALL LETTER N r 0072 LATIN...
You don’t need to do anything: $ touch So<0301>anr.jpg $ ls So* | od -a -t x1 0000000 S o L soh a n r . j p g nl 53 6f cc 81 61 6e 72 2e 6a 70 67 0a 0000014 $ zip -9 unitest.zip So* adding: Sóanr.jpg (stored 0%) $ unzip -v unitest.zip | grep Stored | od -a -t x1 0000000 ...
How do I create a zip that preserves unicode character composition on linux?
1,291,124,878,000
I have NFS server. I can mount it manually: sudo mount -t nfs myserver:/srv/nfs /mnt But I can also mount it with file managers, as I'm broadcasting its presence using avahi. I can mount it via thunar (xfce's file manager), but I'm not able to access it via GNOME's Nautilus. Nautilus says: Unable to access location: ...
I have the same problem and I might have found out why. It might be because of NFSv4 not supported
Can't access NFS via GNOME Nautilus. (Mountpoint does not exist)
1,291,124,878,000
In the Nautilus file manager (Files 3.6.3), when dragging and dropping a file into a directory, the behaviour appears to be dependent on the file-system location of the target folder. (either local or remote) Dragging and dropping to a local directory triggers a "move" of the source item, and this is the behaviour tha...
From Nautilis help Drag files to copy or move Open the file manager and go to the folder which contains the file you want to copy. Click Files in the top bar, select New Window (or press Ctrl+N) to open a second window. In the new window, navigate to the folder where you want to move or copy the file. Click an...
Which configuration option controls whether Nautilus "copies" or "moves" a file/folder on drag and drop for a remote target directory?
1,291,124,878,000
I use the Nemo file manager on Linux Mint 19 Tara. Usually I only work with the compact view without thumbnails (see image A), but occasionally I switch to icon view with thumbnails (see image B). To switch from A to B I have to Open the settings Enable thumbnails Change to icon view and to switch back from B to A ...
Starting with Cinnamon 4.0, there is a new thumbnail setting and a new toolbar button. See new features in Linux Mint 19.1: You can configure Nemo to show thumbnails depending on the directory you are browsing. In this mode, a thumbnail toggle button appears in the toolbar and lets you decide whether or not show thum...
Display Thumbnails In Icon View But Not In Compact View
1,291,124,878,000
I use Nautilus 3.10.1 on Trisquel 7.0 GNU/Linux. In context menu, there is no such option like create new file/document. So, I want to add such an option (which may work like that of existing option: New folder). Is there any nautilus plug-in available? or I have Nautilus Action Configuration Tool installed. So, what...
Access Nautilushelp (click on Files on top bar then select Help) and then navigate to Tips and questions > Templates for commonly-used document types: There is something missing from the documentation: you have to add your Templates location to your xdg-user-dirs, e.g. if you set your templates dir as ~/Templates you...
Nautilus context menu option to create new file
1,291,124,878,000
I haven't found any solution working so far :( What I've tried so far was follow steps from the manual. First I installed all required packages (at least I think so, naming isn't always the same) . List of packages: pygtk2 (2.24.0-9) python-configobj (4.7.2-7) pygobject2 (2.28.6-11) pygobject3 (3.8.2-6) python-simpl...
I too struggled for installing rabbitvcs+nautilus but I ended with rabbitvcs+Thunar. To get it working on CentOS 7 do following: Download following packages from here: rabbitvcs-cli-0.14.2.1-5.el7.centos.noarch rabbitvcs-core-0.14.2.1-5.el7.centos.noarch rabbitvcs-thunar-0.14.2.1-5.el7.centos.x86_64 thunarx-python-0....
How to install RabbitVCS on CentOS 7 & nautlius 3?
1,291,124,878,000
I've mounted a networked filesystem in GNOME by clicking on the icon in the left of Nautilus. However, when I use the terminal, I can't figure out how to access that filesystem. Is it possible?
Nautilus uses GVFS to mount networked filesystems. Unlike its predecessor GnomeVFS, GVFS includes a FUSE bridge so that non GVFS-aware applications can still access GVFS data. That means that there are two ways to do this: using the FUSE bridge, or using the native GVFS tools. Using the FUSE bridge According to man gv...
How can I access networked filesystems that I've mounted in Nautilus?
1,291,124,878,000
Funnily, my newly vfat-formatted USB stick is automatically mounted when I plug it in, nautilus sees it, I can access it, I can see the permissions in the nautilus right click dialog (755), I can create and delete files from command line: $ touch/run/mount/christian/XXXX-XXXX/anyfile.txt I can even move files (with D...
Maybe it is related with this nautilus bug Nautilus says the USB stick is read only when it is not. Restarting nautilus clears the issue (at least temporally): $ killall nautilus
USB stick read-only in GNOME/nautilus?
1,291,124,878,000
I've created and registered some shared-mime-info files for custom file types. For example, in ~/.local/share/mime/packages I've added files like x-myokit.xml containing a mime type description, for example <mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'> <mime-type type="text/x-myokit"> ...
This was hardcoded in Nautilus as per the devs decision to only show basic type information in the Type column by default, so that sorting by type would group type families. The basic types are defined in nautilus-file.c based on generic (symbolic) icon names1: struct { const char *icon_name; const cha...
Where does Nautilus get its file type description
1,291,124,878,000
I have mounted an encrypted disk by selecting it in Nemo (1.1.2), then typing a password. I can unmount the disk using Nemo, but now it can be remounted without requiring the password. Probably there was a "remember" option such as demonstrated in this question. Regardless of what I selected when I initially mounted,...
If you really mean "forget the password" it probably already did within microseconds of you entering it. Persistence of authentication through the login session is maintained in Ubuntu-ish systems by ssh-agent and gnome-keyring-daemon. By their nature of operation (non-invertable hashing) it may be fundamentally impos...
Nemo: Forget encryption password
1,291,124,878,000
I'm opening a nautilus window from my bash script with nautilus --new-window . How can I keep reading the currently open directory (even after navigating somewhere)?
You could use dbus-monitor to watch for related events when you change the current folder in any tab of any nautilus window: dbus-monitor " type='signal', interface='org.freedesktop.DBus.Properties', path='/org/freedesktop/FileManager1', member='PropertiesChanged'" | awk -F '"' ' $2 ~ "^/org/gnome/Nautil...
Is there a way to get a current directory of a nautilus window?
1,291,124,878,000
When I open nautilus and right-click in a folder, there is an option "Open Terminal Here". Before updating to Debian 9, I had a Keyboard Shortcut set in the file ~/.config/nautilus/accels, where I uncommented the line (gtk_accel_path "<Actions>/ExtensionsMenuGroup/TerminalNautilus:OpenFolderLocal" "F12") After updatin...
I'm an Ubuntu 18.04 user (with GNOME 3.28.3) and this have worked wonderfully for me. Hope it does for you too :) Since version 3.15.4 Nautilus doesn't load the accel file anymore (Source). Fortunatelly there's a better aproach in order to get what you want. Long explanation/useful resources can be found here and als...
Nautilus Accels on Debian 9/Gnome 3.22.3
1,291,124,878,000
From Nautilus, when I select several PDF documents and press Enter, they are all opened, but in an apparently random order. What is determining the order in which these documents are being opened? Is there a way to open them in the order they appear in Nautilus? The filenames are enumerated 1 to 7, and the dates of la...
They're open in parallel. nautilus will spawn as many processes (the order doesn't really matter here) and each of those processes will execute your PDF viewer with one of the files as arguments. All those PDF viewers will work independently, load shared libraries, open their own PDF files, connect to the X server and...
Order of opening of documents in Nautilus
1,291,124,878,000
Is this possible? For example, if I'm in ~/Folder1/Folder2, is there a way for me to copy to the clipboard the text string ~/Folder1/Folder2?
And if you are too lazy to perform all the steps Gilles outlined you could install the following Nautilus script to copy the path of the active directory with a hotkey: #!/bin/bash # Copy current directory to clipboard # Dependencies: xclip echo "$PWD" | xclip -selection c For installation instructions and a tutori...
Copying the Active Directory Address from a Nautilus Window
1,291,124,878,000
I've installed Fedora 18 (x64) minimum and I installed Enlightenment with Nautilus. But I see that there are icons missing in Nautilus, I have selected the gnome icon theme so I must be missing some package(s). Does anyone know which ones? screenshot
Potential solution #1 Try these 2 commands first: gtk-update-icon-cache /usr/share/icons/gnome gtk-update-icon-cache /usr/share/icons/hicolor Potential solution #2 If that doesn't resolve the issue try installing this RPM, alacarte. yum install alacarte Potential solution #3 yum install 'gnome-icon-theme*'
Missing icons in Nautilus