Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Nick

Pages: [1] 2
1
Artwork, Themes, and Icons / Orion Tiger
« on: December 13, 2015, 03:09:06 pm »
This is a new GTK2/3 theme I'm working on, called Orion Tiger. Although I like dark themes, I just cannot use them when I'm working. Too many archives and windows/programs open means that I need to see everything instantly, so this one is a light theme. So, it begins...

First we have the desktop. I didn't put much time into this, as I rarely see it. Lightened version of default Peppermint 6 wallpaper (fine on LCD, but too dark on CRT). Simple, informational Conky script that I wrote. The taskbar just uses one of my images and although you can't see it, there's a small hover-over xfce Panel in the top right corner (I'll come back to that later) -





Now we have Orion Tiger itself. The upper program in this pic is PCManFM which uses GTK2 and hopefully you can see that I've put as much effort into that side as I have on the more recent GTK3. If you look closely, you'll see I've used the old Peppermint Orta coding for the tabs there, just because I liked them.

The lower program is Nemo (uses GTK3) and I have actually put a gradient across the Menubar and Nav Bar. Modern trends are for much more subtle gradients than of old, so that's what I've done there. Before I forget, I've used a dark style for menus and tooltips on this theme.

The icon set used is Mint-Box Tiger. The Mint Box icon theme, although incomplete, has some great and subtly shaded folder icons, toolbar icons and other icons. So, I just filled in the gaps with the Mint-X set. In the smaller sizes (as used here) they look OK, but generally the Mint-X icons, esp the folder icons and toolbar buttons are too harsh and stark.

All in all, Mint-Box Tiger worked out OK, as small generic icons can tend to fuzziness, but here, the starkness of the Mint-X ones means they hold their sharpness/defintion well. -





This next one is just me fixing up an old Conky script I found. Didn't actually work when I found it, but is what you'll get if you point stuff to non-existent files. :) Easily fixed up and looks OK, but uses 8% CPU to do that and, as mentioned, I don't see the desktop much (this is where that xfce Panel comes in) So, that was the end of my Conky stuff.

You can also see the Cardapio Panel (also themed by Orion Tiger) I don't want to off-topic onto that, but suffice to say, everything you see on that Cardapio Panel works and persists through reboots. Poor old Cardapio is pretty buggy these days, but still holding on. Btw, don't enable its titlebar! It may look good, but will leave you in a world of pain if you touch the window controls on it. -





These next two are just showing the theme I did for SMPlayer. They seem to use a different definition of theme than I use and their 'themes' are just different icon sets. Now it has a theme. It's in a different style to the rest of Orion Tiger, but I feel media players should be more 'jazzy' looking than other programs.

Just a technical note, the first shot shows a 'spin and turn' gradient technique on the top toolbars - the Menubar just uses an inverted version of the gradient used on the ? F5 toolbar and the effect joins them together, instead of having two 'ribby looking' toolbars. I actually use SM as you see in the second shot, but still wanted to do a proper job there. Just looked up the icon set there and apparently it's blackPanther-Real.

Before I forget, if you're doing your own theme, you'll need this -     sudo ln -s ~/.themes /root/.themes

....otherwise you will not be able to theme Root Access programs, like Synaptic, that only look to Root to find their theming style.   








Finally, we have the xfce Panel, which is how I get to see the weather, no matter how many programs are around, as it opens on top of everything. Mouse in on top right and CPU, Weather, Min to Desktop and Gedit launcher appears.

Pic show weather tooltip which, I'm told, uses the SuperKaramba icon set. Personally, I think they are from the far earlier Samurize stuff. Either way, they look good and if you click you get a full page 6 day forecast in 6 hour steps with icons and full details.

Good plugin, that one. -



So, that's it. Hope you enjoyed it, all work in progress, etc.

Nick :)

2
New Users / Re: Gparted/Grub HELP !
« on: November 13, 2015, 07:18:15 pm »
Many thanks, all fixed now.

Marking as solved.

Thanks again,

Nick :)

3
New Users / Re: Gparted/Grub HELP !
« on: November 13, 2015, 07:08:33 pm »
OK, fstab doesn't show a separate /boot partition, so if you can boot into Peppermint .. follow the instructions in my last posting from within Peppermint
Yep, as I mentioned in an earlier post, I've been back in the installed Peppermint 6 for a good number of hours now.

I'll now press on with your instructions. :)

4
New Users / Re: Gparted/Grub HELP !
« on: November 13, 2015, 06:45:51 pm »
The reason I asked was boot-repair was finding 3.13 kernels, and Peppermint 6 uses the 3.16 kernel  :-\

Assuming you don't have a separate /boot partition .. if you do STOP NOW and let me know..
I don't know this stuff, I wouldn't know if I had or hadn't.

However, I've installed and run this - http://sourceforge.net/projects/bootinfoscript/ and here is the top part of the results.txt -

 
Quote
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 112 for .
 => No boot loader is installed in the MBR of /dev/sdb.

I'll do nothing until I hear what you think.

The 3.13 kernels? - Briefly, up until 3 weeks ago, this PC had WinXP and 2 Linux distros on it. A pretty normal setup. Now it has XP and 4 Linux distros, one of which is unneeded/unwanted, but I'll be leaving as it is and using it for storage or something.

5
New Users / Re: Gparted/Grub HELP !
« on: November 13, 2015, 06:11:05 pm »
is this Peppermint 5 32bit ?

And can you post the output I requested in my last post please
Hi, sorry I missed your last post. This is Peppermint 6 32bit.


Quote
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda13 during installation
UUID=1a7bcefa-1b65-4b8e-8299-1e46bd20f338 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda9 during installation
UUID=02c57cd5-4f77-4e4c-afa2-6dffba4d7ee9 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0

Quote
nick@tiger2 ~ $ sudo blkid
[sudo] password for nick:
/dev/sda1: UUID="868C5B678C5B5133" TYPE="ntfs"
/dev/sda10: UUID="42f4b417-45c1-46bf-b168-7a18bb256eb1" TYPE="ext4"
/dev/sda11: UUID="555521fb-cbe8-4939-a310-7e91aaf341a8" TYPE="swap"
/dev/sda2: UUID="25799E150F10CE1C" TYPE="ntfs"
/dev/sda3: UUID="4819-5DCE" TYPE="vfat"
/dev/sda5: UUID="ab3150e4-34ad-4100-a693-5a2a6538754e" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda6: UUID="b364940e-d4a7-4888-a404-50489688edfc" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda7: UUID="83fb2588-91cb-4e89-99b6-726e4a936832" TYPE="swap"
/dev/sda8: UUID="39a5dd8b-006a-4b50-ac8f-d45876739a11" TYPE="ext4"
/dev/sdb1: LABEL="Seagate Expansion Drive" UUID="5A22DB2D22DB0CBF" TYPE="ntfs"
/dev/sda9: UUID="02c57cd5-4f77-4e4c-afa2-6dffba4d7ee9" TYPE="swap"
/dev/sda12: UUID="1a7bcefa-1b65-4b8e-8299-1e46bd20f338" TYPE="ext4"
Quote
nick@tiger2 ~ $ sudo fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0004e397

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63   122881184    61440561    7  HPFS/NTFS/exFAT
/dev/sda2       122881185   206852939    41985877+   7  HPFS/NTFS/exFAT
/dev/sda3       206852940   217100287     5123674    b  W95 FAT32
/dev/sda4       217102334   312580095    47738881    5  Extended
/dev/sda5   *   247818753   258068159     5124703+  83  Linux
/dev/sda6       258068223   263192894     2562336   83  Linux
/dev/sda7       263192958   266261309     1534176   82  Linux swap / Solaris
/dev/sda8       282342438   311002334    14329948+  83  Linux
/dev/sda9       311011328   312580095      784384   82  Linux swap / Solaris
/dev/sda10      217102336   245721087    14309376   83  Linux
/dev/sda11      245723136   247818239     1047552   82  Linux swap / Solaris
/dev/sda12      266264576   282339327     8037376   83  Linux

Partition table entries are not in disk order

