SliTaz SliTaz Forum

You are not logged in.

#1 2015-01-02 21:46:12

emgi
Member
Registered: 2012-12-17
Posts: 127

Sakura defaults

After some fiddling (and a lot of searching) I finally found out how to change the default terminal layout for sakura in Slitaz v4.0. Other apps can probably be tweaked in the same fashion.

My wish:

To start sakura with a default screen of 100x25 instead of 80x24.

Solution:

The application is started with the settings from: /usr/share/applications/sakura.desktop.

I created a new entry there: sakura2.desktop with the following text:

[Desktop Entry]

Encoding=UTF-8

Name=Sakura2

Exec=sakura -c 100 -r 25

Icon=xterm

Type=Application

Categories=GTK;Utility;TerminalEmulator;

StartupNotify=true

Then in the launchbar I used the menu to replace the old entry with sakura2.desktop.

/emgi

Offline

#2 2015-01-03 01:01:22

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Sakura defaults

Hi emgi,

What if you need to open Sakura from PCManFm (pressing F4 in the current folder)?

Also you can solve your task in another way:

Rename original Sakura binary into "sakura.bin" (or something similar).

Make new shell script named "sakura". It's a simple wrapper to launch original Sakura with your parameters:

#!/bin/sh

sakura.bin -c 100 -r 25 $@

This solution simple but also not ideal, and may have some side effects (say, if some script launches Sakura with other -c and -r options).

Don't forget to make new "sakura" script executable.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]