How Can I Fix My Resolution After Installing Nvidia Drivers?

What I recommend you is to use the proprietary nvidia drivers. The best way to do it is in recovery mode with network enabled or into tty console screen.

a. The first option recovery mode can be entered by choosing advanced options for elementary os from grub menu, then on the next screen the top option with [recovery] in its name. When it boots, from the menu there fisrt select enable network and then go to the root shell. Execute first apt update and if there are no connection errors, you can proceed with the numbered instructions below. You can omit sudo in the lines in recovery mode, because you are using the root shell.

b. You can access the tty screen once you are into pantheon greeter, but instead of typing your username/password into the boxes there you have to press ctr+alt+f1 (f1 - f6 will work) and then login into console mode.

Continue with the below commands only if you have working network - the easiest way to check this is by sudo apt update - if you have no network errors, you can continue.

1. remove all nvidia drivers previously installed

sudo apt purge nvidia*

if you do not have the purge command you can install it by sudo apt install purge.

2. Add the graphics-drivers team repository

sudo add-apt-repository ppa:graphics-drivers/ppa

Confirm adding it and the system should automaticaly execute apt update, if not - you have to execute it by typing sudo apt update

3. (optional) view a list of all drivers with the recommended one

sudo ubuntu-drivers devices

4.install automatically the recommended version

sudo ubuntu-drivers autoinstall

You can add comments if you have problems with this, and if it works for you, please accept this answer.


Dark mode doesn't work in system settings

Similar issue here, Has to do something with the new update, I know they've been working on dark mode override(per app dark mode preference). But still, have to wait for official statement.


elementary OS uses a service, systemd-resolved.service, to manage DNS lookups. This service is used by many Linux distributions, such as Ubuntu, the distribution on which elementary is built. Take a look at this similar question in the Unix & Linux Stack Exchange and see if this doesn't answer your question.

https://unix.stackexchange.com/questions/442598/how-to-configure-systemd-resolved-and-systemd-networkd-to-use-local-dns-server-f


I tried everything, but still I couldn't install elementary-tweaks on Loki

https://quassy.github.io/elementary-apps/elementary%20Tweaks/

In this website you can find the link to Launchpad, GitHub.
You can download the code and install it.
or straight run this

curl -sL  http://i-hate-farms.github.io/spores/install | sudo bash -
sudo apt-get install elementary-tweaks

Hope it can help you.


How can I open Terminal with a keyboard shortcut?

To open terminal press super + T

Super key = Windows key

EDIT:

To customize your shortcut key:

Open System settings -- > Keyboard --> Applications

Now  select terminal on right side of window, then just press the shortcut key you want to assign.

For example:

If you want to assign ctrl+Alt+T

After highlighting terminal on right side of window, press ctrl+Alt+T. That's it.


Super Key only for window overview - elementaryOS

You got the first part right, the name of the command for overview according to this post is:

dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:1

Simply replace your second command with the action like so:

gsettings set org.pantheon.desktop.gala.behavior overlay-action "'dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:1'"


Juno, sound work but headphone does not (alienware m17xr4)

Alienware laptops generally have "different" spec sound chips (as well as all sorts of other "gaming" optimisations) and so it is likely that the default sound drivers might not work. You might want to look at the drivers available and see if there is something that might work. A quick on-line search throws up this lot: https://www.dell.com/support/home/us/en/04/product-support/product/alienware-m17x-r4/drivers


Bluetooth not detecting any devices on Thinkpad T420s

Try resizing the "Device Search" window.

I was struggling in this same situation for long and for me the answer was simpler than I expected.


pantheon desktop takes a long time to load

This is probably a duplicate

Delay to Start Elementary OS 0.4 Loki (64-bit)

Try this:

mv /etc/xdg/autostart/at-spi-dbus-bus.desktop /etc/xdg/autostart/at-spi-dbus-bus.disabled


There is a known bug where this happens only after lock/suspend. Is this your case, or it behaves like this right after boot?


How do I try a Live System/Live CD before installing?

Yes, although a USB will be faster.

The following image is of the default start screen of elementary OS Freya 0.3 installer. You can either click the Try elementary button, or the small x in the top left-hand corner of the window (they both have the same effect).


Evolution Calendar doesn't show CalDAV events

I share your experience with CalDAV on Elementary, because even Elementary calendar does only show some of my CalDAV entries and not others.

I will file a bug report in the coming days and I would encourage you to do the same. You can do it here


Flutter development environment in elementary OS

I am here for share my experience with elementaryOS. I am installed the elementaryOS Juno version in my PC. Everything works fine. it's really fast and stable. I think it's better than Ubuntu OS for Flutter development. Sometimes bluetooth devices is not paired. This is the only problem i am facing in elementary OS.


File Association - Adobe Acrobat Reader (elementary OS - Loki)

Adobe Acrobat Reader is not supported for Linux.

There’s a build in app for PDFs in elementary (In my opinion better than adobe reader).
You can also try other alternative apps - just google it (first website that comes up). Calibre and Okular are pretty popular for example.


After change, how can I see the output of changed code? Do I have to build each time?

Yes, that's how compiled languages work. Note, however, that the build system will skip a lot of work it doesn't have to do; only generated C code that changes between compilations needs to be recompiled. Also, you can parallelize the build by running make -j instead of make.

Practically speaking, compile times for a small program like that are very quick. It depends on your CPU, but we're talking maybe a couple of seconds for an incremental build.

  Let's say after 50 changes I am satisfies now with modified code? How can I install that app so it always give me updated ( with 50 changes ) version of app?

If you've passed the right options to CMake, you can just sudo make install to install system-wide. However, most experienced developers I know prefer to stick to the packaged versions for their system wide install when possible. jhbuild makes for a great development environment if you have multiple bleeding-edge components which need to work together.


In Settings/Displays the two displays should show up in red and blue with their relative positions. There is a gold star in the left top corner to choose which will be the primary monitor, ie has the wing panel in it. The black cogwheel in the right corner is for Configure Display, and will let you choose the display resolution up to the monitor's maximum. Make sure that you do not click on Mirror display.


It's saying that particular PPA doesn't yet support Juno (Bionic/18.04).

Remove the files /etc/apt/sources.list.d/ubuntu-wine* and you should be able to update again.


Type in terminal to remove qemu-kvm:
sudo apt-get purge qemu-system-common

Then type to restart:
sudo systemctl reboot

If you do not want to remove qemu-kvm then type :
sudo systemctl stop qemu-kvm

Then type:
sudo systemctl disable qemu-kvm

Then type :
sudo systemctl mask qemu-kvm

Check status of qemu-kvm:
sudo systemctl status qemu-kvm

To restart:
sudo systemctl reboot


Can't copy & paste file from comp to usb

gksudo nautilus won't work, since elementary OS does not come with Nautilus file manager.

But there's an equivalent to that. Go to Applications, right click on Files, select New Window as Administrator, and enter your password. Then try pasting the file.


after googling your repository i deduced that you want to install facebook messenger desktop :)

so follow these instructions as said on github

sudo apt-key adv --keyserver pool.sks-keyservers.net --recv 6DDA23616E3FE905FFDA152AE61DA9241537994D

