Simple question, I'd like to remove the time stamp on the right hand side of the fish shell terminal screen:
On a sidenote, it would be even better to know how to customize it as in the image below:
I've successfully installed on my Ubuntu 16.04 LTS fish shell and oh my fish. One of the main appeals of this shell, for me, is the set of optional plugins.
I succesfully managed to install some plugins such as hash and extract using
omf install extract
omf install hash
however, when I run
hash -q md5 "Hello world"
in the console I get no output at all (instead of the expected md5 hash of the string)
when I run
extract file.tar.gz
I get
The program 'extract' is currently not installed. You can install it by typing:
sudo apt install extract
which is not at all what I was expecting.
How can I make the plugins work? So far I've understood that I can put some fish shell scripts in the folder ~/.config/fish/functions and they will run. I can probably fix this by putting the code of the plugins in this folder but I'd like to know which is the official way of making the plugins work.
I'm trying to customize nano to my needs, I copied nanorc from the /etc directory in my home directory and haven't edited anything so far.
My goal is to enable syntax highlighting for config files such as .bashrc. Syntax highlighting already works when I assign an extension to files such as file.py but it doesn't work for config files which are usually full of comments and options unless I explicitly type nano configfile --syntax=sh
. I would like this flag to be enabled by default.
When looking into the nanorc file I noticed the statement include /usr/share/nano/*.nanorc
. When sourcing the file with source .nanorc
I get the following error:
.nanorc:236: command not found: include
Why is this happening and how can I fix it? Thanks!
I'm using VMWare 12 on a Windows 10 machine to run a Ubuntu 16.04 OS. Due to some testing I need to share files using a shared folder.
So far I've enabled the folder sharing on the virtual machine, selected the folder to share (it is in the main C:/ drive on Windows) and enabled folder sharing on my private network. However, I still cannot find the shared folder under /mnt. In fact there's not even the /hgfs folder.
How can this be and how can I solve it?
In case I cannot solve it, is there a better way to share files with the host than a shared folder?
After I install updates via the software updater, I restart the computer, as suggested, however, after the restart I cannot find wireless networks and I cannot get the network interface to activate using
sudo wlan0 up
After a quick search on the web I found that I'm not the only one having this problem and a quick fix is to suspend and then get immediately back the session (ready: push the power button twice).
I encounter this problem only after updates, it is not that annoying however it should not happen. Does someone know how to fix it?
I'm using Ubuntu 16.04 LTS on a HP Pavilion laptop.
Thank you
I updated my Ubuntu from 15.10 to 16.04 LTS. Very good release, I'm really happy with it, for sure it is much more stable than the 15.10 was. However, when opening the package manager I cannot find most packages. I had added all the most common repos in 15.10 and I am able to install any package I need using sudo apt-get install, however I cannot find those packages when using the new UI in the package manager. For instance, I've installed R and Idle3 using the command line, but if I look for those programs in the package manager using the search box nothing comes up. How can this be?
I need to install the following library from github
https://github.com/dmlc/dmlc-core
However I do not know how to do it and there are no instructions. How can I do it?
After having typed "make" in the terminal, this is the output that I got but I'm not able to say whether I successfully installed the library or not.
**make**
g++ -c -O3 -Wall -msse2 -Wno-unknown-pragmas -Iinclude -std=c++0x -fopenmp -fPIC -DDMLC_USE_HDFS=0 -DDMLC_USE_S3=0 -DDMLC_USE_AZURE=0 -o line_split.o src/io/line_split.cc
g++ -c -O3 -Wall -msse2 -Wno-unknown-pragmas -Iinclude -std=c++0x -fopenmp -fPIC -DDMLC_USE_HDFS=0 -DDMLC_USE_S3=0 -DDMLC_USE_AZURE=0 -o recordio_split.o src/io/recordio_split.cc
g++ -c -O3 -Wall -msse2 -Wno-unknown-pragmas -Iinclude -std=c++0x -fopenmp -fPIC -DDMLC_USE_HDFS=0 -DDMLC_USE_S3=0 -DDMLC_USE_AZURE=0 -o input_split_base.o src/io/input_split_base.cc
g++ -c -O3 -Wall -msse2 -Wno-unknown-pragmas -Iinclude -std=c++0x -fopenmp -fPIC -DDMLC_USE_HDFS=0 -DDMLC_USE_S3=0 -DDMLC_USE_AZURE=0 -o io.o src/io.cc
g++ -c -O3 -Wall -msse2 -Wno-unknown-pragmas -Iinclude -std=c++0x -fopenmp -fPIC -DDMLC_USE_HDFS=0 -DDMLC_USE_S3=0 -DDMLC_USE_AZURE=0 -o local_filesys.o src/io/local_filesys.cc
g++ -c -O3 -Wall -msse2 -Wno-unknown-pragmas -Iinclude -std=c++0x -fopenmp -fPIC -DDMLC_USE_HDFS=0 -DDMLC_USE_S3=0 -DDMLC_USE_AZURE=0 -o data.o src/data.cc
In file included from include/dmlc/data.h:16:0,
from src/data.cc:5:
include/dmlc/./registry.h:218:22: warning: ‘dmlc::__make_ParserFactoryReg_uint32_t_libsvm__’ defined but not used [-Wunused-variable]
static EntryType & __make_ ## EntryTypeName ## _ ## Name ## __ = \
^
include/dmlc/data.h:303:3: note: in expansion of macro ‘DMLC_REGISTRY_REGISTER’
DMLC_REGISTRY_REGISTER(::dmlc::ParserFactoryReg<IndexType>, \
^
src/data.cc:136:1: note: in expansion of macro ‘DMLC_REGISTER_DATA_PARSER’
DMLC_REGISTER_DATA_PARSER(uint32_t, libsvm, data::CreateLibSVMParser<uint32_t>)
^
include/dmlc/./registry.h:218:22: warning: ‘dmlc::__make_ParserFactoryReg_uint64_t_libsvm__’ defined but not used [-Wunused-variable]
static EntryType & __make_ ## EntryTypeName ## _ ## Name ## __ = \
^
include/dmlc/data.h:303:3: note: in expansion of macro ‘DMLC_REGISTRY_REGISTER’
DMLC_REGISTRY_REGISTER(::dmlc::ParserFactoryReg<IndexType>, \
^
src/data.cc:137:1: note: in expansion of macro ‘DMLC_REGISTER_DATA_PARSER’
DMLC_REGISTER_DATA_PARSER(uint64_t, libsvm, data::CreateLibSVMParser<uint64_t>)
^
include/dmlc/./registry.h:218:22: warning: ‘dmlc::__make_ParserFactoryReg_uint32_t_csv__’ defined but not used [-Wunused-variable]
static EntryType & __make_ ## EntryTypeName ## _ ## Name ## __ = \
^
include/dmlc/data.h:303:3: note: in expansion of macro ‘DMLC_REGISTRY_REGISTER’
DMLC_REGISTRY_REGISTER(::dmlc::ParserFactoryReg<IndexType>, \
^
src/data.cc:139:1: note: in expansion of macro ‘DMLC_REGISTER_DATA_PARSER’
DMLC_REGISTER_DATA_PARSER(uint32_t, csv, data::CreateCSVParser<uint32_t>);
^
In file included from include/dmlc/./registry.h:14:0,
from include/dmlc/data.h:16,
from src/data.cc:5:
include/dmlc/././parameter.h:254:43: warning: ‘dmlc::data::__make__CSVParserParamParamManager__’ defined but not used [-Wunused-variable]
static ::dmlc::parameter::ParamManager &__make__ ## PType ## ParamManager__ =
^
src/data.cc:93:1: note: in expansion of macro ‘DMLC_REGISTER_PARAMETER’
DMLC_REGISTER_PARAMETER(CSVParserParam);
^
g++ -c -O3 -Wall -msse2 -Wno-unknown-pragmas -Iinclude -std=c++0x -fopenmp -fPIC -DDMLC_USE_HDFS=0 -DDMLC_USE_S3=0 -DDMLC_USE_AZURE=0 -o recordio.o src/recordio.cc
g++ -c -O3 -Wall -msse2 -Wno-unknown-pragmas -Iinclude -std=c++0x -fopenmp -fPIC -DDMLC_USE_HDFS=0 -DDMLC_USE_S3=0 -DDMLC_USE_AZURE=0 -o config.o src/config.cc
ar cr libdmlc.a line_split.o recordio_split.o input_split_base.o io.o local_filesys.o data.o recordio.o config.o
So, I've used Ubuntu for a month or two in dualboot with Windows 8, it looked and ran fine, however it broke down for some reason and I had to restore the entire PC. Due to this bad experience, I decided to reinstall Ubuntu on an external hard drive separated from my main Windows machine. This option seems to be good for both the operating systems.
However, when installing Ubuntu, for some reason, the bootloader Grub was not installed on the external drive, while at the same time, the "old" Grub bootloader was never erased from the PC internal hard drive. As a result, I am in a weird situation: when I want to run Windows, I just power on the pc and go. When I want to run Linux, I have to plug in the external drive, go in the startup menu, and change bootloader from Windows' to Grub. The external hard drive is not bootable (as a usb stick for example) and this long sequence of operations needs to be repeated each time.
Quick recap:
My question: How can I make the external drive bootable so that when I want to switch from Windows to Linux I just power off the pc, plug in the USB, power on the pc and go? (without loosing the data I already stored on it and all the preferences)
PS. For some reason Windows is terribly slow when loaded via the Grub bootloader available in the internal drive. Furthermore, if the external hard drive is not plugged in, Grub bootloader shows the Grub rescue panel only. So using the already installed Grub as the only bootloader is not an option.
Every time I start up my Ubuntu 15.10 desktop the Eclipse shortcut on the desktop (and on the launcher) disappears.
I tried to create the shortcut both using "right click -> create shortcut" and manually by creating a .desktop file and enabling the executable file option but I got the same result: after a reboot the link is missing. While this is not a problem for starting Eclipse, it is however rather annoying. How can I fix this?
Every time I start Ubuntu 15.10 I get this error:
Internal error:
ExecutablePath: /usr/lib/upower/upowerd
Package: upower 0.99.3-1build2
ProblemType: crash
I read on some forums that this may be caused by connecting an idevice (such as an iPhone). What is causing it? Does anyone else have the same problem?
A possible suggested fix is to install the library "libimobiledevice-utils" but I haven't tried it yet.
I've created a desktop shortcut for Eclipse by creating a .desktop file in my desktop with the following content
[Desktop Entry]
Name=Eclipse
Exec=/home/blesson/eclipse/eclipse
Icon=/home/blesson/eclipse/icon.xpm
Type=Application
However after rebooting my Ubuntu 15.04 the link has disappeared and I got a system error. Did I do something wrong?
Thanks
I recently installed Ubuntu on my laptop and so far everything is fine, it works great. However, as a newbie, I made the silly mistake of not documenting myself too much about all the possible alternatives to Windows, such as Lubuntu, Linux mint, Fedora etc.. I would like to test some of these on my machine, however I prefer not to wipe out all the disk, and therefore I would like to test the system either on a virtual box (Boxes on Ubuntu should work fine) or on an external hard drive. (I own a 2.0 USB external hard drive)
I would like to test, say Fedora, and have it handy for a couple of weeks. My aim is to test the OS in an environment which makes it the closest possible to the actual installation on the internal hard disk (ie. experience the less slowdowns possible). Which one of the two options should I go for?
I'm new to Ubuntu, I recently installed succesfully R and other programs I use frequently. However, when trying to lauch R-studio I get the following error in the terminal:
rstudio: error while loading shared libraries: libgstreamer-0.10.so.0: cannot open shared object file: No such file or directory
What should I do to fix it? I installed R-studio from the .deb file directly from the program website.