What is disappeared is the Applications Menu
with the logo of Xubuntu.
How to bring it back? I can use the terminal but I don't know what to do exactly.
I have just tried to reboot the system from the terminal but the bar doesn't return when the laptop is on again. Every suggestion is precious.
Leos313's questions
I recently passed Xubuntu from 16.04 to 20.04. A simple command like:
git pull
generates the following errors (all similar among them):
error: unable to create file Template/images/N<X.pdf: Invalid argument
...
I guess because there are special characters in some of the files (specifically the characters <
and >
). I had no problem with XUbutnu 16.04 and now I do not know how to download the file that I need. Any suggestion or walkaround is appreciated.
I recently passed from Xbuntu from 16.04 to 20.04. With version 16.04, it was possible (by default) to see a little icon of the battery on the top right side of the screen. Now this "widget" is no longer there and I do not know how to add it. I cannot even check the battery level from any other side using the Graphical Menu.
Walkaround
The only way now (it is just a walkaround of course) is the command line: I just compare the battery level detected now with the full level battery using the following commands:
- for the level now:
cat /sys/class/power_supply/BAT1/energy_now
- for the theoretical battery level:
cat /sys/class/power_supply/BAT1/energy_full
Question:
The walkaround can be sometimes painful. Is there a way of adding the old widget on the Graphical User Interface? It will make me save a lot of time.
Supplementary Info:
The laptop is a Lenovo ThinkPad T470.
Following the procedure:
- Upgrade all installed packages of Ubuntu version 18.04 by running
sudo apt update && sudo apt upgrade
command. - Reboot the Ubuntu Linux system by tying the
sudo reboot command
- Install the Ubuntu update tool, run:
sudo apt install update-manager-core
- Start the upgrade procedure, run:
sudo do-release-upgrade
Here I get stuck and this is the output:
$ sudo do-release-upgrade
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
But I completed the previous steps with no errors.
How can I upgrade my Xubuntu from 16.04 to 20.04? It seems that some packages are impossible to upgrade and this may cause the upgrade to fail. I will investigate deeply. In the meanwhile, any suggestion is appreciated.
I do not know how I have just activated the (unwanted) feature. As I move the mouse, the screen is moving too all around. Is there a way of deactivating it? Unfortunately, it happens sometimes
Temporary Walkaround: I just turn-off the workstation and turn-on it again. The effect disappears. However, I would like to avoid this solution.
Is there a way of keeping in the foreground windows while I operating on others?
I am using now XUbuntu. However, I am interested also in canonical Ubuntu.
The trick was working on XUbuntu 16.04 (One of my colleagues did it for me on my old laptop and now I have no idea about the keywords to look for to replicate the behavior). Now I am using XUbuntu 18.04 and 20.04 on the two workstations I have.
How to set up an image that I have on my workstation as a background in Xubuntu?
Context: the workstation is correctly connected to internet using its WiFi. An embedded system is connected to the same workstation (I can access the embedded system using ssh).
Question:
Is there a method for sharing the WiFi connection using an Eth connection in Xubuntu 18.04 LTS? The purpose is to have access to the internet using the system itself (for example, I would like to execute apt-get install ...
).
Here, I have found the solution using gnome and not xcf. Thanks for sharing the solution.
I have installed XUbuntu.
xxx:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
I would like to hibernate (instead of shutdown or suspend) my workstation sometimes. However, the options available are only: Log Out, Restart, Shutdown and Suspend. Is there a way of enabling the Hibernate Option? or is there a way of Hibernate the system using the command line?
I have been reading this StackOverflow question and answers. However, I do not know if I want to use my swap file. Is there an easy solution that saves the content of the RAM within the hard disk of the system? Or, better said, is there an easy solution for enabling the option like in Windows? I do not really want to have control over which part of the system the OS saves the information. It useless until I have more than enough space.
Note:
xxx:~$ sudo systemctl hibernate
Failed to hibernate system via logind: Sleep verb not supported
Inkscape on Ubuntu works properly. However, if I try to open a .svg
that is located on another partition, I get an error:
Failed to load the requested file /media/path/to/file.svg
Any idea what causes the problem and how to solve it?
Bad walkaround: I copy the file on the main partition of the OS and I work with it. After I copy it back. This solution messes up a bit the git repo I have and it is time-consuming.
Context:
I have an old working system with an Ubuntu version correctly running on it.
The problem to solve:
The wifi where I work does not reach every place in the office. The idea is to use this system as a bridge for extending the wifi range (please note that I am not even sure that the right word to use is bridge. If not, please correct me).
Questions:
- is it possible to solve the problem with the solution I am proposing?
- Should I use two different wifi antennas? (of course, I have more than one if necessary)
- is there a standard procedure (or a ready-to-use OS) for that purpose? any advice or suggestions on how to do that?
- additionally, can I connect this system to a switch in order to provide internet access to other systems connected via
eth
?
Sorry for this newbie question. I am quite new with networking issues.
The default viewer for any image in Xubuntu is Ristretto Image Viewer.
Using Xubuntu 16.04 LTS, it was possible to read image.ascii.pgm
with Ristretto. With 18.04 the program opens but no images are displayed.
Questions:
- Is there a way of reading
image.ascii.pgm
files with the Ristretto Image Viewer in Xubuntu 18.04 LTS? - If not, do you suggest to use another viewer instead? If so, how to use another viewer as default?
Temporary workaround: I can read the images using Inkscape, but, as you can imagine, it is not a light-weight viewer program; it is a heavy vector-graphics image editor (like shooting a fly with a cannon).
ASCII PGM (Portable Gray Map) format for 2D grayscale graphics information. More info here.
I have some scripts that creates folders by using mkdir
:
...
mkdir bin
cd bin
mkdir make
...
It works perfectly most of the time. However, for unknown reasons, sometime, the just-created folders appear as a file in Thunar, a really annoying problem.
I can navigate into the newly made folder using the command line and the traditional cd
, then run ls
and other CLI commands.
Questions:
- do you know what causes the problem?
- do you know how to prevent it?
- is it a Xubuntu issue or it is related to other Ubuntu dis?
OS details: The problem was observed in XUbuntu 16.04, 16.10, 18.04 LTS and finally in 18.10.
Context
I have a 16 GB SD card with a Linux based OS for a Raspberry Pi. Most of the space is empty.
I want to share the SD .img
with other people but if I use the command
dd if=/dev/sdXX of=/home/user123/SD.img
it will create a 16 GB image. Too big.
Question
How can I re-size a 16GB SD card image into a smaller 4GB?
I have tried with GParted: it creates a partition with 4GB with no problem, however the whole .img
of the SD card continues to be 16 GB with 12 GB of unallocated space.
I have read the question and answer Cloning multiple partitions in Ubuntu, but I still cannot re-size the 16GB SD card into a 4GB one.
More info
~$ lsblk
...
sdc 8:32 1 14,9G 0 disk
├─sdc1 8:33 1 100M 0 part
└─sdc2 8:34 1 4G 0 part
~$ sudo fdisk -l /dev/sdc
Disk /dev/sdc: 14,9 GiB, 15931539456 bytes, 31116288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xf8a631ce
Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 2048 206847 204800 100M c W95 FAT32 (LBA)
/dev/sdc2 206848 8595455 8388608 4G 83 Linux
Any advice is appreciated!
Please note: as observed by Melebius in a comment, the right word to use is shrink:
You cannot resize an SD card as it is hardware with a given capacity that cannot be changed. You clearly want to shrink an SD card image.
Context:
- the Wifi connection works perfectly with the DHCP of the router. Only with this connection, I can navigate the web.
- the wire connection is necessary for me to be connected directly with an embedded system. In the middle, there is a Switch and the only thing I do is to set up the address IP of both (laptop and embedded system). The systems speak perfectly using ssh etc. No problem here.
- OS Xubuntu 16.04 on my laptop and a Linaro on the embedded (please note: the problem is the same for 18.04 and the solution proposed in the answer works properly).
Problem: When I am connected to the system with the ethernet connection, it is impossible for me to navigate on the web. I guess it is because the laptop tries to access using the ethernet connection. Of course, the ethernet connection goes only to the embedded system (no web from this side).
Question: Can I use the ethernet only for the system and the wifi to continue to navigate the web pages? How can I do that?
Please note: I would like to use both (1) the wifi to navigate and (2) the ethernet for the embedded system AT THE SAME TIME. Separately they work perfectly
As explained here, on Windows Subsystem for Linux I can do many many things using the command line. I am wondering if it is possible to install Git. I have tried using
sudo apt-get install git
but the result is:
~$ sudo apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package git
Some suggestions?
When starting Xubuntu on my laptop, a lot of applications start to run (taking a big part of my CPU and energy): TeamViewer, Skype and so on and so forth. I don't want to uninstall them. I just want that they run when I invoke them, nothing else and nothing more. There is something to manage this? How to prevent the startup of any program? I am looking for something like "System Configuration Utility" of Windows.
More then the other, what I would like to disable is TeamViewer.
As most of you know, in the Microsoft Store, there are three versions of Ubuntu. This means that on Windows I can emulate Ubuntu and have the Ubuntu command line directly on Windows.
The question is very easy: what can’t I do from the Ubuntu command line emulated in Windows that I can do on a proper Linux-based Ubuntu? Is it useful to download this Ubuntu application, install it, and work just with it instead of the real OS? Is it possible to install all the development libraries? Can I write (or not) device drivers? In other words: what are the limits?
What features of Ubuntu Linux-based are missing from Ubuntu-on-Windows?
New answers are welcome: I know that every software is always changing by improving characteristics and features!
I am try to download RTEMS source builder and build a tool chain following the instruction in this page. The problem that I have seems to be a package download automatically through sourceforge.net: it seems that the chacksum is different. Here the hot part of the log file:
source setup: expat-2.1.0-x86_64-linux-gnu-1: source expat -q -n expat-2.1.0
making dir: /home/leonardo/development/rtems/rsb/rtems/sources
download: (full) http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz -> sources/expat-2.1.0.tar.gz
download: http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz -> sources/expat-2.1.0.tar.gz
redirect: https://downloads.sourceforge.net/#!/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
redirect: https://downloads.sourceforge.net/#!/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
checksums: expat-2.1.0.tar.gz: 7a07d3f7cca5c0b38ca811984ef8da536da32932d68c1a6cce33ec2462b930bf => 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
warning: checksum error: expat-2.1.0.tar.gz
error: checksum failure file: sources/expat-2.1.0.tar.gz
Any idea on how to solve the problem?
I accidentally unchecked View -> Show Menubar which hides the menubar in File Manager, and there doesn't appear to be a keyboard shortcut to show the menubar again. How can I go back and make it appear?