Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: How can I change KDE Menu and Icons after remastering?

  1. #1
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    16

    How can I change KDE Menu and Icons after remastering?

    please forgive my poor english.

    when I remastering with Knoppix.build scripts, every config file is perfectly reflected in Live CD. (locales, application config files ... etc) but KDE menu and Icons, wall paper, theme, widow decorations are always return to Basic Knoppix. How can I change KDE Menu and Icons after remastering?

    What is the real KNOPPIX KDE menu config file in /usr/share/applications, /usr/share/applnk, /etc/skel?
    and How can I reflect on remastering CD?

  2. #2
    Member registered user
    Join Date
    Jun 2004
    Location
    United Kingdom
    Posts
    57
    as suggested by moran:

    vi /etc/X11/Xsession.d/45xsession

    comment out lines 125 - 154

    and save the file.
    (comment out is putting # at the start of each line).

    stage 2:

    vi /etc/init.d/knoppix-autoconfig

    at line 1181 after the fi in new line i add:
    mkdir /home/knoppix
    cp -R /etc/skel/.??* /home/knoppix
    cp -R /etc/skel/* /home/knoppix

    chown -R knoppix:knoppix /home/knoppix


    make steps 2 & 3 and burn the iso.


    To edit KDE menu use menu editor,

    K menu => Settings => Menu Editor

    Good Luck

    Nikolay

  3. #3
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    16

    Failed.

    I failed.
    After remastering, back to basic again.

    boot message says '/home/knoppix is already maded'.

    can someone help me?

  4. #4
    Member registered user
    Join Date
    Jun 2004
    Location
    United Kingdom
    Posts
    57
    it seems that you left X you didn't delete /etc/skel and replace it with /home/knoppix. Follow UnderScores How to:

    rm –rf /etc/skel

    It will remove /etc/skel and its content. Then:

    mv /home/knoppix /etc/skel

    This will move /home/knoppix to /etc/skel. And at the end change the owner:

    chown –R root:root /etc/skel

    /home/knoppix is being recreated on every start up

  5. #5
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    16
    It has been working!!!
    even though still boot message '/home/knoppix, file has already made' printed
    anyway Nikolay, Thank you for your help.

  6. #6
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    16
    Nikolay, I am worried about one thing.

    vi /etc/X11/Xsession.d/45xsession

    comment out lines 125 - 154
    I think, that comment out will effect on 'Persistent home directory'.

    Code:
    startkde(){
    # Play sound
    #playsound
    
    if [ -z "$DONTCHANGE" ]; then
    # No persistent homedir, copy everything
    rsync -Ha --ignore-existing /etc/skel/{.kde*,Desktop} $HOME/ 2>/dev/null
     if [ "$USER" = "knoppix" ]; then
      rsync -Ha --ignore-existing /usr/share/knoppix/profile/{.kde*,Desktop} $HOME/ 2>/dev/null
      # Build ksycoca database for KDE speedup
      [ -d /usr/share/knoppix/profile/var/tmp/kdecache-knoppix ] && rsync -Ha --ignore-existing /usr/share/knoppix/profile/var/tmp/kdecache-knoppix/ /var/tmp/kdecache-knoppix 2>/dev/null
     fi
    It will comment out 'DONTCHANGE' value so 'No persistent homedir, copy everything' will be lost.
    What do U think about it?

  7. #7
    Member registered user
    Join Date
    Jun 2004
    Location
    United Kingdom
    Posts
    57
    To be honest, I am not sure about it. I think the only way to find out is just to test it out. gonna do it when get home. and will post the results.

    Nikolay

  8. #8
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    16
    I finished that test sucessfully.
    maybe 'dontchange' value does not effect on persistent home directory.
    thanks anyway.

  9. #9
    Member registered user
    Join Date
    Mar 2005
    Location
    Brasilia/Brazil
    Posts
    31
    GunSmoke,
    I have developed, with some fiends here in Brazil, a script that does the remastering of the knoppix currently installed on the HD, which is posted at http://www.knoppix.net/forum/viewtopic.php?t=18222 and have faced the same problem you described. We solved it adding this code rsync -Ha --ignore-existing /etc/skel/ $HOME/ at line 67 of the 45xsession and deleting 26 lines, starting from the line nr 200 in the same file (45xsession). It worked perfectly, maybe you should try this, once it doesn´t touch the persistent home directory.
    Cheers.
    PS: I´m talking about the 3.7 version of knoppix. I didn´t try the 3.8.1 yet, which I think I´m doing today. I wil post if sucessful or not.

  10. #10
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    16
    I am Korean.
    and I thanks for your international cooperation.

    my 45xsession file is
    Code:
    23 # add at least _one_ entry to xauth
    24 # remove when updated nxclient is available
    25 
    26 xauth add $DISPLAY  MIT-MAGIC-COOKIE-1  $(mcookie)
    27
    maybe that 26 line has nothing to do with my purpose.
    so I think that I must not delete that line. plz tell me another line that I must delete.

    Code:
    64 # Copy profiles if not already present
    65 rsync -Ha --ignore-existing /etc/skel/{.acrorc,.Xdefaults,.gimp*,.gconf*,.bashrc,.nessus*,.links,.local,.lynx*,.qt,.xine,tmp} $HOME/ 2>/dev/null
    66 [ "$USER" = "knoppix" ] && rsync -Ha --ignore-existing /usr/share/knoppix/profile/{.gnupg,.acrorc,.Xdefaults,.bashrc,.nessus*,.links,.lynx*,.qt,.xine,tmp} $HOME/ 2>/dev/null
    67 [ "$USER" = "knoppix" -a -f /usr/share/knoppix/profile/.fonts.cache-1 ] && rsync -H --ignore-existing /usr/share/knoppix/profile/.fonts.cache-1 $HOME/ 2>/dev/null
    68 
    69 # We DO need the .gnome* directory for some programs that set permissions incorrectly
    ...
    and Where do I add code 'rsync -Ha --ignore-existing /etc/skel/ $HOME/' after that 67 line?

Page 1 of 2 12 LastLast

Similar Threads

  1. Remastering Knoppix 5.11 cannot modify or change KDE menu
    By hal8000 in forum Customising & Remastering
    Replies: 3
    Last Post: 12-29-2007, 12:16 AM
  2. Icons position after remastering [SOLVED]
    By Dredman in forum Customising & Remastering
    Replies: 3
    Last Post: 10-07-2006, 10:23 PM
  3. How can I change Kde menu button?
    By maxmartin in forum Customising & Remastering
    Replies: 0
    Last Post: 03-12-2006, 03:25 AM
  4. Start menu icons are gone after upgrade
    By andig in forum General Support
    Replies: 0
    Last Post: 05-06-2004, 05:39 PM
  5. installing program. icons appearing in kde menu
    By ykhov in forum General Support
    Replies: 1
    Last Post: 04-02-2004, 05:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS picture

Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS

$189.98



Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98



Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W picture

Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W

$29.00



Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW picture

Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW

$94.99



Intel Xeon E5-2680 V4 CPU 2.4~3.3GHz 14-Core 35M LGA 2011-3 R3 Server SR2N7 120W picture

Intel Xeon E5-2680 V4 CPU 2.4~3.3GHz 14-Core 35M LGA 2011-3 R3 Server SR2N7 120W

$16.99



HP Z8 G4 Z8G4 Barebone Workstation w/ Intel Xeon Silver - No HDD No RAM No GPU picture

HP Z8 G4 Z8G4 Barebone Workstation w/ Intel Xeon Silver - No HDD No RAM No GPU

$449.99



Intel Xeon Processor E5-2687W V4 SR2NA 3.00GHz Broadwell 160W LGA2011 12-Core picture

Intel Xeon Processor E5-2687W V4 SR2NA 3.00GHz Broadwell 160W LGA2011 12-Core

$36.00



Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU picture

Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU

$7.95