November 12, 2014 at 4:06 pm

-


March 7, 2013 at 2:54 am

_

May 16, 2012 at 10:31 am

Citrix Receivers on Ubuntu Clients

Posted by in Ubuntu

First time visiting the Citrix portal with an Ubuntu workstation, use the following instructions to install the Citrix Receiver:

  • Update and upgrade your system with Aptitude
  • $ sudo apt-get install libmotif3 (On Ubuntu 10.04. Later versions use libmotif4)
  • open a browser like FireFox without “paranoid” features enabled
  • visit your Citrix Desktop site ie; https://citrix.mydomain.com
  • when prompted, enter your domain\username & password
  • Click the [ INSTALL ] button which takes you to a Downloads site on Citrix.com
  • You are now at http://www.citrix.com/site/SS/downloads/index.asp
  • Under Clients, click VIEW ALL
  • Under Desktops, click LINUX
  • Download and install RECEIVER FOR LINUX DEB package (x86/64/ARM versions available)
  • Download and install USB SUPPORT PACKAGE DEB package (x86/64/ARM versions available)
  • Download the AddTrustExternalCARoot.crt from https://support.comodo.com/index.php?_m=downloads&_a=viewdownload&downloaditemid=9&nav=0,1
  • move or copy the file to /opt/Citrix/ICAClient/keystore/cacerts/ directory
  • You should now be able to use the Citrix Portal.

Resources:

  • http://nukleos.wordpress.com/
  • http://www.citrix.com/site/SS/downloads/index.asp
  • https://answers.launchpad.net/ubuntu/+question/124616
  • https://support.comodo.com/index.php?_m=downloads&_a=viewdownload&downloaditemid=9&nav=0,1
January 5, 2012 at 2:36 pm

Moving Ubuntu installation to new PC

Posted by in Ubuntu

- old PC and new PC must have same version of Ubuntu, but 32 bit vs 64 bit does not matter.

– On the old PC, run the following command to list all currently installed packages into a file called ~/pkglist:

sudo dpkg --get-selections | sed "s/.*deinstall//" | sed "s/install$//g" > ~/pkglist

– Copy /etc/apt/sources.list to the new PC using scp, rsync or FileZilla

