First….making bootable media for installation
Okay…I don’t know why, but, virtually none of the directions for creating bootable USB media for installing Manjaro worked for me (actually, see the next paragraph – I think I have an idea what might be causing this problem). I tried programs, the command line (using dd), etc. I did not do anything wrong – I followed various how-tos, including the one on the Manjaro website. The only thing which worked was using a program called WintoUSB on a Windows XP partition, and, choosing certain options (which I will note at a later date). Even Unetbootin and the Suse Image Writer (installed with a default Manjaro installation) failed to make a working, bootable USB install disk for the Manjaro distribution. Go figure.
The problem, I think
As I’ve said, I used the command-line “dd” method, various pieces of software, etc. and I could absolutely not come up with a bootable USB stock for manjaro. Well…..I know damned near zero about hardware, but I think my problems with creating usable, USB installation media for Manjaro is because I have five, older, HP dc7800 and dc7900 desktop PCs (released in in 2007 and 2008) which do not have UEFI support. From an HP forum:
The dc7600 does not have a UEFI BIOS.
The first model in that series that came with a UEFI BIOS, was the 8200 Elite with the second generation Intel core processor.
Again (to be redundant):For whatever reason, using a Windows program called WintoUSB (on an XP partition) I was finally able to create a working USB installer.
Problem with grub & dual booting
Sometimes, either right after installation or after an update, my dual-boot menu at boot (for Windows) was missing. Running the following fixed the problem:
sudo grub-mkconfig -o /boot/grub/grub.cf
Sometimes, even after running the above, the normal grub dual-boot menu still didn’t appear – strangely, though, it was still available. I’ve found the following: If I press (and hold) the down arrow key as the computer boots, the boot-menu options screen appears. It’s as if the computer is booting too fast to display the menu – I dunno. I just know that pressing the down arrow key works, in this situation. Also, after restoring a partition image, you might be able to use the following code (from a Manjaro live disk) to rebuild grub – this terminal command ran from a normal install:
sudo grub-mkconfig -o /dev/sda /boot/grub/grub.cf
An extension I like….
I like to use plank, at the top of my screen, and docky at the bottom. However, plank doesn’t really work with Gnome if the top taskbar doesn’t auto hide. I found this extension which worked perfectly to fix this issue – the README file gives a series of shell commands for installation. The only thing that varies from the instructions is the path to the directory where the gnome extensions are contained. Basically, the following are the edited commands I used
cp -R hidetopbar-master /usr/share/gnome-shell/extensions
git clone https://github.com/mlutfy/hidetopbar.git email@example.com
gnome-shell-extension-tool -e firstname.lastname@example.org
gnome-shell --replace &/usr/share/gnome-shell/extensions
My experience was that things went a bit wonky with the desktop until I rebooted, after which things were fine. The following preferences worked well for me, accessed from the Tweak Tool > Extensions menu.
My “alien” desktop, with Plank and Docky:
You can download it here.
Overview of my experience so far
- Manjaro (17.06) Gnome is a very attractive desktop, but, it’s sluggish on an underpowered machine. For instance, I have Mint 17 on an ancient laptop next to my bed and it’s very slow, but, it works – no system crashes nor hangups. I was working on my desktop computer when I first installed Manjaro (on an HP dc7800). At the time, it only had 2 gig of RAM installed, and, Manjaro would barely run with this configuration – it frequently required a hard reboot as it would freeze. When I bumped the PC up to 8 gig of RAM Manjaro started running respectably.
- Opera Web Browser: I really prefer the Opera web browser, but, on Manjaro 17.06 Gnome it seems to cause the system to freeze completely.UPDATE: Actually, one site was causing Opera to freeze the system – ThePirateBay, where I download documentaries. As it turns out, in early 2017 that site began mining data, with ads, in a way which stresses site visitors CPUs. By installing AdBlock on Opera this quit happening. Some pages, on that site, showed as many as 15 ads blocked!
- VLC causes the entire system to freeze – even making dropping to a shell impossible – when playing .mp4 files. This is a bug which is documented around the web. It’s not a huge issue, because parole video player can play mp4s with no problem.
- Deluge is a bit weird. Magnet links require copying the location and going to File > Add > URL. Too, choosing to open a folder from a download, when the download is a video, results in the video being opened in Audacious……and just playing the audio.
- Problems with dual booting: Manjaro, on one test installation, looped back into Manjaro. I’ve installed Manjaro, in a dual-boot setup, about four times and it only happened once. But, a web search revealed that others have experienced the same issue.
Manjaro 17.x – Notes
Copying files without being asked to confirm overwrite
Little thing, drives me batshit crazy….. In Manjaro, you will be prompted to overwrite every freaking file in a directory if you’re copying to a directory where identically named files exist. Here’s a workaround:
yes | cp -f -v * /usr/src/wherever
Making Firefox Open Magnet Links
network.protocol-handler.expose.magnet – set to false
Some Conky “Stuff”
Here’s a small .zip archive and a script to install Conky: download
Here’s a conky grayscale file: download
Here’s an alternate Conky setup called Vision Conky – copy the ttf file to your fonts directory and update…..
Update Issue with Python
Explanation later – for the time Remove nautilus-admin and python2-nautilus by
sudo pacman -S nautilus-admin
I answered “yes” to removing the python 2 version….
Problem with update
You need to do the following after install:
pacman -R nautalis-admin
Recently running pacman -Syy returned some errors – failures to connect. I resolved this by running the following, then trying again:
sudo pacman-mirrors -g
Unetbootin will not install and work via pacman. Make sure you have installed mtools and use this binary: download unetbootin. As noted at the top of this page, however, Unetbootin nor the Suse Image Writer (included with Manjaro) will create bootable media for the Manjaro distro, itself.
And again – this is required:
sudo pacman -S mtools
I’ve had two experiences with Clementine…. In one case (who knows why) it only required the following prerequisite:
pacman -S protobuf
On a second occasion I needed to do the following – for some reason:
sudo pacman -S openssl openssl-1.0
sudo pacman -S ffmpeg
Image Handling is weird – install Shotwell
When I got my system up and running with Manjaro 17, there was a peculiarity: clicking on image files (.png, gif. etc.) resulted in those files being “handled”, or opened, by various web browsers……. I installed Shotwell and it became the default image handling program.
Samba, and, getting it to start at boot….
I did virtually no research on this topic, so, maybe there’s am easier way to to this……but: (1) An old smb.conf file I used only had one, non-fatal error (which involved a deprecated log directive), and, (2) I could figure out how to get samba to start at boot. I finally did 4 or 5 things, and, it finally worked.
1chmod u+s /usr/sbin/smbd
- Ran visudo and did this (the “reboot” and “shutdown” commands were earlier edits – note the addition/modification to /usr/sbin/smbd):
123456#### User privilege specification##root ALL=(ALL) ALLguy ALL=(ALL) NOPASSWD: /sbin/poweroff, /sbin/reboot, /sbin/shutdown,/usr/sbin/smbdALL ALL=NOPASSWD: /sbin/poweroff, /sbin/reboot, /sbin/shutdown, /usr/sbin/smbd
- I created a samba.desktop file at /home/user/.config/autostart that contained the following:
12345678[Desktop Entry]Name=SambaGenericName=SambaStartupComment=Start samba on bootExec=/usr/sbin/smbd startTerminal=falseType=ApplicationX-GNOME-Autostart-enabled=true
Maybe there’s another way to do this, but, this worked.
Okay….this was a pain in the ass. From the software manager (or whatever it’s called) – which can be launched thusly…..
….I found the “preferences” area by clicking a tab in the upper-right-hand corner and enabled the AUR repo – but it absolutely refused to show up under the “Repositorys” section. I rebooted, etc., but it never appeared. So, I did the following based upon a post on the web.
pacman -S yaourt
pacman -S fakeroot
Then, as an unprivileged user (NOT ROOT) I ran the following:
I was then prompted to:
- Select from 3 versions – I chose “1”
- Asked, once or twice, if I wanted to edit the package build – I chose “No”
It proceeded to succesfully install Google Chrome……..
Okay, I think this happened after I installed Kdenlive, choosing the qt-5 option…. VLC started playing videos with audio only; I found a page that said you should uninstall VLC, then reinstall using vlc-nightly. I did not un-install, I just reinstalled over the existing install using:
pacman -S vlc-nightly
Here’s a page with info:
Clicking on magnet links causes Deluge to open, but the torrent file is not added. To get it to work, you need to copy the magnet link and go to File > Add Torrent….and something else I cannot recall, but, which was obvious….
VLC (with a Nvidia card)
First, VLC would not install until I updated the entire system, thusly:
Once installed, there was no graphical output in VLC, just audio. I found the following on the web:
I see you are using the Nouveau (free driver) for your Nvidia Card, and i think it will perform better with the Proprietary Driver installed.
From Manjaro Settings Manager > Hardware click on Auto Install Proprietary Driver and let detect and configure it. Do a reboot and test again if VLC is working.
Doing the above, after a reboot, fixed the graphics problems in VLC……
Opera – major problems
Note/Update: I’ve made a note at the top of this page; installing AdBlock seems to reduce the behavior described below:
Opera frequently causes the entire system to freeze. The following post, from the web, have me some hope – but I followed the instructions and it Opera still kept freezin….
Hey everybody, I might have a solution.
In Opera, go to opera://gpu (or chrome://gpu). You will likely see that video encode and decode are done by software, not hardware accelerated. Probably some other things as well.
Go to opera://flags (or chrome://flags), and enable the option, “Override software rendering list”. Close and re-open Opera. You will see that videos are now hardware-accelerated.
More info: http://www.webupd8.org/2014/01/enable-hardware-acceleration-in-chrome.html
While you’re at it, you could also go ahead and enable hardware acceleration in Firefox. Google “Ubuntu Firefox enable hardware acceleration”, it’s one of the first results.
I don’t know for sure whether this really fixes our problem. It did solve stuttering issues for me, which I continued to experience on my desktop PC on 17.10 after uninstalling Opera, and then again after switching to Mint 18.3. After my switch to Mint, I also had stuttering in ZSNES, which went away after I did the following:
Open NVidia settings
In “OpenGL Settings”, disable “Allow Flipping” and move “Image Settings” slider to the right until it says “Performance”.
You could also try disabling VSync (also in OpenGL Settings). If you get no screen tearing afterwards, leave it off.
In “PowerMizer”, set “Preferred Mode” to “Prefer Maximum Performance”.
The “PowerMizer” setting is automatically reset after reboot. To make it permanent, open the “Startup Applications” app and add the following as a new startup application:
nvidia-settings -a ‘[gpu:0]/GPUPowerMizerMode=1’
Name and describe as you see fit. More info: https://devtalk.nvidia.com/default/topic/832288/how-to-automatically-set-powermizer-to-prefer-maximum-performace-with-340-and-346-drivers/?offset=3
Since I’m no longer on 17.10 on my desktop and I still use my laptop for daily work, I can’t tell for sure whether any of the above fixes our problem. It would be awesome if one of you guys could report back.
Optional Edit to /etc/sshd/sshd_config:
OpenShot didn’t work until I updated the system:
sudo pacman -Syyu
Install fonts for Wine with this command:
curl -L https://github.com/caarlos0/msfonts/raw/master/install.sh | sudo sh
sudo pacman -S net-tools
sudo pacman -S mlocate
sudo pacman -S mtools
sudo pacman -S vlc qt4
sudo pacman -S pavucontrol
sudo pacman -S audacity
sudo pacman -S guvcview
sudo pacman -S audacious
sudo pacman -S isousb (update: this is worthless….)
sudo pacman -S guvcview
sudo pacman -S simplescreenrecorder
sudo pacman -S filezilla
sudo pacman -S python2-service-identity python2-mako
sudo pacman -S pygtk
sudo pacman -Sy python-gobject2 pygtk (req’d for deluge)
sudo pacman -S deluge
sudo pacman -S opera
sudo pacman -S transmageddon
sudo pacman -S samba
#sudo pacman -S thunderbird
#sudo pacman -S icu
sudo pacman -S isousb
sudo pacman -S yaourt
sudo pacman -S winetricks
sudo pacman -S wine
Printing from a Windows Virtual Machine
This was all new to me – I’d never tried this before. And, I never knew anything about a local, CUPS web page from which you can configure printers….long story.
- First, of course, plug your printer in and get it configured on your Linux box.
- I don’t know if this even mattered, but in the Settings section for my virtual OS I enable the serial port as I have a serial printer….may not even matter, I don’t know.
- First, go here: http://localhost:631
- You’ll see three, blocks sections of links – go to: CUPS for Administrators > Adding Printers and Classes
- Under “Printers” choose Add a Printer – you’ll be prompted for username and password (root, and, password)
- Your printer, if already installed, should be listed – knowing nothing, I accepted the default values on a few consecutive pages.
- In a virtual machine – in my case XP – you can add a network printer by simple beginning with \\10.0.0.x\ and it will fill in the rest….it will see the printer on that computer.
- I received a Windows prompt that the drivers for my new printer were not installed in my virtual machine; from a list, I found my HP LaserJet2100 and added the drivers.
- So far, so good…right? Well, not really. If your try to print in your virtual machine, it won’t work – you’ll get an access denied error.
- To get rid of the above error, run the following command:
1sudo gedit /etc/cups/cupsd.conf
Near the top, you’ll see a line that looks like this:
Change it to this:
I also changed the following (not because anyone said to) from this:
123# Job-related operations must be done by the owner or an administrator...Order deny,allow
123# Job-related operations must be done by the owner or an administrator...Order allow,deny
- On one of the pages where I found some of this info it said that – after all of this – you should restart
CUPS with the following:
1sudo /etc/init.d/cupsys restart
Well, this made no sense to Manjaro and I had no idea how to restart CUPS. I shut down the virtual machine, rebooted Linux and fired up the virtual machine and the bastard finally worked…..!
Installing Virtual Box – what a pain!
A couple of quick notes – I;; clean this up tomorrow. First, do:
You will have something like : 3.7.4-1-MANJARO. It means that the kernel is linux37. I would then recommend opening the pamac-manager and searching for the correct headers – install from there. Then search for virtualbox and install it and dkms, too. Watch this video – this is what worked……
sudo modprobe vboxdrv
sudo gpasswd -a $USER vboxuser