How to show drive/partition label ? (Solved)
- LazY Puppy
- Posts: 1934
- Joined: Fri 21 Nov 2014, 18:14
- Location: Germany
How to show drive/partition label ? (Solved)
Anyone knows how to show drive/partition label in the tool tip texts of drive icons at desktop?
Last edited by LazY Puppy on Tue 15 Mar 2016, 22:24, edited 1 time in total.
RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
- LazY Puppy
- Posts: 1934
- Joined: Fri 21 Nov 2014, 18:14
- Location: Germany
Ok, solved.
Found it in /usr/local/pup_event/frontend_funcs. Just added the code below (changing ONEDRVNAME) to the appropriate sections in /usr/local/pup_event/frontend_funcs.
Now the tooltip-text of my drive/partition icons are showing the drive/partition labels.
Found it in /usr/local/pup_event/frontend_funcs. Just added the code below (changing ONEDRVNAME) to the appropriate sections in /usr/local/pup_event/frontend_funcs.
Code: Select all
DRIVELABEL=`blkid "/dev/${ONEDRVNAME}" | grep -o "LABEL=.*" | cut -f2 -d '"'`
RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink: