[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pcmanfm-qt: the desktop background should be compliant with desktop-base



Hi Alf,

I've checked LXQt related things once again on a fresh stock Debian LXQt 
desktop system using 
http://get.debian.org/cdimage/weekly-builds/amd64/iso-cd/debian-testing-amd64-netinst.iso 
for installation.

It seems that this issue can be solved if pcmanfm-qt would ship the 
file /etc/xdg/pcmanfm-qt/lxqt/settings.conf with the wallpaper variable 
set to /etc/alternatives/desktop-background (overriding the related file 
below /usr/share).

While a dedicated Debian theme would be nice to have, the existing 
resources alone would allow to provide a better fitted Debian LXQt 
desktop look and feel based upon the 'light' theme. 
Besides modifying pcmanfm-qt's settings.conf file a bit more, the 
'lxqt-session' package could ship the /etc/xdg/lxqt/lxqt.conf file and 
the 'lxqt-panel' package the /etc/xdg/lxqt/panel.conf file to achieve 
this.

All mentioned files are attached.

Further attached is a script 'debian-lxqt' that I've used to test 
various settings by simply adjusting the script.

IMO the proposed changes could provide a Debian compliant LXQt desktop 
with decent look and behaviour.

CCing debian-desktop@ because there might be people around with more 
skills/ideas.

Wolfgang
[System]
IconThemeName=elementary
SuCommand=lxqt-sudo %s
TerminalCommand=
Archiver=file-roller
SIUnit=false
TerminalDirCommand=xterm
TerminalExecCommand=xterm -e %s

[Behavior]
BookmarkOpenMethod=0
UseTrash=true
SingleClick=true
ConfirmDelete=true

[Desktop]
WallpaperMode=stretch
Wallpaper=/etc/alternatives/desktop-background
BgColor=#000000
FgColor=#ffffff
ShadowColor=#000000
ShowHidden=false
SortOrder=ascending
SortColumn=name
Font="Noto Sans,10,-1,5,50,0,0,0,0,0"

[Volume]
MountOnStartup=true
MountRemovable=true
AutoRun=true

[FolderView]
Mode=icon
ShowHidden=false
SortOrder=ascending
SortColumn=name
BigIconSize=48
SmallIconSize=24
SidePaneIconSize=24
ThumbnailIconSize=128

[Window]
Width=640
Height=480
AlwaysShowTabs=false
ShowTabClose=true
SplitterPos=150
SidePaneMode=0

[Thumbnail]
ShowThumbnails=true
MaxThumbnailFileSize=4096
ThumbnailLocalFilesOnly=true
[General]
theme=light
icon_theme=Papirus
single_click_activate=true
tool_button_style=ToolButtonTextBesideIcon

[Qt]
font="Noto Sans,10,-1,5,50,0,0,0,0,0"
doubleClickInterval=400
style=Fusion
wheelScrollLines=3
panels=panel1

[panel1]
plugins=mainmenu,desktopswitch,quicklaunch,taskbar,tray,statusnotifier,mount,volume,worldclock,showdesktop
position=Bottom
desktop=0

[mainmenu]
type=mainmenu

[desktopswitch]
type=desktopswitch

[quicklaunch]
apps\1\desktop=/usr/share/applications/lxqt-shutdown.desktop
apps\2\desktop=/usr/share/applications/lxqt-logout.desktop
apps\3\desktop=/usr/share/applications/firefox-esr.desktop
apps\4\desktop=/usr/share/applications/pcmanfm-qt.desktop
apps\size=4
type=quicklaunch
alignment=Left

[taskbar]
type=taskbar

[tray]
type=tray

[mount]
type=mount

[worldclock]
type=worldclock

[volume]
device=0
type=volume

[showdesktop]
alignment=Right
type=showdesktop

[statusnotifier]
alignment=Right
type=statusnotifier
#!/bin/sh
#
# debian-lxqt
# Adjust defaults to better fit Debian LXQt desktop, useful to test some settings.
# schweer, 2018-11-26.

# Run 'rm /home/<username>/.c* -rf' to start from a clean state; then execute
# this script and log in again to see the changes.

# desktop background (desktop-base compliance)
mkdir -p /etc/xdg/pcmanfm-qt/lxqt
cp /usr/share/pcmanfm-qt/lxqt/settings.conf /etc/xdg/pcmanfm-qt/lxqt/
sed -i 's#/usr/share/lxqt/themes/frost/lxqt-origami-light.png#/etc/alternatives/desktop-background#' /etc/xdg/pcmanfm-qt/lxqt/settings.conf

# menu style and behaviour (make the look a bit more LXQt specific)
cp /usr/share/lxqt/lxqt.conf /etc/xdg/lxqt/
sed -i 's#frost#light#' /etc/xdg/lxqt/lxqt.conf
sed -i 's#oxygen#Papirus#' /etc/xdg/lxqt/lxqt.conf
sed -i 's#activate=false#activate=true#' /etc/xdg/lxqt/lxqt.conf
sed -i 's#Sans,11#Noto Sans,10#' /etc/xdg/lxqt/lxqt.conf

# adjust pcmanfm-qt style and behaviour accordingly.
sed -i 's#Sans Serif,10#Noto Sans,10#' /etc/xdg/pcmanfm-qt/lxqt/settings.conf
sed -i 's#Click=false#Click=true#' /etc/xdg/pcmanfm-qt/lxqt/settings.conf

# panel layout (add some useful settings)
cp /usr/share/lxqt/panel.conf /etc/xdg/lxqt/
sed -i '/\[quicklaunch\]/ a\
apps\\1\\desktop=/usr/share/applications/lxqt-shutdown.desktop\
apps\\2\\desktop=/usr/share/applications/lxqt-logout.desktop\
apps\\3\\desktop=/usr/share/applications/firefox-esr.desktop\
apps\\4\\desktop=/usr/share/applications/pcmanfm-qt.desktop\
apps\\size=4
' /etc/xdg/lxqt/panel.conf

Attachment: signature.asc
Description: PGP signature


Reply to: