[Solved] Nice Pop-up Solution Notification

Everything about X, Gnome, KDE, ... and everything running on it

[Solved] Nice Pop-up Solution Notification

Postby bester69 » 2018-05-14 15:58

Hi,

Im looking for a configurable nice Solution pop-up desktop notification.. Im trying notify-send command with plasma desktop, but i cant read the whole text, I dont see scrolls-bars with the square notification popup. :(

What Im doing is to read a txt random file within a folder, a send output text to notifications system desktop. im using crontab.hourly to schedule the random file to show.
The script Im using, to send randoms text's files to notifications system:
Code: Select all
ETQ1=/home/user/ETIQUETAS/
ETQ2=/home/user/ETIQUETAS/TODOS/
DIR=/home/user/ETIQUETAS/FICHAS/.random
cd $DIR && cd ..
rm -rf .random && mkdir .random
cd $DIR

find $ETQ1 -maxdepth 1  -name "*.odt" -exec ln -s {} \;
find $ETQ2 -maxdepth 1  -name "*.odt" -exec ln -s {} \;

if [[ -d "${DIR}" ]]
then
  # Runs ls on the given dir, and dumps the output into a matrix,
  # it uses the new lines character as a field delimiter, as explained above.
  file_matrix=($(ls "${DIR}"))
  num_files=${#file_matrix[*]}
  # This is the command you want to run on a random file.
  # Change "ls -l" by anything you want, it's just an example.
    #ls -s "${DIR}/${file_matrix[$((RANDOM%num_files))]}"
    clear
    echo "${file_matrix[$((RANDOM%num_files))]}"
    soffice --headless --convert-to txt "${file_matrix[$((RANDOM%num_files))]}"

fi
notify-send -i kalarm -u critical -t 120000 "$(cat *.txt)"
exit 0


And this is how it looks like; As you can see I can't scroll the text, so I cant see the full message :(
Image

Do you happen to know any other way to get this?, perhaps another third notification app (I was thinking about Mint pop-up notification app or other one i can set full size) to send the message to??
Last edited by bester69 on 2018-05-14 16:19, edited 1 time in total.
bester69 wrote:There is nothing to install in linux, from time to time i go to google searching for something fresh to install in linux, but, there is nothing
User avatar
bester69
 
Posts: 1160
Joined: 2015-04-02 13:15

Re: Nice Pop-up Solution Notification

Postby bester69 » 2018-05-14 16:18

>> I will use KDIALOG insetead notify-send, it shows vertical scroll
bester69 wrote:There is nothing to install in linux, from time to time i go to google searching for something fresh to install in linux, but, there is nothing
User avatar
bester69
 
Posts: 1160
Joined: 2015-04-02 13:15


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable