Tag Info

Hot answers tagged

7

On Ubuntu, some people have had luck doing this using Compiz Config Setting Manager. Run it and under Accessibility category, you'll find Color Filter and Opacity, Brightness and Saturation filters. There you'll be get the desired effect with the available options. You can try options related to Grayscale or decrease saturation to zero to get the black and ...


6

I think you are looking for /etc/init/atd.conf: ➜ ~ cat /etc/init/atd.conf # atd - deferred execution scheduler # # at is a standard UNIX program that runs user-specified programs at # scheduled deferred times description "deferred execution scheduler" start on runlevel [2345] stop on runlevel ...


3

In bash while read -r word do grep -q "$word" file.before if [ $? -ne "0" ] then echo "$word not in file" fi done < <(cut -f1 -d" " file.after) The -q to grep tells it to be quiet, you can then interrogate $? to see if there was a match 0 or not 1.


3

You'll want to do something more like this: for i in $(cat /tmp/10218.after) do grep $(echo ${i} | cut -f1) /tmp/10218.before done If you want to get a bit more fancy and output something if the grep fails you cand do something like: for i in $(cat /tmp/10218.after) do COUNT=grep -c $(echo ${i} | cut -f1) /tmp/10218.before if [[ ${COUNT} ...


3

USB 2.0 or 3.0 is a hardware specification and has little to do with the OS. There's no way to downgrade (or upgrade) an specific USB version. What you can do is plugging your device in a 2.0 hub. USB 3.0 is totally backwards compatible with 2.0 and 1.1 devices, but some glichs can appear in the kernel implementation of the specification, in such cases is ...


2

SSH SOCKS5 Tunnelling using PuTTY: Firstly connect to your server via SSH using PuTTY. Right-click on the top bar and hit 'change settings'. Goto Connection/SSH/tunnels. Source port: 4567, select 'Dynamic' and hit 'Add' Open up your choice of browser, and configure the 'Manual Proxy settings' to listen on port 4567 on localhost (127.0.0.1). In Firefox ...


2

rto_min has absolutely nothing to do with how long the route remains valid. It's about a Retransmission TimeOut. The way to create a time-limited route is to remove it after the desired time. That's the way routing demons do it. You can do it manually with an at job.


2

Following the suggestion of Faheem's comment and this post, running apt-get update first solved the problem. Specifically apt-get update installed a bunch of updates, then Update Manager ran and also installed a bunch of updates.


2

You can make a more sophisticated script, which allows you to run under a specific user's permissions, as follows: #!/bin/sh NAME=myservice DESC="My Service" USERGROUP="myservice:myservice" #Helper functions start() { start-stop-daemon --start --quiet --background --make-pidfile \ --pidfile /var/run/$NAME.pid --chuid $USERGROUP \ ...


2

First option is for modern machines with more than 4 GB of RAM. The processor must support 64 bit mode. It's for older machines. Suitable for all Intel and AMD processors, but leaks with performance. It is designed for Apple Mac computers in case of first option not working. If your computer isn't a Mac, choose the first one.


2

Here is an awk solution: $ awk 'FNR==NR{a[$1];next}($1 in a){++a[$1]} END{for(i in a){print i" "a[i]}}' file1.txt 1.txt 2.txt put 1 get 1 move 2 Explanation FNR==NR{a[$1];next}: when processing file1.txt, we mark the occurence of $1 in associative array a. ($1 in a){++a[$1]}: when processing 1.txt and 2.txt, we check if $1 is existed in associative ...


1

I fail to see how this command could've been successful given the tar files is compressed, .gz. $ tar xvf som_pak-3.1-NAcMoS.tar.gz You'd need to run this command to make it work: $ tar zxvf som_pak-3.1-NAcMoS.tar.gz So I'm guessing that your make command was using some "other" version of a makefile. Assuming that the tar command was a typo, and you ...


1

Have you enabled the plugin in the about:plugins menu? To access this in your address bar type about:plugins.                  Make sure that the plugin has been enabled. Other things to try Look through the open issues of Chromium. Here's a list of the open issues with JDK ...


1

su executes your login shell as indicated in the login database. This is /root/zsh, which doesn't exist, so the command su fails. chsh only accepts changing the shell of a user who currently has a valid shell (listed in /etc/shells). Since /root/zsh is not accepted, chsh fails. The root user can change anyone's shell, but this test is made after the ...


1

A better explanation is on http://releases.ubuntu.com/trusty/ PC (Intel x86) desktop image For almost all PCs. This includes most machines with Intel/AMD/etc type processors and almost all computers that run Microsoft Windows, as well as newer Apple Macintosh systems based on Intel processors. Choose this if you are at all unsure. 64-bit PC (AMD64) ...


1

Use perl. #!/usr/bin/perl use strict; use warnings; my %words_to_find; open ( my $input, "<", "/tmp/10218.after" ); while ( my $line = <$input> ) { my ( $word ) = ( $line =~ m/\A(\S+)\s/ ); $words_to_find{$word}++; } close ( $input ); open ( my $search, "<", "/tmp/10218.before" ); while ( my $line = <$search> ) { foreach my ...


1

Here is a step by step tutorial to make it a VPN server. VPN will send all your internet traffic through an encrypted tunnel to your VPS: First, install the pptpd package. pptpd offers a PPTP-type VPN which is supported by Microsoft and other network vendors. This is also the easiest to setup. sudo apt-get install pptpd Next up, edit /etc/pptpd.conf with ...


1

I had the same problem and I solved installing the latest version of VirtualBox Guest Additions; in my case was upgrading from 4.3.8 to 4.3.10. When installation was finished, the /media/sf_name folder had no more "root" as group owner, but "vboxsf" as correct.



Only top voted, non community-wiki answers of a minimum length are eligible