Tuesday, May 9, 2017

Howto install Citrix receiver 13.2 on ubuntu - lubuntu 16.04 using chrome browser

Howto install Citrix receiver 13 on ubuntu 16.04 using chrome browser

Most of it is from here: https://help.ubuntu.com/community/CitrixICAClientHowTo
Using this commands was able to install on an ASUS T100TAF runnung lubuntu 16.04

What I did was

1) Install chrome, that is easy. Go here https://www.google.com/chrome/browser/features.html then click download and it does this automatically, you'll just need to select what package you want that for ubbuntu 16.04 64 bit it will say 64 bit .deb (For Debian/Ubuntu)

2) Download this package:

        from here: https://www.citrix.com/downloads/citrix-receiver/legacy-receiver-for-linux/receiver-for-linux-13-2.html

Then open a terminal and type these commands (you could copy paste)

   1  sudo dpkg --add-architecture i386
   2  sudo apt-get update
   3  sudo dpkg -i ~/Downloads/icaclient_*.deb
   4  sudo apt-get -f install
   5  sudo ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts/
   6  sudo c_rehash /opt/Citrix/ICAClient/keystore/cacerts/
   7  /opt/Citrix/ICAClient/util/configmgr &

from below try both as I'm not sure which one worked
   8  xdg-mime default wfica.desktop application/x-ica
   8  sudo xdg-mime default wfica.desktop application/x-ica

Then should work, open chrome go to the website that will get you your ica file, when clicking on link you can set to always open this will save you a step. Hope it helps

Monday, May 8, 2017

Install lubuntu, ubuntu or xubuntu on ASUS T100TAF

T100TAF is a small asus pc with detachable keyboard using Winblows 8 or 10, with either OS the system is SLOOOOOW.

So with the purpose of making it faster I set o get a version of ubuntu to work on this thing, I was able to get ubuntu, ubuntu installed and loading but I went with lubuntu thinking do not need any major software to do word processing etc, just wanted browsing (for netflix, amazon) and KODI for my home mythtv box. This PC is 64bit so to maximize use I've installed 64bit which makes things a bit trickier in terms of booting but with this will be simple enough to get it done, I think. To be able to do this I've googled left and right this blog help a bit to get things going but the wifi instructions in my case didn't work, nor the rest

So first thing is get lubuntu on a USB, from windows or linux the simplest is unetbootin, you don't know how to do that for ubuntu look at this: https://askubuntu.com/questions/217981/how-to-install-and-run-unetbootin, but the commands to do this is:

sudo add-apt-repository ppa:gezakovacs/ppa && sudo apt-get update && sudo apt-get install unetbootin

Then start the program (should be in one of the menus) select lubuntu distro live (I grabbed 16.04), to make the 64 version boot you'll need a file called bootia32.efi you can download this from someone (but being myself a bit paranoid and because I'm not familiar with the complexity of these files) I downloaded first the 32 bit version on the folder EFI/Boot there is the file copy somewhere you'll need this is a bit.

Then get the 64 bit version by the same process and copy the bootia32.efi into the EFI/Boot you'll know you are putting in the right place because there sould be 64but version. (this is needed because apparently this pc has a 32 bit efi)

Now boot the tablet, quickly press esc key that will bring the boot menu select enter setup (right now I think maybe f2 will get you in the bios but can't remember with certainty so press esc and enter setup)

Go to the boot section and disable secure boot, then reboot, pres esc select your USB and wait

I like to have the installer get the files it needs, you need to make wifi work and it doesn't out of the bos therefore, once you have the initial lubuntu or any other distro boot menu, do not select install select try first, this should load the OS (from now on will refer only to lubuntu but it works the same for xubuntu or ubuntu)

OK lets make wifi work, a bit of context: there is a text file in the pc's memory that is needed for wifi to work but in can be copied to the OS and then used. You do this by doing the following:
1) Open a terminal (ctrl+alt+t)

