mandag den 16. juli 2018

Xubuntu - printer connected but not printing FIX

If your already installed printer that has worked before, when you re-connect it to USB, it will not print - then try these steps:

1. Open Preferences and then Printers
2. Chose your printer and rightclick on it and chose Properties
3. Click on Policies and make sure that Enabled has a checkmark
4. Click Apply and go back to Settings and Print a testpage

Now it should work.


This might happen if you connected the printer to other USB port than the one you installed it to. Can also happen when you get updates to CUPS.

torsdag den 28. juni 2018

Thinkpad Fan control in Xubuntu 16.04 LTS

For anyone looking for a guide:

Requirements

* Python 2.7
* DBus, GTK+, libglade and GNU gettext with bindings for Python
* pkexec to obtain superuser privileges

 Ubuntu users need to install the package python-gobject

Download
https://github.com/tpfanco/tpfancod
https://github.com/tpfanco/tpfanco-admin

then extract the files to a temporary folder

Go to the tpfancod-master folder and open a terminal, then run this command

sudo make install-systemd

Then

sudo systemctl enable tpfancod

Reboot your laptop


Then in terminal run

systemctl status tpfancod

Close the terminal window if everything ok, if not then go to https://github.com/tpfanco/tpfancod/issues and file the issue

Now open the tpfanco-admin-master folder

Open a terminal and run

sudo make install

then

Reboot your laptop

Open a terminal and run

tpfanco-admin_polkit

Reboot once more and you can find tpfanco-admin in Applications>Settings

You have to type your password for it to work.

Hope this helps someone

onsdag den 6. september 2017

Sofware center fix for Peach OSI 16.04 LTS

