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

Thread: konsole configuration files.

  1. #1
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,069

    Default konsole configuration files.

    Hello.
    I would like to configure 3 konsole profiles for any user.
    I use also 2 colors definitions files.

    I have make a test by copying manually the five files to the folder /home/user_test/.local/share/konsole of a new user 'user_test'.
    It seems that it is not sufficient.

    What is the relationship between the profile files in ..../.local/share/konsole and what appear in the 'Settings/Manage Profiles ..." menu options of a konsole session?
    During my test, starting a konsole session with :
    Code:
    konsole --profile "profile_1"
    does not give the expected result : wrong color.

    Using an existing profile and editing the color, sometimes does not create the color definition files.

    When creating a root profile by creating a new profile or editing an existing profile, where is store this new profile : in user home I suppose ?

    I suppose that it is the command 'su - ' which made the profile a root user behaviour ?

    I am just interested in configuring konsole from /etc/skel for new user

    Any help is welcome.
    Thanks for helping. JCD
    __________
    server leap 15.0 -- ASUS g75vw KDE leap 15.0 -- ASUS g750JZ Optimus KDE leap 15.1 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

  2. #2
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,454

    Default Re: konsole configuration files.

    I am not sure why you want to configure konsole for a new user unless you are thinking of a class of students and you want them to see the same configuration of konsole. The whole philosophy of Linux/Unix is to give the user freedom to configure the desktop to suit their preferences.

    That said, the profile names are 1.profile, 2.profile and Shell.profile in my ~/.local/share/konsole directory. So is your syntax correct?



  3. #3
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,069

    Default Re: konsole configuration files.

    Quote Originally Posted by john_hudson View Post
    I am not sure why you want to configure konsole for a new user unless you are thinking of a class of students and you want them to see the same configuration of konsole. The whole philosophy of Linux/Unix is to give the user freedom to configure the desktop to suit their preferences.

    That said, the profile names are 1.profile, 2.profile and Shell.profile in my ~/.local/share/konsole directory. So is your syntax correct?


    Yes

    the command
    Code:
    konsole --profile "profile_1"
    use the file profile_1.profile in ~/.local/share/konsole

    See example of opensuse application menu for terminal super user.
    Thanks for helping. JCD
    __________
    server leap 15.0 -- ASUS g75vw KDE leap 15.0 -- ASUS g750JZ Optimus KDE leap 15.1 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,901
    Blog Entries
    3

    Default Re: konsole configuration files.

    Quote Originally Posted by john_hudson View Post
    That said, the profile names are 1.profile, 2.profile and Shell.profile in my ~/.local/share/konsole directory.
    Here, I have only "Default.profile"

    The particular names don't mean much. It depends on how you setup Konsole.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,059
    Blog Entries
    14

    Default Re: konsole configuration files.

    How did you copy those profiles, by default they're only read-write for the user. So copying them ( as root ) will provide the test user with profiles he/she is not allowed to read.
    FWIW: my /etc/skel is empty. I do have a lot of defaults though in /etc/default
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,840

    Default Re: konsole configuration files.

    Quote Originally Posted by john_hudson View Post
    The whole philosophy of Linux/Unix is to give the user freedom to configure the desktop to suit their preferences.
    It should be the prerogative of the admin to choose the starting points, overriding upstream and/or distro when desired, hence, /etc/skel/, and whatever is required to answer OP's request.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  7. #7
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,069

    Default Re: konsole configuration files.

    Quote Originally Posted by mrmazda View Post
    It should be the prerogative of the admin to choose the starting points, overriding upstream and/or distro when desired, hence, /etc/skel/, and whatever is required to answer OP's request.
    That's is my prerogative.
    Thanks for helping. JCD
    __________
    server leap 15.0 -- ASUS g75vw KDE leap 15.0 -- ASUS g750JZ Optimus KDE leap 15.1 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

  8. #8
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,901
    Blog Entries
    3

    Default Re: konsole configuration files.

    I copied ".config/konsolerc" to "/etc/skel/.config/"
    and "/.local/share/konsole/*" to "/etc/skel/.local/share/"
    (had to also create "/etc/skel/.local/share" since that did not exist).

    I changed the ownership of those files to root.

    I then tried with a new user login to KDE. And those files were not copied to the new user setup.

    So it looks as if this idea isn't going to work anyway.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,402

    Default Re: konsole configuration files.

    Quote Originally Posted by nrickert View Post
    I then tried with a new user login to KDE.
    I may misunderstand what you say here, but these things in /etc/skel, etc. are only used at the creation of a new user. Not as (s)he logs in.
    Henk van Velden

  10. #10
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,901
    Blog Entries
    3

    Default Re: konsole configuration files.

    Quote Originally Posted by hcvv View Post
    I may misunderstand what you say here, but these things in /etc/skel, etc. are only used at the creation of a new user. Not as (s)he logs in.
    Aha, you are right. It works for a user created after I made changes to "/etc/skel". But not for a user created before that change and logging in for the first time.

    And yes, for the newly created user, "konsole" does start out with the settings that I defined in "/etc/skel".
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

Page 1 of 2 12 LastLast

Posting Permissions

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