Tag Info

New answers tagged

0

When looking at your PATH, it seems that somewhere in your start-up scripts an application tries to add itself to PATH but does it incorrectly. The reason for that is that your PATH contains the string $PATH, which should have expanded to the actual path, but was included literally as the string $PATH. The fact that the Java path follows $PATH in your path ...


2

You can execute the following command to add /bin, or whichever directory you need, to PATH. export PATH="$PATH:/bin" You can then add that line to .profile or .bashrc (if you use bash) to make sure that directory is included in your path each time you log in.


0

You can rename the device using the ip command: /sbin/ip link set eth1 down /sbin/ip link set eth1 name eth123 /sbin/ip link set eth123 up You may also want to make sure that you configure a udev rule, so that this will work on the next reboot too. The path for udev moved in CentOS 7 to /usr/lib/udev/rules.d/60-net.rules but you are still able to manage ...


0

To change the hostname on a SUSE system you need to change the following files: /etc/HOSTNAME /etc/hosts You may also have other configuration files where it's stored (e.g., postfix configuration files), so a grep -R for the old hostname in /etc is probably a good idea: grep -R <oldhostname> /etc where <oldhostname> is the old hostname).


5

The OpenSSH sshd command has an extended test switch which can be used to "Check the validity of the configuration file, output the effective configuration to stdout and then exit." (source sshd man page). So the answer is (as root, or prefixing it with sudo): sshd -T (the settings are not in alphabetical order, one can use sshd -T | sort to quickly look ...


1

Never mind, thanks to user1794469, I found out how to do it. You just make a file in the home directory called ".themes" Putting the "." before the letters makes the file hidden,so when you want to decompress (extract) your theme into it's respective folder, you have to click "Enter Location" in your archive or zip manager. and simply type in ".themes" as ...


0

You can try this recipe from the archwiki Qt5 applications can often be run at higher dpi by setting the QT_DEVICE_PIXEL_RATIO environment variable. Note that the variable has to be set to a whole integer, so setting it to 1.5 will not work. This can for instance be enabled by creating a file /etc/profile.d/qt-hidpi.sh export ...


1

Git grep is not using the GREP_COLORS environment variable. Instead you should add custom entries in you ~/.gitconfig For example: [color "grep"] linenumber = yellow bold match = red filename = magenta


0

There is a better solution. In /etc/xdg/xfce4/xfconf/ you find the default config tree for all users. It has the same style as the tree in ~/.config/xfce4/xfconf, so you can just copy the settings you want as default in this place. Or you provide just a part of it (make sure every single file is valid XML).


2

Defconfig generates a new kernel configuration with the default answer being used for all options. The default values are taken from a file located in the arch/$ARCH/configs/armada_370_v7up_defconfig file. These default configurations are not designed to exactly fit your target but are rather meant to be a superset so you only have to modify them a bit. ...


0

What are -Xms and -Xmx? Xms256m ---> Selects a low initial JVM heap size for an application. So, Xms specifies the amount of memory, in Megabytes, that will be used to start the server. Xmx512m ---> Selects the maximum JVM heap size permissible for an application. So, Xmx specifies the maximum amount of memory, in Megabytes, that will be ...


1

Thanks to Lanoxx, who is currently developping tilda. I can now answer this question. tilda saves the configuration on exit to the config files. Therefore, editing them while it is running has no effect. Changing the configuration from the command line is not supported yet. It would require a dbus interface to be implemented against tilda, which is quite a ...


2

; starts a comment. So a line starting with ; is ignored. And probably nautilus overwrites the config file at close. So you should stop nautilus, delete the ; and start nautilus again.


0

Here is a procmail solution: # extract date from mail :0 TMPDATE=| formail -x Date # get local date LOCALDATE=`date --rfc-2822 -d "$TMPDATE"` # add it new header to the mail :0 f | formail -I "LocalDate: $LOCALDATE" And display LocalDate: in muttrc: unignore localdate


2

Depending on your distribution and kernel version the configuration of the currently running kernel can be in one of the following locations: /proc/config.gz /boot/config /boot/config-$(uname -r) The first one provides the proc filesystem and must be configured in the kernel config: General Setup ---> <*> Kernel .config support [*] ...



Top 50 recent answers are included