Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] Nice Pop-up Solution Notification

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

[Solved] Nice Pop-up Solution Notification

#1 Post by bester69 »

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:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: Nice Pop-up Solution Notification

#2 Post by bester69 »

>> I will use KDIALOG insetead notify-send, it shows vertical scroll
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

Post Reply