Can i change the network section of my conky to support my wifi?

changing to wlan0 might work.

this is my 'wireless section' of my conky... (for reference)

${if_existing /proc/net/route wlan1}${color1}${font Liberation:style=Bold:pixelsize=12}ACTIVE NETWORK: wlan1${hr 2 }
${voffset 2}${font VariShapes Solid:pixelsize=12}q${goto 18}${voffset -3}${font}Up: ${color2}${upspeed wlan1} ${alignr}${color3}${upspeedgraph wlan1 20,160}${color1}
${font}${voffset -24}${goto 18}Total: ${color2}${totalup wlan1}${color1}
${voffset -3}${font VariShapes Solid:pixelsize=12}Q${goto 18}${voffset -3}${font}Down: ${color2}${downspeed wlan1} ${alignr}${color3}${downspeedgraph wlan1 20,160}${color1}
${font}${voffset -24}${goto 18}Total: ${color2}${totaldown wlan1}
${color1}${font Liberation:style=Bold:pixelsize=12}WIRELESS${hr 2 }
${voffset -2}${font VariShapes Solid:pixelsize=12}-${goto 18}${voffset -0}${font Liberation:style=normal:pixelsize=12}Wireless Access Point: ${color2}${alignr}${wireless_essid wlan1}
${color1}${voffset 2}${font Stylebats:pixelsize=12}Z${goto 18}${voffset -3}${font Liberation:style=normal:pixelsize=12}Connection Strength: ${color2}${alignr}${wireless_link_qual_perc wlan1}%
${color1}${voffset 2}${font Stylebats:pixelsize=12}C${goto 18}${voffset -3}${font Liberation:style=normal:pixelsize=12}Connection Max Throughput: ${color2}${alignr}${wireless_bitrate wlan1}
${color1}${font Liberation:style=Bold:pixelsize=12}${voffset -3}${hr 2}
${voffset -1}${font Poky:pixelsize=12}w${goto 19}${voffset -1}${font Liberation:style=normal:pixelsize=12}Local IP: ${color2}${alignr}${addr wlan1}
${color1}${voffset -1}${font Poky:pixelsize=12}w${goto 19}${voffset -1}${font Liberation:style=normal:pixelsize=12}Internet IP:${color2}${alignr}${execi 300 ~/.scripts/ip.sh}${else}${endif}

my conky is really crunched up because there is 'alot of stuff' and it makes it fit just right.  extra line spaces in your conky config will extend your conky down your desktop.


The vim-runtime package contains the file required for vimtutor, according to the package index. Install it:

sudo apt-get install --reinstall vim-runtime


What worked for me (combining answers from several related questions and forums):

VirtualBox 5.2.10
Windows 10 as Host OS
Ubuntu 18.04 as Guest OS

First install zerofree:
sudo apt-get install zerofree

Create 0s to get space to be reclaimed(delete all files you don't need as well as empty the trash)
Reboot to GRUB menu (Press Esc as Ubuntu is booting up)
Advanced options for Ubuntu > Recovery Mode (choose highest version number)

From the Recovery Menu  select Drop to root shell prompt
df to get your partitions(to see the partition you want to shrink e.g. sda1, sda 4 etc. usually its /dev/sda1)
df

Try to run zerofree
zerofree /dev/sda1

Partition is read-write, needs to be mounted as read-only for zerofree to run Error:
If you get an error from zerofree like /dev/sda1 is mounted as rw, then you need to mount it as read-only to continue.
To mount the /dev/sda1 or your desired partition as read-only to use zerofree on it:
Note 1: you should perform the following steps relatively quick to be able to mount the drive as ro before services and sockets go back into use and start writing to the disk again. Otherwise you may need to perform the systemctl step again to make sure writing to the disk has stopped.
Note 2: (Skip reading this until the steps following this fail).Depending on your system, you may have other services and sockets still writing to disk other than systemd-journald. If the below steps are not working try to see whats still writing to disk after you run the steps and then stop them too in the same way.
systemctl --type=service
systemctl --type=socket

Steps:
Update: User @Kevin gave an excellent suggestion to execute the steps ( see below) in a one liner command in case the services and sockets go back into use too fast:
systemctl stop systemd-journald.socket && systemctl stop systemd-journald.service && sudo swapoff -a && mount -n -o remount,ro -t ext2 /dev/sda1 / && zerofree /dev/sda1

First, stop all processes writing to the disk so you don't get mount /: mount busy error
systemctl stop systemd-journald.socket
systemctl stop systemd-journald.service

Check if any swap partitions are enabled:
swapon -s

If enabled, then disable them
sudo swapoff -a

Then finally you should be able to mount dev/sda1 as read-only. (Your filesystem type might be different from ext2. To find the filesystem, run df -T)
mount -n -o remount,ro -t ext2 /dev/sda1 /

Then finally run zerofree
zerofree -v /dev/sda1

Whens zerofree is done, shutdown Ubuntu
halt

Then finally, on the Host OS (in my case Windows 10), compact the vdi to reclaim space:
VBoxManage.exe modifymedium disk "C:\path\to\disk.vdi" --compact


Warning CS8001: SDK path could not be resolved while running C# application in Ubuntu 16.04

Try changing the call to mcs by changing the -sdk argument.  Also make sure you've got everything you need installed.


Download the nordvpn-release_1.0.0_all.deb file from the official website.
Then install nordvpn-release by running the following command:
sudo apt-get install ./{/path/to/}nordvpn-release_1.0.0_all.deb

After nordvpn-release installs, update your system (make sure to update AND upgrade):
sudo apt update && sudo apt upgrade

You should be able to install nordvpn sucessfully:
sudo apt install nordvpn

Alternatively, you can add the repository and then update your system:
sudo wget -qnc https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn-release_1.0.0_all.deb

Then:
sudo apt update && sudo apt upgrade

Finally:
sudo apt install nordvpn

If the issue still persists, manually add the repository to the apt sources list:
cd /etc/apt/sources.list.d/nordvpn.list
sudo nano nordvpn.list

Then add the following lines to the file (ONLY do this if the file is empty or there is text that is commented out):
deb [arch=amd64] http://repo.nordvpn.com/deb/nordvpn/debian stable main
deb [arch=i386 ] http://repo.nordvpn.com/deb/nordvpn/debian stable main

Then update the system:
sudo apt update && sudo apt upgrade

You should then be able to install nordvpn:
sudo apt install nordvpn

If you get the GPG error of NO_PUBKEY, then copy the following command into terminal:
sudo wget https://repo.nordvpn.com/gpg/nordvpn_public.asc -O - | sudo apt-key add -


By the looks of it, most of it (the parts using the “echo” command) should work, but not the batch-specific parts (e.g. “goto”). But you should be able to convert it to a shell script and then it might work, or you may be able to emulate it within Ubuntu.

Edit: I've converted it, it appears to be incomplete. It appears to have converted the "if" parts, but not anything else. Let me know if it works (I highly doubt it), I'll also try it personally. I hope it helps. (Moderators,  please update this answer with a fully converted script if possible.)

export -a guessnum=0
export -a answer=${RANDOM}
echo Welcome to the Guessing Game!
echo ""
echo Try and Guess my Number!
echo ""
echo ""
export -p guess=
export -a guessnum=${guessnum} +1
if ${guess% GTR %answer} echo Lower!
if ${guess% LSS %answer} echo Higher!
if ${guess% EQU %answer} echo EQUAL
goto top
:equal
echo Congratulations, You guessed right!!!
echo ""
echo It took you ${guessnum} guesses.
echo ""
pause


Ubuntu Won't Start: GNU GRUB version 2.02~beta2-36ubuntu3.17

This message is to be expected if you selected NTFS as your filesystem whereas the GRUB bootloader of Ubuntu wasn't compiled with NTFS module support (which means that GRUB can't read its configuration file and bails out).

Why did you change the file system in Rufus?

The default from Rufus with Linux ISOs is FAT32 and you should bear in mind that Rufus  tries to select the options (file system, etc.) that are most likely to ensure that your USB will boot. So, unless you know what you are doing, you shouldn't try to second-guess the "best" options to use. Else, you will get into exactly the kind of issue you reported...

Also, you should have gotten a prompt asking you whether you wanted to create your USB in ISO or DD mode, and explicitly advising you to try first in ISO mode and then recreate your USB in DD mode if you encountered an issue. Have you tried that?

Rufus is trying its best to help YOU so that you can avoid the many pitfalls associated with booting. So please don't ignore what it tells you...


samba: net usershare add: cannot convert name "Everyone" to a SID. The network responded incorrectly

I have an alternative in case you are interested. If you originally set the server min to SMB2 because of the SMB1 security issue set the client max to SMB3:

server min protocol = SMB2
client max protocol = SMB3

Then your usershare add command will not result in an error.

You will of course disable browsing to shares as I explained here: How to tell Gigolo / GVFS to use SMBv2 for Windows shares?


speech marks around text file when referring it in the terminal

"..." and '...' are very usefull. Basically, it makes it clear that it is one file instead of multiple. Lets say you have a file called foo bar. If you want to edit the file, you would use nano. So nano foo bar. But we have a problem: nano is now going to search for a file called foo and a file called bar. We don't want that! So we're going to need to put quotes around it to say "hey, you aren't supposed to look for two files. This is one file!" Everything between "..." will be seen as one file, no matter how many spaces are between the words inside.
So doing nano foo bar test will make nano search for the files foo, bar and test. But if we do this: nano foo "bar test", it is going to search for the files foo and bar test. Or in your case: instead of searching for Untitled, Document and 1, you want to search for Untitled Document 1, so you need to quote it.
There is a difference between "..." and '...', but you'd first need to learn about variables and how to call them. So that isn't important. When doing what you want to do, I advice using '...'!


Check that the /var/www/html/ directory exists. /var/www/html/ is standard directory to use for a web server like apache or nginx.

Use sudo to avoid permissions issues.

sudo mv -v squirrelmail-webmail-1.4.22 /var/www/html/

If your user is root then there is no issue, but if user is not root then you face this kind of error.

mv: cannot move 'squirrelmail-webmail-1.4.22.zip' to '/var/www/html/squirrelmail-webmail-1.4.22.zip': Permission denied

If /var/www/html/ does not exist, you can create that directory manually.

Furthermore installation:

cd /var/www/html/
sudo unzip squirrelmail-webmail-1.4.22.zip
sudo cat squirrelmail-webmail-1.4.22/doc/INSTALL

Follow this documentation for the installation. I have done the installation according to this, and it is working on my Ubuntu 18.04.


universe repository is not enabled for some reason.

Go to System Settings -> Software & Updates and enable it there.

In the command-line you can enable it by

sudo add-apt-repository universe

Then you will be able to install it by

sudo apt install docker-compose


How many paid Ubuntu developers are there?