Disk /dev/sdb: 2000.4 GB, 2000398933504 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029167 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x90931030

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048  3907029163  1953513558    7  HPFS/NTFS/exFAT


Could someone also answer the questions I was asking in my last post, please? It'll help me learn this stuff.

Thanks :)

6
New Users / Re: Gparted/Grub HELP !
« on: November 13, 2015, 05:50:15 pm »
You might try 'Boot Repair'.
Hi Vin, you must be the famous conky guy, glad to meet you. :)

I did consider Boot Repair, but it seemed slight overkill.

I think I've found the point I'm stuck on - https://www.linux.com/learn/tutorials/776643-how-to-rescue-a-non-booting-grub-2-on-linux/

Quote
Making Permanent Repairs

When you have successfully booted your system, run these commands to fix GRUB permanently:

# update-grub
Generating grub configuration file ...
Found background: /usr/share/images/grub/Apollo_17_The_Last_Moon_Shot_Edit1.tga
Found background image: /usr/share/images/grub/Apollo_17_The_Last_Moon_Shot_Edit1.tga
Found linux image: /boot/vmlinuz-3.13.0-29-generic
Found initrd image: /boot/initrd.img-3.13.0-29-generic
Found linux image: /boot/vmlinuz-3.13.0-27-generic
Found initrd image: /boot/initrd.img-3.13.0-27-generic
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
# grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.

When you run grub-install remember you're installing it to the boot sector of your hard drive and not to a partition, so do not use a partition number like /dev/sda1.

As I've mentioned, I've already run sudo update-grub, but do I need to do sudo grub-install /dev/sda as well? Is that where grub is anyway and all I'll be doing is updating it where it already is?

Yep, that's the bit I'm not understanding.

7
New Users / Re: Gparted/Grub HELP !
« on: November 13, 2015, 03:47:00 pm »
It's a good time to take a break.
Good idea, mate, I'll go for a walk, I reckon.

While I do, here's the state of play -

#1. Deletion of unwanted partition - solved.
#2. Resizing of sda12 partition - solved.
#3  Booting into correct OS, via grub rescue - solved

#4. Normal grub screen not appearing on reboot, despite sudo update-grub being run and boot/grub/grub.cfg getting a new modified date right after - unsolved.

Catch you later :)

8
New Users / Re: Gparted/Grub HELP !
« on: November 13, 2015, 03:20:48 pm »
  As for GParted, I felt the same way as you when I first started.  I can tell this GParted is one of your best friends in Linux.  It's a mega powerful and useful tool.
Hi Andy, you are misunderstanding me. I'm not having a go at GParted, I'm having a go at the concept of me ever using any partitioning tool again - which, as I said, is not going to happen.

I've been at this for 5 hours now (not continuously, but on and off today), cut me some slack?

:)

9
New Users / Re: Gparted/Grub HELP !
« on: November 13, 2015, 03:15:27 pm »
HI Nick

I read your post earlier and have to admit I was a little confused by it

gparted is a first class utility and with all due respect I think your problem has more to do with the complexity of your partition table than gparted
No doubt, however my understanding now is that Gparted renumbering the partitions after a partition deletion is intended behaviour, so it doesn't really matter how complex or otherwise my partition table is.

Quote
Perhaps if you could explain what it is you want to achieve or want to end up with we can offer more help



Graeme
Sure, it is this part -

Quote
However, I then ran sudo update-grub, which appeared to run OK and rebooted. I was then back at the grub rescue screen *sigh* Twice now I've run sudo update-grub and it's the same.

This time, I've booted in and am running sudo update-grub again, but will not be rebooting until I am advised here as to what to look for/edit, etc.

10
New Users / Re: Gparted/Grub HELP !
« on: November 13, 2015, 02:48:15 pm »
As the forums seem very quiet here today, I decided to press on with this myself.

You would have thought GParted would have warned you that your partitions would be renumbered if you deleted one, it's not like the partitions are going to run out of numbers to use, is it? Onwards -

I resized that sda12 partition and then researched online as to how this Grub Rescue stuff works. I then followed this - https://www.linux.com/learn/tutorials/776643-how-to-rescue-a-non-booting-grub-2-on-linux/ and wrote all the relevant parts down longhand.

