From acc6f914b565e18399b5ffb370771bc6a0c08ace Mon Sep 17 00:00:00 2001 From: fhdk Date: Wed, 16 Feb 2022 11:09:00 +0100 Subject: [PATCH] [lxqt-kwin] adding fixex from full profile --- community/lxqt-kwin/.gitignore | 1 + community/lxqt-kwin/Packages-Desktop | 9 +- .../desktop-overlay/etc/skel/.Xresources | 91 ++++++++++ .../desktop-overlay/etc/skel/.bash_logout | 3 + .../desktop-overlay/etc/skel/.bash_profile | 5 + .../desktop-overlay/etc/skel/.bashrc | 137 +++++++++++++++ .../etc/skel/.config/konsolerc | 7 - .../desktop-overlay/etc/skel/.config/kwinrc | 4 + .../skel/.config/lxqt/globalkeyshortcuts.conf | 156 +++++++++--------- .../desktop-overlay/etc/skel/.nanorc | 2 + .../desktop-overlay/etc/skel/.xinitrc | 76 +++++++++ community/lxqt-kwin/profile.conf | 2 +- 12 files changed, 401 insertions(+), 92 deletions(-) create mode 100644 community/lxqt-kwin/.gitignore create mode 100644 community/lxqt-kwin/desktop-overlay/etc/skel/.Xresources create mode 100644 community/lxqt-kwin/desktop-overlay/etc/skel/.bash_logout create mode 100644 community/lxqt-kwin/desktop-overlay/etc/skel/.bash_profile create mode 100644 community/lxqt-kwin/desktop-overlay/etc/skel/.bashrc create mode 100644 community/lxqt-kwin/desktop-overlay/etc/skel/.nanorc create mode 100755 community/lxqt-kwin/desktop-overlay/etc/skel/.xinitrc diff --git a/community/lxqt-kwin/.gitignore b/community/lxqt-kwin/.gitignore new file mode 100644 index 00000000..143d814c --- /dev/null +++ b/community/lxqt-kwin/.gitignore @@ -0,0 +1 @@ +*.org diff --git a/community/lxqt-kwin/Packages-Desktop b/community/lxqt-kwin/Packages-Desktop index 0797a4b7..c8a28bb9 100755 --- a/community/lxqt-kwin/Packages-Desktop +++ b/community/lxqt-kwin/Packages-Desktop @@ -21,6 +21,7 @@ bash-completion dmidecode htop inxi +mc micro numlockx powertop @@ -44,6 +45,7 @@ manjaro-settings-manager freetype2 noto-fonts ttf-dejavu +ttf-hack ## Qt kvantum @@ -123,13 +125,8 @@ xorg-xprop xsettingsd xsettings-client xscreensaver +#xterm ## Xorg drivers xf86-input-evdev xf86-input-libinput -xf86-input-vmmouse -xf86-video-amdgpu -xf86-video-dummy -xf86-video-fbdev -xf86-video-nouveau -xf86-video-vesa diff --git a/community/lxqt-kwin/desktop-overlay/etc/skel/.Xresources b/community/lxqt-kwin/desktop-overlay/etc/skel/.Xresources new file mode 100644 index 00000000..22ac8181 --- /dev/null +++ b/community/lxqt-kwin/desktop-overlay/etc/skel/.Xresources @@ -0,0 +1,91 @@ +! ------------------------------------------------------------------------------ +! theme colors +! ------------------------------------------------------------------------------ +Xcursor.size: 24 + +! ------------------------------------------------------------------------------ +! theme colors +! ------------------------------------------------------------------------------ +! special +*.foreground: #c0c5ce +*.background: #2b303b +*.cursorColor: #c0c5ce + +*.color0: #2b303b +*.color1: #bf616a +*.color2: #a3be8c +*.color3: #ebcb8b +*.color4: #8fa1b3 +*.color5: #b48ead +*.color6: #96b5b4 +*.color7: #65737e + +*.color8: #65737e +*.color9: #bf616a +*.color10: #a3be8c +*.color11: #ebcb8b +*.color12: #8fa1b3 +*.color13: #b48ead +*.color14: #96b5b4 +*.color15: #F6F6F6 + +! ------------------------------------------------------------------------------ +! xterm +! ------------------------------------------------------------------------------ +xterm*font: DejaVu Sans Mono Book +xterm*faceName: DejaVu Sans Mono Book:size=12:antialias=false +xterm*loginShell: true +xterm*vt100*geometry: 90x34 +xterm*saveLines: 2000 +xterm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48 +xterm*termName: xterm-256color +xterm*eightBitInput: false + +! ------------------------------------------------------------------------------ +! URxvt +! ----------------------------------------------------------------------------- +URxvt*saveline: 15000 +URxvt*termName: rxvt-256color +URxvt*iso14755: false +URxvt*depth: 32 +URxvt*background: [90]#2b303b +URxvt*scrollBar: false +URxvt*scrollBar_right: false +URxvt*internalBorder: 0 +URxvt*externalBorder: 0 +URxvt*letterSpace: -1 +URxvt.font: xft:DejaVu Sans Mono Book:size=11 +URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select +URxvt.copyCommand: xclip -i -selection clipboard +URxvt.pasteCommand: xclip -o -selection clipboard +URxvt.keysym.m-c: perl:clipboard:copy +URxvt.keysym.m-v: perl:clipboard:paste +URxvt.urlLauncher: exo-open +URxvt.underlineURLs: true +URxvt.urlButton: 1 +URxvt.geometry: 90x30 +URxvt.tabbed.tabbar-fg: 4 +URxvt.tabbed.tabbar-bg: 16 +URxvt.tabbed.tab-fg: 15 +URxvt.tabbed.tab-bg: 4 +URxvt*buffered: false + +! ------------------------------------------------------------------------------ +! UXTerm +! ------------------------------------------------------------------------------ +UXTerm*termName: xterm-256color +UXTerm*cursorColor: white +UXTerm*VT100.geometry: 90x30 +UXTerm*font: DejaVu Sans Mono Book +UXTerm*faceSize: 12 +UXTerm*dynamicColors: true +UXTerm*utf8: 2 +UXTerm*eightBitInput: true +UXTerm*saveLines: 10000 +UXTerm*scrollKey: true +UXTerm*scrollTtyOutput: false +UXTerm*scrollBar: false +UXTerm*rightScrollBar: false +UXTerm*jumpScroll: true +UXTerm*multiScroll: true +UXTerm*toolBar: false diff --git a/community/lxqt-kwin/desktop-overlay/etc/skel/.bash_logout b/community/lxqt-kwin/desktop-overlay/etc/skel/.bash_logout new file mode 100644 index 00000000..0e4e4f18 --- /dev/null +++ b/community/lxqt-kwin/desktop-overlay/etc/skel/.bash_logout @@ -0,0 +1,3 @@ +# +# ~/.bash_logout +# diff --git a/community/lxqt-kwin/desktop-overlay/etc/skel/.bash_profile b/community/lxqt-kwin/desktop-overlay/etc/skel/.bash_profile new file mode 100644 index 00000000..5545f007 --- /dev/null +++ b/community/lxqt-kwin/desktop-overlay/etc/skel/.bash_profile @@ -0,0 +1,5 @@ +# +# ~/.bash_profile +# + +[[ -f ~/.bashrc ]] && . ~/.bashrc diff --git a/community/lxqt-kwin/desktop-overlay/etc/skel/.bashrc b/community/lxqt-kwin/desktop-overlay/etc/skel/.bashrc new file mode 100644 index 00000000..606780d5 --- /dev/null +++ b/community/lxqt-kwin/desktop-overlay/etc/skel/.bashrc @@ -0,0 +1,137 @@ +# +# ~/.bashrc +# + +[[ $- != *i* ]] && return + +colors() { + local fgc bgc vals seq0 + + printf "Color escapes are %s\n" '\e[${value};...;${value}m' + printf "Values 30..37 are \e[33mforeground colors\e[m\n" + printf "Values 40..47 are \e[43mbackground colors\e[m\n" + printf "Value 1 gives a \e[1mbold-faced look\e[m\n\n" + + # foreground colors + for fgc in {30..37}; do + # background colors + for bgc in {40..47}; do + fgc=${fgc#37} # white + bgc=${bgc#40} # black + + vals="${fgc:+$fgc;}${bgc}" + vals=${vals%%;} + + seq0="${vals:+\e[${vals}m}" + printf " %-9s" "${seq0:-(default)}" + printf " ${seq0}TEXT\e[m" + printf " \e[${vals:+${vals+$vals;}}1mBOLD\e[m" + done + echo; echo + done +} + +[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion + +# Change the window title of X terminals +case ${TERM} in + xterm*|rxvt*|Eterm*|aterm|kterm|gnome*|interix|konsole*) + PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\007"' + ;; + screen*) + PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\033\\"' + ;; +esac + +use_color=true + +# Set colorful PS1 only on colorful terminals. +# dircolors --print-database uses its own built-in database +# instead of using /etc/DIR_COLORS. Try to use the external file +# first to take advantage of user additions. Use internal bash +# globbing instead of external grep binary. +safe_term=${TERM//[^[:alnum:]]/?} # sanitize TERM +match_lhs="" +[[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)" +[[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(/dev/null \ + && match_lhs=$(dircolors --print-database) +[[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] && use_color=true + +if ${use_color} ; then + # Enable colors for ls, etc. Prefer ~/.dir_colors #64489 + if type -P dircolors >/dev/null ; then + if [[ -f ~/.dir_colors ]] ; then + eval $(dircolors -b ~/.dir_colors) + elif [[ -f /etc/DIR_COLORS ]] ; then + eval $(dircolors -b /etc/DIR_COLORS) + fi + fi + + if [[ ${EUID} == 0 ]] ; then + PS1='\[\033[01;31m\][\h\[\033[01;36m\] \W\[\033[01;31m\]]\$\[\033[00m\] ' + else + PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\[\033[00m\] ' + fi + + alias ls='ls --color=auto' + alias grep='grep --colour=auto' + alias egrep='egrep --colour=auto' + alias fgrep='fgrep --colour=auto' +else + if [[ ${EUID} == 0 ]] ; then + # show root@ when we don't have colors + PS1='\u@\h \W \$ ' + else + PS1='\u@\h \w \$ ' + fi +fi + +unset use_color safe_term match_lhs sh + +#alias cp="cp -i" # confirm before overwriting something +#alias df='df -h' # human-readable sizes +#alias free='free -m' # show sizes in MB +#alias np='nano -w PKGBUILD' +#alias more=less + +xhost +local:root > /dev/null 2>&1 + +# Bash won't get SIGWINCH if another process is in the foreground. +# Enable checkwinsize so that bash will check the terminal size when +# it regains control. #65623 +# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11) +shopt -s checkwinsize + +shopt -s expand_aliases + +# export QT_SELECT=4 + +# Enable history appending instead of overwriting. #139609 +shopt -s histappend + +# +# # ex - archive extractor +# # usage: ex +ex () +{ + if [ -f $1 ] ; then + case $1 in + *.tar.bz2) tar xjf $1 ;; + *.tar.gz) tar xzf $1 ;; + *.bz2) bunzip2 $1 ;; + *.rar) unrar x $1 ;; + *.gz) gunzip $1 ;; + *.tar) tar xf $1 ;; + *.tbz2) tar xjf $1 ;; + *.tgz) tar xzf $1 ;; + *.zip) unzip $1 ;; + *.Z) uncompress $1;; + *.7z) 7z x $1 ;; + *) echo "'$1' cannot be extracted via ex()" ;; + esac + else + echo "'$1' is not a valid file" + fi +} diff --git a/community/lxqt-kwin/desktop-overlay/etc/skel/.config/konsolerc b/community/lxqt-kwin/desktop-overlay/etc/skel/.config/konsolerc index 63487ff2..d06f107a 100755 --- a/community/lxqt-kwin/desktop-overlay/etc/skel/.config/konsolerc +++ b/community/lxqt-kwin/desktop-overlay/etc/skel/.config/konsolerc @@ -2,13 +2,6 @@ DefaultProfile=qt-bash.profile [MainWindow] -DP-1 Height 5120x1440=581 -DP-1 Width 5120x1440=981 -DP-1 XPosition 5120x1440=2083 -DP-1 YPosition 5120x1440=324 -RestorePositionForNextInstance=false -State=AAAA/wAAAAD9AAAAAQAAAAAAAAAAAAAAAPwCAAAAAfsAAAAcAFMAUwBIAE0AYQBuAGEAZwBlAHIARABvAGMAawAAAAAA/////wAAAMoA////AAAD1QAAAhcAAAAEAAAABAAAAAgAAAAI/AAAAAEAAAACAAAAAgAAABYAbQBhAGkAbgBUAG8AbwBsAEIAYQByAQAAAAD/////AAAAAAAAAAAAAAAcAHMAZQBzAHMAaQBvAG4AVABvAG8AbABiAGEAcgEAAAAG/////wAAAAAAAAAA -ToolBarsMovable=Disabled [UiSettings] ColorScheme=Default diff --git a/community/lxqt-kwin/desktop-overlay/etc/skel/.config/kwinrc b/community/lxqt-kwin/desktop-overlay/etc/skel/.config/kwinrc index 2b9ffb13..fd639b7a 100755 --- a/community/lxqt-kwin/desktop-overlay/etc/skel/.config/kwinrc +++ b/community/lxqt-kwin/desktop-overlay/etc/skel/.config/kwinrc @@ -15,3 +15,7 @@ Name_3=Desk 3 Name_4=Desk 4 Number=4 Rows=1 + +[Plugins] +magiclampEnabled=true +wobblywindowsEnabled=true diff --git a/community/lxqt-kwin/desktop-overlay/etc/skel/.config/lxqt/globalkeyshortcuts.conf b/community/lxqt-kwin/desktop-overlay/etc/skel/.config/lxqt/globalkeyshortcuts.conf index 439ffc36..f1ca5f98 100755 --- a/community/lxqt-kwin/desktop-overlay/etc/skel/.config/lxqt/globalkeyshortcuts.conf +++ b/community/lxqt-kwin/desktop-overlay/etc/skel/.config/lxqt/globalkeyshortcuts.conf @@ -12,11 +12,6 @@ Comment=Show/hide main menu Enabled=true path=/panel/mainmenu/show_hide -[Alt%2BF1.75] -Comment=Show/hide main menu -Enabled=false -path=/panel/mainmenu2/show_hide - [Alt%2BF2.2] Comment=Show/hide runner dialog Enabled=true @@ -27,357 +22,362 @@ Comment=Show desktop Enabled=true path=/panel/showdesktop/show_hide -[Control%2BAlt%2BL.4] -Comment=lockscreen +[Control%2BAlt%2BDelete.4] +Comment=Leave LXQt Enabled=true -Exec=xlock, -mode, matrix, --delay, 30000 +Exec=lxqt-leave -[Control%2BF1.5] +[Control%2BAlt%2BL.5] +Comment=The Matrix +Enabled=true +Exec=xlock, -mode, matrix, -delay, 30000 + +[Control%2BF1.6] Comment=Switch to desktop 1 Enabled=true path=/panel/desktopswitch/desktop_1 -[Control%2BF10.6] +[Control%2BF10.7] Comment=Switch to desktop 10 Enabled=true path=/panel/desktopswitch/desktop_10 -[Control%2BF11.7] +[Control%2BF11.8] Comment=Switch to desktop 11 Enabled=true path=/panel/desktopswitch/desktop_11 -[Control%2BF12.8] +[Control%2BF12.9] Comment=Switch to desktop 12 Enabled=true path=/panel/desktopswitch/desktop_12 -[Control%2BF2.9] +[Control%2BF2.10] Comment=Switch to desktop 2 Enabled=true path=/panel/desktopswitch/desktop_2 -[Control%2BF3.10] +[Control%2BF3.11] Comment=Switch to desktop 3 Enabled=true path=/panel/desktopswitch/desktop_3 -[Control%2BF4.11] +[Control%2BF4.12] Comment=Switch to desktop 4 Enabled=true path=/panel/desktopswitch/desktop_4 -[Control%2BF5.12] +[Control%2BF5.13] Comment=Switch to desktop 5 Enabled=true path=/panel/desktopswitch/desktop_5 -[Control%2BF6.13] +[Control%2BF6.14] Comment=Switch to desktop 6 Enabled=true path=/panel/desktopswitch/desktop_6 -[Control%2BF7.14] +[Control%2BF7.15] Comment=Switch to desktop 7 Enabled=true path=/panel/desktopswitch/desktop_7 -[Control%2BF8.15] +[Control%2BF8.16] Comment=Switch to desktop 8 Enabled=true path=/panel/desktopswitch/desktop_8 -[Control%2BF9.16] +[Control%2BF9.17] Comment=Switch to desktop 9 Enabled=true path=/panel/desktopswitch/desktop_9 -[Meta%2B0.17] +[Meta%2B0.18] Comment=Activate task 10 Enabled=true path=/panel/taskbar/task_10 -[Meta%2B0.18] +[Meta%2B0.19] Comment=Activate task 10 Enabled=true path=/panel/taskbar2/task_10 -[Meta%2B0.19] +[Meta%2B0.20] Comment=Activate task 10 Enabled=true path=/panel/taskbar3/task_10 -[Meta%2B0.20] +[Meta%2B0.21] Comment=Activate task 10 Enabled=true path=/panel/taskbar4/task_10 -[Meta%2B1.21] +[Meta%2B1.22] Comment=Activate task 1 Enabled=true path=/panel/taskbar/task_1 -[Meta%2B1.22] +[Meta%2B1.23] Comment=Activate task 1 Enabled=true path=/panel/taskbar2/task_1 -[Meta%2B1.23] +[Meta%2B1.24] Comment=Activate task 1 Enabled=true path=/panel/taskbar3/task_1 -[Meta%2B1.24] +[Meta%2B1.25] Comment=Activate task 1 Enabled=true path=/panel/taskbar4/task_1 -[Meta%2B2.25] +[Meta%2B2.26] Comment=Activate task 2 Enabled=true path=/panel/taskbar/task_2 -[Meta%2B2.26] +[Meta%2B2.27] Comment=Activate task 2 Enabled=true path=/panel/taskbar2/task_2 -[Meta%2B2.27] +[Meta%2B2.28] Comment=Activate task 2 Enabled=true path=/panel/taskbar3/task_2 -[Meta%2B2.28] +[Meta%2B2.29] Comment=Activate task 2 Enabled=true path=/panel/taskbar4/task_2 -[Meta%2B3.29] +[Meta%2B3.30] Comment=Activate task 3 Enabled=true path=/panel/taskbar/task_3 -[Meta%2B3.30] +[Meta%2B3.31] Comment=Activate task 3 Enabled=true path=/panel/taskbar2/task_3 -[Meta%2B3.31] +[Meta%2B3.32] Comment=Activate task 3 Enabled=true path=/panel/taskbar3/task_3 -[Meta%2B3.32] +[Meta%2B3.33] Comment=Activate task 3 Enabled=true path=/panel/taskbar4/task_3 -[Meta%2B4.33] +[Meta%2B4.34] Comment=Activate task 4 Enabled=true path=/panel/taskbar/task_4 -[Meta%2B4.34] +[Meta%2B4.35] Comment=Activate task 4 Enabled=true path=/panel/taskbar2/task_4 -[Meta%2B4.35] +[Meta%2B4.36] Comment=Activate task 4 Enabled=true path=/panel/taskbar3/task_4 -[Meta%2B4.36] +[Meta%2B4.37] Comment=Activate task 4 Enabled=true path=/panel/taskbar4/task_4 -[Meta%2B5.37] +[Meta%2B5.38] Comment=Activate task 5 Enabled=true path=/panel/taskbar/task_5 -[Meta%2B5.38] +[Meta%2B5.39] Comment=Activate task 5 Enabled=true path=/panel/taskbar2/task_5 -[Meta%2B5.39] +[Meta%2B5.40] Comment=Activate task 5 Enabled=true path=/panel/taskbar3/task_5 -[Meta%2B5.40] +[Meta%2B5.41] Comment=Activate task 5 Enabled=true path=/panel/taskbar4/task_5 -[Meta%2B6.41] +[Meta%2B6.42] Comment=Activate task 6 Enabled=true path=/panel/taskbar/task_6 -[Meta%2B6.42] +[Meta%2B6.43] Comment=Activate task 6 Enabled=true path=/panel/taskbar2/task_6 -[Meta%2B6.43] +[Meta%2B6.44] Comment=Activate task 6 Enabled=true path=/panel/taskbar3/task_6 -[Meta%2B6.44] +[Meta%2B6.45] Comment=Activate task 6 Enabled=true path=/panel/taskbar4/task_6 -[Meta%2B7.45] +[Meta%2B7.46] Comment=Activate task 7 Enabled=true path=/panel/taskbar/task_7 -[Meta%2B7.46] +[Meta%2B7.47] Comment=Activate task 7 Enabled=true path=/panel/taskbar2/task_7 -[Meta%2B7.47] +[Meta%2B7.48] Comment=Activate task 7 Enabled=true path=/panel/taskbar3/task_7 -[Meta%2B7.48] +[Meta%2B7.49] Comment=Activate task 7 Enabled=true path=/panel/taskbar4/task_7 -[Meta%2B8.49] +[Meta%2B8.50] Comment=Activate task 8 Enabled=true path=/panel/taskbar/task_8 -[Meta%2B8.50] +[Meta%2B8.51] Comment=Activate task 8 Enabled=true path=/panel/taskbar2/task_8 -[Meta%2B8.51] +[Meta%2B8.52] Comment=Activate task 8 Enabled=true path=/panel/taskbar3/task_8 -[Meta%2B8.52] +[Meta%2B8.53] Comment=Activate task 8 Enabled=true path=/panel/taskbar4/task_8 -[Meta%2B9.53] +[Meta%2B9.54] Comment=Activate task 9 Enabled=true path=/panel/taskbar/task_9 -[Meta%2B9.54] +[Meta%2B9.55] Comment=Activate task 9 Enabled=true path=/panel/taskbar2/task_9 -[Meta%2B9.55] +[Meta%2B9.56] Comment=Activate task 9 Enabled=true path=/panel/taskbar3/task_9 -[Meta%2B9.56] +[Meta%2B9.57] Comment=Activate task 9 Enabled=true path=/panel/taskbar4/task_9 -[Meta%2BF.57] +[Meta%2BF.58] Comment=Pcmanfm Enabled=true Exec=pcmanfm-qt -[Meta%2BK.60] +[Meta%2BK.59] Comment=Konsole Enabled=true Exec=konsole -[Meta%2BKP_Enter.58] +[Meta%2BKP_Enter.60] Comment=Konsole Enabled=true Exec=konsole -[Meta%2BReturn.59] +[Meta%2BReturn.61] Comment=Konsole Enabled=true Exec=konsole -[Meta%2BW.61] +[Meta%2BW.62] Comment=Web browser Enabled=true Exec=xdg-open, about:blank -[Print.62] +[Print.63] Comment=screen shot Enabled=true Exec=screengrab, -f -[Shift%2BControl%2BF6.63] +[Shift%2BControl%2BF6.64] Comment=\x2600 \x2193 Enabled=true Exec=lxqt-config-brightness, -d -[Shift%2BControl%2BF7.64] +[Shift%2BControl%2BF7.65] Comment=\x2600 \x2191 Enabled=true Exec=lxqt-config-brightness, -i -[XF86AudioLowerVolume.65] +[XF86AudioLowerVolume.66] Comment=Decrease sound volume Enabled=true path=/panel/volume/down -[XF86AudioMute.66] +[XF86AudioMute.67] Comment=Mute/unmute sound volume Enabled=true path=/panel/volume/mute -[XF86AudioRaiseVolume.67] +[XF86AudioRaiseVolume.68] Comment=Increase sound volume Enabled=true path=/panel/volume/up -[XF86Display.68] +[XF86Display.69] Comment=Launch Monitor Enabled=true Exec=lxqt-config-monitor -[XF86Eject.69] +[XF86Eject.70] Comment=Eject removable media Enabled=true path=/panel/mount/eject -[XF86MonBrightnessDown.70] +[XF86MonBrightnessDown.71] Comment=\x2600 \x2193 Enabled=true Exec=lxqt-config-brightness, -d -[XF86MonBrightnessUp.71] +[XF86MonBrightnessUp.72] Comment=\x2600 \x2191 Enabled=true Exec=lxqt-config-brightness, -i -[XF86PowerOff.72] +[XF86PowerOff.73] Comment=Power off key action Enabled=true path=/powermanager/keypoweroff -[XF86Sleep.73] +[XF86Sleep.74] Comment=Hibernate key action Enabled=true path=/powermanager/keyhibernate -[XF86Suspend.74] +[XF86Suspend.75] Comment=Suspend key action Enabled=true path=/powermanager/keysuspend diff --git a/community/lxqt-kwin/desktop-overlay/etc/skel/.nanorc b/community/lxqt-kwin/desktop-overlay/etc/skel/.nanorc new file mode 100644 index 00000000..38985962 --- /dev/null +++ b/community/lxqt-kwin/desktop-overlay/etc/skel/.nanorc @@ -0,0 +1,2 @@ +include /usr/share/nano/*.nanorc +include ~/.config/nano/*.nanorc diff --git a/community/lxqt-kwin/desktop-overlay/etc/skel/.xinitrc b/community/lxqt-kwin/desktop-overlay/etc/skel/.xinitrc new file mode 100755 index 00000000..5fb12373 --- /dev/null +++ b/community/lxqt-kwin/desktop-overlay/etc/skel/.xinitrc @@ -0,0 +1,76 @@ +#!/bin/sh +# +# ~/.xinitrc +# +# Executed by startx (run your window manager from here) + +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +sysresources=/etc/X11/xinit/.Xresources +sysmodmap=/etc/X11/xinit/.Xmodmap + +# merge in defaults and keymaps + +if [ -f $sysresources ]; then + xrdb -merge $sysresources +fi + +if [ -f $sysmodmap ]; then + xmodmap $sysmodmap +fi + +if [ -f "$userresources" ]; then + xrdb -merge "$userresources" +fi + +if [ -f "$usermodmap" ]; then + xmodmap "$usermodmap" +fi + +# start some nice programs + +if [ -d /etc/X11/xinit/xinitrc.d ] ; then + for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +if [ -f ~/.xprofile ]; then + . ~/.xprofile +fi + +# Keyring daemon +/usr/bin/gnome-keyring-daemon --start --components=pkcs11 & + +kbdrate -d 400 -r 50 +xset r rate 400 50 +xset s 3600 3600 + +get_session(){ + local dbus_args=(--sh-syntax --exit-with-session) + case $1 in + awesome) dbus_args+=(awesome) ;; + bspwm) dbus_args+=(bspwm-session) ;; + budgie) dbus_args+=(budgie-desktop) ;; + cinnamon) dbus_args+=(cinnamon-session) ;; + deepin) dbus_args+=(startdde) ;; + enlightenment) dbus_args+=(enlightenment_start) ;; + fluxbox) dbus_args+=(startfluxbox) ;; + gnome) dbus_args+=(gnome-session) ;; + i3|i3wm) dbus_args+=(i3 --shmlog-size 0) ;; + jwm) dbus_args+=(jwm) ;; + kde) dbus_args+=(startkde) ;; + lxde) dbus_args+=(startlxde) ;; + lxqt) dbus_args+=(lxqt-session) ;; + mate) dbus_args+=(mate-session) ;; + xfce) dbus_args+=(xfce4-session) ;; + openbox) dbus_args+=(openbox-session) ;; + compiz) dbus_args+=(compix-session) ;; + *) dbus_args+=($DEFAULT_SESSION) ;; + esac + + echo "dbus-launch ${dbus_args[*]}" +} + +exec $(get_session) diff --git a/community/lxqt-kwin/profile.conf b/community/lxqt-kwin/profile.conf index dca23701..cbcfe32f 100644 --- a/community/lxqt-kwin/profile.conf +++ b/community/lxqt-kwin/profile.conf @@ -14,7 +14,7 @@ autologin="true" # nonfree mhwd drivers nonfree_mhwd="false" -mhwd_used="false" +mhwd_used="true" # use extra packages as defined in pkglist to activate a full profile extra="true"