LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 02-21-2019, 08:40 AM   #1
sam356
LQ Newbie
 
Registered: Feb 2019
Posts: 2

Rep: Reputation: Disabled
Mouse and screen problems in fresh puppy install


I am trying to setup a hard drive installed version of puppy linux. I am no expert with computers. This is what I have done.

I used the following file to run a live version of puppy in vmware:

http://ftp.nluug.nl/ftp/pub/os/Linux...p-7.5-uefi.iso

I used the menu item in the live version to do a frugal install to the vmware hard drive (which is 50gb in size, so easily big enough).

I restarted the vmware machine to boot the installed version of puppy. I installed open-vm-tools:

https://i.ibb.co/nB4sRjd/installed.png

I restarted the vmware machine to get a clean startup and confirmed that open-vm-tools is running:

https://i.ibb.co/KX7zWF7/vmtoolsd.png

I have also confirmed that shared folders are working as expected. What is awry is:

1. The mouse cursor is offset. I cannot think of any other way to describe it. Please see the images below to see what I mean. The offset changes depending on where the mouse is in the screen (it's not a constant offset) and it changes if I move the cursor out of the puppy window to the host and back in again. I have no idea how to fix this. It is not because of installing open-vm-tools because it was happening before I installed that (I installed open-vm-tools in the hope that it would fix it). It also happened in the live version of puppy. In fact, it has happened every time I've tried to use puppy, so for the last two or three versions of puppy at least.

https://i.ibb.co/W0v6tSW/cursor1.jpg
https://i.ibb.co/KxzDC7W/cursor2.jpg

2. I cannot resize the puppy screen to fit the vmware window via the vmware 'fit guest now' menu item because it is greyed out (although I can resize it to the standard sizes from within puppy, but those are all either too small or too big to be of any real use).

I do not want to do a normal install of puppy. It is only of use to me if I can run it as a vmware guest.
 
Old 02-22-2019, 05:16 AM   #2
sam356
LQ Newbie
 
Registered: Feb 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
Ok, after much reading and suchlike, it appears that running the following in a terminal after puppy has fully started up fixes both problems:

modprobe -r psmouse
modprobe psmouse proto=imps
vmware-user-suid-wrapper

The problem now is how do you run something automatically in puppy after it has fully started up (ie. where do I put the above three lines so that they are run after puppy has fully started up)? In my previous (non puppy) linux I added such lines to ~/.desktop-session/startup, but that file doesn't exist in puppy linux...
 
Old 02-22-2019, 07:50 PM   #3
Mike_Walsh
Member
 
Registered: Jul 2017
Location: King's Lynn, UK
Distribution: Nowt but Puppies....
Posts: 660

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
Quote:
Originally Posted by sam356 View Post
Ok, after much reading and suchlike, it appears that running the following in a terminal after puppy has fully started up fixes both problems:

modprobe -r psmouse
modprobe psmouse proto=imps
vmware-user-suid-wrapper

The problem now is how do you run something automatically in puppy after it has fully started up (ie. where do I put the above three lines so that they are run after puppy has fully started up)? In my previous (non puppy) linux I added such lines to ~/.desktop-session/startup, but that file doesn't exist in puppy linux...
@ sam356:-

Try putting them in /etc/init.d. This is where I put custom scripts for auto-mounting specific partitions at startup. If you want to make certain Puppy has fully started up before the commands are executed, add a 'sleep' statement. Like this:-

Code:
# /bin/sh
#
# Run commands below after a delay
#
sleep 90
#
modprobe -r psmouse
modprobe psmouse proto=imps
vmware-user-suid-wrapper
90 seconds should be more than enough to make sure everything has settled down.. Save to /etc/init.d as, oh, say 'vmware-delay.sh' (for example), and don't forget to make it executable. (Easiest way in Puppy - if you're running the default JWM/Rox-filer combo - is to rt-clk the file, ->Properties, tick the 3 'Exec' checkboxes, followed by hitting 'Refresh' at the bottom....then 'Close'.)

I know very little about VM's (don't use 'em, personally), but that should work for running those commands with a suitable delay.

Alternate locations include ~/Startup, or ~/.config/autostart (this is becoming more favoured, because ~/Startup is slowly being deprecated). The only snag being that anything placed in ~/.config/autostart must be a .desktop file, or else it's ignored. With the older one, ~/Startup, you can put scripts in there, sym-link binaries.....you name it. If it's executable, it'll run.


Mike.

Last edited by Mike_Walsh; 02-22-2019 at 08:03 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Crazy jumping mouse cursor after fresh install--did I choose the wrong mouse type? Kallaste Slackware 56 07-08-2012 02:38 PM
Realtek rtl8192u driver locks up system (Puppy 4.3.0, fresh install) MrCode Linux - Networking 11 01-21-2010 11:15 PM
Fresh Puppy 4.2 install - gateway ? d1l2w3 Puppy 1 04-27-2009 06:53 AM
White screen then hashed screen on fresh install slan124 Fedora 4 04-14-2006 03:54 AM
fresh install (fresh headache) powadha Slackware 2 03-06-2004 01:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 12:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration