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 - dfarquharson

Pages: [1] 2
1
I would like to take a look at the Cardapio menu but do think it is a good idea to back up the present menu before making changes. Unfortunately, there is nothing in any of the ~/├║ser'/.config/lxpanel/Peppermint directories to back up. I have looked within this directory for all three users set up on the machine thus far. So evidently these directories only store the 'user' modifications to whatever the default settings are. If that is the case, and Cardapio only makes changes to the menu for the user that is installing it, then I would be safe to install it and if I wanted to revert to the default then I would only need to delete everything in these directories.
Is that the way it actually works?

2
Advanced Topics / Re: Peppermint 5 auto login
« on: October 29, 2014, 06:31:51 am »
That worked perfectly. Thank you very much!

3
Advanced Topics / Peppermint 5 auto login (Solved)
« on: October 28, 2014, 06:09:59 am »
How do I get Peppermint 5 to automatically login with a specific user. I am setting up 2 dozen netbooks for use by elementary school classes and dealing with 2 dozen students trying to log in is way too much hassle. All the info I find says to edit /etc/lightdm/lightdm.conf but that file does not exist in Peppermint 5. The latest info I find on lubunto says to go in to /usr/share/lightdm/lightdm.conf.d/ but that directory contains the following files:
50-greeter-wrapper.conf
50-guest-wrapper.conf
50-xserver-command.conf
60-lightdm-gtk-greeter.conf
and none of these contain any login entries.

4
Advanced Topics / Re: Modify menu categories
« on: June 11, 2014, 10:36:53 am »
I found there was no lxde-system.directory file but there was a system.directory. Tried renaming that, no change. Copied one from the working netbook, still no change. So I have spent the last day and a half doing a fresh install, configuring everything as I wanted if, checking all the installed programs and settings against the one that had lost it's preferences menu and am now in the process of cloning the drives.
Thanks for all your efforts. Didn't manage to get that particular problem fixed but did learn a lot about the system and now feel much more comfortable with it.

5
Advanced Topics / Re: Modify menu categories
« on: June 09, 2014, 12:50:53 pm »
Did that, rebooted and still no Preferences on the menu. Looks ike I'll need to start with a clean install and hope I can remember the various pieces I had worked out earlier as far as modifications went. This time I'll check the state of the menu after each change. That way if it changes again I'll know which step caused it. Thanks for all of you time and effort. If you think of some other configuration file that gets it's fingers into the works, please let me know.

6
Advanced Topics / Re: Modify menu categories
« on: June 09, 2014, 11:36:49 am »
I'm making some progress.
I took a netbook with a correctly functioning menu and made some modifications to /etc/xdg/peppermint/menus/lxde-applications.menu. I deleted the Games and Graphics entries and renamed the Preferences Menu setting from DesktpSettings to just Settings and saved the file. The changes showed up immediately on the menu. Games and Graphics were gone but Preferences was still there except it had been moved to the top of the list, then a seperator inserted and System Tools was by itself under the lower seperator.
I then added the changes back in one piece at a time and watched the menu get back to normal.
Next I copied this properly functioning /etc/xdg/peppermint/menus/lxde-applications.menu on to a thumb drive and copied that onto the none working computer. No change in it.
Now inside the Preferences Menu section of /etc/xdg/peppermint/menus/lxde-applications.menu (whose <Name> there is DesktopSettings) there is a line which goes <Directory>lxde-settings.directory</Directory>
So I opened a terminal on the properly functioning computer and ran locate lxde-settings.directory. This returned /usr/share/desktop-directories/lxde-settings.directory
Looked in there and see a series of icons with names that basically match the menu headings. Their properties show them to be desktop configuration files and give names matching the lines given in the <Directory> tags within /etc/xdg/peppermint/menus/lxde-applications.menu.
But there are more of them (in one case MANY more) than there are menu headings.
So somewhere there must be another file (or some sort of set of rules) that governs which of these gets shown on the menu.
Any idea of where to look for that particular little snippet?

7
Advanced Topics / Re: Modify menu categories
« on: June 09, 2014, 09:50:31 am »
I have moved the files while logged in as each user, logged out and back in - no change in menu structure.
Then rebooted the computer and logged in as each user - no change.
Just to see if anything would happen, I backed up the /etc/xdg/peppermint/menus/lxde-applications.menu file, then went in and deleted a few of the entries and made some other changes to names of entries. Rebooted, no difference. So it seems fairly obvious that these files are not controlling the menu system on this version of Peppermint.

8
Advanced Topics / Re: Modify menu categories
« on: June 09, 2014, 07:48:58 am »
The menus show the same things whether logged in as itsupport or student.
The 3 lxde-applications.menu files are very different. The student one is less than 1 page long, the itsupport one is a page and a third, the /etc/xdg/Peppermint one is two and a half pages.
They all start with:
code:
<Menu>
           <Name>Applications</Name>
code:
Then the itsupport and student files have a:
code:
<MergeFile> type="parent'>/etc/ect.xdg/peppermint/menus/lxde-applications.menu</MergeFile>
code:
Then the student file contains entries like:
code:
<Menu>
        <Name>Development</Name>
        <DirectoryDir>/home/student/.local/share/desktop-directories</DirectoryDir>
</Menu>
code:
There are also various <Include> and <Exclude> statements.
The itsupport file has lines like:
code:<Menu>
        <Name>Administration</Name>
        <AppDir>/home/itsupport/.local/share/applications</AppDir>
code:
plus lots of <Include> statements
One thing I noticed. In the MergeFile statement the directory is shown as 'peppermint' but when I use pcmanpf to look at it the directory is Peppermint. Will the capital letter (or lack thereof) make any difference in this case. I know it makes a difference if i type cd downloads instead of cd Downloads
I also logged out and back in as student to do this. id -un shows student


9
Advanced Topics / Re: Modify menu categories
« on: June 09, 2014, 07:16:09 am »
code:
QCS-NB017 / # locate lxde-applications.menu
/etc/xdg/menus/lxde-applications.menu
/etc/xdg/peppermint/menus/lxde-applications.menu
/home/itsupport/.config/menus/lxde-applications.menu
/home/student/.config/menus/lxde-applications.menu
code:

10
Advanced Topics / Re: Modify menu categories
« on: June 09, 2014, 07:08:00 am »
Trying to compare these files on these tiny netbook screens is hopeless. It will take me a few minutes to set up a printer and print them out

11
Advanced Topics / Re: Modify menu categories
« on: June 09, 2014, 07:02:06 am »
code:
QCS-NB017 / # locate lxde-applications.menu
/etc/xdg/menus/lxde-applications.menu
/etc/xdg/peppermint/menus/lxde-applications.menu
/home/itsupport/.config/menus/lxde-applications.menu
/home/student/.config/menus/lxde-applications.menu
code:

12
Advanced Topics / Re: Modify menu categories
« on: June 09, 2014, 06:51:53 am »
QCS-NB017 / # locate lxde-applications.menu
/etc/xdg/menus/lxde-applications.menu
/etc/xdg/peppermint/menus/lxde-applications.menu
/home/itsupport/.config/menus/lxde-applications.menu
/home/student/.config/menus/lxde-applications.menu

13
Advanced Topics / Re: Modify menu categories
« on: June 09, 2014, 06:23:24 am »
I just ran the id - un and it returned root

14
Advanced Topics / Re: Modify menu categories
« on: June 09, 2014, 06:22:06 am »
Somewhere there must be a configuration file for what headings appear in the Menu and it is not in the /etc/xdg/menus/lxde-applications.menu and /etc/xdg/Peppermint/menus/lxde-applications.menu files as the information in these files does not match up with the headings that do appear on the menu. The headings I see on each of the 3 systems I have running (one installed from Live DVD burned from downloaded .iso file, one copied from that using the latest Clonzilla, one a prebuilt downloaded virtual machine) are: Accessories; Games; Graphics; Internet; Office; Sound & Video; space; System Tools; space; then items controlled by LXPANEL. On the virtual machine there is also Preferences immediately under System Tools. This is the heading I need to get back as it contains all the tools for configuring the desktop (which the students like to do!). None of the .menu files that I can find contain any <Name>Preferences</Name> or any <Name>Sound & Video</Name>.

15
Advanced Topics / Re: Modify menu categories
« on: June 09, 2014, 06:21:06 am »
Sorry for the delay. I've been checking on the different machines. There is no user 'root' on any of them (this is a  derivative of Ubuntu after all). On my machines I have 2 users - itsupport and student. On the virtual machine there is only one - adminuser. I'm logged on the the ones that have administrator privileges - itsupport and adminuser and have been using root terminals or sudo. On my machine I get the following:
code:
QCS-NB017 itsupport # tree .config/menus
.config/menus
└── lxde-applications.menu
code:
while on the virtual machine I get the: '.config/menus [error opening dir] message' as there is no .config/menus directory on that machine.
 

Pages: [1] 2