According to their own description, Canonical has over 400 staff and is focussing mainly on Ubuntu. 63% of the Linkedin-using staff is involved in development, so my guess would be something like 250.

Source for 400 figure: http://www.linkedin.com/company/canonical-ltd.
Source for 63% figure: http://www.linkedin.com/company/canonical-ltd./statistics


How to return the login screen to the default

For getting back the default boot loading, use the following :

sudo update-alternatives --config default.plymouth
, then choose whichever bootscreen you prefer, for default /lib/plymouth/themes/ubuntu-logo/ubuntu-logo.plymouth, afterwards run this command sudo update-initramfs -u

For the login screen, run this command : sudo dpkg-reconfigure lightdm


free space on ubuntu mount drive disappeared

You will need to look around to answer that.  Try the disk usage analyzer.  You might also check it for errors in the disk utility.


USB Tether keeps repeating 'Checking phone status...'

It appears that the program USB Tethering from Duck Software does work. It's just as easy as USB Tether, but it worked immediately. It enables the USB tethering option in Android, which was removed from this particular version on the Asus Memo Pad HD 7 ME173x tablet.


No option to install Italian language as default on Kubuntu 12.10

The #kubuntu ( http://irclogs.ubuntu.com/2012/10/21/%23kubuntu.html ) is suggesting:

yofel / 17:05

  for now you'll probably best of installing 'kde-l10n-language_code'
  from muon

In this case kde-l10n-it

apt-cache show kde-l10n-it

  Description: Italian (it) localization for KDE

  This package contains the translation files for all KDE core
  applications for the language "Italian". Homepage:
  http://l10n.kde.org/team-infos.php?teamcode=it

Same kind of from the KubuntuForums: http://www.kubuntuforums.net/showthread.php?60590-Can-t-install-other-system-languages


Bcmwl-kernel-source is incorrect for your device. Please get a temporary wired ethernet connection, open a terminal and do:

sudo apt-get remove --purge bcmwl-kernel-source
sudo apt-get install linux-firmware-nonfree

Detach the ethernet, reboot and let us hear your success.


I followed @saiarcot895's instructions to make a 32-bit Wine set-up, but got the same error. I then noticed the instructions here: "If installing on a 64-bit machine, you should download a zipped version of the whole file structure and unzip it into Program Files or wherever you want it."—rather than using the installer. So I extracted the file to .wine/drive_c/Program Files, & now WinBUGS works. Not sure if both those steps were necessary or just the latter.


Naming partitions will make future management easier. It just creates an alias to the mount point, I'm pretty sure. Basically gives the partition mount point that can be called by using an easier to remember name, rather than just a number assignment.

Read Here for more Details.


copying files from iPod classic to clementine library

For a reason I don't understantd (bug ?), the "Copy to library" menu option is greyed out when I click on a song in the subtree of my device.
However, once a song is added to the playlist, The "Copy to Library" is present and works.

So, in order to import all songs, here's the workaround I found :

Add all the songs to the playlist (Click on the first, then hold shift and click on the last).
Then, select all the songs in the playlist
Then right-click on them and select "Copy to Library"
Et voilà !


unable to install ubuntu 13.04 on a system pre-installed with windows8

some boot systens cant support file format older then fat16 and cant read USB
you need to use any partition software to change fat table from fat32 into lower (older)
second common reason is that many computers do not check USB even when asked to.
You can try using plob boot manager


Error while using apt-mirror for creating local repo

try running the find * -name "*.gz" -exec file {} + | grep -v "gzip compressed data" my guess would be maybe you have an old non-working repo?


I can't open steam and steam games on ubuntu 14.10

I found the answer on http://chakraos.org/forum/viewtopic.php?id=13247

You have to do the following on terminal and if it doesn't work:

rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6
rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgcc_s.so.1

Go to the folder and found the first file and deleted it. The second file maybe it's not appearing.

Open steam and wait to update.

And it will work!


Ubuntu comes with a very handy indexation of its contents. Simply type:

locate oragi

Do note this indexation is based on a database that is automatically updated, this means that very recent files won't be found by the locate command. Normally this is not a big issue, but if you need the database to be immediately updated you can type:

sudo updatedb

Cheers! :)


Fan runs at max when screen is dimmed to save power

If you don't have the time/skill to debug this, simply turn off screen dimming from "Brightness and Lock" in System Settings:


How can I open kontact without having to enter a kdewallet password each time?

This question is answered here:

How can I open Skype without entering a keyring password each time?


It turns out it is a problem with the volume control plugin. You can remove this plugin by
editing ~/.config/lxpanel/Lubuntu/panels/panel

and removing the following section:

Plugin {
    type = volumealsa
}


You can find out what is running by making a cron job, a scheduled command that runs just before the monitor switches off. See man crontab. You can run top -d 20 > screen.log. This will dump the average of 20 seconds to a file called screen.log. Maybe other logs could be useful such as dmesg. You might want to find out about the behaviour of the fans: I presumed they operated according to temperature but your experience would seem to belie this. Still you can still measure the temperature using lmsensors program.


Not possible to install anything on Ubuntu 18.04 LTS

This seems similar problem as this one. It refers to another package, but the output error is the same trying to overwrite file, which is also in…

The solution here is to (force) remove the package that causes the error, directly with dpkg . The problematic package is mentioned after the which is also in <package to be removed>

In your case wine1.8-amd64 , wine1.8-i386 and wine1.8

The following commands should do the trick:

sudo dpkg -P wine1.8
sudo dpkg -P wine1.8-amd64
sudo dpkg -P wine1.8-i386

Then run again

sudo apt-get install -f

and dpkg should now be able to configure the packages correctly.

If for some reason above commands won't work, then use the --force-all option. Dangerous option as it can break things, but it is there for a reason.

sudo dpkg -P --force-all wine1.8
sudo dpkg -P --force-all wine1.8-amd64
sudo dpkg -P --force-all wine1.8-i386

Also, if you still have any PPA about wine enabled, please disable it or completely remove it.


Ubuntu 12.10 Version (Quantal Quetzal ) has limited update support till May 2014.

Therefor the repositories are not available for the requested update request.

Regarding Chrome, probably you are trying to run newer version of Chrome which needs newer versions of lib files that cannot be found in 12.10 version.

I recommend to download Long Term Support version if you are looking for stability, which in this case can be 14.04 version as it has support till April 2019 which is another 5 years of support.


Parcial answer: to change some of the shortcuts you mention (Super + a, c, v,...) you need to edit the proper file ending with .scope that you'll find in /usr/share/unity/scopes (you need to be superuser in order to edit these files).

For example, if you want to reassign the shortcut super + a with the compiz manager you first need to find the file: /usr/share/unity/scopes/applications.scope and change the line: "Shortcut=a" by a letter you won't use ("Shortcut=n" for instance).

Hope it helps.


How to encrypt and lock selected folders

SiriKali[1] is a viable alternative and its in ubuntu repositories[2]

[1] https://mhogomchungu.github.io/sirikali/

[2] https://launchpad.net/ubuntu/+source/sirikali

ps:
SiriKali is my project.


I have never experienced this until today. Before the sleep cycle I had been experimenting with acceleration using xset m _ _

Sleeping the machine again with sudo pm-suspend and re-awakening it did not help.

What did solve it for me was unplugging and replugging the USB mouse!


(if you are running VirtualBox)

When you plugin a device in to your computer running VirtualBox and you want the device to be detected by Ubuntu you need to click on Devices > USB Devices and select the device you have just plugged in. Check the list before and after plugging in the device and note the new addition(s) to the menu.

If you want a device to be available automatically when you plugin it in go to the Ubuntu guest settings, USB tab and add a filter to the list. Next time you plug it in it will be available automatically in Ubuntu.


How can I run a fake X server & link it to a specific GPU?

You should ask Nvidia for overclocking support outside the X driver (e.g. in that nvidia-smi tool).

Using a graphics driver that is not for your GPU is not useful, as it doesn't know anything about the hardware, and nvidia-settings only knows about the nvidia driver.


How do I access tmux session after I leave it?

I want to see what is going on in one session I created.

As far as I know, you can view your tmux sessions list by using

tmux list-sessions to see what sessions are currently running on tmux.

To actually see what is running in those sessions you have to attach to the particular session, to do this you have two options (from experience).

If you are not currently running a tmux session (or not currently in tmux session) you attach by running tmux attach -t n (where -t stands for target session and n for that session number).
If you are running inside another tmux session you'll get an error trying to connect to another session so the simplest way to see what's running there is to use the tmux list-windows -a command then move whatever pane/window you have the task running in.

Moving a window

Using tmux move-window -s n1 -t n2 (-s == source window, -t == target window where the source window will attach to. n1 == number of the window you want to move and n2 is number of the window you are moving to).

Format

The n1 & n2 numbers are ordered/formatted as sessionNumb:windowNumb.
So first session in first window will be 0:1, and second session in first window will be 1:1.

Note: n2 has to be an available session with a not yet created window. If you move a window to an already created window you will get an error saying "Target window is not empty" and moving to uncreated session will give error "can't find session n".

Moving a pane

Sometimes in one window you might have many panes and you only need to move one pane, this is helpful if you only need that one pane to move inside your current window (as you can't move a window inside another window).

You use almost similar syntax with moving a window but you do tmux move-pane -s *n1* -t *n2*.

Where n1 now is formatted as sessionNumb:windowNumb.paneNumb and so is n2.

Examples

After tmux list-windows -a you will have something like this

0:1: Project- (4 panes) [177x48]
0:2: Mirror (3 panes) [177x48]
0:3: Chat! (1 panes) [177x48]
0:4: ssh* (1 panes) [177x48]
1:1: zsh (2 panes) [176x45]
1:2: zsh* (1 panes) [176x45]
1:3: zsh- (1 panes) [176x45]

Now, moving the window "Chat" from first session to my second session I'll have to run tmux move-window -s 0:3 -t 1:4 (remember can't move window to an already created window).

Moving a pane

If you only need to move a pane then you need to do tmux list-panes -a or if you already know the window it is from, you can tmux list-panes -t 0:1 See format explanations above.

Result comes showing session 0 window 1 (-s 0:1) has these panes.

1: [177x34] [history 3/10000, 4119 bytes] %7 (active)
2: [88x13] [history 541/10000, 231972 bytes] %8
3: [88x13] [history 2/10000, 1541 bytes] %9

which is just not acceptable, but if you need to see more information so you can know which pane you really need you can do

tmux list-panes -F "#{pane_current_command}" -t 0:1

Which will display current running commands at each pane.

In my case