grub rescue doesn't appear to support the cat command, which made this bit not that useful -

Quote
grub> cat (hd0,1)/etc/issue
Ubuntu 14.04 LTS \n \l

Still, I had satisfied myself that my Pepp6 was on (hd0,12) and pressed on to the 'Booting From grub-rescue'

I got as far as this -

Quote
grub rescue> set prefix=(hd0,12)/boot/grub
grub rescue> set root=(hd0,12)
grub rescue> insmod normal
grub rescue> normal

...and the usual Grub screen came up and booted into Pepp6. Glancing at Nemo confirms that the partition has been resized.

However, I then ran sudo update-grub, which appeared to run OK and rebooted. I was then back at the grub rescue screen *sigh* Twice now I've run sudo update-grub and it's the same.

This time, I've booted in and am running sudo update-grub again, but will not be rebooting until I am advised here as to what to look for/edit, etc.

Close, but no cigar. One thing is for sure, this is the last time I ever use Gparted or other partitioning tool ever again. :)

11
New Users / Re: Changing Default Boot in Grub.
« on: November 12, 2015, 05:36:49 pm »
That has achieved precisely what I wanted it to achieve. I hope my questions here are not too basic for you.

Marking this thread as solved.

Many thanks, as always.

Nick :)

12
New Users / Re: Changing Default Boot in Grub.
« on: November 12, 2015, 05:22:36 pm »
Before we do that, have you tried updating to the 3.19 kernel and xorg stack via the vivid LTS enablement stack ?

do you want to try that first ?

I think perhaps not, on this occasion. I have a sort of patchy knowledge level on Linux. For example, I made a new GTK3 theme and some conky scripts the other day, but know absolutely zero about kernel stuff, so am cautious.

Quote from: PCNetSpec

did that make sense ?

No, but in time it will. In the meantime, I am content that you know it makes sense and will follow it to the letter.

Thanks, I'll let you know how I get on. :)

13
New Users / Changing Default Boot in Grub. (SOLVED)
« on: November 12, 2015, 04:14:34 pm »
Hi there,

This is sort of a continuation of this thread - http://forum.peppermintos.com/index.php/topic,2686.msg26522.html?PHPSESSID=4bbef0bfa20d4821c991cf5576bc4bb7#msg26522

The default Linux 3.17.1-031701-generic kernel does seem to be snappier than the Linux 3.16.0-46-generic one, but it does blackscreen on me every 40 boots or so. That's not a problem, but there are times when I'm busy and I want to press the On button and go away and do something else, knowing that I'll return to a working OS.

When it blackscreens I just Ctrl+Alt+F1 out of it, but the whole thing is annoying, if I'm busy.

So..I'd like to replace the default boot option with the Linux 3.16.0-46- option, which has never blackscreened on me.

Could you run me through it? Here's the top part of my grub.cfg -


Spoiler (click here to view / hide)
[close]

I imagine that I'd edit that or another like it and then update grub?

Many thanks,

Nick :)

14
User Submitted Tutorials / Sticky Keys (HOW TO)
« on: November 03, 2015, 08:09:25 am »
If you type with one hand, as I have always done, then using 'sticky keys' to latch the Shift/Ctrl/Alt, etc. modifier keys is pretty essential.

Here's how to do that in Peppermint.

#1. Install a very small program called xkbset

#2. To enable sticky keys in a session, then run -

xkbset sticky
xkbset exp -st
xkbset st

#3. To autorun sticky keys all the time, then add these 2 lines to /home/username/.config/lxsession/Peppermint/autostart   ( ~/.config/lxsession/Peppermint/autostart) -

@xkbset exp 60 =sticky =twokey =latchlock
@xkbset sticky -twokey latchlock

#4. You're done :)

15
New Users / Re: Apt-Get Remove
« on: November 03, 2015, 07:36:31 am »
Many thanks to you both. I followed PCNetSpec's suggestion and all is now fixed.

Please note my P.S. in the OP. Marking this thread as 'solved'.

Nick :)

Pages: [1] 2