With the courtesy of Jim, the author of Peach OSI, I have written this small guide for fixing some glitches in the new software center in 16.04(It seems to like to remove entries for software that wasn't installed by the new software center - this is a problem from Ubuntu and not Peach OSI), so if you can't wait for an updated version of Peach OSI 16.04 with the problems solved, then try the following solution - it worked for me:

Before we begin, make sure you have an internet connection.


Open the old software center and search for and install "Debian Package Search" - don't use " ".

Run it(it might start by itself after installing). Give it a minute and then it should have a pop up window appear asking if you want to run the app - cache repair(that is what we want to do), followed by a terminal window.

You can close the old software center while this goes on.

When its finished click on Close and reboot your machine the normal way.



When your system is restarted, you need to open Software Updater from the dock in the bottom of the screen, and do the partial upgrade. Let it run - it may take an hour or more depending on your internet connection.

It'll ask questions to remove older deprecated files - let it remove them.


Reboot and run update again until you get the report from Software Updater, that the system is updated.


Then run the new "Software" center and see if there are any updates there - which there should be.

After you are sure you've completed all the updates reboot again and boot to the new Linux Kernel 93 and then run Ubuntu Tweak from settings, to remove all the cruft and old kernels.

Then run Grub Customizer and adjust Grub to how you want it to look and then reboot again checking your handy work.

You should now have a good clean install and the Debian Package Search program should always notify you if your app cache gets targeted by the new Software Center app again and will automatically notify you if there is ever an issue.


Hopefully Ubuntu will address this issue with their new software center, sooner than later.


If the update center still will not work we may need to update the xapian cache.

Open a terminal and type

sudo update-apt-xapian-index

Let it run - reboot - try to update again.


søndag den 13. august 2017

Easy way to clone your Bootable USB drive to a smaller drive

I looked around for a easy solution or tool to do this, as I'm not so good at command line, but all I found were very technical and command line options, and very few could clone something to smaller drive(only larger) and most had to be from livecd - so I tried to figure this out myself and here are the results:

1. First you take the NEW drive and make it bootable the same way as the original drive. Then unmount and re-mount it.

2. Then remove whatever files is on it.

3. Then copy the the contents of the original drive to the NEW drive.

4. Use Gparted or any other partition tool to verify that the NEW drive is bootable, then take it for a spin.

Finished.


In my case I had made my original drive with Yumi for windows(yes there are a linux version but you have to look elsewhere than Software center, Sourceforge is a good bet) - So I took the NEW drive and made it bootable with Yumi for windows(but could just as well have used the linux one) and followed the steps above. And all works as it should.

If I helped you than a thank you goes long way

søndag den 10. juli 2016

Usermade links in Thunar dissapears after reboot

If you make your own links(Shortcuts) to folders on other partitions than the partition your linux distribution are on, then the links might not be there after reboot, until you manually mount the partition the links refer to. This goes for Peach OSI 14.04 LTS and Xubuntu - and perhaps more distributions.


The solution is to automount the partitions on startup - Do NOT use the Disks utility, as your pc will get stuck on startup - this can be done the following way:

First open Mousepad(or your favorite text editor).

Then open terminal and type the following:

ls -al /dev/disk/by-uuid/


Then find the partition(s) that you want to automount and copy the UUID to Mousepad, the UUID look similair to this:

 lrwxrwxrwx 1 root root  10 Jul 10 19:16 385dd128-7054-4821-9a24-bb43881676d6 -> ../../sda2
lrwxrwxrwx 1 root root  10 Jul 10 19:16 3b5c8b74-2a69-4f1a-b86f-1385f1e2ca17 -> ../../sda5
lrwxrwxrwx 1 root root  10 Jul 10 19:16 afae36e8-98ba-46bd-bc02-956afeea370b -> ../../sda1
lrwxrwxrwx 1 root root  10 Jul 10 19:16 c86e9d2c-b017-4bd3-8adc-c73ffcbd71d1 -> ../../sda6




The UUID is the long code in the middle, divided by several - 


Now Click on Applications then click on All Settings icon in the bottom.



Find and click on Session and Startup and click on Application Autostart.

Then click on the Add button.


Here you give a name(make your own) and description(make your own).

In the command field you type this:


udisksctl mount --block-device /dev/disk/by-uuid/


Copy your UUID from Mousepad and paste it in after the last /

Then click on OK.

Repeat for all the drives you want to automount.

When finished click on Close and restart your pc.




fredag den 24. juni 2016

Importing contacts and folders into Thunderbird

Many of us like to use an offline e-mail program, this no matter if you are on Linux or Windows - Thunderbird is a bit of both worlds, as it also can handle the online folders in your e-mail account - that is why I chose it(and it came pre-installed with Peach OSI).

There is a problem importing contacts from Windows Live mail into Thunderbird, there is an article about it here:

http://thunderbirdtweaks.blogspot.dk/2013/03/importing-csv-files.html

I did not follow the whole article, because of the way I have set up my contacts -  What I did, were to make a new contacts-new.csv file from within Thunderbirds Adressbook and open it in LibreOffice Calc - then open the one from Windows Live mail in LibreOffice Calc and copy details over to the new one(anything under the first column).

When you do this you have to put the the mouse where you want to start and click 1 time, then use the arrow keys + shift to navigate and mark - it will not work if you use the mouse to mark - then rightclick on the marked area and choose copy. Then do the same in the new .csv file, but this time choose paste(make sure you have the same amount of columns). When finished, save the new .csv file and import it into Thunderbird from within Addressbook - Not from Thunderbird itself! 

Importing folders from storage folders, doesn't work either, you have to install this add-on:

https://addons.mozilla.org/en-US/thunderbird/addon/importexporttools/

Then rightclick the Local folder you want to import you folders to(make a new folder), then click on Import/ExportTools, go down to Import all messages from a directory, then click on: also from its subdirectories

Find the folder you want to import(from your backup or on the windows drive), then click Open and all the messages in that folder will be imported.
 

mandag den 13. juni 2016

Peach OSI instead of Windows

As I have told previously, I have switched from windows 7 to Peach OSI which is an heavily modified Linux distrobution based upon Xubuntu. I'm running this on a Lenovo Thinkpad R500, with 4GB ram and 500GB harddisk, 15.4" LCD and Intel Core 2 Duo CPU T6570 2.10GHz. This laptop had problems with Windows 10, because of the lack of updated drivers.

The installation went without any problems and were, including the initial setup, finished within 20 min. - thats alot faster than Windows. Internet, sound and video worked out-of-the-box, so did the mouse, but I had to setup the tapping(I don't like that).



After this I started customizing it to my liking, and this went very quicly also. After running the first updates for Firefox and the base OS, everything now worked as it should. I have been using Peach OSI as my primary OS for the last 3 months, and I like it so much that I will recommend it to everyone I know - also Non-techies:)


If you don't like to have Peach OSI installed on your machine, then you can run it as portable on a USB stick or on an LiveDVD.

I have been a using Linux for over 7 years and always switched back to or dualbooted with windows 7, because there were always something I didn't like or found too much trouble to fix myself - with this one, there is nothing to fix, only things to set up to my liking.

I use VLC as my main Media Player, and Banshee for music, I chose to have Flash Player installed with Peach OSI, and it will get updates whenever everything else gets updated. The main difference between Linux and Windows regarding updates, is that your programs also get updates - even if they are not produced by the author of the Linux version(windows don't have that feature).




As with Ubuntu, Peach OSI comes with Ubuntu Software Center were there are many things you can download and install for free, but there are also a few things that cost money.



There are also Synaptics, this is similair to the software center, but things here are for free.


As something new, compared to other Linux distrubutions, the author of Peach OSI has set up an Facebook account where you can contact him if you run into trouble - Microsoft does not have this!


Below are some pictures of Thunar which is the filemanager for Peach OSI, Firefox and the very handy quicklaunch bar in the bottom of the screen.





 I may have mentioned thís earlier, I really like this OS:) Hope you will too. 
Peach OSI homepage: https://www.peachosi.com/