Hot answers tagged

25

systemd units need not obey files in /etc/default, and they may or may not. systemd is easily configurable, but require that you know the syntax of a systemd unit file. Packages ship unit files typically in /lib/systemd/system/. These are not to be edited. Instead, systemd allows you to override these files by creating appropriate files in /etc/systemd/...


8

It could not be configured, because the timeout value is defined as constant value in the mutter source. gnome-shell refers mutter library. I found the timeout value at the mutter source, mutter-3.10.4/src/core/display.c. ... #define PING_TIMEOUT_DELAY 5000 And it's used by a below function named as meta_display_ping_window ping_data->ping_timeout_id =...


8

Here is one that a friend of mine and I have been working on. It gives a gray dashed line when you are a normal user, then if you are running commands as a root user, it changes to red for both the dashed line and the text. In your .bashrc file, add the following code to the bottom of the file: if [ -f "$HOME/.bash_ps1" ]; then . "$HOME/.bash_ps1" ...


8

First of all, open up your ~/.bashrc file and enable color prompts: nano ~/.bashrc uncomment then line #force_color_prompt=yes Then, change the PS1 line directly under the line if [ "$color_prompt" = yes ]; then to: PS1='${debian_chroot:+($debian_chroot)}\[\033[00;32m\][\t] \[\033[01;34m\]\u@\h:\w\$ ' As you can see, 01:34m is light blue and 00:32m ...


7

You need to edit the .desktop file. First, open it in gedit or nano with one of these commands: sudo nano /usr/share/applications/firefox.desktop sudo -H gedit /usr/share/applications/firefox.desktop Then find the line that says Name=Firefox Web Browser, and change it to Name=Firefox: Of course, the same works for Google Chrome etc.


6

Note that the method described above doesn't work anymore since 15.04 and later, since Upstart was replaced by Systemd. As described here, one can now disable lightdm like this: systemctl disable lightdm


6

Option 1: /etc/udev/rules.d/70-persistent-net.rules Option 2: /etc/NetworkManager/system-connections directory, inspect any of the files for connections listed there. Options 3: /var/log/syslog file and archived ones, syslog.*.gz. Specifically, look for something in format date hostname dhclient: Listening on LPF/wlan0/XX:XX:XX:XX:XX:XX Option 4: May be ...


5

Gnome Shell can be changed using Gnome Extensions - I think this extension will work for you: This is done by dragging and dropping the windows into position, it will show a orange highlight (doesn't seem to match the theme :/ ). You can change the gap between windows in the settings: Though currently this extension is not available for GNOME 3.18, so ...


4

According to this mozillazine page the history for the browser is stored in places.sqlite file in the profiles folder (.mozilla/firefox/ on Ubuntu.) So, I pulled that file up and took a look at the tables within the database. Within the moz_places table there is a column last_visit_date which provides you with an Unix time/Epoch time number. However, there ...


4

In order to achieve this go to your Firefox Health Report (put that into the URL bar and press ENTER): about:healthreport Then click on the button in the top right hand corner: So that it becomes: You have no disabled Data Sharing, this means that the report will still be generated, but no longer shared with Mozilla.


4

The color code is #d64937 find "/usr/share/themes/Numix Daily/gtk-3.0" -type f -name '*.css' -print0 | xargs -0 grep 'd64937' therefore you have to change two files: sudo nano "/usr/share/themes/Numix Daily/gtk-3.0/gtk-dark.css" sudo nano "/usr/share/themes/Numix Daily/gtk-3.0/gtk.css" Search for @define-color selected_bg_color #d64937; And replace ...


4

To run Tomcat on a port below 1024 in Ubuntu/Unix, the service needs root privileges. And that you do not want. Use a port redirection via iptables iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080


4

To achieve what you want run : fortune | cowsay -f ghostbusters And for random ... : fortune | cowsay -f `ls /usr/share/cowsay/cows/ | shuf -n 1`


4

Nautilus search ... if tracker is available it will show the results from that. From the link: Tracker provides the following: Indexer for desktop search (for more details see this spec : https://wiki.ubuntu.com/IntegratedDesktopSearch) Tag database for doing keyword tagging of any object Extensible metadata database for apps like gedit ...


3

1) First Go to System Settings → Window Behavior 2) Open Window Behavior, Select Window Actions by again selecting Window Behavior 3) In Inner Window, Titlebar & Frame section, Use the Mouse Wheel action to Change opacity Here is a transparent window


3