– Copy the ~/* and ~/.* home directory files to the new PC using the same tools.

– From the home directory on the new computer, run the following to install the same packages as the old PC:

sudo apt-get update && sudo apt-get install `xargs -a ~/pkglist`

December 28, 2011 at 3:47 pm

Partitioning new disks in Ubuntu Ocelot

Posted by in Ubuntu

During the installation from a 32-bit Live CD, you can build the following partitions as part of the process.

  • In STEP 2 of the installation, choose “SOMETHING ELSE” to create your own custom partition table.
  • ADD  “/boot” partition:
    • Type = PRIMARY
    • Size = 512 (only contains kernel and boot info, can be small as 50mb)
    • Location = BEGINNING
    • Use as = EXT2 (for backwards compat, but Ext4 Journal is ok too)
    • Mount point = /boot
    • Should appear as /dev/sda1 or similar after creating
  • ADD “swap” partition:
    • Type = LOGICAL
    • Size = 1.5 x your physical RAM allocated, 2GB = 3072MB swap
    • Location = BEGINNING
    • Use as = SWAP AREA
    • Mount point = <null>
    • Should appear as /dev/sda5 unless you specified partition type as PRIMARY which would appear as /dev/sda2
  • ADD “/” root partition:
    • Type = LOGICAL
    • Size = 8096MB minimum, stores OS and app files, and optionally /home if you feel this partition is large enough to accommodate both. Having a dedicated /home file system is not required, however it does make portability to new hardware, backups, and upgrades easier and more secure.
    • Location = BEGINNING
    • Use as = EXT4 journaling file system
    • Mount point = /
    • Should appear as /dev/sda6 or similar after creating
  • ADD “/home” partition (optional, see above):
    • Type = LOGICAL
    • Size = however much space you feel you need for your users to store files on this disk, if at all. You can simply use the remainder of this disk if you like.
    • Location = BEGINNING
    • Use as = EXT4 journaling file system (to encrypt, see below)
    • Mount point = /home
    • Should appear as /dev/sda7 or similar after creating
  • Be sure the FORMAT [ X ] check box is checked for each parition (except swap).
  • Click INSTALL NOW. If there are any configuration or options conflicts, you will be prompted to correct them before the installation begins.
  • Set your TIME ZONE, KEYBOARD, USERNAME, PASSWORD and COMPUTER NAME in ADDITIONAL STEPS
  • You now also have the opportunity to select [ X ] ENCRYPT MY HOME FOLDER
  • Click INSTALL to install the operating system on your new drive in your new partitions.

http://www.linuxbsdos.com/2011/05/04/manual-disk-partitioning-guide-for-ubuntu-11-04/

December 8, 2011 at 7:19 pm

Default applications for file extensions in Ubuntu

Posted by in Ubuntu

The file associations for each user are stored in:

~/.local/share/applications/mimeapps.list

The system-wide file associations are stored in:

/usr/share/applications/defaults.list

November 30, 2011 at 3:12 pm

Prevent Terminal Server Client from auto-reconnecting in Ubuntu

Posted by in Ubuntu

Ubuntu’s APPLICATIONS -> INTERNET -> TERMINAL SERVER CLIENT will attempt to reconnect sessions that are disconnected for any reason, including user-requested disconnects. To change this behavior:

  • make a quick backup of your .tsclient file in your home folder
    • $cp -p ~/.tsclient ~/.tsclient.bak
  • add the following variable & value to your .tsclient file
    • reconnect_policy: never
  • other potential values for the reconnect_policy are:
    • never
    • always
    • error
    • prompt
June 30, 2010 at 5:00 pm

Move window size controls in Lucid

Posted by in Ubuntu

By default, Ubuntu 10.04 Lucid Lynx LTS has the window size control buttons mounted on the left margin of the window title bar. According to Canonical, this is to make room for more window controls in the future.

To set the window size control button back to the right margin, there are two main steps you’ll need to perform. Neither require a reboot or even a restart of X11.

Install the SYSTEM TOOL called CONFIGURATION EDITOR

  • Right-click the Ubuntu Menu Icon
  • Click the EDIT MENUS option
  • In the MAIN MENU window’s left pane, click SYSTEM TOOLS
  • In the right pane, enable CONFIGURATION EDITOR

Reconfigure the title bar buttons:

  • Click APPLICATIONS / SYSTEM TOOLS / CONFIGURATION EDITOR
  • Navigate to APPS / METACITY / GENERAL
  • Double-click the BUTTON_LAYOUT key
  • Change VALUE from “close,minimize,maximize:” to “:minimize,maximize,close”

You should notice the window size controls move to the right margin immediately.

June 12, 2010 at 4:11 pm

Recovering locked Ubuntu X11 Sessions

Posted by in Ubuntu

If the following key combinations do not work, you may have to cut the power to the system, then ensure a file called /proc/sys/kernel/sysrq exists. This file should only contain the single numeral “1” as its entire contents, and another reboot may be required after creating the file.

However, try these key combos as more than likely these already work for you to some degree:

ALT+PRTSCR+B
Reboots the system immediately without concern for graceful shutdown or umounts.

ALT+PRTSCR+O
Same as above, but attempts a quick-n-dirty shutdown instead of reboot

ALT+PRTSCR+R
Attempts to hijack control of the keyboard buffer, which may then allow you to perform a CTRL+ALT+F2 (F3, F4, etc) to gain a command line session to shutdown rogue processes or perform a graceful shutdown of the entire system using something like “init 0″.

ALT+PRTSCR+S
Syncs the filesystems, possibly preventing additional data loss if brute force power recycling is required.

ALT+PRTSCR+U
Attempts to umount and remount all disks.

ALT+PRTSCR+E
Send the SIGTERM signal to all processes except init

ALT+PRTSCR+I
Send the SIGKILL signal to all processes except init

Try these commands in the following order:
S.E.I.U.B.

at 10:41 am

Using Truecrypt from Ubuntu CLI

Posted by in Ubuntu

Creating keyfiles:
$ truecrypt -- keyfile-create myKeyFile.key

Creating volumes from files:
$ truecrypt -c myVolume.vol

Mounting volumes:
$ truecrypt myVolume.vol (mounts next available slot under /media)
$ truecrypt myVolume.vol /media/truecrypt5 (mounts in specific slot under /media)
$ truecrypt myVolume.vol -k myKeyFile.key (when keyfiles are required)
$ truecrypt /dev/sdb (mounting encrypted devices with prompts)
$ truecrypt /dev/sdb /media/truecrypt6 (mounts in specific slot under /media)
$ truecrypt /dev/sdc1 (mounting encrypted partitions)
$ truecrypt /dev/sdc1 /media/truecrypt7 (mounts in specific slot under /media)

Dismounting volumes:
$ truecrypt -d /media/truecrypt5

Viewing mounted volumes:
$ truecrypt -l (lists volumes with short info)
$ truecrypt -l -v (lists volumes with long info)

*** It’s a little dated, but still a great article here on building and running TrueCrypt installed from the command line – http://polishlinux.org/howtos/truecrypt-howto/

June 11, 2010 at 12:36 pm

Windows Control Panel applets from the cmdlin

Posted by in Windows

Applet Name [ Command from C:\Windows\ ]
—————————————————————–
Accessibility Options [ control access.cpl ]
Add New Hardware [ control sysdm.cpl add new hardware ]
Add/Remove Programs [ control appwiz.cpl ]
Date/Time Properties [ control timedate.cpl ]
Display Properties [ control desk.cpl ]
FindFast [ control findfast.cpl ]
Fonts Folder [ control fonts ]
Internet Properties [ control inetcpl.cpl ]
Joystick Properties [ control joy.cpl ]
Keyboard Properties [ control main.cpl keyboard ]
Microsoft Exchange [ control mlcfg32.cpl ]
Microsoft Mail Post Office [ control wgpocpl.cpl ]
Modem Properties [ control modem.cpl ]
Mouse Properties [ control main.cpl ]
Multimedia Properties [ control mmsys.cpl ]
Network Properties [ control netcpl.cpl ]
Password Properties [ control password.cpl ]
PC Card [ control main.cpl pc card (PCMCIA) ]
Printers Folder [ control printers ]
Regional Settings [ control intl.cpl ]
Scanners and Cameras [ control sticpl.cpl ]
Sound Properties [ control mmsys.cpl sounds ]
System Properties [ control sysdm.cpl ]

May 18, 2010 at 8:51 am

Rerun IE8 new user RunOnce Installation Wizard

Posted by in Windows

** NOTE: Borrowed from http://support.microsoft.com/kb/923737#fixit4me

  • To reset Internet Explorer automatically, click the Fix this problem link. Then click Run in theFile Download dialog box, and follow the steps in this wizard.
  • This fix does not work in Windows 7. Instead, you can use the Internet Explorer troubleshooters to achieve this automatically.
  • This wizard may be in English only; however, the automatic fix also works for other language versions of Windows.
  • If you are not on the computer that has the problem, you can save the automatic fix to a flash drive or to a CD, and then you can run it on the computer that has the problem.

** NOTE: If the article mentioned above has disappeared, you can download the MSI executable here. Run it to reset all user settings in IE8, then restart IE8 for the Wizard to reappear.

May 17, 2010 at 8:47 am

Disable IE8 multi-tab Aero peek

Posted by in Windows

Programs can choose to allow their child windows a preview on the taskbar (for example, if you had multiple Spreadsheets open in a single instance of Excel, you will probably appreciate that Excel gives each window its own thumbnail instead of just the master Excel process).

In IE options, on the General tab (first tab) click Settings for tabs.  Then un-check “Show previews for individual tabs in the Taskbar”. A restart of your browser is required.
May 10, 2010 at 11:47 am

Subscribe to your Google Calendar

Posted by in Windows

You can subscribe to your calendar posted on Google Calendar. An Internet Calendar Subscription keeps your Outlook copy of your Google Calendar updated. Outlook periodically checks the Google Calendar for updates, and if any are found, they are downloaded to the calendar copy in Outlook.

  • Log on to your GOOGLE CALENDAR account.
  • In the left column, under CALENDARS, click the arrow button next to the calendar that you want to add to Outlook as an INTERNET CALENDAR SUBSCRIPTION.
  • Select CALENDAR SETTINGS.
  • Under PRIVATE ADDRESS, click ICAL.
  • Select the URL that appears, and then press CTRL+C to copy the selected text to the Windows clipboard. Do not click the link. If you click the link, the calendar will be opened in Outlook as a Calendar Snapshot which is not updated.
  • In Outlook, on the TOOLS menu, click ACCOUNT SETTINGS.
  • On the INTERNET CALENDARS tab, click NEW.
  • Paste the URL from the earlier step using CTRL+V.
  • Click ADD.
  • In the FOLDER NAME box, type the name of the calendar as you want it to appear in Outlook, and then click OK.

** NOTE: To make changes to your Google calendar, you must use Google Calendar. Changes made in Outlook are not sent to your Google Calendar.

** NOTE: This text was copied for personal use from http://office.microsoft.com/en-us/outlook/ha101674951033.aspx

at 11:47 am

Export an Outlook calendar to Google Calendar

Posted by in Windows

In OUTLOOK CALENDAR, select a calendar to make it the active calendar in the view.

On the FILE menu, click SAVE AS. Type a name for the iCal file in the FILE NAME text box.

A summary of the calendar name, date range, and detail level appears next to MORE OPTIONS.

From the DATE RANGE list, choose the amount of calendar data to include in the iCal file, or click SPECIFY dates to enter a custom date range. If you choose a large date range or select WHOLE CALENDAR, you might create a large iCalendar file.

From the DETAIL list, choose the amount of detail to show the recipients. By default, the AVAILABILITY ONLY option is selected. None of the options include your items marked private unless you change the privacy option in ADVANCED.

Optionally, click SHOW to see ADVANCED OPTIONS.

Include details of items marked private.   This option requires DETAILS to be set to LIMITED DETAILS or FULL DETAILS. The existence of private items will be included, but no further information will be shared.

Include attachments within calendar items This option requires DETAILS to be set to FULL DETAILS. All attachments in calendar items, such as spreadsheets, are included. This might increase the size of the iCalendar file significantly.

Click OK, and then click SAVE. If your calendar contains no items, a dialog box appears to provide you with a chance to cancel saving the iCalendar file.

Log onto your Google Calendar account.
Click SETTINGS at the top of the page.
Under CALENDAR SETTINGS, click IMPORT CALENDAR.
Under Step 1: Select FILE, click BROWSE, choose the file that you created above, and then click Open.
Under Step 2: Choose CALENDAR, select the GOOGLE CALENDAR where you want to import your Outlook calendar.
Under Step 3: COMPLETE IMPORT, click IMPORT.

** NOTE:   This is a static calendar that does not update, regardless of changes made to it in Outlook. To update the calendar in Google Calendar with the changes made to it in the Outlook calendar, you must repeat this procedure.

** NOTE: This text was copied for personal use from http://office.microsoft.com/en-us/outlook/ha101674951033.aspx

© 2010 B r i a n H i g g i n s . c o m: . :   The Personal Website of an Unapologetic Conservative : .