vim
zsh
python (sadly it's running `ranger`)

So after identifying which pane you want (say the vim one) you need to move it.

tmux move-pane -s 0:1.1 -t 1:1.2 to move to a specific pane in this case 2

If you have only one pane in the target window you can tmux move-pane -s 0:1.1 -t 1:1. no target pane, and it'll still work.


Errors encountered when installing Google Earth on Ubuntu 17.04

The error shows you a dependency issue:

google-earth-pro-stable depends on lsb-core (>= 3.2); however:
Package lsb-core is not installed.

Google Earth requires the package lsb-core but it is not installed on your system.
Since this package is in the Ubuntu 17.04 repos, simply run sudo apt-get install lsb-core to install lsb-core. Then you can run sudo dpkg -i google-earth-pro-stable_current_amd64.deb again to install.


User accounts missing on loginscreen after 11.10->12.04 upgrade, how to get them back?

Did you loose media files only? If you changed the language, desktop may search by default in the wrong directories cause of translation, like "Music" in place of "Musique" (in french). Say, media directories defaut name are localized (at least french/english)


Have you tried disabling the iio-sensor-proxy instead of removing it?

I think it would fix the problem and you can reverse it whenever you want.

sudo systemctl stop iio-sensor-proxy.service
sudo systemctl disable iio-sensor-proxy.service


i3wm Dunst no longer showing notifications

Never mind it was working fine.

I changed my config for dunst in ~/.config/dunst/dunstrc to

transparency = 0

I'd previously set it to 100 which I thought would make it opaque, but it made it invisible.


How do I wake up the printer when it sleeps?

Type

cupsenable printername

in konsole


compizconfig-settings-manager: command not found

Two commands - one to add the PPA - the other to revert back to official packages and to remove it again:

sudo add-apt-repository ppa:linaro-maintainers/overlay
sudo ppa-purge ppa:linaro-maintainers/overlay


The getxattr(2) man page is from the libattr1-dev package. If you want it, install libattr1-dev. In general, if you can't find a manpage, look in http://manpages.ubuntu.com (which will show the package providing the manpage at the top), or use apt-file search.


The reason not many people recommend the simpler apt tool is because it's new. It wasn't in Ubuntu until the 14.04 release a week ago.

For most interactive uses it is equivalent but easier to use and looks nicer.


How to run steam games correctly on ubuntu 16.04?

looks like you have typical Steam => AMD errors.

you will need to do this to solve your issues:

Right-Click Steam shortcut and click Properties
Select the Application tab
In the "Command:" path type in this stuff before your steam path. . .

env LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1'

example:

env LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1' /usr/bin/steam %U

it is VERY likely two things will now happen.

it will give you an error about 1 or more of the libs saying it cant load them or some such. not all of them are required but that is the general command line. just remove any unnecessary part.
steam will now always complain that the steam version is out of date and you need to update. i dont know that there is anything you can actually do about this. it doesnt actually harm anything and steam will still update and function normally.


I found this one that solves this problem:

export PS1='\[\e[0;35m⌘\e[m \e[0;36m\w/\e[m \e[0;33m`git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/\(\\\\\1\)\ /`\e[m\] → '

Very convenient for my git work! (Feel free to remove the arrow at the end, seems kinda useless).

Credits go out to this guy:
https://gist.github.com/clozed2u/4971506#file-gistfile1-sh


In the filemanager under "settings" in the "List Columns" tab you can configure what columns the filemanager displayes

It defaults to "Type" which is the "mess" you describe where it lumps different filetypes into categories.

Choose "MIME-type" instead. It it not exactly what you ask for, but apparently as close as it gets in 16.04


Which archive format does not read/extract whole archive when extracting single file?

I don't know of anything which meets all of your requirements. However, I might have something which will still work

If your needs are read-mostly, instead of creating a compressed archive (eg. tar.gz), consider creating a SquashFS image instead. SquashFS is a read-only compressed filesystem.
You would then be able to access that image file via sshfs and mount that as a loopback device.

Since this is a complete filesystem, directory traversal, data access, etc. will be limited to only the particular blocks required.


"FirewallD not running" error when trying to install a printer

This is a bug and this is a workaround.:

  WORKAROUND: As an alternative to the printer configuration tool from
  the new GNOME Shell control center, you can still use
  system-config-printer. To open it, just press Alt+F2, type
  system-config-printer and press Enter.


Difficulty opening terminal using ctrl alt t?

your are right, ctrl + alt + T should open the terminal.

you can check your shortcuts settings. In Ubuntu 13.10, follow "system settings" --> "keyboard" and choose the second tab "shortcuts".

In the first option "Launchers", you should find the one for the terminal. Check if it is correctly set. In the "Windows" option, you could find the ones related to "Minimize window", "Toggle shaded state" and so on. Maybe this ones are set the same way (in my case they are ctrl +alt+0 and ctrl+alt+S, respectively) and the systems is deciding which to choose and ignores the terminal launcher.


What files to delete in /home/user while installing new linux distro to get rid of old settings and configuration?

You don't need any of the files beginning with a period, so you could just move them all into a directory to get them out of the way.  Then if you find that you really want something, like your firefox bookmarks stored under .mozilla, you can retrieve them.    A better solution might be to let /usr/home be a normal system created directory, and mount your "/home" directory under /home/user/data instead.  That would avoid potential problems if ever trying to dual boot two different Ubuntu releases with a common home directory.


Installing Gnome 3.10 along Ubuntu 13.10 (mouse cursor missing)

Try to issue this command in a terminal:

 gsettings set org.gnome.settings-daemon.plugins.cursor active false

Seems a sort of conflict between Gnome 3.10 and the rest of the world...


Firstly usermod can not be run as a normal user.  You either need to be logged on as root, not recommended, or prefix the command with sudo.  The command does not create the folder so you will need to create it first.

cd /home;
sudo mkdir peter
sudo chown peter:peter peter
sudo usermod -d /home/peter peter

Will do what you want.  Any existing home folder will remain unchanged

You cannot change a user's home directory while that user is logged in (if you are logged in as peter, it will not work).


How do I remove libre office configurations

for LibreOffice 5.2 and older ref:

close LibreOffice including "QuickStart" in system tray
rename the user profile folder from "user" to "user-old", locations
for your OS /home/<user name>/.config/libreoffice/4/user
restart LibreOffice and a new user profile will be generated

Test and see if the problem is gone.

If the problem persists, you can restore the previous profile because
it was not the cause of the problem. To restore the previous profile,
delete the new folder and give the old one its former name.
If the problem is solved, one or more files on your profile are
corrupted.


Ubuntu Server 20.04.2 network interfaces won't keep static IP

The issue was static IPs on Ubuntu Server 20.04.2 must be configured with Netplan
Navigate to /etc/netplan and edit the file .yaml or create your own with
network:
    version: 2
    ethernets:
        ens34:
            addresses: [192.168.241.132/24]
            gateway4: 192.168.241.129
            nameservers:
                addresses: [8.8.8.8,8.8.4.4]

Full reference https://netplan.io/examples/


Your device uses the driver ath9k_htc included in all recent Ubuntu versions. It requires firmware that is included in linux-firmware and is installed by default. Let's see if we can load the driver and look for clues as to why it isn't working:

sudo modprobe ath9k_htc
dmesg | grep ath
lsb_release -d
rfkill list all

Please post the result here: http://paste.ubuntu.com and give us the link in your reply.


How do I tell MAAS which drive to boot from?

Look at the preseed files in /etc/maas/preseeds

These control the disk config used by maas to create operating systems.  Specifically, look for the "Partitioning" section.  It does a

partman list-devices disk|head -n1

This is configurable.  See:

https://help.ubuntu.com/lts/installation-guide/example-preseed.txt
   https://help.ubuntu.com/lts/installation-guide/armhf/apbs02.html

For more info


You will need a launchpad account, and you will need to propose a merge here

https://code.launchpad.net/ubuntu

It might be best to also hop into #ubuntu in Freenode, and ask for directions on how to do this.


As far as I know, League of Legends has no linux version, so I will assume you are using WINE. If you are not, please go onto my next suggestion.

However, IF YOU ARE USING WINE, you might want to check out PlayOnLinux. This is a wrapper for people who are less experienced with Linux distributions (like Ubuntu) and it allows for easily managing multiple WINE prefixes. That being said, most likely if you followed the first result on google to install League of Legends on linux, you are using a seriously outdated version. I recommend following a very recent guide and for sure using a version of WINE such as 1.7 or above. You also might want to check out a special patch called CSMT. PlayonLinux has certain patched versions that are available. To install PlayOnLinux, you will have to go to this website (CLICK HERE) and scroll down until you see the "Ubuntu" tab. You will then be instructed how to install PlayOnLinux.

IF YOU HAVE NOT MODIFIED YOUR NVIDIA DRIVERS you will need to make a check. Go to your settings and go to the drivers/updates section. After you get there, you will need to look for a tab that says drivers and look to see what Nvidia driver you are using. Chances are, you are using NOUVEAU drivers which are Open-Source. At the moment, these are not as fast as the Nvidia drivers you can get through Ubuntu's repository and not even close to as fast as those in the Xorg-Edgers PPA. If you see that NOUVEAU drivers are selected, this is also a large reason your performance may be poor. You can select another driver such as Nvidia 331 or Nvidia 334. Also, if you'd like, you can check out Xorg-Edgers. To get their repository AND get Nvidia 337 drivers, run the following command in your terminal window:

sudo apt-add-repository ppa:xorg-edgers/ppa && sudo apt-get update && sudo apt-get install nvidia-337

Then, save all of your work and reboot your computer. MAKE SURE YOU COPY THE ENTIRE CODE ENTERED ABOVE AND then open up a terminal window (using Alt+T) and then right click and select paste. Then hit enter and the installation process will begin. I will try to post pictures in a few hours to show you how to get up and running as well.

Please comment if you've tried BOTH of these and nothing worked so I will try to troubleshoot the problem. Off the top of my head, these are the most common problems people face. Good luck!


Autostart apps in different desktops in openbox

Take a look in your openbox configuration, which is in the file ~/.config/openbox/rc.xml. You can specify the settings for a window.

http://openbox.org/wiki/Help:Applications


How to restore Meizu Pro 5 Ubuntu Edition to Factory Settings

It was my understanding that the power off and the on then with on with volume buttons was the andriod reset. I have had a look for the factory reset in storage, but cannot see it. However, if you go to Settings and then Reset you have the option to Erase & Reset Everythibg. This looks like it may be your best option. If this does not work have a look at raising a Launchpad ticket for it.


System Monitor fails to start - unable to find default local file monitor type

$ killall gnome-screensaver

I do not know why,but it works! There are too many gnome-screensaver in ps aux.

See bug report on launchpad: Unable to launch gnome-system-monitor


On gParted :

Left-clic on /dev/sda5 (linux-swap), and select "swapoff"

We can see here that the swap is still mounted (the key next to /dev/sda5), causing the extended partition to stay bussy.Using the swapoff option will unmount it.

That for the "busy problem".

For the lost partition problem:

Install gpart :

sudo apt-get install gpart

Open the "Devices" menu of GParted, and select "try to recover data" (something like that, my computer use French as language, i'm not sure of the english equivalent)

Edit 1 :

Try testdisk

installation :

sudo apt-get install TestDisk

Use : Open a new Terminal ( ctrl+alt+T )

sudo testdisk

And follow this step-by-step tutorial : TestDisk step-by-step


How do I remove google chrome which is not starting anymore?

Run the following command as root: apt-get purge google-chrome-stable.


Ubuntu 18.04 automatically logs out when I close the laptop lid

Disable the locking screen when waking-up in your lock screen settings.


Assuming you're using Ubuntu with the Unity desktop environment and the Ambiance theme, the window titlebars get their CSS theming from the file /usr/share/themes/Ambiance/gtk-3.0/apps/unity.css, and the window buttons themselves can be found in /usr/share/themes/Ambiance/unity/. The "UnityDecoration" style properties are what you're looking for in the CSS.

For a full description of what all the different properties and files do, see the Ubuntu Wiki's page on Unity theming.


ppscsi patch for 3.x kernel (14.04) progress/availability?? (kernel-patch-ppscsi-2.4)

That patch is for old 2.x kernels and is no longer maintained, either in Debain or upstream.

http://cyberelk.net/tim/parport/ppscsi.html

  NB: Grant (grant aT torque dot net) has not been able to work on ppSCSI since the middle of '99 owing to other priorities. For a short while after that, I (twaugh aT redhat dot com) had been keeping the ppSCSI suite current with 2.2 and 2.3 kernels. However they are now no longer maintained. For the patches, see:

  http://people.redhat.com/twaugh/parport

  I would recommend addressing any correspondence concerning these drivers to the linux-parport mailing list, rather than directly to me.

Your only option is to examine the patch and see if you can adapt it for 3.x kernels.


The package you are looking for is called gnome-software (formerly called ubuntu-software)

When you install it, it will automatically install snapd. But you can remove it afterwards if you don't need it.


Shell script does not run with keyboard shortcut

You are using double equal sign in your script if-clauses. That is a bashism (it's fine on BASH, but will fail in other shells). I believe the script is being handled by dash and not bash, so replace == with = and give it a try.

You avoid that "shell indetermination" by adding a shebang in the first line of the script, indicating the shell to be used. If you tried #!/bin/bash, as suggested in the comments, the shortcut with your original script should work. But if you can make your code more portable (with single equal instead of double), why not?

Some bashisms: https://mywiki.wooledge.org/Bashism

Oh, and that's a pretty nice wiki to learn solid shell scripting.


The message is saying that the hardware enablement stack that you are on is EOL. See the wiki page on HWE EOL notifications.

This is just one piece of Ubuntu, for those who are running it. It is not the same as the entire OS.

The HWE allows users to take advantage of later kernel improvements and bug fixes while staying on an older LTS version.

You should probably go ahead and upgrade the HWE, otherwise you may miss out on security fixes.


Why it's dual UEFI Boot Manger For UEFI Ubuntu OS

In an Ubuntu terminal window, type:

sudo efibootmgr -v

This will show you details for all the boot entries in your EFI's boot manager. Examine the details for the two ubuntu entries to see if they differ. If they don't, it's safe to remove one of them via the -b # -B option, as in:

sudo efibootmgr -b 4 -B

This example deletes the Boot0004 entry. I recommend deleting the entry that comes later (or not at all) in the BootOrder list (which is also shown by efibootmgr -v).

It's also safe to delete an entry if it refers to a non-existent file, partition, or disk. Unfortunately, the partition and disk identification is done via long strings that are difficult for humans to parse. You might have such an old entry if you installed Ubuntu twice.

Note that there are certain bugs that can cause these entries to multiply. In particular, an interaction of a buggy EFI and a buggy version of Shim can cause this problem. If you run into this condition, I recommend disabling Secure Boot and bypassing Shim. The former requires entering your firmware setup utility, finding the Secure Boot option (its location and name varies, unfortunately), and disabling it. The latter requires creating a new NVRAM entry that points directly at GRUB, rather than at shim:

sudo efibootmgr -c -l \\EFI\\ubuntu\\grubx64.efi -L "GRUB direct"

IIRC, the buggy version of shim is distributed with Fedora, and Ubuntu's version is unaffected, so chances are you should not see this problem if you're using Ubuntu's Shim.


Not an official one, but I've had success with the unofficial client NeverNote


Edit /etc/default/grub with your favorite text editor, ie

  sudo nano /etc/default/grub

Locate the line

GRUB_DEFAULT=0

Change it to the line you want to boot from default, to see which line you want press the key Shift right after your computer computer's POST and keep it pressed, Grub will show the lines available to boot, the fist one is 0, the 2nd one is 1, etc. Insert the value you want in GRUB_DEFAULT=.


I successfully figured it out by my self, here is how.

remove the current ffmpeg by running:

sudo apt-get remove --purge ffmpeg

Add ppa trusty-media for 14.04:

sudo apt-add-repository ppa:mc3man/trusty-media

For 16.04, add the following Repo:

sudo apt-add-repository ppa:jonathonf/ffmpeg-3

Update repo:

sudo apt-get update

Finally install it:

sudo apt-get install ffmpeg


How to get an installed program – JDeveloper

JDev Suite 12c

After downloading the bin file, eg jdev_suite_121300_linux64.bin from here make it executable via

chmod +x jdev_suite_121300_linux64.bin

Now start the installation

./jdev_suite_121300_linux64.bin

You can change your installation folder here

Start

As there is no desktop file installed, you can start via

~/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/bin/jdev

the path ~/Oracle/Middleware/Oracle_Home/ depends on your settings of Installation location in step 3
Create a desktop file

Create the file jdeveloper.desktop

nano ~/.local/share/applications/jdevsuite.desktop

Replace $USER with your username, the output of echo $USER

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=JDev Suite 12c
Comment=JDev Suite 12c Integrated Development Environment
Icon=/home/$USER/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/bin/coffee.png
Exec=/home/$USER/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/bin/jdev
StartupNotify=true
StartupWMClass=JDevSuite

The icon is very ugly, but I can't find a better icon

Start via your Launcher, type "JDev"


How to disable Bluetooth when notebook sleeps (Ubuntu 18.04 LTS, Dell XPS 13 9370)?

That's because the laptop is not actually sleeping - just turning the display off!

It is possible to make the XPS 13 9370 sleep properly (mine now does) but you are entering a bit of a rabbit hole. Have a look at the accepted answer at Ubuntu 18.04 - Dell XPS13 9370 no longer suspends on lid close. But also look in the comments, including the one by me - you may also need to install the HWE that was released at the same time as 18.04.02 to get a new kernel (installation instructions in the comment).

Mine now deep sleeps when I close the lid, and wakes up very quickly when I open it again, and I get very little battery drain over days of sleeping.


Can't access settings on fresh install synapse for kUbuntu 16.04LTS

Synapse has been added to  the official software repository for (K)Ubuntu 16.04, so you shouldn't need to bother with a PPA. You can remove the PPA and install Synapse from the official repositories by running the following commands, one at a time:

sudo add-apt-repository --remove ppa:synapse-core/ppa
sudo apt update
sudo apt install synapse

Please let me know if you run into problems, or how this worked for you.


Fast method

Open the PDF document in the default Document Viewer application (okular) and scroll down to the page you want to copy.
Select View -> Fullscreen.
Create a screenshot of the page on the screen using the keyboard shortcut Alt + PrtScn. Alt + PrtScn will take only the particular window which is currently active.

Slow method

The slow method gives you more options for customizing the copied image.

Install GIMP image editor from the Ubuntu Software Center.
Right-click any pdf file and select Open With -> GIMP Image Editor.
GIMP will open and show an Import from PDF window. Click the page or pages from the PDF document that you want to import in order to select them.
Click the Import button.

From the Layers/Channels/Paths Dock select the Layers tab and then select a PDF page to export as an image by clicking it. If you want to edit the image before exporting it, you can do this now or else continue on to the next step.
Select File -> Export As...
In the bottom right corner of the Export Image window select the format of the exported image from the dropdown  menu. The format of the exported image can be PDF or any one of the many image formats that GIMP supports.
Click the Export button.


I personally put it in ~/.bashrc

export TERM=xterm-256color

If that does not work, what terminal are you using ?


Why does four ttyUSB entries appear when I plug one mobile broadband modem?

You could try to enter this in the terminal:

     gedit /etc/fstab

and at the bottom of the file type this in:

     none     usb ttyusb0     errors=noremount-usb     1
     none     usb ttyusb1     errors=noremount-usb     1
     none     usb ttyusb2     errors=noremount-usb     1
     none     usb ttyusb3     errors=noremount-usb     1

and it might work fine this way when it is rebooted.


"kworker" is a placeholder process for kernel worker threads, which
  perform most of the actual processing for the kernel, especially in
  cases where there are interrupts, timers, I/O, etc. These typically
  correspond to the vast majority of any allocated "system" time to
  running processes. It is not something that can be safely removed from
  the system in any way, and is completely unrelated to nepomuk or KDE
  (except in that these programs may make system calls, which may
  require the kernel to do something).

I found this on a Ask Ubuntu question found here. Apparently the dude's solution at that question was I solved the problem by installing phc-intel packages from link

Some interesting information regarding what kworker is and its usage can be found here. Unfortunately, the solution there seems to be a future kernel upgrade.

From the same question:

  I've found many reports of something that "fixed" this for one or
  another user. Most "fixes" seem to be related to updates of the kernel
  of various sorts. Where the update can be tracked to a specific issue,
  it seems to often be some driver or kernel service that has been
  patched to not misbehave: I have the impression that there are a very
  large number of things in the kernel that can cause a behaviour which
  is observed as excessive kworker usage.

  If you find the system unusable due to excessive kworker activity, I
  would recommend trying to do fewer things. If you think you're not
  doing anything, try shutting down long-running services or timers (RSS
  readers, mail readers, file indexers, activity trackers, etc.). If
  this doesn't work, try restarting. If your system allows you to enable
  or disable hardware in a preboot environment, try turning off hardware
  you aren't using. If it happens on every restart before you do
  anything, you could try uninstalling things, but at this point you'll
  want to be running syscall profiling tools to track down specific
  applications that seem to be causing this overload.


Mythbuntu services don't start until after user login

This situation arises because of a combination of factors:

System uses a WiFi connection, not a wired connection.
MySQL is bound to an IP address (instead of or as well as localhost)

The default WiFi network setup will only connect to WiFi after you log in.  That means that services like sshd and mysqld cannot start until after you log in.  If you look at the mysql error log you will see it's repeatedly starting and aborting until you log in.

You can fix this by right-clicking the WiFi symbol in the status bar and choosing Edit Connections.  Select your connect and click the Edit button.  In the General tab check the option that says All users may connect...

For command-line junkies, or if you're fixing via ssh, you need to fix the NetworkManager configuration:

$ sudo su
# cd /etc/NetworkManager/system-connections/
# vi connection.name

Find the permissions= line and delete everything that's after the equal sign.

Restart your machine and your network connection will be established on startup, before any user logs in.  After about 30 seconds MySQL will be running.  About 15 seconds later mythbackend will running too.


Remote into Desktop on Ubuntu through SSH

If the Ubuntu server has X11 server running (you can check it with echo $DISPLAY, it should return non-empty string on success), you can forward X11 by using

ssh -X me@remote-host

After logging in to the remote host, windows for visual programs launched there should appear as if they were launched locally.

If X11 server is not installed in the remote machine, you can install it, i.e. you can refer to the thread here:

How to install X11/xorg?


Command at /etc/crontab not run at reboot?

You can’t combine both in one cron line, but there’s nothing wrong with simply having two lines, one for the start at boot and one for running the command every 30 minutes:

*/30 * * * * root /usr/bin/python /home/pi/do.py>>/home/pi/output
@reboot root /usr/bin/python /home/pi/do.py>>/home/pi/output


Kernel error: hdaudio no AFG or MFG node found

These error messages come from the HDA audio codec base device initialization. AFG is the audio function group, MFG is the modem function group.  Looking at the driver, one gets an -ENODEV (error, no device) error return from this, so I'm surprised audio still works.


How do I extend the size of my root partition?

Running the command apt-get auto-clean may free up a substantial amount of space.  apt-get clean and apt-get auto-remove may free up additional space.

Creating a fairly large space for a /var partition and moving /var from the root partition should free up a fair amount of space.

gpartd should be able to shrink the/sda4partition and move the/sda3` partition.  This will take a lot of time as you want to move the starting point of the partitions.

I would consider shrinking /sda4 to allow the /sda3 partition to be moved to the end, but I don't know how well Windows would respond to that.

If you don't have anything you want on /sda3 you could consider removing it and using it for the /var partition.  However, if grub is not your primary boot manager, you may render the system unbootable.


How can I command ExpressVPN to start on boot?

"expressvpn connect" doesn't work on reboot as there's no previous connection for the session, you'd need to either specify the server or use the "smart" connection type. The crontab entry to connect to the fastest server would then be @reboot /usr/bin/expressvpn connect smart.


The command to edit a file using sudo is sudoedit:

sudoedit /etc/ssh/sshd_config

Equivalently, you can also do:

sudo -e /etc/ssh/sshd_config

visudo, as already noted, is specifically meant for editing sudoers files. It performs syntax checking assuming the file is a sudoers file. You don't want to use it to edit other files.


I removed Catalyst version 12.6 and installed Catalyst version 12.4 using the wiki linked above. Things seems to be working now. The settings are being saved.


The problem is in antenna slot, the ubuntu goes for slot 1 (default).
But in HP 15-af006ax the antenna connection is in 2nd slot.
You can change it by,

sudo modprobe -v rtl8723be ant_sel=2

and for making it permanent,

echo "options rtl8723be ant_sel=2 fwlps=0" | sudo tee /etc/modprobe.d/rtl8723be.conf

thats it your problem must be solved after this i got it working the same.


I cant get the internet to run (Linksys AE2500)

I didnt lokk at those links, but, if you still have problems, chack for pririty drivers (System Settings > Adittional Drivers. In 12.10 it's in the last len of "System sources")

also, chack the company site for linux drivers. If you need help with installing, just say (:

Well: http://support.linksys.com/en-mea/support/adapters/AE2500 I don't see a linux driver, but I know there's a project to make drivers for wireless. It has a site with the downloads and any download has a guide. If you don't fine it' I can search, or maybe the friends here will give you al link (:


Running bash does "segmentation fault core dumped"

This has nothing to do with gnome-terminal, when you hit Ctrl Alt F1, logged in from the virtual console and tried running bash, you got a segmentation fault core dumped which means that bash itself crashes.

Anyway, what's happening is that your bash is entering an infinite loop. When bash first starts, it reads ~/.bashrc (actually, this is a simplification, see here for more details). In your case (and in most if not all Ubuntu versions), the default .bashrc, for reasons that have never been clear to me, sources (reads) ~/.profile as well. Now, your ~/.profile includes this line:

source ~/.profile

The result of that is that bash reads ~/.bashrc => reads ~/.profile => reads ~/.profile => reads ~/.profile => reads ~/.profile etc. This is called an endless loop. Eventually, it freaks out and crashes.

Removing the source ~/.profile line from your ~/.profile should set everything back to normal.


How to change the look of the buttons through an icon theme:

Head to Gnome-Art or Gnome-look and find yourself an icon theme you like.
To install the icon theme, head to Appearance settings and hit the "Install" button.

Select the .tar.bz2 file in the "Open File" dialog to install it.
Now, select the theme you're using as your base (I'm using the Ambient theme here), select "Customize", and then select the "Icons" tab - choose the icon set that you installed earlier, and you're done!

Please note that you might have to logout and log back in for the icons to fully take effect - that's what I had to do


Just add next line into /etc/hosts:

127.0.1.1 ubuntu


Sorry, currently quickly don't have any stable templates for c++ . So you should create and package apps manually


What partitions can I share between different flavors of Ubuntu

Different Ubuntu flavours are mostly Ubuntu with different desktop environments.

To try different desktop environments it is not necessary to have separate Ubuntu installations. You can safely install several desktop environments on the same Ubuntu installation.

To install a new desktop environment you can follows the instructions in this askUbuntu Q&A:
What kinds of desktop environments and shells are available?

For example you can install Gnome-Shell by running:

sudo apt-get install gnome-shell

So to answer your question: you can share all partitions between different Ubuntu flavors.


What is the "desktop couch scratch" folder?

It is used by the bindwood extension during synchronization. If you're using bindwood and delete it, it will get recreated the next time you sync; I'm not sure what would happen if you delete it during a sync, so don't do that :)

If you're not using bindwood you can safely delete it.


Please note that ktechlab-0.3 is very old branch, it relies on Qt4 which is not available for Ubuntu 20.04 LTS via official repositories.
But you can install it using alternative repository - KDE Trinity R14 with:
cd ~/Downloads
wget http://archive.ubuntu.com/ubuntu/pool/main/j/jasper/libjasper1_1.900.1-debian1-2.4ubuntu1.2_amd64.deb
sudo apt-get install ./libjasper1_1.900.1-debian1-2.4ubuntu1.2_amd64.deb

sudo add-apt-repository "deb https://ftp.fau.de/trinity/trinity-r14.0.0/ubuntu/ focal main"
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C93AF1698685AD8B
sudo apt-get update
sudo apt install ktechlab-trinity

This will end with installation of KTechlab 0.3 as you have requested in the question. You can it using commandline /opt/trinity/bin/ktechlab and you will get the following:

I would recommend to switch to modern 0.50.1 version and compile it by translating ArchLinux AUR PKGBUILD to the deb-package names as follows:
sudo apt-get install git build-essential cmake extra-cmake-modules gettext qt5-default libkf5declarative-dev libkf5khtml-dev libkf5doctools-dev libkf5texteditor-dev gpsim-dev glib2.0

cd ~/Downloads
git clone https://github.com/ktechlab/ktechlab.git
cd ktechlab
sh build-simple.sh
sh run-simple.sh

and you will get the following:


The solution to this is...I needed to update my BIOS


Black screen after USB installation of Ubuntu

It may be caused by the GRUB boot loader installed somewhere it cant' be found. Just yesterday I was installing Ubuntu on a laptop and it wouldn't boot - I found that installer mistakingly installed the bootloader on the flash drive which I unplugged before rebooting.

See this article for instructions on how to re-install the bootloader.


How to use network scanner (Samsung Clx 2160n)

System -> Administration -> User and Groups and add 'cupsys' user to the 'shadow' group.

Get the driver from Samsung. Go to cups admin localhost:631 with your browser then click on the Administration tab

Is printer detected?

Yes! click on the button to Add your detected printer
No! Click on Add Printer

Select 'Internet Printing Protocol (ipp) enter the IP Address of your printer
Use provide a PPD File (because I don't think printer is in the list?)
Click on Browse to find were to find driver stuff you downloaded, PPD file here
Click on Modify Printer, Authentication -> enter username and password here

Printer is installed

Click on the Printers tab
Any Warning Message

If rastertosamsungsplc is not found or something like that then

Copy raster* files to /usr/lib/cups/filter/

Reboot


When an application opens a file, continue to write in it even if it is moved. Therefore, if you want to be sure not to lose information, you should send a signal to the application, so it releases resources.

You can try this configuration:

 /var/my-app-data/logs/general.log {
           missingok
           notifempty
           size 20M
           rotate 4
           create mode owner group
           sharedscripts
           postrotate
               nginx command to do graceful restart
           endscript
       }

This general.log file is rotated whenever it grows over 20M in size, after going  through 4 rotations, file are removed.

The sharedscripts means that the postrotate script will only be run once, not  once  for each log which is rotated.

According to logrotate manual:

          create mode owner group
          Immediately after rotation (before the postrotate script is run)
          the log file is created (with the same name as the log file just
          rotated).   mode  specifies  the  mode for the log file in octal
          (the same as chmod(2)), owner specifies the user name  who  will
          own  the  log  file,  and group specifies the group the log file
          will belong to.

So in your case:

rotate file
remove general.log.5 if exists
create general.log with proper attribute and owneship
runs postrotate script

Your application will continue to write general.log.1 until either closes the file or postscript is executed and nginx perform a graceful restart.

If your application always close log file via fclose($fp) or uses file_put_contents you should omit nginx graceful restart.


How to access a web application with a domain in a local network

I have some points to your case:

We can suppose that your Ubuntu server has the correct hostname set on, right? If yes, the other computers can ping this server by the name?
Also, we can suppose that your web server that listens to the connections are configured to listen by name also, right?
If first two question were positive, you can take a look in your internal DNS server to make this resolution properly to your entire network.

Windows machines make use of one feature called NetBIOS (more details here), that can resolve internal names by itself, and Linux machines, usually, don't have this feature, but it's possible to implement. You can read this topic also that they discussed it: https://serverfault.com/questions/352305/why-can-windows-machines-resolve-local-names-when-linux-cant

Cheers,
Vinícius


You can not enable verbosity natively in find.

You need to use rm -v with find's -exec action, instead of find's native action -delete:

find . -type f -iname \*.vi -exec rm -v {} +

In the second case, use mv -v:

find . -name "*.doc" -exec mv -v {} /path \;

Or better:

find . -name "*.doc" -exec mv -vt /path {} +

In both cases, -v tells rm/mv to become verbose to say whats being done.


I am having the same issue. I say a bug report that looks unresolved: https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1307744
I unchecked "Download Updates While Installing" and "Install this Third Party Software". After unchecking these the install went through fine.Previously I had checked these and that is when it hung on me. After your install hook a cat 5 cable up to your router and then google how to reinstall the needed driver.


Ubuntu 16.04.0 final (Unity desktop / Kubuntu / GNOME) can not boot from Live USB on a Z170 Skylake (6th gen)

According to this :

https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.8/+bug/1564156

This bug will be fixed in 16.04.1

All credit goes to Joakim Koed (joakimkoed) who came with a good option.

What you need to do is:

boot with nomodeset (press E after grub is booted and add nomodeset after quiet splash and press F10 (if I remember correctly)) now change to a terminal with CTRL + ALT + F2 or something.

wget http://koti.kapsi.fi/~tjaalton/skl/build2/libllvm3.8_3.8-2ubuntu1.1_amd64.deb
sudo dpkg -i libllvm3.8_3.8-2ubuntu1.1_amd64.deb
sudo reboot

Hope this helps.


Ubuntu Server 18.04 - Can’t ping to server from another computer

Set the network type to bridged.

When you configure your network type in VMWare Workstation to NAT, it NAT's traffic using the host computers IP. That works fine if you only want to access the network from the virtual machine, but it makes access to the virtual machine from other computers difficult.

Bridged, however, will let the VM connect directly to your network, and receive an IP from the DHCP server of the network. This is what you want if you want it to be accessible from your network.


I was able to resolve this issue by using the following commands:

sudo apt-get update
sudo apt-get -y install broadcom-sta-common
sudo reboot

This is an answer from @antivirtel from this question:
How do I get a Broadcom BCM4313 wireless card working?


Removing Ubuntu's Privacy Breaching Features

zeitgeist zeitgeist-core zeitgeist-datahub python-zeitgeist

Zeitgeist is a event logging system. By default it does not send any information away from the computer. It may not be useful to you, in which case you can remove it, but it won't really change privacy level, unless the computer has shared accounts.

geoclue geoclue-ubuntu-geoip

This is a service for making position available to other D-Bus applications. It does not transmit any information.

geoip-database

This is merely a database over geographical areas for IP-ranges. It's not a tool. It's a database. It does not transmit anything about you, nor does it contain any information that a remote web site does not see anyway when you connect.

whoopsie

This is an error tracker. It sends error reports. It asks first. If you don't use it, feel free to uninstall it, but it doesn't really invade your privacy to any great extent.

You also mention anything that provides your location to websites. There's roughly two techniques used for this - Geolocation-API in browsers and your public IP. Browsers ask before revealing your location to remote sites, and it can be disabled in the browsers configuration if you want.

Your public IP reveals which region you're in, and is not terribly accurate. You can't disable that - only way around it is to use a proxy or a VPN service.

You mention protecting against theft and malware. Against theft, Full Disk Encryption will be very effective. The thief will not be able to access the data you store on your device. Against malware, keeping up to date and not running software not from repositories is probably the best advise. In addition, uninstalling the packages you list won't really change the chance of being infected.

Uninstalling zeitgeist may make the privacy impact of malware less, if some malware were to extract information from zeitgeist. If you don't use zeitgeist, uninstall it, by all means, but your rationale seems strange.


How can I uninstall amazon app on ubuntu?

Try this:

sudo apt-get remove unity-webapps-common


After much searching I was able to find a solution for my problem so I'm passing it along to someone else who might need it.
Open a terminal and enter the highlighted commands.
 Just replace "username" with you actual user name.(no quotes)

Join the root group:  sudo adduser username root
Join the BOINC group: sudo adduser username boinc

Allow group to read, write and execute in /etc/boinc-client folder:      sudo chmod -R g+rwx /etc/boinc-client
Allow group to read, write and execute in /var/lib/boinc-client:        sudo chmod -R g+rwx /var/lib/boinc-client

Reboot

Hope this can help someone


I'm not entirely sure why you're using telnet via a web browser - it makes little sense to do this.  So, we need to use an actual telnet command rather than hack away at Firefox to make it work with 'telnet'.

You stated in comments you used to use PuTTY for telnet..  PuTTY actually exists in the repositories and you can use it.  This command installs it: sudo apt-get install putty

You would then run it from the dash panel on Unity.

There is also an available telnet program in the repositories, and it should be installed by default.  telnet gives you a telnet interface via the command line and ONLY the telnet interface (you run it from inside of the Terminal).  You can install it by sudo apt-get install telnet if your system says it is not installed.  (This means you won't need PuTTY which looks odd on *nix in the way it formats things, and would work with the terminal in a better way, so this is the suggested method to telnet.)


Ubuntu LAMP stack | Localhost not displaying

I found the solution.

I went to folder: /etc/apache2/sites-available/000-default.conf and changed this line: DocumentRoot /var/www/html to DocumentRoot /var/www

and then I went to file: /etc/apache2/apache2.conf and changed this line: <Directory /var/www/html> to <Directory /var/www/>


How do I make Apache serve a single static page no matter what the entered URL is?

In Ubuntu, make sure mod_alias is enabled:

sudo a2enmod alias

Then in your VirtualHost directive you can use AliasMatch.

Example:

<VirtualHost *:80>
    DocumentRoot /path/to/your/host
    ServerName yourdomain.com
    DirectoryIndex index.html

    AliasMatch ^/(.*)$ /path/to/your/host/index.html

    <Directory "/path/to/your/host">
      Require all granted
    </Directory>
</VirtualHost>

Now everything gets redirected to /index.html.


The problem with my logon failure was due (believe it or not) to my having a Nvidia graphics card. Probably the case for millions of Ubuntu users.

The answer in my case was to disable auto-login.


Problem with microphone sound when using Skype 4.1. 0.20 on Ubuntu 10.04.4

We may need another sound profile to be able to connect both, the microphone, and the audio for telephony usage.

To change the audio profile used with PulesAudio open "Sound Preferences.../Hardware, and try with the "Duplex" profile.

Audio profiles can also be changed with pavucontrol  in case it is installed.

A solution from a previous answer suggested to switch microphone to mono by disabling one channel.

Disclaimer: unfortunately we can not test this possible solution, as we don not have Skype installed in our 10.04 test system, and a proprietary sound access may be used by Skype in this release.


How can I reinstall packages accidentally removed when trying to remove another package?

I forced to stop the processing

If you mean that you halted the package manager during its work, this is a bad idea.  Much better to just let it do what it's doing, then reverse it later.

If apt-get now refuses to work because a previous operation was interrupted, you can try dpkg --configure -a and apt-get install -f to try and fix the problem.  But it's not guaranteed to work.

  I don't remember what packages were deleted

You can have a look at the DPKG log as described in this question.  It points out that the DPKG log is at: /var/log/dpkg.log and it should show the packages that were installed or removed.

In general however, I believe that installing the metapackage ubuntu-desktop should restore any missing packages that normally come with an Ubuntu desktop install.

sudo apt-get install ubuntu-desktop

If you need to individually install all the separate packages, it may mark some dependencies as "manually installed" which can leave around extra cruft during future upgrades.


Markdown (md) and reStructuredText (rst) editor

Try ReText:

Description-en: Simple text editor for Markdown and reStructuredText
ReText is a simple editor for Markdown and reStructuredText markup
languages.
ReText  supports tabs, live text preview and syntax
highlighting.
Supported    export formats: HTML, ODT, PDF. It is also
possible to write custom export    extensions.      It is written in
Python using Qt libraries.

From apt-cache show retext.

Install it with:
sudo apt-get install retext


CrossCompiling with libboost for ARM architecture

Ubuntu does have a precompiled Boost library for armhf (I'm assuming the Beagleblack can use armhf). Assuming you'll be using Ubuntu on the Beagleblack, there are two ways you can go about this:

Use pbuilder or sbuild to compile in a chroot of the armhf architecture. This would (generally) require that you have Debian packaging for what you want to compile. However, you could (at least in sbuild) also start an instance of the chroot, use apt-get to get the required libraries, and compile your program in there. pbuider is generally easier to set up.
Use multiarch to your advantage and install armhf libraries on your computer, so you can compile and use existing libraries without using a chroot. To do this, run sudo dpkg --add-architecture armhf, and edit /etc/apt/sources.list to contain deb [arch=armel] http://ports.ubuntu.com/ubuntu-ports saucy main universe (if you aren't using Saucy, replace with the appropriate release. Then, run sudo apt-get update and sudo apt-get install libboost-system1.53.0:armhf (or some other Boost package postfixed with :armhf). This will let you have the armhf libraries installed on your system under /usr/lib/aarch64-linux-gnu.

Note that the second method above will only work for multiarch libraries, which should be most of the libraries in the Ubuntu repo. You may also want to use the second method in a chrooted environment to prevent messing up your system (see here for instructions that use Precise, which is not multiarch-aware).


Increase Virtualbox 6.1 AV Performance for Win10 Guest / Run Win10 App un Ubuntu

You might have better luck with a USB mic. I've done well with the Blue Yeti mic in a Windows10 Guest Ubuntu 18.04 Host. Other cheaper mic options would probably work just as well.


Fresh 13.04 install - Laptop Keyboard & Touchpad not working

The problem was that I had leftover system directories from a previous linux install on the root partition. Deleting them and reinstalling 13.04 made everything work like a charm. Hopefully this helps someone!


Make sure that anaconda  is added to your path environment variable


Landscape Server - How to change default "No Reply" alert email address

You can adjust this address on the settings page.

Dashboard -> Settings -> System email address


Cannot mount 2 windows merged ntfs volumes in ubuntu 14.04

try to use this in terminal

sudo apt-get install ntfsprogs
sudo ntfsfix /dev/sdXY

where XY is the name of the drive
for example sdc1


free talks about RAM -- not hard disk space.

Here, it says that you have 8GB total RAM, about 1GB RAM in use, and 7GB RAM free.

If you want a detailed breakdown of HDD usage, you can use df:

df -h

(df stands for 'disk free' and h for 'human-readable).


How to extract an attachment from an email header?

Assuming you've isolated the part of the email containing the base64-encoded file, the process for decoding the file is as follows:

base64 --decode < [in_filename] > [out_filename]

...where [in_filename] is the name of the file containing the base64-encoded data and [out_filename] is the name of the file that will contain the decoded results.

For the curious, the base64 command is provided by the coreutils  package, which is considered an essential package and therefore should always be available.


The first press focuses on the title. It's something weird because you can't do anything with the title of the part the files are visible.
Tip: you can press ENTER if you want to choose the first item, the search found.


I found an Ubuntu forums post that indicated you will need to disable the "Grid" plugin in Compiz Configuration Settings Manager or "CCSM" You may need to install it if it is not installed.

I tested it and was able to drag Firefox across both of my 22" monitors. Hope that's the answer you were after.


Gnome is abstracting the low level media key press events away from individual programs, and using dbus instead. There is quite a bit of workaround to get the "old way" back.

BUT, There is a bug in gnome-settings-daemon that was corrected in version 3.32.1. Ubuntu 19+ pulls in the fixed version, so anyone running 18 or below is affected, unless they patch GSD.

See my answer here: https://askubuntu.com/a/1241511/619638
There are also instructions for patching and compiling GSD.


I was using a remote ubuntu server through ssh and typed shutdown. now I can't get back in. any Advice?

No. You need to tell the admin of the remote server what you did and ask him to start the server.


How to change clicking behavior when double clicking on a mountable unit

When a device has autorun files sometimes it will show up on the desktop, but it will not open until you force it to.

If you remove the autorun files it will work as normal.


What is the default size of the Ubuntu app icon?

The developer guide on the Ubuntu's official site says the software store require 256x256px size, maybe you need a larger one.

Ubuntu Developer Guide - Creating a good icon


Ubuntu 13.04 AMD/Intel Hybrid Switchable Graphics NOT WORKING!

This guy's guide works: http://ubuntuforums.org/showthread.php?t=1930450&page=76

  I've managed to install the fglrx driver and use the external graphics
  adapter. The problem is the new intel graphics driver.

  Here's what I did:

  Ensure that you have the deb files for the current AMD driver (created with --buildpkg as described in previous posts)
  open a shell and download a previous version of the intel driver and it's dependencies:

mkdir temp
cd temp
wget http://launchpadlibrarian.net/119461148/libudev0_175-0ubuntu13_i386.deb
wget http://launchpadlibrarian.net/111621162/xserver-xorg-video-intel_2.20.2-1ubuntu1_i386.deb

  remove the eventually installed fglrx and the installed intel drivers. When removing the intel driver let it remove both packages

cd ..
sudo apt-get remove fglrx*
sudo apt-get remove xserver-xorg-video-intel

  install the older driver with its dependencies

cd temp
sudo dpkg -i libudev*
sudo dpkg -i xserver-xorg-video-intel_2.20.2-1ubuntu1_i386.deb

  now install the fglrx packages (go to the folder containing the fglrx deb files). Warnings about defect link groups can be ignored (at least I did)

cd <your folder with fglrx drivers>
sudo dpkg -i fglrx*.deb

  backup and remove the existing xorg.conf

sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup

  create a new config file and switch to the external graphics adapter

sudo aticonfig --px-dgpu
sudo aticonfig --initial -f

  reboot

That said, for 64-bit I had to pull the files from other sources than the ones listed in the post. Then in synaptic I locked the Intel drivers so they could not upgrade.


I actually had to use xinput for my own mouse to swap the buttons around.

Typically what I do (running KDE, though any distro should have something similar) is open the "startup" application manager. In KDE it's called Autostart. Then you just add your script file and you are done. On next reboot it will load up and your mouse will be working as you set it.

As for doing it in cron or anything else... (at least in cron) DO NOT type out the command itself in cron. I know when I have run scripts in the past in cron it is necessary to point it to the file itself. This will of course cause it to run that file you pointed it to at the specified time.

What else?
Make sure your script file is correct. It's completely possible you accidentally did something wrong. I know I did it at first unintentionally just transposing a couple things.

Example file:

mouse.sh

#!/bin/bash
xinput set-button-map "9" 1 2 3 4 5 8 9 6 7 10 11 12 13

(command) (option) ("Device ID") (Button Order)


I solved the problem by installing nvidia-346 drivers.
Apparently nouveau-drivers were causing the issues.
Thank you for your help.


Keyboard repetition rate and delay are being reset on external keyboard plugin

This is not a direct answer but might be a workaround.
From this article, you can set any keyboard delay/repetition from a terminal command and it can be registered as an alias or a shortcut.
xset r rate 500 33
The first digit is delay in milliseconds and second digit is repeats/sec.
In easy words, this gives the key starts to repeat after holding down a half second and 33 times per seconds.
Use of Keyboard Shortcuts on the System settings.
For example, you want to set Alt + `

Every time you press Alt + ` the keyboard delay/repetition reset to the value, right away.

There is a trustworthy answer for this question: https://unix.stackexchange.com/questions/85504/setting-repeat-rate-of-usb-keyboard-automatically
I am not sure this works for your laptop.


Empathy chat limits the number of contacts displayed?

It appears that there is a bug in empathy, you can report this issue by either from a command line executing the following command:

ubuntu-bug empathy

Or going to the empathy bug tracker and reporting the problem directly:

https://bugzilla.gnome.org/enter_bug.cgi?product=empathy

This direct route is more likely to get a response from the developers and sooner. Please provide all information including which version of empathy you're using.


downloading 14.04 desktop onto a USB, Is this the file I need to run the OS?

Acquire the correct Ubuntu installation files ('the ISO')
Put Ubuntu onto your USB flash drive using unetbootin
Configure your computer to boot from USB flash drive and boot from it
Try Ubuntu or install it to your hard drive.


You probably need to disable Secure Boot.  On most new machine, the UEFI BIOS will not boot from OS's other than what it came with or similar.


Files exist, but "cannot open shared object file: No such file or directory" 20.04

From ldd, it is clear that prime is a 32bit/i386 build. It requires dependencies from same architecture. We may confirm too using:
file ./prime

We search for each missing library file using apt-file (if installed, be aware it downloads large indexes) or https://packages.ubuntu.com for corresponding package then install it.
sudo apt install libsigsegv2:i386 \
libsdl1.2debian:i386 libsdl-image1.2:i386 liblua5.1-0:i386 \
libsdl-mixer1.2:i386 libsdl-net1.2:i386


How to configure PulseAudio for better sound quality?

You can try pulse EQ, it's by far the easiest method for better audio quality.
Located in software center, synaptic or on webupd8 website using a ppa.
I found the eq does a great job adding bass to my crappy headphones

Have fun


Is there any Ubuntu Server for i486 architecture?

If you want Ubuntu you need a server version from before Ubuntu Maverick Meerkat 10.10. Meerkat dropped i486 support. 10.04 is an LTS and has support up to 2015 so you are still safe for a few years!

Besides older Ubuntu versions there are other options ... Distrowatch can help you with what you are searching for. The link shows Server versions with i486 architecture for Linux. You do need to check the minimum specifications for each Distro though!

Result from the link that should be promising:

Gentoo Linux

Gentoo Linux is a versatile and fast, completely free Linux distribution geared towards developers and network professionals. Unlike other distros, Gentoo Linux has an advanced package management system called Portage. Portage is a true ports system in the tradition of BSD ports, but is Python-based and sports a number of advanced features including dependencies, fine-grained package management, "fake" (OpenBSD-style) installs, safe unmerging, system profiles, virtual packages, config file management, and more.
Slackware Linux

The Official Release of Slackware Linux by Patrick Volkerding is an advanced Linux operating system, designed with the twin goals of ease of use and stability as top priorities. Including the latest popular software while retaining a sense of tradition, providing simplicity and ease of use alongside flexibility and power, Slackware brings the best of all worlds to the table. Originally developed by Linus Torvalds in 1991, the UNIX-like Linux operating system now benefits from the contributions of millions of users and developers around the world. Slackware Linux provides new and experienced users alike with a fully-featured system, equipped to serve in any capacity from desktop workstation to machine-room server. Web, ftp, and email servers are ready to go out of the box, as are a wide selection of popular desktop environments. A full range of development tools, editors, and current libraries is included for users who wish to develop or compile additional software.
Superb Mini Server

Superb Mini Server (SMS) is a Slackware-based server distribution with web, DNS, DHCP, file, print and fax servers, iptables firewall, mail server with spam filter and anti-virus scanner, and BitTorrent station. It also includes Webmin, a web-based administration tool, but no graphical desktop. SMS, which comes with Slackware's text-mode system installer, is built using Linux-Live scripts (from Slax) and can be used as a live CD for testing purposes.

Other good options:

Debian 6 "SQUEEZE" (Gnome 2.x) (XFCE LXDE Installs from CD) Supports i486
Install as Minimum Install & select the 486 Kernel
TinyCore 4.3 (XFCE)
Vector 7 (XFCE)
Slitaz
AntiX M11 IceWM Rox Default (Fluxbox, wmii and dwm also installed)
Arch Linux (XFCE) i686
Porteus 1.2 RC1 (XFCE)
Puppy


Control Battery Thresholds on X1 Carbon 4th Gen

Install TLP 0.9 from the PPA for better diagnostics on kernel modules.
You may uninstall the tp-smapi-dkms package. tp-smapi is not supported on your hardware (0.9 will tell you this).
See the FAQ how to load the acpi-call module manually and check the output for errors (add output to your question)
When 3. is unsuccessful try to reinstall the package, check (and add) the output too:

sudo apt-get install --reinstall acpi-call-dkms


Try your images in .png format.
Or use simple light dm manager with .png format images

http://www.ubuntugeek.com/simple-lightdm-manager.html


What are the differences between vim.basic and vim.tiny?

So, vim.basic is just plain vanilla Vim (as you can check with apt-file vim.basic or dpkg -S /usr/bin/vim.basic).

While vim.tiny, as the name implies, is a trimmed-down version of Vim (this question explains it further).

Kudos for @terdon at comments for sorting that out.


I copy the answer here. Sorry, I'm a newbie :-p

Hello, the exact device is: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01). In the meantime I found a resolution for that. Trying sudo apt-get install --reinstall bcmwl-kernel-source I realized that I needed to download the bcmwl-kernel-source package. Then I connected my notebook via Ethernet, went to Additional Driver and re-selected the Broadcom driver. Now it works! I hope someone else will find this useful. Thank you for your kind answers. :-)


Chrome icon replaced by New Tab - Google Chrome

They way I was able to fix this problem was to follow the instructions in the answer here!.


The OP added the following solution::

I added the following to each entry

su www-data www-data

Turns out it was a permissions issue


How to install OpenStack with NovaLXD on Ubuntu 16.04+

This is not a complete answer to this question, but my reason for trying OpenStack w/ NovaLXD was to create a virtual system for testing, and the following will achieve a similar result w/ conjure-up.

I used an amd64 KVM system w/ 8-cores and 32GB RAM.

For the most part, follow the Canonical OpenStack cluster installation instructions here: https://ubuntu.com/openstack/install#cluster-deployment

Make the following adjustments:

1) Minimum requirements

6 virtual nodes with the following:
1 core
4 GB RAM (any less starts causing failures) (I haven't completely confirmed that all services function normally with this amount)
1 40GB drive (note: the default conjure-up OpenStack configuration prefers two drives per node)
2 NICs are required

2) Set up your MAAS hardware

Create a 'maas' virtual network with DHCP disabled and NAT enabled.
I used Ubuntu 16.04.

6) Register your hardware with MAAS

If using KVM, the power configuration type will be virsh.
A maas user will need to be configured on the KVM host.
The maas user on the MAAS node will need to be able to SSH via public-key to the KVM host.
The Power Configuration parameter Virsh VM ID will be the VM UUID

11) Configure and deploy the OpenStack services

If you don't have two drives per node, then you'll need to change a ceph-osd parameter, devices to format and setup as OSD volumes, to include a local path. I chose /var/cluster/drive.


This worked for me:

wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/libg2c0_3.4.6-6ubuntu5_i386.deb
sudo dpkg -i --force-all libg2c0_3.4.6-6ubuntu5_i386.deb

I had to get it from an old release as it's no longer distributed with Ubuntu.


What is the Ubuntu equivalent of the Windows programs Belarc or PC Wizard?

I had a look at the link mentioned by izx and tried all the options suggested and the one that meets the needs of the question is System Profiler and Benchmark

https://apps.ubuntu.com/cat/applications/hardinfo/

It gives a huge amount of information for easily adding equipment to an inventory and more importantly it has the option to save it in HTML format.

I think that this is a legitimately different question that will help people looking for Ubuntu equivalents of two very popular Windows inventory applications Belarc and PC Wizard.


Cannot install Adobe Reader on 12.10 Unity

The first package depends on the second which depends on the third, etc. But when you get to the (6,7,) 8th one (acroread-common), it is not going to be installed because it conflicts with adobereader-enu:i386. Just sudo apt-get -f install forces the install and ignores the conflict.


How more than one engineers can code on a single machine

You should use a revision control system such as bzr or git, for your source code. Then everyone can work independently and merge there changes into the central repository. There are also commercial contracts available for https://launchpad.net/ for hosting private projects if you'd prefer to contract out maintaining such services.


Can't connect to my dsl connection in ubuntu 15.04

Do a:

sudo pppoeconf

then follow the instructions in the terminal. It will ask for a username and  password and other stuff.

Just answer yes if You don't know what to answer...


If you want to install deb packages without a Internet connection.

you can use dpkg -i <package name>

example:

Download the package that you want.

copy the package to your /home/<user> folder.

Run this command. I am only using PlayOnLinux_4.2.9.deb as an example your package name may be different.

sudo dpkg -i  PlayOnLinux_4.2.9.deb

You must know PlayOnLinux and other packages have dependencies and you wont be able to install offline unless you have all the dependencies for the package downloaded or installed.

These are the dependencies for PlayonLinux are.

unzip, wget, xterm | x-terminal-emulator, python, python-wxgtk2.8 | python-wxgtk3.0, imagemagick, cabextract, icoutils, p7zip-full, curl

How to find a package Depends run this command. package.deb being your package name

dpkg -I package.deb


How to cancel a release upgrade completely?

I don't know how you managed to get trusty to upgrade to Xenial, which is still not finished. Scheduled to be released on April 21st.

To revert the changes

In the Software & Updates go to the tab Other Software
enable all the Trusty packages,

or rename the xenial part to trusty.

To set it to a default setting do the following:

In the dash search for Software & Updates
Open Software & Updates
select the Updates tab
in the Notify me of a new Ubuntu Version, select For long-term support versions

This will only notify you when Xenial, the stable version, is out

  Note: None of this is recommended, and might break your system. Use at your own risk.

I'd recommended to do a full backup of everything and just do a clean install.

See the following Q/A for further information on how to rollback to a previous version of Ubuntu:

release management - How to roll back Ubuntu to a previous version?


Changing keyboard language doesn't work kubuntu 17.10

I don't know if you are talking of Ubuntu desktop or server but this is how I walked passed both situations with Ubuntu 17.10.
For Ubuntu desktop, → settings → region and language after selecting your languages, make sure u click on manage installed language to make sure they are  available for support. I combine "windows logo" key + "space" key to switch between languages.

And for Ubuntu server, you can use this command here (a similar response to your question). Following @steeldriver 's cmd approach, it worked for me, so I guess you will find something like pc / qwerty / Bulgarian / standard / standard amongst other layouts in your language(s). Hope it helps.


Where is Hamster time tracker in Bionic?

Seems like hamster-applet got removed from the universe repository starting with Ubuntu 18.04:
Ubuntu packages search results
This is probably related to their recent effort to completely refactor the application. You'll be able to find more info about their development status on the project homepages:

https://wiki.gnome.org/action/show/Projects/ProjectHamster
http://projecthamster.org/
https://github.com/projecthamster

The GitHub repositories above should also contain downloadable packages or at least instructions on how to get and install the application, for both the original project and the rewrite.

Update: If you examine the search link above now, it looks like starting with Groovy (20.10), there is a hamster-applet package again, but it is only transitional and all it does is to install the new hamster-time-tracker package instead, which seems to be the same thing, just named differently? At least it's based on the same source.
Check the package search results for that.


MacBookPro 11,5 - How do I get brightness control?

Wild guess here; on the previous version (macbookpro 11.3) you had to run

setpci -v -H1 -s 00:01.00 BRIDGE_CONTROL=0

maybe it's the same on this one?


12.04 NetworkManager trying to configure eth0 which is on a bridge

NetworkManager tries to manage eth0 because eth0 is not configured in /etc/network/interfaces.
To cause NetworkManager not to touch eth0, add the following stanza to /etc/network/interfaces.

iface eth0 inet manual
If you aren't using NetworkManager then you can safely remove network-manager.

By the way, there's an easier way to configure bridges in /e/n/i. Use the bridge_* options as illustrated in the answer by bodhi.zazen.


How do I define a file context options keyboard shortcut?

This shortcut works for me (assuming keyboards without the "menu" key): Shift + F10

Then you can use arrows to navigate up and down the context menu.


I fixed this by

Installing the Nvidia toolkik
Ran the install deps script as shown on http://wiki.blender.org/index.php/De...x/Ubuntu/CMake making sure to add the option it suggests when you run the script.
used the cmake GUI took to change the python version from 3.3 to 3.4
Added the flags suggested by the dependencies script
configured and wrote the make files
make
make install


How to continuously sync a folder between two Ubuntu servers?

You may want to look into GlusterFS.

GlusterFS is a distributed system, that allows data to live in many places. The file system handles synchronization. In essence what you want appears to be a replicated Gluster file system with two bricks. When you need to scale, you can simply add bricks to your Gluster environment.

In addition, Gluster has some neat features, so if you for performance reasons need more servers, you can specify that all data should be written to at least two places, but not more. The data will be available everywhere the GlusterFS is mounted.

Instead of describing the various modes of Gluster, I suggest that you have a look at the Architecture description they provide, which has some information on how to configure it.


How to add extra hard drive as apache webspace

It looks like you need a way to span a single file system across multiple physical volumes. I'll outline two approaches below.

LVM

You can set up a logical volume (using LVM) based on sdb1 and maybe parts of what is now sda4 and mount it at /var/www/vhosts/trexample.com.

To set up the logical volume using LVM see https://wiki.ubuntu.com/Lvm.
Format the logical volume with the desired file system.
Move the existing data to the new file system.
To mount the volume at the desired location upon boot see https://help.ubuntu.com/community/Fstab.

Btrfs

Some file systems support multiple underlying volumes natively. Btrfs is one of them and available in Ubuntu out of the box.

Shrink sda4 as needed and create a new partition in the newly freed space. Lets say the new partition is sda6.
Format sdb1 as a new, empty Btrfs file system and mount it:

mkfs.btrfs /dev/sdb1
mkdir /mnt/trexample.com
mount -t btrfs /dev/sdb1 /mnt/trexample.com

Add the other volume(s) to the file systems:

btrfs device add /dev/sda6 /mnt/trexample.com

Move the existing data to the new file system.
To mount the volume at the desired location upon boot see https://help.ubuntu.com/community/Fstab.


Wireless network adapter not working on Ubuntu

go to "software & updates" from the ubuntu dash, go to the additional drivers tab (furthest to the right), you should see a disabled driver that should be the one related to your network adapter. Enable it.


Netsend GUI tool for send and receive netsend message for `ubuntu 15.04`

This will not answer your question but answer your problem:

You can use instead :

beebeep: http://beebeep.sourceforge.net/ (multi-platform with a GUI)
tox: https://tox.im/ (skype like but encrypted and you can make your own node, multi-platform)
or you can setup an irc server and use regular IRC client.

BUT this means changing the other clients on the LAN too.


HD errors - boot failed again with Ubuntu 16.04

Sounds like an issue with faulty hardware.

Since you already did SMART self tests and found nothing wrong:

Try to update to latest BIOS version.

Check for bad RAM with memtest86+

Check for CPU errors with prime95.

You should also visually check your motherboard for visible issues like blown capacitors. It could even be your PSU.

Good luck!


Go to appearance from system>preference menu
Select Theme tab. use to select your theme. IF there is not theme then install new gtk theme.(It's easy. just download and drag and drop on appearance instance). If it does not work then open terminal and type
metacity --replace

if any unwanted error message shows then please provide the errors to help you more.


Red exclamation mark when attempting to resize HDD - gparted

The advice it gives is incorrect.  ntfsresize ( which gparted uses ) refuses to resize a volume that has flagged any clusters as bad.  Running chkdsk /b from Windows will test the blocks marked as bad and hopefully clear them, allowing you to proceed.  If not, then you may need to replace the disk.  In any case, you should open the disk utility and check the SMART health of the disk.


I'm guessing you want a 1px by 1px animation with each color in sequence?

It's pretty simple.
First use imagemagick to slice the image in individual frames. In this case - 1by1 images.

convert line.png -crop 1x1 +repage pixel_%04d.gif

Then with the same tool create animation from all the generated images:

convert -loop 0 -delay 2 ./pix* anim.gif

Adjust delay parameter to change animation speed (in 1/100 of second).

Here's your pixel: https://i.stack.imgur.com/NVA4T.gif

Resized:


mdk3 can be installed in Ubuntu 17.10 and later from the default Ubuntu repositories. Open the terminal and type:

sudo apt install mdk3

In earlier versions of Ubuntu manually download either mdk3_6.0-4_amd64.deb or mdk3_6.0-4_i386.deb depending on your OS's architecture. Open a terminal, use cd to change directories to the directory where mdk3_6.0-4_amd64.deb is located and install it using these commands:

sudo apt install aircrack-ng
sudo dpkg -i mdk3_6.0-4_amd64.deb