2nd step, he said replace  with stable, beta or dev so result can be (the recommended one is stable but you can also try the dev or beta one and you can uninstall it if it has a problem :

echo "deb https://dl.bintray.com/aluxian/deb/ stable main" |
  sudo tee -a /etc/apt/sources.list.d/aluxian.list

or

echo "deb https://dl.bintray.com/aluxian/deb/ beta main" |
  sudo tee -a /etc/apt/sources.list.d/aluxian.list

or

echo "deb https://dl.bintray.com/aluxian/deb/ dev main" |
  sudo tee -a /etc/apt/sources.list.d/aluxian.list

after that:

sudo apt update
sudo apt install messengerfordesktop


i can't update anymore with the App store

In order to prevent this error you have to comment the line in your sources.list which asks for a CD Rom. An option to achieve this is by using command line.
1. Create a backup of the file first
Open your terminal application and paste or type the line
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

The system will ask for your administrator password, you have to type it. If there is no error message, continue with the next step:
2. Comment out the line which asks for CD rom
Type or paste into termimnal:
sudoedit /etc/apt/sources.list

and you will be into text edit mode of the system file I mentioned above. Using arrow keys of your keyboard you have to navigate to the line which starts with deb cdrom:[elementary OS .. and put the # sign in front of it in order to became #deb cdrom:[elementary OS.. or # deb cdrom:[elementary OS... Press ctl+o to save and then ctl+x to quit the application.


How do I remove build-in docklets from Plank?

drag 'Desktop' icon from dock to somewhere else.


How can I turn off bluetooth while being able to turn it on from the indicator later?

I had this problem as well. The solution for me was that I actually have a "soft" hardware key for bluetooth on my F10 key. If I have the bluetooth turned on there then btusb shows up at 100% in powertop regardless of software setting. Using the function key will turn it on and off correctly.


the system network services are not compatible with this version - permanent fix

The update is currently in the "proposed" repository, which is used for testing updates. I think it is relatively safe to say that this specific one won't be making it into "main" anytime soon. Once another testing version is released, it will stop your network breaking from that repository, although I would never class "proposed" as "safe".

libnl is described as a "library for dealing with netlink sockets" at the Ubuntu Package site.
genl is a "library for dealing with netlink sockets - generic netlink" and route is a "library for dealing with netlink sockets - route interface".


This worked perfectly:

apt-get install software-properties-common

sudo add-apt-repository ppa:bitcoin/bitcoin

sudo apt-get update

sudo apt-get install bitcoin-qt


Boxes, also known as GNOME Boxes is an application of the GNOME Desktop Environment, used to access remote or virtual systems. (wiki)

you should install underlying nessesary tools (in this case qemu)

sudo apt install qemu-system


Resolution in Zoom meeting app larger than desktop resolution

For anyone else that might experience this, here's the answer I learned:

I ended up creating a file at ~/.config/zoomus.conf:
[General]
autoScale=false


Files crash when copy and paste not empty folder with russian language in Juno

There is a merge request in progress that will fix this problem (at least stop the crash) despite of faulty Russian translations.  I will check whether it is possible to fix the faulty Russian translations by a PR rather than Weblate.


Loki's file manager repeatedly creates a random ~/.config/dconf/user file

Files stores a number of settings in the ~./config/user file (run dconf-editor and navigate to  org/pantheon/files to see them).  Some of these settings are updated in real time as you change e.g. the zoom level or show/hide hidden files.

However, I have discovered using inotifywatch that this file is continually changing, as you report, while Files is open even with no user interaction so this appears to be a bug. I will raise it in Launchpad.


Fuzzy double icon for some applications on plank

I have exactly the same problem.
I've also noticed that apps installed as flatpaks from the get-go are more likely not to have such behavior, but if you first installed the app from a repo than deleted it and installed the same, but from flathub this time, the issue with duplicated, blurry icons takes place. I remember back in the day of elementary OS 0.2 Luna there was the same kind of problem with regular Google Chrome installed from Google website.


Is there a way to bring the icons in upper tray closer?

Ayatana indicators for apps , tlp, tlp UI , slimbook battery - works on DELL not only Slimbooks. It should work on all laptops.

Copy all bolded text below:

mkdir -p ~/.config/autostart && cp /etc/xdg/autostart/indicator-application.desktop ~/.config/autostart/ && sed -i 's/^OnlyShowIn.*/OnlyShowIn=Unity;GNOME;Pantheon;/' ~/.config/autostart/indicator-application.desktop && wget http://ppa.launchpad.net/elementary-os/stable/ubuntu/pool/main/w/wingpanel-indicator-ayatana/wingpanel-indicator-ayatana_2.0.3+r27+pkg17~ubuntu0.4.1.1_amd64.deb && sudo dpkg -i wingpanel-indicator-ayatana_2.0.3+r27+pkg17~ubuntu0.4.1.1_amd64.deb && systemctl reboot

then type in terminal

cd /home/yourusername

sudo vi indicators.sh

press ins button to go into insert mode

press ctrl+shift+v to paste

press esc button to escape insert mode

type

:wq

this will write and quit the file

then type

sudo chmod +x indicators.sh

then type

./indicators.sh

script will run, install ayatana and restart the machine

Works in hera 5.1

For double wi-fi icon

mv /etc/xdg/autostart/nm-applet.desktop /etc/xdg/autostart/nm-applet.desktop.old

Additional gift for battery saver. Requires tlp to work

sudo apt update

sudo apt install tlp

sudo add-apt-repository ppa:slimbook/slimbook

sudo apt update

sudo apt install slimbookbattery

sudo apt install gnome-shell-extension-appindicator

If you need also tlp UI

then type in terminal:

sudo add-apt-repository ppa:linuxuprising/apps

sudo apt install tlpui

to remove slimbook battery and app indicator

sudo apt remove --autoremove slimbookbattery gnome-shell-extension-appindicator

to remove tlp

sudo apt remove --autoremove tlp

to remove tlp UI:

sudo apt remove --autoremove tlpui

How to remove gaps between icons in wing panel a tutorial

1 - Install the wingpanel indicator mentioned in previous post

2 - Download libayatana_compatibility.so.zip from here: libayatana_compatibility.so.zip and unzip it

Open terminal and go to Downloads

cd /home/username/Downloads

unzip libayatana_compatibility.so.zip

3 - Go To (with sudo) /usr/lib/x86_64-linux-gnu/wingpanel/

sudo -i

Type your sudo user password

cd /usr/lib/x86_64-linux-gnu/wingpanel/

4 - Backup your libayatana_compatibility.so

mv libayatana_compatibility.so libayatana_compatibility.backup

5 - Replace the libayatana_compatibility.so with the zipped one

cp /home/username/Downloads/libayatana-compatibility.so /usr/lib/x86_64-linux-gnu/wingpanel/

6 - reboot

systemctl reboot

source

https://github.com/mdh34/elementary-indicators/issues/1

this works to me with no problem.


Fixed issue by using BalenaEtcher to create elementary OS live USB drive instead of Rufus (both windows version) and used a different flash drive


You can change the icon of dota 2 going to

  ~/.local/share/applications

and opening

  Dota 2.desktop

with a text editor like gedit or scratch, change this line

  Icon=steam

to this

  Icon=steam_icon_570

also, put this at the end of the file

  StartupWMClass=dota2

and save the file.

If your dota 2 icon is a gear, you can install elementary community icons from https://github.com/mank319/elementaryPlus, follow the instructions there and you will have a nice dota 2 icon.

Sorry for my english.

Sources:

https://steamcommunity.com/app/570/discussions/0/46476145209393444/

One of my apps has a second, fuzzy icon in Plank. How can I workaround this?


Try to connect devices by "bluetooth settings" (not just klicking "Connect" in the top bar - this will make it appear to connect but it doesn't connect). Google the "pin option" for your devices, I think it is 0000 but I am not sure.
This way I have connected magic mouse, track pad, and apple wireless keyboard on a pc usually being a hackintosh. Just the mouse gives me still trouble, see "Magic mouse connection issues on PC"
Hope that helps


Unable to install mongodb community server on elementary OS 5.1 Hera

You may have to remove the existing mongodb package from Ubuntu entirely.
According to this AskUbuntu answer, completely remove the existing installation from Ubuntu's repository.
$ sudo apt-get purge mongodb mongodb-server mongodb-server-core mongodb-clients
$ sudo apt-get purge mongodb-org
$ sudo apt-get autoremove

Then install the community edition.
$ sudo apt-get update
$ sudo apt-get install mongodb-org


How can I re-install the Software & Updates app?

You must open a terminal and write:

sudo apt-get update
sudo apt-get install software-properties-gtk


Elementary OS Loki hangs during shutdown

I could tell you to downgrade systemd right away, but you will be able to do it only to the first release not the last update. You'll miss a lot of fixes with it, check the changelog below for more details.

http://changelogs.ubuntu.com/changelogs/pool/main/s/systemd/systemd_229-4ubuntu21.10/changelog

I recommend you to report this to:

https://bugs.launchpad.net/ubuntu/+source/systemd

, and then decide what to do.

Now If you want to test to downgrade systemd anyway...

Run:

sudo apt install systemd=229-4ubuntu4

Hold that version:

sudo apt-mark hold systemd

You'll probably have some unmet dependencies like libsystemd0

Just add that dependency to the line

sudo apt install systemd=229-4ubuntu4 libsystemd0=<version_needed>


I had the same issue.
Apparmor is blocking the bind of a unix-socket at /tmp/
You can whitelist that by adding the following line to /etc/apparmor.d/lightdm-guest-session:
unix (bind, listen) type=stream addr="@/tmp/applications-menu-*",


You have 2 issues here.

1. W: Target Packages * is configured multiple times in /etc/apt/sources.list...

Since you have issues in sources.list only, fixing this is easy. Follow one of the 3 methods to fix the issue:

Identify and delete duplicate entries: In your installation duplicate entries are at line 57, 68, 78, 62, 70, 80, 88, 98, 100 and 102. Run,

sudo sed -i '57d;68d;78d;62d;70d;80d;88d;98d,100d;102d' /etc/apt/sources.list

Recreate sources.list: Delete old sources.list using sudo rm /etc/apt/sources.list. To recreate repository information you can either,

Go to software-properties-gtk, select components and save.

OR

Since you need to restore default repository information in sources.list, you can do that by running:

sudo nano /etc/apt/sources.list

Add these lines:

deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse

Save using Ctrl+X followed by Y.

Follow David's Script

2. E: The repository * does not have a Release file.

Most of the repositories here in the error don't know "juno". You need to fix that. Either remove the repositories using Other Software tab in software-properties-gtk or if you want to use those PPA replace "juno" with "bionic" since juno is based on Ubuntu Bionic (18.04) and added repositories know what is bionic. To do so, follow either of the two methods.

GUI method: Open software-properties-gtk, go to Other Software tab and edit the reposiories. Replace juno with bionic.
CLI method: You can do this using sed, just run

sudo sed -i 's/juno/bionic/g' /etc/apt/sources.list /etc/apt/sources.list.d/*

and you're done.

Once you're done, run sudo apt update in terminal and try relaunching app center.


Elementary OS is freezing after some time of use

Hello and welcome to the large family of Optimus-enabled-elementary-powered-laptop users, I too own a slightly similar model (Asus K53SD, i3-2350M, nVidia GeForce 610M, 6GB RAM) and had it happily spew Xorg errors and kernel panics for a long time. The laptop ran very hot all the time, even idle, and the battery drained at an alarming rate. The general idea was that both graphic cards were active, and they were both trying to access the same resources.

The solution was to upgrade the kernel and install the appropriate nVidia driver from the Ubuntu drivers PPA. BUT the thing is, not any combination will work, for me it was a trial-and-error process: upgrade to a certain kernel, install an nVidia driver from the ppa, check functionality, fail, purge driver, install next one, and so on. It took a while, but got lucky and managed to find a very stable combination:

Kernel 4.8.0-040800rc6-generic
nvidia-370

I know the kernel is a Release Candidate, but it's the only one that worked for me, the machine behaves exemplary, and frankly I've been quite reluctant to try another upgrade, for it might break everything. So these are my steps, proceed with care:

Kernel upgrade:

mkdir upgrade

cd upgrade

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8-rc6/linux-headers-4.8.0-040800rc6_4.8.0-040800rc6.201609121119_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8-rc6/linux-headers-4.8.0-040800rc6-generic_4.8.0-040800rc6.201609121119_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8-rc6/linux-image-4.8.0-040800rc6-generic_4.8.0-040800rc6.201609121119_amd64.deb

sudo dpkg -i *.deb

sudo reboot
Add Ubuntu drivers repository:

sudo add-apt-repository ppa:graphics-drivers/ppa

sudo apt update
Install nVidia driver:

sudo apt install nvidia-370 nvidia-settings nvidia-prime

sudo reboot

At this point, there's a 50% chance you might end up with a black
screen. If this is the case, open a tty console (Ctrl + Alt + F1
in the black screen), login with your user and password, and:

sudo apt purge nvidia*

sudo reboot

Now you should have a functional nVidia driver. From the Applications menu run NVIDIA X Server Settings, select PRIME Profiles and make sure Intel (Power Saving Mode) is selected. If not, select it and relog.
If the black screen after reboot happens, you just have to try a newer driver from the ppa (replace nvidia-370 in the command above with something else: nvidia-375, nvidia-378). Ultimately, you might have to try a different kernel.
PRIME Profiles will allow you to manually switch between graphics cards, as needed. Using Intel will increase battery duration and keep your laptop cool, using nVidia will make games run better.


There's a message on this mailing list that seems to describe your issue.

It would seem that the solution should be to install "qml-module-qtqml-models2". You could do so with the following command:

sudo apt install qml-module-qtqml-models2


Problem after suspend / black screen (Intel Skylake)

OK, so it looks like the problem is caused by missing drivers for the AMD Radeon R5 M335 graphics card. You can solve it by activating the proprietary drivers for AMD Radeon graphics card (called fglrx). You can choose between fglrx and the open source xorg drivers in the additional drivers tab of the update settings. After fglrx has been installed, the problem doesn't occur anymore.

So it looks like either the Xorg drivers - which are activated by default - do not work with an AMD Radeon M335, or the problem is the Intel Skylake graphics chipset because the AMD card isn't detected/activated at all without the fglrx drivers (this might be the case because when I ran "lspci -nnk | grep "VGA\|'Kern'\|3D\|Display" -A2" the AMD Radeon card wasn't detected at all, but I can't tell for sure).


How to get application menus in elementary OS?

elementary apps don't have menu bars.

In fact, most modern apps don't have menu bars. Chrome, GNOME, elementary, Metro apps on Windows 10, iOS and Android.

Saving is done automatically, exiting is the same as closing, and any other functionality that might be missing is usually in a more accessible button, maybe a popover or slide.


How to change default webcam in the camera app?

This currenty is not possible, but there already is a bug report filed on Launchpad. You could sign in here and press the "This bug affects me too" button, so the problem get's more attention.

You could try Cheese in the meantime, which does support multiple webcams.
You can install it by typing this in the terminal:

sudo apt-get install cheese

Or you could install it with the softwarecenter.


How can I take screenshots with a delay?

Yup, there is. Simply open the Screenshot program and change "Grab after a delay of X seconds".


How to change keyboard shortcut settings from the terminal

gsettings set org.gnome.settings-daemon.plugins.media-keys home "'f'"
Was the correct command


As explained here, hash sum mismatch errors are usually more typical for clients behind proxy caches. To solve the issue, remove all the content of /var/lib/apt/lists directory:
Type in the terminal:
sudo rm -rf /var/lib/apt/lists/*

then type:
sudo apt update && sudo apt upgrade

It should solve the issue. Ask your Internet Service Provider do they use some proxy. If yes. Then ask can they disable proxy for you.


LTE modem Fibocom L830-EB on ThinkPad T480s

Perhaps the firmware version of the Fibocom cat6 L830-EB 4G LTE is not compatible with the OS.


I fixed it already. Just had to run:

sudo dpkg --configure -a
sudo apt update


Startup applications: open programs in background mode

I'm not sure what you intend, but if you want Mail to run in the background without opening the window, just set Preferences > Always watch for new mail. And this way you can remove Mail from startup applications.


You can try use fingerprint-gui

it is little old post in Ubuntu StackExchange but you can follow this discution here


You're in the right track on installation of Flatpak on Elementary as indicated on their guide. You might not be aware of it, but add-apt-repository is disabled by default on Elementary (to avoid reckless installation of PPAs). Workaround for that situation have been posted multiple times on this site.

Basically, you can enable it via:

sudo apt-get install software-properties-common

After that, you can proceed to the usual Flatpak installation steps.


You can just install "Software & Updates" from the app center & uncheck the appropriate repository. In this case, i-hate-farms.github

https://elementaryos.stackexchange.com/a/7684/17853


Missing or invalid PGP blocking updates on Elementary OS

Interesting thing; posted message, few mins later Updates available popped up, 121 updates installed with no issue.

Perhaps a daemon fixed it.  ;-)


Can I swap the close bottons from left to right: Gnome

Installing elementary tweaks would be an easy graphical solution of customizing your system.

Here's a link to the git repo https://github.com/elementary-tweaks/elementary-tweaks

It is true that elementary os loki does block customization by not having the
software-properties-common package preinstalled. Without this package you cannot a PPA to your system.

Installing elementary-tweaks

sudo apt-get install software-properties-common

sudo add-apt-repository ppa:philip.scott/elementary-tweaks

sudo apt-get update

sudo apt-get install elementary-tweaks


Grub Rescue Madness after deleting Elementary OS

I had the same problem once I got rid of Ubuntu from my laptop which had dual boot. The problem is caused because grub is also removed along with the Linux distribution preventing you from booting to either Windows or your Linux distribution.

If all you want to do is to boot to Windows directly, you could do the following:

insert Windows CD
go to recovery mode
open command prompt
type the following commands:

Bootrec /fixmbr
Bootrec /fixboot

You should be able to boot directly to Windows after this.


How can I change the default Terminal app?

You can set the default terminal by changing the alternative for x-terminal-emulator. Installing gnome-terminal creates an alternative symlink so all you have to do is set it.

sudo update-alternatives --set x-terminal-emulator /usr/bin/gnome-terminal.wrapper

Edit: It seems like the shortcut implementation is not using the alternative, but rather a gsettings configuration. It's still a good idea to set the alternative symlink above, however, to use the keyboard shortcut some gsettings properties will need to be modified. Use dconf-editor (sudo apt-get install dconf-editor) or gsettings to change the default terminal application to gnome-terminal. You will need to modify the exec and exec-arg properties in the org.gnome.desktop.default-applications.terminal schema.

gsettings set org.gnome.desktop.default-applications.terminal exec gnome-terminal
gsettings set org.gnome.desktop.default-applications.terminal exec-arg ''


Does elementary OS feature outdated packages?

Depends what distribution you're comparing elementary OS with. Comparing with Arch and derivatives the packages are outdated, simply because elementary is stable and not bleeding edge.

Comparing with Ubuntu, elementary OS freya uses the same repositories as Ubuntu 14.04 for most of it's software including the kernel (3.16).

Within the Ubuntu world you could say elementary isn't outdated - it even features a more recent gtk package than Ubuntu unity/gnome 14.04.

Most software is available in ppas for trusty and therefore elementary OS, including the latest nVidia Drivers, xorg and many others.

Also, Ubuntu 14.04.3 should be released in August, which may bring us kernel 3.19 and lots of other improvements.

So, overall, yes, elementary is generally distant from bleeding edge distributions in package update, but it is on par with the Ubuntu environment, and if you wish to have fresher packages there are a lot of ppas dedicated to that purpose.


The guest session won't show any name unless you select it.

About the rest, It seems that the bug is related to your graphics card. You need to install the correct driver. Go into any tty (Ctrl + Alt + F1 - F6) and log in. First, update your system:

 sudo apt update && sudo apt upgrade

Then do (just one of the following lines):

sudo apt install nvidia-prime nvidia-current nvidia-settings

or if you prefer the latest stable driver:

sudo apt install nvidia-prime nvidia-367 nvidia-settings


Keyboard Shortcuts: Set F1-F12 as shortcut without key combination

Sorted by installing Dconf-editor.

All the custom keyboard shortcuts settings are stored in the dconf database.

You can easily access them with dconf-editor:

sudo apt-get install dconf-editor

Then go to the following dconf path in the editor:

/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/

and change manually!


Bluetooth Tray Icon Disappears and Reappears Intermittently

This happens to me when i use Ayatana (tray icons) and use more than two extra icons. For example, i use Megasync and system-monitor icons. If i add another (telegram icon for example), bluetooth icon disappears.
Are you using ayatana indicators?


Can I force full screen mode for any application?

You definitely can for gVim. I think this works on most apps, including ones that don't have a full screen mode, for example System Settings.

Open up System Settings and click Keyboard and then check you are on the Shortcuts Tab and Windows is selected in the sidebar:

Then click on the "Disabled" text in line with the Toggle Full Screen and press a shortcut key of your choice.

I went for Ctrl + Alt + 9 as it worked in gVim. You could go for something else, but I'd advise against F11 - or any Function key.

Then you can easily toggle full screen on any app:


The last answer I found from the founder on this question was no. See https://elementaryos.stackexchange.com/a/9571/14430

I too would love this. They disappear much too fast.


Delayed event notifications in native calendar app

Type in terminal :
timedatectl list-timezones
sudo timedatectl set-timezone <your_time_zone>

To verify type:
sudo timedatectl


How can I tell what is making Elementary Loki slow in my laptop (Intel Core i3, 4Gb RAM)

One terminal command you can use is called 'top'. The link is here. I personally would use that and leave the terminal window open and just monitor it to see what process is causing the issue. This will at least give you an idea to where to start looking.


Black screen or kernel panic after suspend?

I solved my problem by updating the kernel to the latest version (4.6.5) following these instructions:

  To Install and upgrade Linux Kernel 4.6.5 (Stable) on Ubuntu 16.04
  Xenial Xerus, Ubuntu 15.10 wily werewolf, Ubuntu 15.04 vivid Vervet,
  ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr (LTS), Linux
  Mint 17.1, Linux Mint 17.2, Linux Mint 17.3 and other Ubuntu
  derivative systems, open a new Terminal window and bash (get it?) in
  the following commands:

wget http://in4serv.com.br/backup/kernel-4.6.5

sudo chmod +x kernel-4.6.5

./kernel-4.6.5

  After Download and installation kernel 4.6.5 is finished, you must
  reboot your ubuntu system to change boot latest kernel :

sudo reboot

  Booting, and check your ubuntu kernel version

uname -a

Source: Update to Linux Kernel 4.6.5 (stable) on Linux Mint / Elementary OS / Ubuntu Derivatives


installed nautilus and cinnamon files on the appcenter, now i can't delete them

Use terminal and type:
sudo apt remove --purge nameoftheapp

For example:
sudo apt remove --purge nautilus
sudo apt remove --purge cinnamon


remote desktop/ screensharing in Elementary OS. Chrome remote only option?

Have you looked at (TeamViewer)? While I haven't used it on Elementary OS I did use it on Ubuntu a while ago and as I recall it seemed to work well. Just download the 64bit .deb file and install it with Eddy, gdebi, or dpkg.


I had a similar problem to this, headphones didn't work automatically but they appeared in Switchboard under sound, there I could switch to them and they worked normally, try doing this first.

If it works then to make this happen automatically when you connect them open the file /etc/pulse/default.pa as root and add the following line to the end:

load-module module-switch-on-connect

Then reboot or run the command pacmd load-module module-switch-on-connect


Where is the option to add online accounts listed? It certainly isn't under settings in my system!

Online accounts hasn't been released into stable yet. You won't have it on a clean install. It's still in development.


How to view all existing user of my system?

It is normal for your system to have some system users and system users are usually not listed in the user accounts under system settings. To check them execute the following command in terminal,

sudo cat /etc/passwd

If you are currently logged in with the root account you can ignore the term sudo which is used to give a user superuser permission.


How can I change the Login Screen Keyboard to Dvorak-fr

The following solution works fine for me:

First open Language & region and add required language and layout.
Now open terminal and run:

sudo dpkg-reconfigure keyboard-configuration

Then it asks to select the following options:

Keyboard model: Press Enter
Country of origin for the keyboard: Select  French and press Enter

Keyboard layout: Select French - French (dvorak) and press Enter

From now press  Enter and continue for remaining options till end.
Now reboot the system.


Why does the trash can in Plank open Code instead of Files?

Maybe Code is overriding Files' association to open folders (inode/directory)?

Yes, that is the case. Both have an association with inode/directory in their .desktop file. Somehow Code's association gets priority (my guess is either it goes to the most recently updated application or the one with the name in the earliest alphanumerical order).
This can be demonstrated by uninstalling Code, and observing that the trash can in Plank resumes opening Files to view the Trash folder; then reinstalling Code and observing that the trash can in Plank again opens Code.

To work around the problem, remove the inode/directory; association from Code's .desktop file, and update the mimetype cache:
Find this line in /usr/share/applications/io.elementary.code.desktop:
MimeType=text/plain;inode/directory;

Change it to:
MimeType=text/plain;

Then run (SUID):
# update-desktop-database

Note that subsequent upgrades of Code will undo this fix (unless I can convince upstream to remove the association).
To keep it, copy the edited .desktop file for Code to ~/.local/share/applications/io.elementary.code.desktop, creating an override:
cp {/usr,~/.local}/share/applications/io.elementary.code.desktop

To select Code from Files' "Open in.." context menu, you need a secondary--masked--.desktop file:
.local/share/applications/open-pantheon-code-here.desktop
See it in action here.


question about how to feedback a bug,and I have a question about setting window

This is indeed quite difficult, but it also makes somewhat sense since there are so many components that make an OS.

All parts specifically made for Elementary should be hosted under their Github organization: https://github.com/elementary.
"Pages" of system settings (the switchboard project) are called "plugs", the networking plug for example is:
https://github.com/elementary/switchboard-plug-networking


Secondary screen gets locked when a full screen program opens on it

This has been recently fixed: https://github.com/elementary/gala/issues/404

Waiting for the fix update :)


How to reset to default the Photo editor that is pre-installed in elemtary os?

Right Click to a picture that you desire to associate, Open With. Then select "Other Application" (even if you see the default photo viewer there!).

Now select "Photo Viewer" and check the "Set as default" box below as you can see on this image:


If alt + tab fails, try pressing super + A or super + W instead. They will bring up the multi tasking view.


Connecting to DSL Modem with Ethernet cable

Welcome in the elementary OS community.

For your Xfinity router/modem, I invite you to check if it is DHCP, you can do this in the control panel of your hardware.

If you need the user manual, I think this link will help you

https://www.xfinity.com/support/articles/usermanuals

For your motherboard apparently you have this network card : Phantom Gaming 2.5G LAN, Intel® Gigabit LAN

For information, on elementary OS there is no change of the network icon when connected in ETHERNET, as on Windows.

After verifying that your router is in DHCP I invite you to do this on the command line

# check if your ethernet has an ip
$ ip add

if that's ok, try to see if you ping a website

$ ping elementaryos.stackexchange.com

for now I can only give you this as the beginning of answer


If you're using loki search for your printer in this site http://download.ebz.epson.net/dsc/search/01/search/ and then download this three files:

ESC/P-R Driver amd64 deb

Epson Printer Utility amd64 deb

All-in-one package Ubuntu 16.04 64-bit

Put them on the Downloads folder.

Install the gdebi package:

sudo apt-get update

sudo apt-get install gdebi

Install by the order above the first two files:

sudo apt-get update

sudo gdebi Downloads/"file name".deb

sudo apt-get update

Install the third file by doing this:

sudo apt-get update

cd Downloads

tar xavf "file name".deb.tar.gz

This will create a new folder.

cd "new folder name"

./install.sh

sudo apt-get update

reboot the computer and your printer should be working


How would I go about moving /usr to a different partition

Moving the directory to a different partition won't work. The best solution would probably be to do this during the installation process.

You need to create 3 separate partitions, 1 on the SSD with / mountpoint and the other two on the hard drive with mount points /usr and /snap.

It is also a good practise to have /home directory on a separate partion, it helps a lot when reinstalling os or changing a linux distro. And it's also good to have a Swap partition.

I wouldn't recommend doing this on a running system.

For more info on this you can see
https://wiki.archlinux.org/index.php/partitioning#Partition_scheme


VSCode Integrated Terminal does not work in elementary OS Juno

I was having problems using zsh on VSCode too. Following these steps here from  Farhan Madani kinda solve my problem, as you can see...

These fonts are not entirely perfect (don't know why yet), but do the work.
In addition, I've just been reading the powerlevel10K instructions again with more attention, and found their font recomendation. After install all fonts they recommend it seems more ok now. Some icons seem to be less cut, but I think it is better now.


Unable to enter eOS after restoring snapshot in TimeShift

Depends on the SECURE BOOT BIOS which you are using ... you need to set a new value for the  restored partitions which currently dont pass the verifiction of your secure boot.


Bluetooth missing in tray icons and Settings app in Juno?

I figured it out!

I totally ruled this out because I didn't think it would be at all related but when I turned off my WiFi (because I moved to a wired connection) it disabled Bluetooth along with it. I enabled WiFi again and restarted and Bluetooth is back.


Is it possible to get smart window placement?

Short answer, no.

Long answer:

It is not an option in gala, elementary OS' default window manager. You can install other window mangers and replace gala with something like compiz by editing
/usr/share/gnome-session/sessions/pantheon.session

Gala is pretty central to elementary OS. If you try using another window manager you are likely to experience issues. I installed compiz on my laptop just to see what would happen. It sort of works. There is no desktop background and wingpanel segfaults. Plank loads but doesn't hide properly. Perhaps with enough tweaking it could be made usable.


Firefox open containing folder cannot find location

This bug has been fixed in elementary Juno.


Anaconda Navigator installed successfully but not opening in Elementary OS Hera. How can we resolve this?

I don't think you're supposed to run anaconda-navigator as root.
You'll want to make sure that you have installed the application as a normal user and not as root.
So don't prefix the command to run the installer with sudo but just run it with your current user's permissions.
Once you're installed, try activating the Anaconda virtual environment before and then running the application.
This should add the program to your PATH.
The steps below activate Anaconda's virtual environment and start anaconda-navigator.

If you installed Anaconda in your home directory in a folder called anaconda3, the default location, then use the following command.

source ~/anaconda3/bin/activate

Now run anaconda-navigator.

anaconda-navigator

This worked for me.


EACCES indicates a permission error generally, double check who owns your global node_modules folder in /usr/lib and try to either install with those permissions, or chown the dir.


Based on the response here, I'm concluding that there is no direct way to interact with the DOM in WebKit2GTK. The work around is to use the following:

Run a javascript function using WebView.run_javascript
Within the javascript function, assign the result to document.title
Fetch the results back using the WebView.get_title()

Seems a bit roundabout way, but it works.


eOS 5.1 on new machine WIFI only works after suspend

it looks like there is a way to force antenna selection for that driver.

Check out this post:


I'm thinking of completely uninstalling Windows 10 and using Elementary OS full time but I have a couple questions

I can't speak to your specific issues, but Windows driver issues made me switch to elementary OS.  I went from several major, unresolvable issues to just a few minor annoyances without needing to do anything special.

Before uninstalling Windows, put elementary on a thumb drive and try it out in Live CD mode.  It will run slower than when natively installed, but you can test the environment first.  Here's the support page if you need more info (you don't have to only use Rufus):

https://elementary.io/docs/installation#install-on-windows

While elementary runs fine out of the box, you'll find it takes more tinkering than Windows to get everything looking and working how you prefer.  But that's kinda the point -- you can do a lot of customizing.

Good luck!


Well, quoting this awesome answer on askubuntu, you have to mark the packages on hold:

sudo apt-mark hold libnl-3-200 libnl-genl-3-200 libnl-route-3-200

That worked for me really great


Maybe because of this?:

What's New?

Fully updated and working to reflect the changes of elementary OS
Juno
elementary-tweaks now looks more "elementary"! We've rebuilt elementary tweaks > from the ground up to make it look like a native plug for your system's settings.
Fixed: Removed theme-patcher and other more dangerous settings that were causing problems


I found an answer here.

Elementary OS has the Gnome Control Center installed, but it's kind of hidden. You can try to open it from the command line with gnome-control-center but it's blank. I first tried installing Gnome Online Accounts with this:

sudo apt install gnome-online-accounts

That didn't resolve the situation. Then I found the solution I've linked to:

  Essentially the gnome control center only works when the desktop environment is Gnome. The command provided above sets the current environment to Gnome then opens the gnome-control-center inside of that environment. Allowing it to load properly.

So it'll work if you run this:

env XDG_CURRENT_DESKTOP=GNOME gnome-control-center


How to change or remove keyrings on elementary OS

Option 1: Manage with Seahorse

Typically, matching your keyring password to your login password will unlock your keyring at logon (unless the logon is automatic). You can install the management application seahorse to modify your keyring password to match.

sudo apt install seahorse
seahorse

Option 2: Delete the Keyring

If you're not concerned about losing any existing saved passwords, you can just delete the keyring. The next time you are prompted to use it you can create a new one with a password that matches your logon.

rm ~/.local/share/keyrings/login.keyring


Kernel 5.3 does not support Elan9004 touch screen

There's no need to add a PPA to update a kernel. I advise you to delete those PPAs to avoid any issue in the future. You can use the command sudo add-apt-repository --remove.
To install a newer kernel go here and choose a version that you like. Then download from the amd64 section the corresponding files with the following names:

linux-headers*_all.deb

linux-headers*generic*.deb

linux-image*generic*.deb

linux-modules*generic*.deb

Lastly, install the kernel with sudo apt install ./linux*.deb. Make sure you open the terminal window in the correct folder.


How do I install the new version of HPLIP?

This is how I installed HPLIP 3.15.11 to support a HP Color LaserJet M277n on Freya 0.3.1:

Remove old HPLIP

sudo apt-get remove hplip

Install dependencies

sudo apt-get install gcc build-essential python-dev libcups2-dev libusb-1.0-0 libtool libcupsimage2-dev libsane-dev libsnmp-dev python-qt4 python-qt4-dbus python-dev xsane

Set a root password, the installer will ask for it

sudo passwd (somepass)

Run the installer

sh hplip-3.15.11.run

Choose auto installation
Distro selection: Ubuntu, 14.04

Installer defaults for everything else

Auto discovery didn't find anything, but a manual IP address selection worked fine.  I was prompted to run 'hp-plugin' to install a binary plugin for this printer during the printer setup process.

Printing and scanning now both work for me.


When will Loki support end? (What date?)

I guess it will have updates until next elementary OS release (0.5) but the backend (Ubuntu) will keep updating until EOL, which is IIRC in 2021


You should see a progress bar in the icon in the dock? There are some known bugs in the progress window at the moment e.g. see https://github.com/elementary/files/issues/1275 and https://github.com/elementary/files/issues/1050.
I find that after some file transfers, the operation is  not properly cleaned up (e.g. the progress bar in the plank icon may continue to show) which may affect subsequent operations.  Hopefully it will be fixed in the not too distant future.


How can I see the thumbnails of HEVC and mkv with VP9 encode videos?

This may not be exact solution but a temporary work-around. Working for vp9

If you want to have preview/thumbnails, use nautilus.

sudo apt-get install nautilus

Recommended reading: Is Nautilus really “not-recommended”?

Install totem and ffmpegthumbnailer

sudo apt-get install totem ffmpegthumbnailer

Now the task is to keep only totem.thumbnailer in /usr/share/thumbnailers/. For this, open terminal and run:

sudo pantheon-files

Click on File system --> usr --> share --> thumbnailers -->

Here keep ONLY totem.thumbnailer, CUT remaining two and place in home folder (your choice).

Close files.

Now clear cache:

rm -rf ~/.thumbnails
mkdir ~/.thumbnails

Now launch nautilus


Does the installation process automatically create a new partition?

Depending on your partitioning and already installed operating systems you will be presented by several options from installer.

If there is free space and you already have another operating system you will be presented with the option to "Install elementary alongside [your operating system]". The partitions to host elementary will be created from the free space on the drive.
Erase disk and install elementary. This option will format drive erasing all your data and create elementary partitions for clean installation as single OS.
To do something else. This one will take you to the partitioning wizzard that allows you to customize your set up and manually select partitions for different mounting points. Here is detailed process of using manual partition editor.


How can I integrate Spotify client with Wingpanel?

Spotify client is a QT-based application which relies on sni-qt to display it's indicator icon. Maybe somehow sni-qt got removed by uninstalling another application on your machine.

Check if sni-qt is installed:

dpkg -l | grep sni-qt

In case it's not, reinstall it:

sudo apt-get install sni-qt


Wingpanel suddenly shaded dark instead of changing fonts & icons to dark

Recent update has this bug fix... Are you updated ?

It was happening to me, but gone after update


maybe try to uninstall the nvidia drivers, see if the nouveau open source drivers works instead

Ctrl+Alt+F1 then sudo apt-get purge nvidia-current

maybe have a look there as well : link


There is a decision by elementary os to enable client-side decorations which affect windows not aware of that. See GTK+ Incorrect Window Size

This is tested to work for Freya in VBox:

GTK_CSD="" nemo

So modify exec line in the autostart file
/etc/xdg/autostart/nemo-autostart.desktop , as below:

Exec=sh -c "GTK_CSD=\"\" nemo -n"

or

Exec=sh -c "GTK_CSD='' nemo -n"


Prevent applications from overlapping plank

If you hold control and right click on Plank (preferably in an area of the dock itself and not an icon) and go to Preferences > Behavior and select the hide mode you would like. I have mine set to Window Dodge which forces the dock to hide whenever a window tries to overlap - including when it's full screen. That might work for you, but play around with the different settings to find the right one.


GTK theme inspector for Desktop Enviroment elements

You can use Gtk Inspector. To enable it open a terminal and execute :

gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true

And now you can launch it with Ctrl + Shift + I.

Source: Gnome wiki


Go to: system settings > sound. in Profile select HDMI output


Software center does not open after update

it can't find a missing icon, for me its: /usr/share/icons/elementary/actions/16/package-install.svg

FIX

edit file: /usr/share/icons/default/index.theme
 and make sure "Inherits=" line includes icon theme that contains this missing iconm, eg:

Inherits=elementary,Humanity


How to disable jumping to last line and in pantheon-terminal?

In other terminal e.g. gnome-terminal, that is called Scroll on output and you can disable it. I can't find any option to disable it on pantheon-terminal though.

For deleting line in terminal, position the cursor to the end of the line and press Ctrl + u.


Shutdown and restart stuck on "Starting LightDM Display Manager"

The original poster's temporary fix was to restart lightdm via the command line, which would be:  sudo service lightdm restart OR sudo systemctl restart lightdm

You can also try reconfiguring lightdm.


How do I restore locked files from Trash?

To open your Trash in a window with superuser powers in Loki, run
sudo -i pantheon-files /home/$USER/.local/share/Trash/files/
This command runs your files program (pantheon-files) as the root user (sudo) in the root's environment (-i) at the specified directory (your personal Trash folder). No need to change $USER, which will automatically translate to your current username.
From this window, you should be able to move your files as you please.


Command Line Interface
You can use effectively the same method you used to change the shortcut in the first place to revert it:
gsettings set org.gnome.desktop.wm.keybindings panel-main-menu "['<Super>space', '<Alt>F2']"
reverting to the default of Super+Space or Alt+F2.
Graphical dconf-editor Interface
Install dconf-editor with sudo apt-get install dconf-editor in a terminal window.  Browse using the left hand pane to org/gnome/desktop/wm/keybindings.  Find panel-main-menu, click it, and then "Set to Default" in the bottom pane. This will revert to the default hotkeys.


How can I install elementary OS alongside windows 10 without a USB or DVD

My favorite two options in a scenario like this:

Remove laptop hard drive and connect to another computer that can boot from USB or DVD, then run installer from there.
Install over the network via PXE boot. (requires some sysadmin skills)


Run the command

sudo update-grub

This will have grub look for Operating Systems installed on your machine and then update its boot list.


Dark theme on Elementary Code instead of "Solarized Dark"

So, I managed to hack Code a bit in order to set a different theme. I like to have a consistent theme when using various editors, so I tried to make them look as close as possible. At the same time, I did not yet invest too much time into this.

So, this is what I did:

I used GtkSourceView style schemes to find a theme close to my needs. I liked VSCode's dark style, so I chose VSDark.
Create a new file in /usr/share/gtksourceview-3.0/styles/ with the contents of the xml file chosen above:

sudo nano /usr/share/gtksourceview-3.0/styles/vsdark.xml

<?xml version="1.0" encoding="UTF-8"?>

<style-scheme id="vsdark" _name="VSDark" version="1.0">
    <author>Daapii</author>
    <_description>Inspired by the Visual Studio 2012 dark theme</_description>

<!-- COLORS -->
    <color name="comment_color" value="#608b4e"/>
    <color name="number_color" value="#b5cea8"/>
    <color name="string_color" value="#d69d62"/>
    <color name="boolean_color" value="#d69d62"/>
    <color name="keyword_color" value="#4c9cd6"/>
    <color name="error_color" value="#ff3333"/>
    <color name="text_fg" value="#ffffff"/>
    <color name="text_bg" value="#1e1e1e"/>
    <color name="line_highlight" value="#0f0f0f"/>
    <color name="line_numbers" value="#2b91af"/>
    <color name="selection_color" value="#264f78"/>

<!-- Global Settings -->
    <style name="text" foreground="text_fg" background="text_bg"/>
    <style name="cursor" foreground="text_fg"/>
    <style name="current-line" background="line_highlight"/>
    <style name="line-numbers" foreground="line_numbers" background="text_bg"/>
    <style name="selection" background="selection_color"/>

<!-- Bracket Matching -->
    <style name="bracket-match" foreground="text_bg" background="keyword_color"/>
    <style name="bracket-mismatch" background="error_color"/>
    <style name="search-match" foreground="comment_color" background="text_fg"/>

<!-- Base syntax colors

Languages: plain, python, ruby, xml, html, ada, asp, awk, boo, c,
changelog, chdr, cmake, cpp, csharp, css, d, def, desktop, diff,
docbook, dosbatch, dot, dpatch, dtd, eiffel, erlang, forth, fortran,
gap, gtkrc, haddock, haskell, haskell-literate, idl, ini, java,
javascript, latex, libtool, lua, m4, makefile, msil, nermele, nsis,
objc, ocaml, ocl, octave, pascal, perl, php, pkgconfig, po, prolog,
R, rpmspec, scheme, sh, sql, t2t, tcl, texinfo, vala, vbnet, verilog,
vhdl, xslt, yacc

-->

    <style name="def:string" foreground="string_color"/>
    <style name="def:character" foreground="string_color"/>
    <style name="def:special-char" foreground="string_color"/>
    <style name="def:number" foreground="number_color"/>
    <style name="def:decimal" foreground="number_color"/>
    <style name="def:floating-point" foreground="number_color"/>
    <style name="def:complex" foreground="number_color"/>
    <style name="def:base-n-integer" foreground="number_color"/>
    <style name="def:boolean" foreground="boolean_color"/>

    <style name="def:builtin" foreground="keyword_color"/>
    <style name="def:keyword" foreground="keyword_color"/>
    <style name="def:function" foreground="keyword_color"/>
    <style name="def:type" foreground="keyword_color"/>
    <style name="def:preprocessor" foreground="keyword_color"/>
    <style name="def:identifier" foreground="keyword_color"/>
    <style name="def:operator" foreground="keyword_color"/>
    <style name="def:statement" foreground="keyword_color"/>

    <style name="def:constant" foreground="keyword_color"/>
    <style name="def:special-constant" foreground="keyword_color"/>
    <style name="def:error" foreground="text_bg" background="error_color"/>

<!-- Comments -->

    <style name="def:comment" foreground="comment_color"/>
    <style name="def:shebang" foreground="comment_color"/>
    <style name="def:doc-comment-element" foreground="comment_color"/>
    <style name="def:note" foreground="comment_color"/>

</style-scheme>

If using nano editor, use Ctrl + O to save the file, and Ctrl + X to exit nano.

Set Code to use the new theme:

gsettings set io.elementary.code.settings style-scheme 'vsdark'

Enjoy your new dark theme!

Code using Solarized Dark:

Code using VSDark:

(Optional) If you want to, you can edit the new theme to customize it even further. In the .xml file you can change the values of the colors.

IMPORTANT: for this to work, the value in the gsettings command must be the same as the style-scheme id in the .xml file (vsdark in the example above). Code's style picker will NOT reflect the change: it still shows 'Solarized Dark' as selected.


Installing Soundnode in elementary os loki

This is a common issue where application installation scripts don't support Ubuntu based distro's like elementary OS. Like the error mentions:

  This usually happens if your operating system is not supported by
  packagecloud.io, or this script's OS detection failed.

  You can override the OS detection by setting os= and dist= prior to running this script.
  You can find a list of supported OSes and distributions on our website: https://packagecloud.io/docs#os_distro_version

  For example, to force Ubuntu Trusty: os=ubuntu dist=trusty ./script.sh

There is already an issue opened: https://github.com/Soundnode/soundnode-app/issues/1008
It contains the following workaround:

curl -s https://packagecloud.io/install/repositories/JonasGroeger/soundnode/script.deb.sh | sudo os=ubuntu dist=xenial bash
sudo apt-get update
sudo apt-get install soundnode

(Tip in general: check the application's issue queue)

Hopefully they will provide a Snap / Flatpack / AppImage. Then you wouldn't have this issue. Also see:
https://github.com/Soundnode/soundnode-app/issues/984


How to change the greeter background in elementary OS juno

At this stage it's not configurable and has been designed like that. I did see on Reddit quite a few remarks and suggestions regarding that same issue. Head over to teh sub-reddit here:
https://www.reddit.com/r/elementaryos/


This is a possible duplicate : GRUB not showing after installing Elementary OS alongside Windows 10

In Windows, go to the menu and search for Command Prompt, right click on it to run it as administrator

Copy paste the command below:

bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi


No WiFi MacBook Pro after ElementaryOS install

I have a mid 2009 Macbook Pro 5.5 and I just installed today. Use a Ethernet cable and than install the driver from the appcenter.


How to create bootable USB key in persistent mode from Windows 8.1 64bit?

Persistent LiveUSB

Try Unetbootin or MultiSystem to create the LiveUSB. Both have option to keep changes in Ubuntu-based distros, including elementary. I succesfully installed new apps and packages in Live sessions created by these tools, although not all programs were able to install.

Direct installation on USB drive

Installing the OS directly to USB drive is a bit more tricky. You basically have to select proper USB drive during install of the OS and also put bootloader on the same drive (this option is available when you make your partition scheme manually during install by choosing the "something else" option). You will also have to adjust some Bios settings to boot from this drive (that may apply for the LiveUSB method above, too).

However I failed the one time I tried this (with elementary Freya), although I think it was the machine's fault (cheap Acer netbook, all distros were weird with it).


Replace sudo in the Exec line with pkexec. In the past, you could have used gksu, but it is no longer available in distros based on ubuntu 18.04.

EDIT:

So I got it working using the below .desktop file:

#!/usr/bin/env xdg-open
[Desktop Entry]
Comment=Start or Stop XAMPP
Name=XAMPP Control Panel
Exec=sh -c "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /opt/lampp/manager-linux-x64.run"
Encoding=UTF-8
Terminal=false
Name[en_US]=XAMPP Control Panel
Comment[en_US]=Start or Stop XAMPP
Type=Application
Icon=/opt/lampp/htdocs/favicon.ico


Unfortunately elementary OS 0.4 Loki requires a 64-bit CPU, however the Atom N270 is 32-bit. All of the Loki packages are only bit for 64-bit, so installing Ubuntu and then adding the elementary repos is not a viable solution.

elementary OS 0.3 Freya, the previous elementary release, was the last to feature a 32-bit installer. You can download it by pasting the following magnet link into a BitTorrent client:

magnet:?xt=urn:btih:0a36a61cb46fc1444c95eb62185b777d65362ca9&dn=elementaryos-freya-i386.20150411.iso&tr=https%3A%2F%2Fashrise.com%3A443%2Fphoenix%2Fannounce&tr=udp%3A%2F%2Fopen.demonii.com%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.ccc.de%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80%2Fannounce&ws=http%3A%2F%2Fsuberb-sea2.dl.sourceforge.net%2Fproject%2Felementaryos%2Fstable%2Felementaryos-freya-i386.20150411.iso&ws=http%3A%2F%2Fignum.dl.sourceforge.net%2Fproject%2Felementaryos%2Fstable%2Felementaryos-freya-i386.20150411.iso&ws=http%3A%2F%2Fheanet.dl.sourceforge.net%2Fproject%2Felementaryos%2Fstable%2Felementaryos-freya-i386.20150411.iso&ws=http%3A%2F%2Fcitylan.dl.sourceforge.net%2Fproject%2Felementaryos%2Fstable%2Felementaryos-freya-i386.20150411.iso)

You won't receive feature updates for Freya, only security patches (making it safe for continued use).

You might like to take a look at installing regular Ubuntu, or the more lightweight Lubuntu - both of which provide 32-bit installers.


So I asume you followed the instructions on https://wiki.winehq.org/Ubuntu. But since elementary OS is based on Ubuntu 18.04, you should have used the ppa for Ubuntu bionic, not focal.
To try and fix the issue:

please remove the focal ppa:
sudo add-apt-repository --remove 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
sudo apt update

follow the istructions from https://linuxize.com/post/how-to-install-wine-on-ubuntu-18-04/#installing-wine-50-on-ubuntu to install wine.

EDIT:
Since the instructions in the link at step 2 might be unavailable in the future, I'll paste them below (only of distributions based on Ubuntu 18.04):
Enable the 32-bit architecture and update the packages list:
sudo dpkg --add-architecture i386
sudo apt update

Import the WineHQ repository’s GPG key using the following wget command:
wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -

Add the WineHQ repository to your system:
sudo apt install software-properties-common
sudo apt-add-repository 'deb http://dl.winehq.org/wine-builds/ubuntu/ bionic main'

Install FAudio from the OBS repository:
wget -qO- https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key | sudo apt-key add -
sudo sh -c 'echo "deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./" > /etc/apt/sources.list.d/obs.list'
sudo apt update

Install Wine 5.0 package by typing:
sudo apt-get install --install-recommends winehq-stable

Verify the Wine installation:
wine --version

The output should look something like this:
wine-5.0


Black Screen Error instead elementary OS logo when Madcatz Strike5 Keyboard is pluged

Try installing Linux kernel 4.5.

To do it run the following in the terminal to download the kernel

For 32-bit

cd /tmp
wget \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.5-wily/linux-headers-4.5.0-040500_4.5.0-040500.201603140130_all.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.5-wily/linux-headers-4.5.0-040500-generic_4.5.0-040500.201603140130_i386.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.5-wily/linux-image-4.5.0-040500-generic_4.5.0-040500.201603140130_i386.deb

For 64-bit

cd /tmp
wget \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.5-wily/linux-headers-4.5.0-040500_4.5.0-040500.201603140130_all.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.5-wily/linux-headers-4.5.0-040500-generic_4.5.0-040500.201603140130_amd64.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.5-wily/linux-image-4.5.0-040500-generic_4.5.0-040500.201603140130_amd64.deb

And then install the kernel (for both 64 and 32)

sudo dpkg -i linux-headers-4.5*.deb linux-image-4.5*.deb

Reboot


How to use terminal in "incognito mode'?

Disable Previous Tabs

gsettings set org.pantheon.terminal.settings remember-tabs false

Incognito Mode

unset HISTFILE

See this answer for how to make this permanent.


It seems that you have added this PPA manually. The error says that this software source has no build for Xenial. You should remove this PPA again. Alternative PPA (but is not recommended and supported by elementary's support) would be the PPA from Canonical Kernel Team.


I'm in the same boat. My GPU is the R9 M370X, so not exactly the same, but close.

The official proprietary drivers have been abandoned by AMD. As far as I know they just aren't working on Loki, period. There are open source drivers but I've not been able to get anything working, including the drivers you can get from that link.

It's also been suggested elsewhere to upgrade the kernel from 4.4 to something newer, which I've also done, and also without success.

The eOS devs aren't offering us much here except the suggestion to only use Intel GPUs. Other than that, it looks like for the time being there's not really a  solution for our problem.


Videos not playing correctly with Epiphany

Looks like a hardware-specific issue, probably related to graphics drivers. I've seen several complaints about this, but nobody has reported a bug yet, and developers won't investigate without a bug report. So I would take this straight to WebKit Bugzilla, following the instructions for reporting web content bugs. You'll probably be asked to provide details of your graphics hardware and drivers, but no need to worry about that until you're asked for it.

Also, if you happen to have gstreamer1.0-vaapi installed, definitely try uninstalling it to see if vaapi is to blame.


how to create new partition using Gparted inside elementary os?

The easiest way is to create a USB key with Elementary Os and boot on this key.

Choose "try", then using Gparted, it is then very simple to shrink the partition which contains Elementary on the hard drive of the PC, then to create a new partition with the amount of available space.

Have a nice week end !

Jean-Louis / France.


Mayeb install some media codecs:
apt install ubuntu-restricted-extras libavcodec-extra


After dual boot with Win10, Elementary shows no gui

Try disabling fast boot in bios and windows.
Try reinstalling elementary OS with a freshly flashed USB stick.
Make sure the SHA256 matched with the ISO file you downloaded. This makes sure the ISO is not corrupted.
Steps on how to do that are here: https://elementary.io/docs/installation#installation


XORG issue from frozen trackpad - crumb!

It appears that the answer to my problem had to do with .xAuthority being given to root as opposed to my username.

This AskUbuntu post solved it: https://askubuntu.com/questions/223501/ubuntu-gets-stuck-in-a-login-loop


Add Netflix servers on proxy exception list

In control panel Network settings you have a Proxy section and an exception tab for adding servers. Not really sure if it supports regular expressions, though.
 (sorry the Spanish screenshot version)


Can the keyboard layout name on the panel be edited?

Actually using only the language code (and nothing of the variant) is hard-coded in the source of wingpanel-indicator-keyboard. So you can either edit the source code or open a feature request.


I am assuming it is the same for Loki (0.4)...I am running Freya (0.3.2)

open files ... it now exists on the dock
right click on files in the dock
select new window
you should now have a separate window for files


In the Applications I have two 'Files' apps

"Access and organize files" is Nautilus. You can rename the icon in /usr/share/applications/nautilus.desktop


I had the same issue at first. My problem was that I needed to expand the Device Search window because it was too small and the device that was actually found, and was present under Device, was not visible in the window.It sounds stupid, but that's what it was.


How can I uninstall a site that was installed as a Web Application?

It’s a bit hidden, but you can remove added web apps in Epiphany itself. In the location entry at the top, type about:applications and hit Enter. You should see a screen like this. Find the installed web app you'd like to remove, and hit its Delete button.

We've reported an issue upstream in Epiphany itself to hopefully make this process more discoverable.


Installing elementary OS onto a System76 Onyx Laptop

Are you trying to install Loki or Juno?  I have Loki installed on a near identical Oryx Pro and it works pretty well.  In fact, it's one of the few Linux installations that works well on the Oryx Pro, although there will be some teething issues.  (Be sure to install the System 76 driver package.)

If you can't get Juno to install, try installing Loki. You will also want to install Touchpad Indicator to disable the touchpad when typing.  I don't know if Juno fixes this or not, but it's irritating.

I tried POP OS from System 76 and really hated it.  Elementary OS is a much better solution.

You will find with Elementary OS on the 4k display you will have to tweak a lot of things to get it to look right. I've since regretted getting the 4k display.

Note:  Do not use any of the Xubuntu releases (including Ubuntu Studio.)  They do not play well with the System 76 4k display for some reason.

Hope that was helpful.


What do the three dots on the network icon mean?

If you had wifi and then suddenly it disappeared then you should first try switching off and on wifi and if doesn't work then just restart network manager with sudo service network-manager restart.

If you still have no internet then just restart your computer.

I have the same problem sometimes. I couldn't find out better solution.

:)


How can I lower the volume specific to a particular app?

You can install pavucontrol :

$ sudo apt install pavucontrol

In the Playback tab you can choose the volume output for each audio stream.


Read data from an encrypted /home directory

Is there any way to "break" the encryption of that folder?

Yes, there is. This post here seems similar to yours.
You should also read the official Ubuntu Documentation about Encrypted /home folder, here: Encrypted home folder

In order to decrypt a whole filesystem: Mount encrypted volumes from command line? See the first answer.

Here is the official Ubuntu Documentation for mounting encrypted external filesystems: EncryptedFilesystemsOnExternalStorage

You should also read about LUKS(Linux Unified Key Setup), the disk encryption system in Linux. Here is a full detailed wiki on LUKS: LUKS: Linux Unified Key Setup


This is reported as a bug of missing dependency in Infinit since Ubuntu Trusty. It was answered then as follows:

You can create symbolic links for every libQtxxx.so to libQtxxx.so.4.

Here is a command to do so (You’ll be asked for your password):

  for lib in $(ls /opt/infinit/lib/libQt*.so); do sudo mv $lib $lib.4; done;

Source: http://help.infinit.io/forums/306958-current-bugs/suggestions/8957017-missing-dependency-on-ubuntu-trusty


As an interim solution you can install dconf-editor and change the key org/gnome/system/location to enabled. After that, the Night light settings will work as expected.

You can also change the setting in the terminal without installing anything by executing gsettings set org.gnome.system.location enabled true

Please execute sudo apt-get install dconf-editor in the terminal to install dconf-editor. You can also find it in the AppCenter.


I use a program called menulibre to hide icons. I learned you do not want to delete these .desktop files, just hide them as WingPanel will break if .desktop files are deleted.

sudo apt-get install menulibre

once installed, open up the menu editor. In the search bar on the top right search for your program. Then change the toggle to hide from menus and save. This should do it for you.


Installation of freya alongside Mac OS using DVD stalls

I have a Macbook 2006 and it only boots 32 bit version of any Ubuntu distro.

You might need to boot in 'nomodeset' or 'noapic'.

Follow this instructions, it might work.

https://elementaryos.stackexchange.com/a/7163/5726


eOS Loki - Video Tearing with Intel Graphic Card

Try this solution,

Create a new file

sudo nano /usr/share/X11/xorg.conf.d/20-intel_tearfree.conf

And paste this content inside,

Section "Device"
  Identifier  "Intel Graphics"
  Driver      "intel"
  Option      "TripleBuffer" "true"
  Option      "TearFree"     "true"
EndSection

Reboot, should fix your problem.

If it doesn't solve it / you don't want to keep the changes,
just remove the file by running

sudo rm /usr/share/X11/xorg.conf.d/20-intel_tearfree.conf


Can I deinstall bumblebee if not needed?

It is safe

...to remove bumblebee and it's components via apt-get as you are not using it.


Keyboard and trackpad are not responding when booting from flash drive on my 2017 macbook

There is a relevant AskUbuntu answer that may help you: https://askubuntu.com/a/968740/22318

Suggestion is to perform installation using external keyboard and mouse (a USB hub may help you here) and then install some specific drivers, following instructions here: https://github.com/Dunedan/mbp-2016-linux#keyboard--touchpad

Instructions for your laptop should be these (from https://github.com/roadrunner2/macbook12-spi-driver#dkms-module-debian--co):

DKMS module (Debian & co):

As root, do the following (all MacBook's and MacBook Pro's except MacBook8,1 (2015)):

echo -e "\n# applespi\napplespi\nspi_pxa2xx_platform\nintel_lpss_pci" >> /etc/initramfs-tools/modules

apt install dkms
git clone https://github.com/roadrunner2/macbook12-spi-driver.git /usr/src/applespi-0.1
dkms install -m applespi -v 0.1


Netboot the server in ReadOnly and save tmp files to the local disk. Create a cron job that checks if the files in /home/user have changed. If so, format the disk, restart and let it netboot again.

Already did something like this in our school with RPIs...


How do I change the time from 24h to 12h

Right click your displayed date/time and then click "Date & Time Settings" and then it literally asks if you want 12hr or 24.


How can I let applications start up automatically while booting?

Adding applications to autostart using the GUI

Starting applications automatically in elementary OS is as easy as in Windows, if not even easier.

Open System Settings
Click at Applications and switch to Startup
Click at the + button in the lower left corner
Choose your application or start typing it's name in the upper textfield. If it's a command, you would like to start, type it in the lower textfield

Manually adding Applications to autostart

All autostart entries are being stored in ~/.config/autostart. The entries are basically .desktop files.
This is an example of my Insync autostart entry:

[Desktop Entry]
Version=1.0
Type=Application
Name=Insync
GenericName=Insync
Comment=Launch Insync
Icon=insync
Categories=Network;
Exec=insync start
TryExec=insync
Terminal=false
X-GNOME-Autostart-Delay=3
X-GNOME-Autostart-enabled=true

The only difference are the last two lines. X-GNOME-Autostart-Delay adds a delay in seconds, and X-GNOME-Autostart-enabled decides if this application is enabled or disabled as autostart entry.

Instead of using the GUI, you can copy the .desktop file of your desired autostart application from /usr/share/applications/ or ~/.local/share/applications/ and add the two missing lines by hand.


Problems with WiFi after recent loading of Loki 0.4

Try manualy updating elementary os. Open a terminal with Super + T, then...

sudo apt-get update

If it says anything about package locks, follow the steps that it provides. You may have to preform some action, such as running a specific command. Otherwise you can continue by typing

sudo apt-get upgrade

Dont worry, this will not upgrade your os to ubuntu 16.10 ;)


How can I enable syntax highlighting in vim?

It turns out I had some stuff in my .vimrc which did not belong there (copied it from OSX where I use iTerm).

Specifically, this was the problem

" Solarized colorscheme
if !has('gui_running')
   let g:solarized_termcolors=256
endif
set background=dark
colorscheme solarized
hi Visual ctermbg=105
hi MatchParen cterm=bold ctermbg=125 ctermfg=0
hi Normal ctermfg=253

I did not investigate which part exactly, but I did not even have the solarized colorscheme installed, so that might be it.


Is there any way to auto hide or customize the top panel? (Freya)

Right now, no way. There is a bug report for wingpanel auto hide.

The position of the panel is not configurable.


How to compile and install changes to Elementary?

install Elementary SDK (this fix may work if you run into errors in 5.1 hera):

sudo apt install elementary-sdk

install a compiler:

sudo apt-get install cmake

assuming you have git already set up, clone the repository you want to work on (eg. wingpanel-datetime-panel):

git clone https://github.com/elementary/wingpanel-indicator-datetime.git

change into the directory and make whatever changes you want to make (eg. How to hide date in elementary top bar?)

cd wingpanel-indicator-datetime

read the README.md and install any dependencies not included with Elementary SDK (eg. libecal1.2-dev)

sudo apt install libecal1.2-dev

use meson to create your build environment (use --prefix=/usr if you want your changes to apply to all users on this computer):

meson build

fire off your build:

cd build
ninja

deploy your changes:

sudo ninja install

for a simple change to wingpanel in what is mocked above, it is sufficient to log out and log back in (no reboot needed)

presto!

if any of the above does not make sense, it is recommended you read the Elementary Developer Guide as it starts from square one (including setting up Git)


Slingshot: see proper icon of Playonlinux applications

Looking in the desktop files (as text), the Icon line directs to image files in ~/.PlayOnLinux/icones/full_size. These image files are created there by Playonlinux when a desktop-file/shortcut is created: selecting Configure, selecting the virtual drive, then selecting to create a new shortcut for that. (To access the shortcuts in Slingshot the desktop files have to be copied from $HOME to ~/.local/share/applications, as mentioned in the question.)

The solution is:

copy the image files to ~/.local/share/icons/
rename them to include the .png extension (e.g. from name to name.png)
edit the .desktop file to have the line Icon=name - replacing name accordingly.


This feature seems to be not supported in current version of Pantheon Mail. I tested with embedded image and I can reproduce your problem.

However the current version of Geary 3.32 supports this (via right-click). Pantheon Mail was forked from Geary, if I'm not misteaken.

I would consider reporting this to elementary OS developers as a bug/feature request. They could either backport it from Geary or include it in future release.

In the meantime you can use Geary from e.g. Flathub.org to achieve this or access the mail via web interface.


It looks like the file permissions on the flatpak folder in your home directory (or possibly your home directory as a whole) are broken. Have you possibly ran a GUI program with sudo or ran some script that could have caused this?
I'd start by resetting the ownership of the flatpak directory. To do this:
Run:
sudo chown -R ryan:ryan /home/ryan/.local/share/flatpak

(Obviously if anyone else is reading this in the future, you'll need to substitute ryan for your username)
This will ensure that the flatpak folder and all of the files/folders within it are "owned" by your user. It's possible that the root account has taken ownership of them.
Then try running AppCenter from the terminal again and see if any of the messages are different.
If it still doesn't work you can try running:
flatpak repair --user

(Again trying to restart AppCenter from the terminal afterwards)
If it still doesn't work and you don't care about any flatpak applications you have installed (and potentially their settings), then you can remove the flatpak folder with:
sudo rm -r /home/ryan/.local/share/flatpak

It should get re-created with the correct permissions the next time you install a flatpak application.
However, if none of this fixes the issue, you potentially have bigger issues with permissions on files and folders as a whole in your home directory.


How to install budgie desktop on elementary OS (Loki)?

Nothing went wrong and you didn't do anything wrong (except ask on the wrong stack exchange site and use poor formatting, but I fixed that for you :).

What happened is that elementary uses a different greeter-session than Ubuntu (pantheon-greeter as opposed to unity-greeter).

You just need to chose your desktop environment before you login. You can do this no matter which greeter-session your system uses.


There's no way to repair the windows boot loader from linux and trying to code that is useless because the disk ID is something that is unique, believe me I tried hard.
You must do a windows pendrive to fix the bootloader(do it from another windows machine because linux doesn't handle fat32 too well), because you deleted ubuntu's grub, the disk ID for the windows partition lost, and then you overwrited that, putting elementary on it, so that's why linux can't detect your untouched windows partition.
What you can do is download the Windows 10 ISO and use the "repair option" that is in the first screen after booting up the usb key as you can see here :

When entering the repair option, go to Troubleshoot -> Advanced options -> Command prompt and type this in the console to fix the bootloader.
bootrec /fixboot
bootrec /fixmbr
bootrec /rebuildbcd

with that done, you will be able to boot windows, but you deleted the grub menu so for fixing that launch the elementary os as live image and open a terminal SUPER + T and write this
lsblk
sudo grub-install /dev/sda
sudo update-grub

the lsblk command is used for seeing the disk partitions, you must see the name of your disk, I'm assuming that your disk is called 'sda'
with that done you will fix all your problems, good luck and google more


Cannot find Wine after successfull install

You have installed wine, but you may need to configure it. Please run winecfg in your terminal.

You may also need to use the command line to tell Wine to open an application the first time you do so.

For example, if I was trying to run "application.exe" in the downloads folder:

cd ~/Downloads
wine application.exe

The application should run and should also be added to the Applications launcher.

I highly recommend that you take a look at WineHQ, which is a great online resource for using wine that not only includes well-written and thorough documentation and wiki pages, but also has an extensive database that can help you if you're having trouble with a particular Windows application.

https://www.winehq.org/help


There is a GUI application called system-config-lvm, however it does not seem to work under elementary OS Loki.


How to refresh playlist in Noise music app?

Looks like there is no need of Refresh button for Noise. When I renamed a file, the Music folder is imported automatically to Noise app. If not, importing that folder to the library again will do the trick.


Double "Home" tab on terminal when i open it

This is a known bug with terminal (https://github.com/elementary/terminal/issues/444) there is a pull request that claims to fix this so hopefully if that gets merged the next update can correct the behaviour.


How can I make Chrome use the window button icons from the system style sheet?

Have you tried Google Settings (=) -> Settings -> Search GTK Theme and clicked that button?

I would also try using that "Use system title bar and borders" checkbox.


Follow this steps

Open a terminal, then write and execute (by pressing ENTER) this commands, one at a time:

sudo apt install software-properties-common

will ask your password

sudo add-apt-repository ppa:philip.scott/elementary-tweaks

will ask you press ENTER to confirm the installation of the PPA
(newer version of add-apt-repository runs apt update after automatically. In case it didn't, just run sudo apt update yourself)

sudo apt install elementary-tweaks

Description of your problem:

You didn't (don't) have the gpg key, with add-apt-repository you get it. And installing software-properties-common provides that command.

I'm curious, which instructions did you follow to install elementary-tweaks?


When installing the GUI fails to load and only shows wallpaper

Open the Terminal

sudo apt install software-properties-common
sudo add-apt-repository -y ppa:elementary-os/os-patches
sudo add-apt-repository -y ppa:elementary-os/stable
sudo apt remove elemntary-desktop
sudo apt purge elemntary-desktop
Sudo apt update
sudo apt install elemntary-desktop
sudo apt full-upgrade
sudo apt dist-upgrade
sudo reboot now

Tell us if that helps.


No boot device after install on HP ProBook 4540s

I reinstalled using the Legacy boot mode in BIOS and now it's working fine. Apparently, HP ProBook 4540s' UEFI feature is buggy or my BIOS version needs updating.


I just want elementary OS 5.0 Juno to work

First that "Tech Guy" didn't knew a thing or is lying to you if he never saw a message like that. You can even Google it and you'll find dozens of articles about this, even your exact same issue.

The message you saw was a notice from the system that an error on the disk was detected, so it wanted you to run a command manually RUN fsck MANUALLY

A fragment from fsck's manual

DESCRIPTION
       fsck  is  used  to  check  and  optionally  repair  one  or more Linux filesystems.  filesys can be a device name (e.g.
       /dev/hdc1,  /dev/sdb2),  a  mount  point  (e.g.   /,  /usr,  /home),  or  an  ext2  label  or  UUID   specifier   (e.g.
       UUID=8868abf6-88c5-4a83-98b8-bfc24057f7bd or LABEL=root).  Normally, the fsck program will try to handle filesystems on
       different physical disk drives in parallel to reduce the total amount of time needed to check all of them.

       If no filesystems are specified on the command line, and the -A option is not specified, fsck will default to  checking
       filesystems in /etc/fstab serially.  This is equivalent to the -As options.

       The exit code returned by fsck is the sum of the following conditions:

              0      No errors
              1      Filesystem errors corrected
              2      System should be rebooted
              4      Filesystem errors left uncorrected
              8      Operational error
              16     Usage or syntax error
              32     Checking canceled by user request
              128    Shared-library error

Your exit code was 4, that meant Filesystem errors left uncorrected and was on /dev/sda2 partition

You may ask why that happen. Well could be multiple reasons. One of them was probably that the system did not shutdown normally

I have to tell you that probably you didn't lose anything, was your "tech guy" stupidity and ignorance that caused that. I can't confirm this 100% because you never tried to fix the disk with the tools in hand.

And about the hidden partition, a "tech guy" should know that in a GPT layout installation you will have a hidden partition used for recovery. Is part of the standard and doesn't have any ties with the system you choose to install. Probably that was that "mysterious hidden partition".

You can see that this could happen also on Mac OS, almost identically because it's ties with Unix (same command fsck)

https://www.howtogeek.com/236978/how-to-repair-disk-and-file-system-problems-on-your-mac/

Solution

Follow what it says

Run fsck /dev/sda2 (Say yes to everything) or run fsck -fy /dev/sda2 (forcing and saying yes to all automatically)
Reboot

If the problem persists after you run fsck, that could mean other things, but always go one step at a time.

What you meant with "Crapple kernel"?


The eOS distribution already has the Open Source AMD drivers included in the MESA and the Linux Kernel. If you wish, you can download and install the FULL AMD Drivers (follow this tutorial)


How do i reinstall and use the default kernel?

Type in terminal :

sudo - i

Provide your password to become a root.
Then type in terminal:

dpkg -l | grep linux-image

This will list all installed kernels.

To remove unwanted kernel type in terminal:

apt remove linux-image-number of the kernel you want to remove

Or eventually something like

apt remove 5.7.2-xanmod1

Or

apt remove linux-xanmod

This I think should work.

Then type:

sudo update-grub

To update grub.

Additionally install grub customizer. Link: how to install grub customizer

And select which kernel should be loaded as first.


Sounds like you want Gtk.Overlay.

That said, a better design would probably be to put both the Gtk.TreeView and Gtk.Entry an a Gtk.Box so the entry doesn't occlude the tree view…


How do I download Elementary OS for free?

In the button "Custom" write 0 then click "Purchase elementary OS", then "Download". The download will start without problem and without asking you any money!

It would be great to download it via bitorrent and seed for awhile, since you're not paying.


Juno: how to remove am/pm indication from login screen?

The time and date format for the Pantheon Greeter is defined in its translation files here: https://github.com/elementary/greeter/tree/master/po

You can fork the project, make the change to po file and open a pull request so that the developer can review your change and publish it with the next version. There is no coding involved. Open the po file for your language and find #. / Time display section. There you'll find a link to the guidelines on how to set msgstr in that section to match your country's setup. For the reference, you can also open another po file and look there.


Touchegg does not work in Loki.  However, I also posted a question that was not voted on or answered..   One needs to use Libinput gestures..  you can follow the link below and if you do everything right you can get workspaces to work out of the box.  anything else is my question.. how?

Multi-Touch Gestures for eOS config file for Libinput OS


You may use Genymotion to start an android emulator. Once a Genymotion emulator is started, drag & drop your apk, it will be installed and started like in Bluestacks.

https://www.genymotion.com/thank-you-freemium/


how to install postman in elementary os using terminal

wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz
sudo tar -xzf postman.tar.gz -C /opt
rm postman.tar.gz
sudo ln -s /opt/Postman/Postman /usr/bin/postman

You can also get Postman to show up in the Unity Launcher:

cat > ~/.local/share/applications/postman.desktop <<EOL

[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
EOL

you  can  download form snapcraft
just  type ur  terminal

sudo snap install postman


Update. I uninstalled and reinstalled Elementary Loki in my laptop, installed TeXLive 2017 (instead of TeXLive 2015 which is the version that appears in the repositories),... and the same issue happened again. My laptop crashed in the same way.

It seemed that using Gedit and by compiling in the command line it worked properly. I installed TeXStudio, and I even by forcing it I couldn't make it crash. It had to be TeXMaker... . Also, it only crashed when I made a quick build.

Thing is, my laptop is a Lenovo, and in order to compile quick I have to press Fn+F1. After adding a keyboard, I realized that it didn't crashed with it. So here you have. The problem came because I have to press Fn+F1 (funny thing, because in TeXStudio I had to press Fn+F6 and it worked).

Solution. I only had to change the "HotKey" Lenovo has in its laptops. It can be seen how to change the F1 key so you only have to press the F1 key instead Fn+F1 here.


It's easy! Just press the right Alt and the "E" key.

AltGr + e


I can't answer for VM, but for bare metal Elementary Tweaks has a natural scrolling setting, I don't know why it wouldn't work with VM, also.

https://github.com/elementary-tweaks/elementary-tweaks

Don't forget sudo apt install software-properties-common if you need to add the PPA.


How can I switch between keyboard layouts with a keyboard shortcut in Freya?

Default shortcut for switching layouts is Alt+Space.

If you’d like to use a different shortcut, you can set one in System Settings -> Keyboard -> Shortcuts -> Universal Access as “Next Keyboard Layout”.

However, it is not possible to select shortcut Shift+Alt or Shift+Ctrl.

You can do this through the terminal, but I strongly not recommend doing so, because you may have problems with other system shortcuts. If you still dare:

Shift+Alt:

gsettings set org.pantheon.desktop.gala.keybindings switch-input-source "['<Alt>Shift_L', '<Alt>Shift_R', '<Shift>Alt_L', '<Shift>Alt_R']"

Shift+Ctrl:

gsettings set org.pantheon.desktop.gala.keybindings switch-input-source "['<Ctrl>Shift_L', '<Ctrl>Shift_R', '<Shift>Control_L', '<Shift>Control_R']"


They are all in one of two places, so this command should work:

cd /usr/share/icons 2> /dev/null && for dir in *; do if [ "$(ls $dir | grep -o -m 1 cursor)" = "" ]; then echo $dir; fi; done && cd ~/.icons 2> /dev/null && for dir in *; do if [ "$(ls $dir | grep -o -m 1 cursor)" = "" ]; then echo $dir; fi; done

It will show something like this:

App.png
cab_extract.png
cab_view.png
default
default.kde4
Faience
Faience-Azur
Faience-Claire
Faience-Ocre
gnome
hicolor


window problem when choosing save location

Not really helping ... but I am on the same boat, here !

However, I did not notice that I have this problem, on an old profile which has been used with many distro (Freya, Gnome etc). With a brand new Loki user profile, I have no problem and I can see the footer of the dialog windows with the OK and Cancel buttons.

If some would know, how to reset this configuration for that user I would be grateful. I already tried the restore default parameters button from the Parameters => About Window.


Please open the terminal and enter this:

sudo lshw -C network

Drop the results on http://pastebin.com and link it here.


How can I drag two or more elements in Geary?

Keep Shift or Ctrl pressed while drag them worked for me.

In my opinion this sounds like a Bug.
You can file a Bug about Geary here: https://bugzilla.gnome.org/enter_bug.cgi?product=geary


Bind mouse buttons to switch between windows

Although I did install xbindkeys, I did not install xautomation, which allowed me to automate and assign key combinations like alt+tab. For a detailed explanation, you can follow the link posted by mazienho which gives a good example how xbindkeys and xautomation are working together. In order to achieve what I was looking for, I added the following lines to my .xbindkeysrc file:

"xte 'keydown Alt_L' 'key Tab' 'keyup Alt_L'"
b:8