Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.


Messages - Mark Greaves (PCNetSpec)

Pages: [1] 2 3 ... 1173
1
Peppermint / Re: login problem Peppermint 8
« on: Yesterday at 12:54:27 pm »
If you're able to mount the /home partition, try this

boot to the login screen

hit Ctrl+Alt+F2 to drop to a text console

do whatever you need to do to mount the home partition

then run:
Code: [Select]
sudo service lightdm restart
did that get you logged in ?

if so, set your password back to be the same as the one you're using to mount the encrypted /home:
Code: [Select]
sudo passwd <username>
where <username> is your actual username

2
General Help & Advice / Re: Start up issue
« on: Yesterday at 12:48:27 pm »
Where are you on this willie ?

can you now log in ?

Is this now just an issue of not being able to open a terminal ?

3
General Help & Advice / Re: Upgrading to new kit
« on: Yesterday at 12:44:38 pm »
It'd probably be better if you posted the make/model of hardware you're considering .. then we can try check if there are any known issues.

4
testdisk is a command line utility, so won't have a "launcher" .. it's what the QPhotoRec GUI front end is using in the background.

Command line utilities don't have menu items, or you'd have a VERY full menu ;)

5
Ubuntu / Re: LibreOffice: reverting to V5 from V6
« on: May 18, 2018, 12:36:29 am »
You're welcome Keith.

6
run
Code: [Select]
sudo updatedb
now what's the output from:
Code: [Select]
locate -i testdisk

7
Ubuntu / Re: LibreOffice: reverting to V5 from V6
« on: May 17, 2018, 10:41:44 pm »
Just run:
Code: [Select]
sudo snap remove libreoffice

8
Ubuntu / Re: LibreOffice: reverting to V5 from V6
« on: May 17, 2018, 01:26:09 pm »
Okay, run:
Code: [Select]
sudo apt-get install ppa-purge
then
Code: [Select]
sudo apt-get remove --purge libreoffice*
then
Code: [Select]
sudo add-apt-repository ppa:libreoffice/ppa
then
Code: [Select]
sudo apt-get update
then
Code: [Select]
sudo apt-get dist-upgrade
then
Code: [Select]
sudo apt-get install libreoffice



If you don't like it and want to go back to v5, run:
Code: [Select]
sudo ppa-purge ppa:libreoffice/ppa

9
Ubuntu / Re: LibreOffice: reverting to V5 from V6
« on: May 17, 2018, 12:56:29 pm »
Open a terminal and run:
Code: [Select]
sudo snap remove libreoffice
then
Code: [Select]
sudo apt-get remove --purge libreoffice*
then
Code: [Select]
sudo apt-get install libreoffice

I still think it'd be a good idea to try the non snap version of LO 6 .. if you want to try this, let me know.

10
Peppermint / Re: login problem Peppermint 8
« on: May 16, 2018, 10:19:09 pm »
Have you tried doing what it said
Code: [Select]
encryptpf -mount-private
though if you encrypted your home directory, I don't think I'm going to be able to help you recover its contents.

11
Ubuntu / Re: LibreOffice: reverting to V5 from V6
« on: May 16, 2018, 10:11:45 pm »
Okay what's the output from:
Code: [Select]
snap list
and
Code: [Select]
dpkg -l | grep libre

12
I keep forgetting you run KDE

change "gksudo" to "kdesudo"

I'm also betting that the testdisk launcher is pointing at /usr/bin/testdisk .. yet testdisk got installed to /usr/local/bin/testdisk .. so you'll need to modify its launcher too.

13
open a terminal and run these commands in sequence
*these commands were tested in 16.04, not 14.04 as your signature suggests .. but I guess they'll work)

First let's uninstall testdisk if you already have it installed, because wwe'll be installing the latest version
Code: [Select]
sudo apt-get remove purge testdisk
now to get/build/install the lastest version (which includes QPhotoRec), run:
Code: [Select]
sudo apt-get install -y build-essential linux-headers-generic e2fslibs-dev libncurses5-dev libncursesw5-dev ntfs-3g-dev libjpeg-dev uuid-dev zlib1g-dev qtbase5-dev qttools5-dev-tools pkg-config dh-autoreconf git
then
Code: [Select]
mkdir ~/photorec-7.1-install-dir
then
Code: [Select]
cd ~/photorec-7.1-install-dir
then
Code: [Select]
git clone https://github.com/cgsecurity/testdisk.git
then
Code: [Select]
cd ~/photorec-7.1-install-dir/testdisk
then
Code: [Select]
mkdir config
then
Code: [Select]
autoreconf --install -W all -I config
then
Code: [Select]
./configure
then
Code: [Select]
make
then
Code: [Select]
sudo make install
you'll now have to edit the launcher before it shows up in the menus, and so it uses gksudo to gain the elevated privileges it requires to run .. so run:
Code: [Select]
sudo kate /usr/local/share/applications/qphotorec.desktop
(replace kate in that command if you're using a different text editor)
and change the file to read:
Code: [Select]
[Desktop Entry]
Type=Application
Version=1.0
Name=QPhotoRec
GenericName=Data Recovery Utility
Icon=qphotorec
TryExec=/usr/local/bin/qphotorec
Exec=gksudo /usr/local/bin/qphotorec %F
Terminal=false
Categories=System;Filesystem;Qt;
then SAVE the file

QPhotoRec should now be in your menu.

Okay that's how to install it .. but I can offer no comment on whether it's any good or whether it'll nuke your system, so you USE AT YOUR OWN RISK.

14
Ubuntu / Re: LibreOffice: reverting to V5 from V6
« on: May 16, 2018, 12:47:23 am »
How did you install versions 6 ?

I'm asking for two reasons

a) to work out how to uninstall it, then reinstall the default version

b) because for everyone I've asked version 6 is faster than 5 (at least it is when installed via the PPA rather than as a snap), so removing and reinstalling 6 properly might be a better bet.

15
I take it they files have extensions (so are searchable by name '*.mp3' etc.) ?

try
Code: [Select]
find /path/to/directory/to/search -type f -iname "*.mp3" -exec mv {} /path/to/director/to/save \;
that's a case insensitive search, so will move all files with .MP3 and .mp3 and .Mp3 and .mP3

if you want it case sensitive
Code: [Select]
find /path/to/directory/to/search -type f -name "*.mp3" -exec mv {} /path/to/director/to/save \;

you might want to test it first with cp (copy) instead of mv (move), so
Code: [Select]
find /path/to/directory/to/search -type f -iname "*.mp3" -exec cp {} /path/to/director/to/save \;



Personally I'd just use something like the GUI gnome-search-tool to search the location by extension .. then copy/paste from the results window.

Pages: [1] 2 3 ... 1173

SimplePortal 2.3.3 © 2008-2010, SimplePortal