As mentioned earlier, this is now done in the client-side cups libraries (ie libcups.so, which GNOME and KDE apps link against) and not in the cupsd server. So changing the "Browse" settings in the cups server won't work. $ ldd /usr/lib/x86_64-linux-gnu/libcups.so.2 ... libavahi-common.so.3 => /usr/lib/x86_64-linux-gnu/libavahi-common.so.3 libavahi-...


3

You need to use a binary number (2,4,8,16, 32) so either you use a bigger or a smaller range. Exactly 20 hosts just is not possible with a bitmask in a single rule: 16 hosts (192.168.1.16 to 192.168.1.31): sudo ufw allow proto tcp from 192.168.1.16/28 to 192.168.1.48 port 80 Details Address: 192.168.1.16 11000000.10101000.00000001.0001 0000 ...


3

On my installations the directory /etc/usb_modeswitch.d does not exist by default, so it must be created first: sudo mkdir /etc/usb_modeswitch.d To create the file, you could use the simple text editor nano to achieve this, using the following command: sudo nano /etc/usb_modeswitch.d/HuaweiE3531s-2.conf This will open the editor, where you can type in ...


3

One possible general approach is this. Close all other programs except the one you're going to tweak. Make your tweak. Then, immediately run something like this: find ~/ -mmin -1 -type f -ls You may see some hits you may decide aren't relevant. find allows you to eliminate them: find ~/ ! -path "*mozilla*" ! -path "*google-chrome*" ! -path "*cache*" ! -...


3

Install Compiz Config setting manager sudo apt-get install compizconfig-settings-manager And Workspaces is on General Settings named as Desktop Size Compiz manager


2

Here's a short overview of what I used to set up my Wacom tablet in Ubuntu. (cfr. also this blog post of mine on setting up a Wacom tablet in Ubuntu). 1. Device names xsetwacom --list devices gives you the names of your devices. In my case the result is: Wacom Intuos Pro M Pen stylus id: 14 type: STYLUS Wacom Intuos Pro M Pen eraser id: 15 type:...


2

Default LogFormat is indeed really Default: LogFormat "%h %l %u %t \"%r\" %>s %b" But the log format apache uses by default (on Debian distro at least) is: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""


2

You can switch off online search results with the command: gsettings set com.canonical.Unity.Lenses remote-content-search 'none' To make the command run on startup, and make sure it is set after a restart, add the following to your startup applications: gsettings set com.canonical.Unity.Lenses remote-content-search 'none'


2

xfce4-terminal uses vte to draw the actual terminal emulator and vte does not support line wrapping. With gnome3, gnome-terminal now uses vte3 and vte3 does support does line wrapping on resize events. Note that vte is an old version without much development going on. So I would use gnome-terminal if you can. To open the transparency settings go in Edit -&...


2

Each disk can have its own mount point or you can use Logical Volume Management (LVM). I have a configuration with SSD and HDD (but for desktop). Main system is on SSD, and /home is on HDD. This configuration works generally fine but I think that it wastes my SSD performance.


2

Using the Activities Configuration. You can disable the hot corner and there are plenty of other settings. Open the URL via Firefox browser to install the extension directly. After that, open the Tweak Tool for the configuration


2

If you want modify aspects of Gnome Shell, you can use extensions from https://extensions.gnome.org/ In this case (with shell versions 3.8 to 3.18 currently), you can use No Topleft Corner extension (you can install by going the page and clicking 'Install', you will need the Gnome Shell Integration plugin installed and enabled in the browser). This ...


2

Ok found the solution, by looking at the source of the program the directory where the files are stored is the following in my case: /sys/devices/platform/i8042/serio1/serio2/ And in this dir different configuration files with integer values can be found so the only thing that needs to be done is echo xx | sudo tee /sys/devices/platform/i8042/serio1/...


2

As I wrote already here for Firefox and Google Chrome, here the part for Firefox: The history can be found in a database table in places.sqlite in SQLite format 3: $ file ~/.mozilla/firefox/rsbxl7fx.default/places.sqlite ~/.mozilla/firefox/rsbxl7fx.default/places.sqlite: SQLite 3.x database, user version 26 rsbxl7fx.default Depending on your profile ...


2

Start tomcat services using authbind this will allow user to start ports less than 1024 we do not need to redirect or iptables. sudo apt-get install authbind -y To install Authbind software sudo chmod -R 755 /etc/authbind group should be user group. sudo chown -Rh root:group /etc/authbind After that run the below commands cd /etc/...



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