2) Copy file with this command: sudo cp /sys/firmware/efi/efivars/nvram******** /lib/firmware/brcm/brcmfmac43340-sdio.txt

2a) To get the full name when you get to nv press the Tab key an it will autocomplete the name of the file

3) Then do these command:
sudo modprobe -r brcmfmac
sudo modprobe brcmfmac

Apparently these commands load and unload the module so it resets, I think

4) The above step should have enabled your wifi (is not instantaneous so wait 5-10 secs at most) and therefore go to the icon for networks and a list of APs should be available select and connect

5) Go through the installation and that should get lubuntu on your T100TAF (I erased the disk but made a full backup image with clonezilla)

6) Unfortunately I do not know how to make the installer, install the drivers for the wifi and despite the system at that moment being able to use wifi it won't get installed so therefore repeat step # 2 to #3 and the driver will be installed. This will make it available after reboot but might need to be repeated when installing/updating anything that would change your kernel or so I think, but don't despair just repeat those steps

7) Some say they've been able to get audio going but I followed instructions and it has not worked

8)Also bluetooth doesn't work despite supposedly having the broadcom driver, not sure what it is but the bluetooth manager doesn't seem to fin any adapter and using hcionfig shows a MAC address with only zeros which I think is related to the problem but I have not been able to figure that one out so far.

BTW Do not enable the additional intel microcode driver it makes it freeze

The business of government=taxpayer

My personal view is that our current president (the best...est one, ever and ever....  according to him) will not be beneficial to our country. But with that said my only hope was that he would have truly approached the country as a business. Now it sounds easy but what should the government do? What should it encourage, discourage, enforce and prohibit?

To understand this I think the person managing the business should understand what the business is and therefore can get specific business plans directed to such goals (AKA government policies). In a business if you produce bikes, well develop the best bike, you produce phones well develop the best phone (and the iphone is not it), this together with HR, acounting, marketing, R&D and so many other departments your business will need. My personal view is the government should focus on the production of the best taxpayer. What??? Yes the best taxpayer that is what the government produces; how so, well when a child or immigrant arrives to the country, would it not be the highest benefit that such a person gets to produce his maximum for as long as possible?

So to do so you would need to foster and develop an individual that on the majority of his productive life will earn an income that will generate taxes for the government, and all other rolls for the government would derive from such approach, so that you need the individual:

1) well trained therefore education
    a) from primary to university
    b) retraining when unable to perform their job due to:
          i) the industry where the indvidual was earning income closes or decreases (Pinsetter,
              Telegraph or Switchboard Operator)
          ii) health issues that impede from performing current job
    c) forecast changing industry needs and encourage training in future jobs for a) & b)

2) healthy therefore healthcare, EPA, FDA, USDA etc

3) able to go to work therefore transportation FAA, DOT, etc

4) able to safeguard their person and belongings therefore, police, military, banks, financial system, DOJ, etc

5) able to obtain goods without being conned by others therefore consumer protection agency

6) productivity can be decreased if mentally burden and to avoid this maintain good areas for living, tourism, transit, a clean & safe environment, access to food, entertainment, this is left usually unattended by governments

7) Unoppressed by other taxpayers, therefore regulations in  case of any of the cisms (sexism, racism, etc), therefore DOJ, police etc

8) Remove the burden of illness, poverty from the other produtive members, such that if someone is unable to work does not go hungry, does not die, sounds very technical but in terms of a business there should be ajustification why being a good person is good business

9) pay their taxes at the end that is the source of funds to provide all the benefits to foster the best taxpayer therefore IRS

Although many of these areas are run by the government, not all should be run by the government. Allowing the individual to develop and derive income from any activities that the government would deem beneficial to its goal, should be encouraged as could comeback and benefit the governments goal of the best taxpayer. There are so many more reasons why the government exist, and potentially other rolls it should play again not running all of them but encouraging  their existence.

If an individual has a counter productive behavior, it should discourage suh behavior, and ultimately enforce a punishment if clearly is counterproductive.

Well my idea of government.... What you think?