Page 1 of 1

my preferences for lxqt adjustment on porteus slackware

Posted: 06 Jan 2015, 03:28
by francois
I am accumulating in this thread my tricks or adjustments for the lxqt environment. If you have some interesting strategies please feel free to share them. This thread might be most useful for newcomers or newbies. If this is your case have a look at Newcomers favorite links and commands for porteus and linux: ... 511#p23511

1.0 Having a given set of programs and windows opened at bootup. The problem is that with lxqt by contrast to kde or xfce changes cheatcode in grub instructions will not save changes to windows in the desktop environment. There is two options here.
1.01 Use the hibernate function to shutdown, that will replace the effect of changes cheatcode. You have to use the resume cheatcode instructing where to save the state of the system and instruct the computer to save the information in a swapfile: ... t-settings
where sdxy=the identity of the swap file (to find swap file use fdisk -l command)
Example (the resume cheatcode as to be added to the appropriate location in the /boot/syslinux/porteus.cfg file:

Code: Select all

MENU LABEL Graphics mode (LXQT)
KERNEL vmlinuz
APPEND initrd=initrd.xz changes=/porteus resume=/dev/sda8 
(for lxqt changes=/porteus could be left or removed as it has no effect)

1.02 Starting programs or windows automatically at bootup with guiexec cheatcode or by placing program files package.desktop into the autostart folder. 1.021 As there is no way to save the changes of the desktop environment at shutdown for the next session(with changes cheatcode in grub loading instructons), the guiexec cheatcode which will start programs once the graphic environment at bootup is really handy: ... -them.html

... Execute specified command(s) in runlevel 4, when the graphical
interface is loaded; unlike 'cliexec' this cheatcode can be
used to start graphical applications.
Use semicolons (;) as command separators with no spaces.
... If you need to use spaces in the command line, replace them
with '~'.
Example: '' will open the firefox
browser on the '' website.

Here is my menu.lst entry (grub legacy bootloader) with guiexec to have on the desktop my xrandr script for dual display, and opened windows for google-chrome and pcmanfm-qt. Example:

Code: Select all

title porteus  on sda5 64bit_v31 LXQT 
root (hd0,4)
kernel /64bit_v31/boot/syslinux/vmlinuz from=/dev/sda5/64bit_v31 extramod=/mnt/sda5/64bit_v31/lxqt login=root changes=EXIT:/64bit_v31/lxqt [b]guiexec=pcmanfm-qt;;/opt/google/chrome/google-chrome[/b] 
initrd /64bit_v31/boot/syslinux/initrd.xz
1.022 Inserting programs into the lxqt autostart file. You have to create the autostart file (~/.config/autostart/). Place .desktop files in ~/.config/autostart/. This has been proposed by ncmprhnsbl, one of our few lxqt gurus: ... 805#p30805

1.1 Command line for more frequently used applications (could be used with the guiexec cheatcode):
pcmanfm-qt command line: ... -directory

leafpad command line:

google-chrome command line:

Adding applications to the lxqt menu:

3.0 Scripts:
- xrandr (straightening up your screen(s), dual display, changing screen resolution, etc.)

4.0 gui front end written in java called lxmed that will change the lxqt menu items:

Unpack the lxmed and use the install script. lxmed will be installed in opt.

You need openjava to get it running. Java will install itself in /usr/lib64/java/jre/bin/java. To start the lxmed menu editor:

Code: Select all

root@porteus: /usr/lib64/java/jre/bin/java -jar /opt/lxmed/LXMenuEditor.jar
Then simply use this java command line to change thru:
lxde panel > preferences > main menu editor > properties

The command in properties should be:
/usr/lib64/java/jre/bin/java -jar /opt/lxmed/LXMenuEditor.jar
modify the /usr/share/applications/Main Menu Editor or lxmed.destop file changing lxmed for /usr/lib64/java/jre/bin/java -jar /opt/lxmed/LXMenuEditor.jar command (as this is a java program).

5.0 Other:
- pcmanfm-qt detailed list view:
pcmanfm window > edit > preference > behavior > detailed view mode
- suspend on lid close:
lxqt panel menu > preferences > lxqt system settings > power management > lid > action when lid close > suspend (for every choices, the four of them)
- dual diplay to get the wallpaper extended to the whole desktop:
lxqt panel menu > preferences > lxqt system settings > monitor settings > quick options > extended view (this will spread the wallpaper to both screens)
But this will cause a problem if your standalone display is on the right of the laptop, then:
lxqt panel menu > preferences > lxqt system settings > monitor settings > settings > monitor 2 (standalone display) > position right of (was left of monitor 1)
- associating a script to an icon:
***to come***

Re: my preferences in terms of lxqt adjustments

Posted: 15 Jan 2015, 11:59
by francois
Added some additional information to first script.

Re: my preferences for lxqt adjustment on porteus slackware

Posted: 27 Jan 2015, 20:45
by francois
Added the functioning of autostart file under lxqt (suggestion by ncmprhnsbl).