Synopsis: In order to run the Mendeley and Evernote desktop applications on my FreeBSD laptop -- short of endeavoring to develop a port for each of those, as onto the Centos 6 (C6) Linux emulation layer, in FreeBSD -- previously, I'd installed Microsoft Windows 7 into a VirtualBox virtual guest machine, from a Microsoft DreamSpark installer disk. In a sense, it's "Worked," so far -- as after completing all of the OS installation process, OS update process, and software installation processes onto the virtual guest machine -- "Worked," though, in such that I now have a Microsoft Windows 7 virtual guest machine available for running Microsoft Windows software via VirtualBox on my FreeBSD laptop, but considering the substantial hardware footprint of Microsoft Windows -- as in regards to Microsoft Windows' utilization of system memory and processor resources, whether or not such hardware resources are utilized via a VirtualBox virtual guest machine -- I've estimated that it may be more effective to install Mendeley and Evernote into a Linux virtual guest machine. With those applications installed into a Linux virtual guest machine, and with the Linux operating system (OS) of that virtual guest machine being tuneable as a Linux operating system, I estimate that it may be overall a more effective way to utilize the Mendeley and Evernote desktop applications ultimately on my FreeBSD laptop -- more effective, juxtaposed to the Mendeley and Evernote desktop applications being installed to the, may one say, the more indulgently designed operating system that is Microsoft Windows 7.
Thus, I've downloaded the Debian net installer CD -- using the BitTorrent P2P distribution for downloading the Debian net installer CD, then applying the ctorrent command-line BitTorrent application on my FreeBSD laptop. After some small effort for resolving an initial issue at installation time, I've now installed Debian into a VirtualBox virtual guest machine, on my FreeBSD laptop. Of course, this being a learning experience -- and although the style in which I write about this learning experience may not seem like "Normal English" to some readers' estimations -- I've considered that it may be useful to record some of my own technical observations from this learning experience, specifically of installing Debian 8.2 from the amd64 netinst CD.
Firstly, as in order to so much complete the installation, I've configured the VirtualBox virutal guest machine such that the virtual guest machine would utilize the VirtualBox ICH9 CPU emulation -- juxtaposed to the VirtualBox PIIX3 CPU emulation. When the virtual guest machine was configured, originally, to use the PIIX3 CPU emulation, the installation would "Freeze", reproducibly -- furthermore, always "Freezing" at a specific time, such as when installing the 'passwd' utility during the Debian installer process. My not being immediately predisposed to bug track that specific issue, I've sought a workaround, and have found a workaround of the issue.
Simply, in the graphical configuration panel for the VirtualBox virtual guest machine for the Debian installation -- specifically, in the virtual guest machine 'System' configuration panel, 'Motherboard' configuration tab -- I've selected the ICH9 Chipset emulation instead of the PIIX3 Chipset emulation. Once making that single change to the configuration for the virtual guest machine, I was able to complete the Debian installation. (Ed. Note: Of course, this configuration change could also be made in applying the 'vboxmanage' shell command, as may be installed with the VirtualBox OSE port on FreeBSD hosts. The VirtualBox manual describes the 'vboxmanage' shell command, at depth)
In order to create something of a minimalist desktop, in the Debian virtual guest machine, I'd selected the XFCE desktop at installation time. Furthermore, I'd deselected the print server installation task, at that time -- thus limiting the amount of software that the installer would install in the virtual guest machine, before "First boot".
Of course, the Debian virtual guest machine will be applied, on my FreeBSD laptop, not as if for creating a stand-alone virtual desktop environment of the Debian installation. Rather, ,the Debian virtual guest machine will be applied as to provide some desktop application services, such that may then be presented on the FreeBSD desktop via the VirtualBox "Seamless" display integration -- such that it will then be possible to use the Evernote and Mendeley desktop applications, without those applications being installed immediately to the FreeBSD laptop's root filesystem.
At "First boot," with the newly created Debian virtual guest machine, I installed the Debian package virtualbox-guest-dkms. To install the Debian package, I used aptitude package manager application on Debian. The selection is illustrated on an XFCE desktop, in the following screenshot.
After installing the virtualbox-guest-dkms package, I've then rebooted the Debian installation within the virtual guest machine. Following the reboot, the Debian installation can now utilize the VirtualBox Seamless display mode. Effectively, this allows for a close visual integration of desktop applications running directly in the Debian virtual guest machine, in a manner of visual integration with the FreeBSD desktop -- at which desktop, I've been applying the Cinnamon desktop environment.
Of course, the installation is not as functionally seamless as much as it may seem visually seamless, at least by the time of "Second boot". At time of "Second boot," I can't help but notice that the virtual host machine's mouse pointer is not actually producing input events to the desktop in the virtual guest machine. The host machine's mouse pointer then appearing to make a manner of geometry events, in the virtual guest machine -- at least, from how it seems, with the desktop of the virtual guest machine being displayed within a VirtualBox window on the virtual host machine. It may be that the virtual guest machine is not receiving any input from the host machine's mouse pointer, in the "Second boot"
At "Second boot," the desktop of the virtual guest machine has become unresponsive to the mouse pointer of the virtual host machine -- perhaps it may be something to do with the APIC implementation in the virtual guest machine, as I've not seen any such issue with the Microsoft Windows virtual guest machine I've installed on the same host machine. In retrospect, the "Unresponsive" state of the host machine's mouse pointer may have actually preceded the switch into Seamless mode in the display of the virtual guest machine. Perhaps it may be "Cleared up" with a simple reconfiguration of the respective VirtualBox virtual guest machine.
After shutting down the virtual guest machine in its minimal "Second boot" configuration, I've now reconfigured the virtual guest machine -- as such, within the host operating system -- such as to apply the original PIIX3 Chipset emulation within the virtual guest machine. Subsequently, I've booted to "Third boot." In a simple commentary, it may seem that the ICH9 Chipset emulation was sufficient for application at installation time, but that it's not working out as well, for application at normal desktop runtime. With the PIIX3 Chipset emulation again selected, then at "Third boot" of the virtual guest machine, again I'm able to use the host mouse pointer within the virtual guest machine.
The screenshot, above, illustrates the VirtualBox seamless desktop integration, with Debian 8.2 running in a VirtualBox virtual guest machine, and the VirtualBox virtualization services then running on a FreeBSD host. On the FreeBSD host, I'm applying the Cinnamon desktop environment. In the virtual guest machine -- presently -- I'm applying the LXDE desktop environment. Though I'm considering to deactivate the desktop environment, entirely -- albeit, then to a loss of "Window switching" behaviors in the virtual guest machine -- personally, I think LXDE is a nice "Starting point" for interacting with the virtual guest machine via a desktop/menu graphical interface.
As illustrated in the previous screenshot, when the VirtualBox virtual guest machine's display window is active on the virtual host desktop environment, and the virtual guest machine display window is configured for VirtualBox Seamless display mode, then the host machine displays the LXDE desktop environment effectively as a layer on top of the host machine's desktop. Visually, the effect is as if the Debian LXDE installation was running immediately within the Cinnamon desktop on FreeBSD. (Ed. note: Effectively, that is a characteristic of the functional configuration, moreover, with the LXDE desktop running within VirtualBox -- the VirtualBox virutalization services then providing a manner of a "Middle services layer" in running the Debian virtual guest machine, and VirtualBox running within a desktop on a FreeBSD host.)
There are a number of optimizations that may serve to produce an optimally running virtual desktop environment, of a Linux installation in VirtualBox -- for instance, to adjust the "clock" timer in the Linux kernel configuration to a value that may be more optimal than the default value, such as for running a Linux desktop within a VirtualBox virtual guest machine. Furthermore, it may be advisable to disable the screensaver in the virtual guest machine. To any further detail, such optimizations will be left as an exercise for another article.
By time of "Fourth boot," hopefully my own simple CorvidCube will have the Evernote and Mendeley desktop applications installed. Presently, perhaps it's an -- albeit wordy -- "Howto" towards a configuration of a sort of meta-development environment on a desktop PC.
Ed. Note: As it turns out, the Evernote desktop application is not available for Linux platforms. Mendeley is, though [Download Mendeley Desktop for Linux]. Bibliography, and so on....
Showing posts with label Cinnamon. Show all posts
Showing posts with label Cinnamon. Show all posts
Sunday, October 11, 2015
Tuesday, June 24, 2014
On Installing Linux Mint - The 'Granite' PC Edition - "Issues Abound"
![]() |
Cinnamon Destkop Environment, Linux Mint LiveCD |
- HP Pavilion PC
- Linux Mint (LMDE 201403)
- Hostname: Granite
- Before writing this blog entry, the drivers for the touchpad for the PC needed to be configured to disable the touchpad when typing
- That was "Easy enough," via the Mouse and Keypad configuration widget, under the System Settings menu entry in the Preferences menu of the Cinnamon Desktop Menu
- Without that configuration change, otherwise the PC's hypersensitive touchpad would serve to prevent effective use of the web browser
- Browser issues -- Mint LMDE 201403 ships with an actually "oudated" edition of Firefox
- Negative features of the edition of Firefox shipping with LMDE 201403:
- Firefox 27 -- Is it the ostensible "Optimized by Yahoo" edition of Firefox?
- That page indicates, inaccurately, as if Firefox 30 was not available on Linux (Accessed 24 June 2014)
- Maybe it's simply a matter of crossed semantics. Perhaps Firefox 27 is the latest version of Yahoo(Firefox) though it is not the latest version of Mozilla Firefox.
- Firefox 30 is, in fact, available on Linux
- The current edition of Firefox (Firefox 30) is available via Mozilla.org
- The Firefox 27 edition shipped with that edition of Mint (LMDE) prevents the user from selecting Google as a search engine in the browser search bar
- Google is not either available in the "Manage search engines" menu, in that Firefox 27 edition
- The Firefox Synch configuration is strange in that edition, and not well usable. Unlike in Firefox 30, the Firefox Synch configuration in that edition of Firefox 27 it requires some sort of a "remote device" for its configuration, whereas in Firefox 30, the Firefox Synch configuration only needs one's regular username and credetials for login
- Due to the significance of the web browser as an application in the typical desktop OS user experience and workflow -- certainly, the web browser being no less significant as an essential desktop application, as much on a Linux Desktop, as much as on an OS X or Microsoft Windows desktop -- then the limitations of the edition of Firefox shipped with Mint (LMDE 201403) might seem to suggest a sense of limitations to the OS itself, if only due to the "Yahoo
Optimized" edition's Yahoo branding and Yahoo search engine lock-in - At least the upstream Firefox is available to be installed by the user and/or admin -- an edition of Firefox not limited by any single search engine provider's own endeavors in marketing
- The PC of this installation is an HP Pavilion, 15 D045NR
- The Linux Mint used for that laptop: Linux Mint, LMDE 201403, 64 bit (amd64), with Cinnamon configured as the primary desktop environment
- Cinnamon -- great desktop UX, regardless of these "hangups"
- There appears to be some kind of an issue with Linux KMS on that laptop -- specifically with Kernel 3.11.2 on that model of PC
- The PC will not "Boot to GUI" -- not either before or after installation -- if without the parameter, 'nomodeset', being specified on the kernel command line.
- Without that parameter, the install disk screen goes blank after the kernel is loaded. Similar behavior is observed with the OS as installed.
- Advice about 'nomodeset' was found via a tutorial at the Linux Mint community web site
- Additionally, the kernel parameter, grub_gfxmode=1280x1024x24 as denoted in the tutorial, it serves to allow for a more usable terminal/console view, on that laptop
- Those additional kernel command line parameters may be specified via Grub, at boot time, and may be added to the host Grub configuration, followed with `update-grub`
- However, the KMS issue (framebuffer??) effectively asks for a long-term resolution, on at least that model of laptop
- When the Cinanmon desktop boots to X, with the nomodeset parameter specified on the kernel command line, then there's a warning about the desktop running in software acceleration mode. That warning may be viewed as it being a useful item, however -- for instance, it may be viewed as effectively denoting some further concerns with regards to correcting the configuration on the laptop.
- Additionally, that model of PC uses UEFI, in such a hard disk and firmware configuration as makes it notably difficult -- though notably "not impossible" -- to install Linux in parallel to the PC's primary Windows 8.1 installation
- "Quick" workaround: To enable "Legacy boot" in the BIOS, and to manually select the non-UEFI/non-EFI entry for the hard disk, in the boot device options, every time the PC boots
- Alternately, one may consult available documentation online, for advice about installing Linux for dual-boot on an UEFI PC.
- Perhaps in some relation to the UEFI issue, `cfdisk` is not able to read the partition table of the laptop's internal drive.
- `cfdisk`emits the error message, "Unsupported GPT (GUID Partition Table) detected" and indicates that the partition table can be acessed with `gparted`
- FIXME: The `gparted` partition editor is not shipped with the LMDE live disk (LMDE 201403)
- ntfsprogs -- unavailable?
- Keyring issues?
- A workaround is available - note the comment by Sadi, in an item at Ask Ubuntu
- Though the "convenient hack" is available, but that issue needs an upstream resolution
- Evidently it's not a matter of keyring issues, per se
- Aptitude reports the issue as if it being a matter of "Unauthenticated sources"
- It appears that it is matter involving of the /var/lib/apt/list/... files, whether as installed by the LMDE installer and/or as updated after installation. The workaround entails an effective removal (renaming) and subsequent recreation of those files (FIXME)
As I observe, my post-install tasks therefore include:
- Task: Fix /var/lib/apt/list/... files (complete)
- Task: Install gparted (complete)
- Task: Configure swap partition (complete. "/" is on sda7, swap is on sda8, partitions configured previously via a Debian netinst install, since overwritten)
- Task: Install new/open Firefox browser, and synch browser with Firefox Synch (add-ins, bookmarks, Diigo.) (complete, see notes)
- Follow-up task: Update shortcut link (desktop toolbar, menu) for new Firefox (in progress)
- Note: The KDE Menu Editor presents a convenient interface for editing the user's desktop applications menu. Cinnamon does not currently publish such an interface.
- Follow-up task: Remove "Yahoo(Firefox)" from OS installation
- FIXME: Publishing an Open Firefox via a Debian repository?
- Question: Compatibility and versions, between Iceweasel and Firefox?
- Issue: Web usability
- Note: Shut down Mint Firefox before starting Firefox in "new" open Firefox installation
- Note: Used stow for stowing the latest Firefox edition (Firefox 30) under /usr/local
- specifically, /usr/local/lib/firefox with a corresponding binary dir and symlink
- the files are actually stored under /usr/local/stow/firefox-30.0/ but symlinked, using `stow`, under /usr/local/
- FIXME: Whither xstow?
- Task: Modify Grub configuration for the temporary nomodeset workaround, and then `update-grub`
- Determine and fix the cause of the "nomodeset issue"
- Additional observations:
- After using the "CTRL+ALT+F_" hotkey for switching to any of the console virtual terminals on that model of PC, and under at least that Linux kernel version, the PC's display screen becomes completely unusable, all of an "Empty black screen" of unusability, no matter what hotkeys would be applied, then
- Is it a framebuffer issue?
- Question: What graphics hardware is the PC using -- as may be denoted, in some sort of a standard way of identifying the hardware -- and what kernel driver is being used for that graphics hardware?
- Methodology:
- Task: Install `lshw-gtk`
- Review the output from `lshw-gtk`as displayed at the desktop, to determine that further information -- namely, hardware ID and kernel driver.
- Alternately, review the shell output from `lswh --xml | less`
- Observe xpath:node[@id='display']
- Containing element: xpath:/node[@class='system']/node[@id='core']/node[@id='pci']
- product: 3rd Gen Core processor Graphics Controller
- vendor: Intel Corporation
- businfo: pci@0000:00:02.0
- Identified at manufacturer product specification page as: Intel HD graphics 4000
- See also: Intel Graphics Drivers for Linux
- Note: For LMDE, download the source code, build, and install (note: dependency errors) For non-LMDE Mint distros, see advice for installing via apt (package: intel-linux-graphics-installer)
- If applicable, reconfigure the kernel for the graphics hardware.
- In some PC configurations, and at the user's own option, this may entail an installation of non-free graphics card drivers (whether from Nvidia or -- perhaps more likely -- from ATI, in this configuration) alternate to free/open source drivers (e.g. Nouveau)
- Resources include:
- Arch Linux Wiki. Kernel mode setting
- Fatdog. Kernel Command Line Parameters (aka Boot Options)
- P4Man. How to set NOMODESET and other kernel boot options in grub2
![]() |
gparted and terminal, Granite PC |
Labels:
Cinnamon,
Firefox,
gparted,
HP Pavilion,
Linux Kernel,
Linux Mint,
LMDE,
stow
Subscribe to:
Posts (Atom)